|
From: | Federico Bruni |
Subject: | Re: [Help-source-highlight] conditional highlight (without losing other definitions) |
Date: | Sat, 11 Feb 2012 17:24:11 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20120129 Thunderbird/10.0 |
Il 11/02/2012 13:58, Federico Bruni ha scritto:
I want to avoid using a list: that's the main purpose of my question :) I said it explicitly: >> How can I achieve that in a smart way (i.e. without using a list of all >> the \strings which can occur inside a \markup{} block)?
another option is using a backreference, but the following doesn't work: markup_command = '(?<=\\markup\s\{)\\[[:alpha:]-]+'also, it has a minor weakness: some people write \markup{ ... } instead of \markup { ... }
[Prev in Thread] | Current Thread | [Next in Thread] |