[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Texinfo macros and m4
From: |
Eli Zaretskii |
Subject: |
Re: Texinfo macros and m4 |
Date: |
Sun, 04 Sep 2011 23:04:35 +0300 |
> Date: Sun, 4 Sep 2011 21:08:40 +0200
> From: Patrice Dumas <address@hidden>
>
> On Sun, Aug 28, 2011 at 09:29:50AM -0400, Eli Zaretskii wrote:
> >
> > There's a possibility to run the Texinfo input through "makeinfo -E"
> > first, which expands the macros and is supposed to leave everything
> > else intact, and texi2dvi even uses it (I think), but somehow this
> > isn't enough. Perhaps nested macros are not expanded? or maybe the
> > problem was with conditional macros surrounded by @ifset/@ifclear,
> > which "makeinfo -E" didn't process? I don't remember anymore.
>
> In the upcoming implementation, makeinfo -E should do right, as long
> as the correct command-line options are given, since it is now
> pretty output neutral.
Please tell the details of "do right" in this situation.
> > . The whitespace issue
> >
> > there's the issue with the newlines before and after the body. A
> > typical nuisance is that you cannot easily write a single macro
> > that will work both in @example and in the normal environment,
> > because there are contradicting requirements wrt keeping or
> > removing the newlines.
>
> Currently, the last newline is always removed, if I remember well.
I think eventually it's impossible to DTRT here without user control.
Thanks.
Re: Texinfo macros and m4, Patrice Dumas, 2011/09/04
- Re: Texinfo macros and m4,
Eli Zaretskii <=