Hi Federico, > Unfortunately I can't go on if I can't test what I'm writing...
My first suggestion for making a LilyPond lexer available to Pygments is to try it as a plugin. These are fairly simple to do -- juts make a file with your lexer in it, then use setup.py metadata to let Pygments find it, and run setup.py develop (in your virtualenv should be fine). One simple example is at http://groups.google.com/group/sphinx-dev/msg/ccb822e8abc51893 and a fuller example is how mako provides a lexer, http://hg.makotemplates.org/mako/file/7bd9f5bec61d/mako/ext/pygmentplugin.py http://hg.makotemplates.org/mako/file/7bd9f5bec61d/setup.py (specifically entry_points=) Tim -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pocoo-libs?hl=en.
