Installation

Requirements

  • Python bindings to Gtk3. That is the new introspection-based binding, not the old pygtk for Gtk2.

  • lxml Python library. The package is named python-lxml on Debian variants, or lxml in pip/easy_install.

  • A syntax highlighter (either pygments (preferred) or highlight.

Installing

To use Inkscape, copy the two extension files, inksyntax.inx and inksyntax.py into your Inkscape extension directory. If you can modify Inkscape installation, the extension directory is given by:

Otherwise, copy the files in your personal extension directory, such as ~/.config/inkscape/extensions on Linux, and (re)start Inkscape.

Troubleshooting

Some clues in case it does not work:

  • Make sure that the inksyntax.py file is executable (this was not the case in old releases).