|
From: | Bob Wilson |
Subject: | Re: extra blank lines from @ifset inside @example |
Date: | Thu, 06 Oct 2005 15:41:16 -0700 |
User-agent: | Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720) |
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 address@hidden ifset', I get no spurious blank line. Like this: @example first line @ifset A @end address@hidden 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 smallexampleAnother 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
[Prev in Thread] | Current Thread | [Next in Thread] |