Dear community,
I would like to remove automatically all the "\mark \markup { \box { LETTER
} }" in the below quoted text. Can I do this with regex? Does someone know
how?
Thanks,
Stefan
\version "2.22.2"
violine = {
\clef "treble" | % 1
R1*8 | % 9
\mark \markup { \box { A } } R1*8
Providing you have juste one space as in the example,
in the part \mark \markup {
you can do a search and replace
\\mark.\\markup.{[^{]+{[^}]+}[^}]+}
with nothing
(I tested it in Geany on Ubuntu)
dot means one character
[^{]* means a non-empty sequence of characters without any { character
\ n
On Sat, May 25, 2024 at 9:16 AM Stefan Thomas
wrote:
> Dear community,
> I would like to remove automatically all the "\mark \markup { \box {
> LETTER } }" in the below quoted text. Can I do this with regex? Does
> someone know how?
> Thanks,
> Stefan
>
> \version "2.22.2"
>
> violine = {
>
Dear Silvain,
thank You, this worked perfectly for me!
Providing you have juste one space as in the example,
in the part \mark \markup {
you can do a search and replace
\\mark.\\markup.{[^{]+{[^}]+}[^}]+}
with nothing
(I tested it in Geany on Ubuntu)
dot means one character
[^{]* means a non-em