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: [EMAIL PROTECTED], 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/
Title: Escaping slashes in macro parameters


Up: (dir)

Problems with slashes in macro arguments

\test

This is escaping_slashes_in_macros.info, produced by makeinfo version 4.11 from 
escaping_slashes_in_macros.texi.


File: escaping_slashes_in_macros.info,  Node: Top,  Up: (dir)

Problems with slashes in macro arguments
****************************************

\test



Tag Table:
Node: Top0

End Tag Table

Attachment: escaping_slashes_in_macros.pdf
Description: Adobe PDF document

\input texinfo   @c -*-texinfo-*-
@c %**start of header
@setfilename escaping_slashes_in_macros.info
@settitle Escaping slashes in macro parameters
@c %**end of header

@macro escapingslashes{TEXT}
\TEXT\
@end macro


@node Top
@top Problems with slashes in macro arguments

@escapingslashes{\\test}


@bye

Reply via email to