Backslashes in macros and texi2html

Jean Abou Samra <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.