|
From: | Reinhold Kainhofer |
Subject: | Using \\ in a macro argument generates \ in html, but \\ in pdf |
Date: | Fri, 28 Mar 2008 20:27:53 +0100 |
Section 19.2 of the manual says that backslashes in macro arguments need to be escaped as \\. This works fine for info and HTML generation, but when using texi2pdf, I get \\! Attached is an example together with the output of makeinfo, makeinfo --html and texi2pdf: @macro escapingslashes{TEXT} \TEXT\ @end macro @escapingslashes{\\test} In HTML and info, this prints out \test, while in pdf this prints \\test. Is this a bug in texi2pdf? Cheers, Reinhold -- ------------------------------------------------------------------ Reinhold Kainhofer, Vienna University of Technology, Austria email: address@hidden, http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
\test
escaping_slashes_in_macros.info
Description: Text document
escaping_slashes_in_macros.pdf
Description: Adobe PDF document
escaping_slashes_in_macros.texi
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |