[Top][All Lists]

[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: Wed, 2 Nov 2022 15:46:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

Le 02/11/2022 à 14:53, Werner LEMBERG a écrit :
The above example was the wrong one, sorry.  What I actually wanted to
show are inconsistencies.  In the same section you can find

c''4-3 e-5 b-2 a-1

which Pygments translates to

@t{c''} @t{4} @t{-3} @t{e} @t{-5} @t{b} @t{-2} @t{a} @t{-1}

that is, the `-` is not typeset in bold.

Because "-3" could just as well be a number rather than
a fingering, and it's hard to guess.

The next one
c''4-ˆ c-+ c-- c-!

gets translated to

@t{c''} @t{4} @tb{-^} @t{c} @tb{-+} @t{c} @t{--} @t{c} @tb{-!}

showing bold and non-bold for `-` in the same function.

Because "--" could be a lyric hyphen.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

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