The Perma Word Plugin allows Perma.cc users to insert Perma Links directly from the right-click context menu of Microsoft Word.
- Download the "Perma Word Plugin.dotm" file from the Releases tab.
- Open the file in Microsoft Word.
- Enable macros.
- Double-click to install.
Working:
- Windows Word 2013
- Windows Word 2010
- Mac Word 2011
Not working:
- Mac Word 2008 (no macro support)
- Mac Word 2016 (macro fails to modify context menu)
Other versions are not yet tested -- let us know if you try.
- Clone this repository.
- Open "Perma Word Plugin Base.docx" in Word.
- Using "Save As", save a copy in the same directory as "Perma Word Plugin.dotm", using the "Word Macro-enabled Document (.dotm)" format.
- Open the Visual Basic Editor from Word.
- Import the "src/Build.bas" file into the "Perma Word Plugin.dotm" project.
- Open Tools > References and enable "Microsoft Visual Basic for Application Extensibility 5.3".
- Run the macro "ImportModules".
- Rename the "Build1" module to "Build".
- Save and close the template.
Changes should be committed only in the lib/ and src/ directories or "Perma Word Plugin Base.docx" file; do not commit .dotm files.
To export your changes to the lib/ and src/ directories, use the Build.ExportModules function.
To update your local .dotm with changes from upstream, first export your changes with ExportModules; then merge changes with git; then reimport using the ImportModules function.