help-texinfo
[Top][All Lists]
Advanced

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

Backslashes in macros and texi2html


From: Jean Abou Samra
Subject: Backslashes in macros and texi2html
Date: Sat, 22 Oct 2022 18:23:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

Hi,

Consider this simple Texinfo input:



@top Test

@macro warning{TEXT}
Note: \TEXT\
@end macro

\command

@warning{\command}



When using makeinfo --html, this is rendered as

\command

Note: \command



However, when using texi2html, you get


\command

Note: command



Note the missing backslash after "Note:".

Unfortunately, LilyPond is still using texi2html, and it is
difficult for us to switch to makeinfo --html aka. texi2any.

Do you know of a workaround for this? Werner found something
where the input is changed,
https://lists.gnu.org/archive/html/lilypond-devel/2022-10/msg00168.html
but is there, by any chance, a way to write the @warning macro
differently so as not to trigger this (apparent) bug?


Thanks,
Jean





reply via email to

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