> The problem is that "violin" is also the name of a clef: [...]
Ah, yes, thanks. Will fix the example. > [...] in general the Pygments lexer would have to be far smarter in > order to distinguish cases where a particular word is used as a > user-defined name vs. those where it should be highlighted as a > builtin. Just curious: Wouldn't be Wilbert's 'parce' library (used for the code highlighter in Frescobaldi) a more sophisticated alternative? Werner