Hello,
Using a @macro-defined symbol inside an @example block causes an
unwanted line break. Is there some way to avoid that?
The documentation (Defining Macros) seems to be at odds with this behavior:
The newlines after the [EMAIL PROTECTED]' line and before the [EMAIL
PROTECTED] macro' line
are ignored, that is, not included in the macro body. All other
whitespace is treated according to the usual Texinfo rules.
Here's an example:
cat > k.texi <<\EOF
\input texinfo
@macro fn{name}
@code{\name\()}
@end macro
@example
foo @fn{stat} bar
@end example
@bye
EOF
Run this to see how it's rendered:
texi2pdf k.texi && xpdf k.pdf
The dvi and pdf output looks like this:
foo stat()
bar
I expected this:
foo stat() bar
And, if I replace [EMAIL PROTECTED]' with the macro expansion, [EMAIL
PROTECTED]()}'
I do get what I want.
texi2pdf and texi2dvi produced identical output.
The ones I'm using come from (GNU Texinfo 4.8) 1.34.
Thanks,
Jim
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-texinfo