On Mon, Jun 14, 2010 at 09:35:33PM +0000, Karl Berry wrote: > Hi Ralf, > > Thanks for the report, as always. > > need to double backslashes in the macro definition, but is silent > about macro arguments.
> I think it is makeinfo that is doing the wrong thing here. I don't think so, because \ is used to quote commas in macro arguments (texinfo)Invoking Macros: Passing strings containing commas as macro arguments requires special care, since they should be properly "quoted" to prevent `makeinfo' from confusing them with argument separators. To manually quote a comma, prepend it with a backslash character, like this: `\,'. Then it is quite logical to have a way to protect \. It is even said in the manual: Other characters that need to be quoted in macro arguments are curly braces and backslash. For example @MACNAME {\\\{\}\,} And it is also necessary to have a way to quote { and }. So, I think that texi2dvi does it wrong... It could be possible, however, to change the manual and say that , has to be quoted as @comma, and { and } as @{ and @}. > Patrice, can you check how texi2html does, please? texi2html does the same than makeinfo. -- Pat