bug-texinfo
[Top][All Lists]
Advanced

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

Using \\ in a macro argument generates \ in html, but \\ in pdf


From: Reinhold Kainhofer
Subject: Using \\ in a macro argument generates \ in html, but \\ in pdf
Date: Fri, 28 Mar 2008 17:06:53 +0100
User-agent: KMail/1.9.9

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/


Up: (dir)

Problems with slashes in macro arguments

\test

Attachment: escaping_slashes_in_macros.info
Description: Text document

Attachment: escaping_slashes_in_macros.pdf
Description: Adobe PDF document

Attachment: escaping_slashes_in_macros.texi
Description: Text document


reply via email to

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