lilypond-devel
[Top][All Lists]
Advanced

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

Re: Backslashes in @warning


From: Jean Abou Samra
Subject: Re: Backslashes in @warning
Date: Sat, 22 Oct 2022 16:45:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1



Le 22/10/2022 à 16:42, Werner LEMBERG a écrit :
We could define a macro `@bscode`, to be used in `@warning` only.  Add
the following to `common-macros.itely`

```
@macro bscode{TEXT}
@code{\\\TEXT\}
@end macro
```
Honestly, if there isn't a way to fix @warning globally, I think it
is simpler just not to use it here.

I'll do a patch for that.
IIRC, there are more `@warning` boxes that contain backslashes in
`@code`.  If you are going to work on that, I suggest to handle them
all.



Oh dear. While investigating that, I found this instance:

https://lilypond.org/doc/v2.23/Documentation/notation/the-midi-block.html

which was fine in 2.22:

https://lilypond.org/doc/v2.22/Documentation/notation/the-midi-block.html

So we have a doc build regression. We need to figure out when this started getting wrong…

I'm going to create an issue for that.




reply via email to

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