Karl Berry wrote:
A real solution is not apparent to me right now, it's deep in the ugly
end-of-line parsing, but for a workaround, if I put @c right after the
[EMAIL PROTECTED] ifset', I get no spurious blank line.  Like this:

@example
first line
@ifset A
@end [EMAIL PROTECTED]
last line (should be right after the first)
@end example

Except, oh sigh, that fails with makeinfo.  Are you using both the
makeinfo output as well as the TeX output?

Yes. I'm generating info, HTML and PDF versions of the GNU binutils docs, with only the Xtensa-specific options enabled. I also need the man pages to work. The assembler documentation has something like:

@smallexample
@c man begin SYNOPSIS
list of standard options
@ifset ALPHA
Alpha-specific options
@end ifset
...lots more machine-specific options
@ifset XTENSA
Xtensa-specific options
@end ifset
@c man end
@end smallexample

Another option would be to put each machine-specific section inside a separate @example environment, but I'm afraid that might mess up the man pages. In the short term, I can hack around this specific instance of the problem, for example, by deleting all the other machine-specific options in my local copy of the file. Obviously, that isn't a good long-term solution. There may well be a number of other instances of the problem that are not quite so visible. If you can eventually find a proper fix, that would be great. I'd offer to help but I couldn't even figure out how those end-of-line parsing macros work.

--Bob


_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to