lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange pygments handling of LilyPond input


From: Jean Abou Samra
Subject: Re: strange pygments handling of LilyPond input
Date: Sat, 29 Oct 2022 14:50:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

Le 29/10/2022 à 10:25, Werner LEMBERG a écrit :
Please have a look at the attached image; it's taken from the LM,
chapter 3.1.4.  As can be seen, `_` and `-` are bold, and `^` isn't.
Is it possible to make `_` and `-` bold only if used as articulation
(i.e., *after* `[_^-]`)?



The relevant pat of the output generated by lilypond-book for this
snippet is

@ifnothtml
@pygments
@tb{\relative}@t{ }@t{@{}@t{ }@t{c''}@t{4}@tb{_-}@tb{^1}@t{ }@t{d}@tb{^.}@t{ }@t{f}@tb{^4}@tb{_2}@tb{->}@t{ }@t{e}@tb{^-}@tb{_+}@t{ }@t{@}}
@endPygments
@end ifnothtml


That looks correct, so this must be a bug in
Texinfo or the way we are using it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]