[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS Texinfo fails to build the Autoconf manual (from git)
From: |
Patrice Dumas |
Subject: |
Re: CVS Texinfo fails to build the Autoconf manual (from git) |
Date: |
Wed, 25 Jul 2012 10:44:57 +0200 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Mon, Jul 23, 2012 at 06:00:23PM +0000, Karl Berry wrote:
>
> Anyway, I gather the practical problem is solved. Glad for that.
Yet the subject is not completly closed, as the end of line expansions
are different:
> \input texinfo
> @setfilename mac-argnl.info
>
> @macro mymac {a, b}
> \a\ + \b\
> @end macro
>
> @example
> Hello @mymac{uu,
> vv}.
> Hello @mymac{x
> x,
> yy}.
> @end example
>
> @bye
Leads to, in dvi:
Hello uu +
vv
.
Hello x
x +
yy
.
And with makeinfo in C (or texi2any):
Hello uu + vv.
Hello x
x + yy.
Oddly, if not in @example, the results are the same
Hello uu + vv. Hello x x + yy.
This means that TeX does something odd with the newline after yy, as
a plain
Hello x
x +
yy
.
leads to
Hello x x + yy .
So the newline after the yy appearing when expanding in @example is
eaten when expanding outside of @example.
That being said, this is a different subject, and is also covered in the
manual by:
* In general, the interaction of newlines in the macro definitions and
invocations depends on the precise commands and context, despite the
previous statements.
--
Pat
- Re: CVS Texinfo fails to build the Autoconf manual (from git), (continued)
- Re: CVS Texinfo fails to build the Autoconf manual (from git), Patrice Dumas, 2012/07/18
- Re: CVS Texinfo fails to build the Autoconf manual (from git), Eli Zaretskii, 2012/07/18
- Re: CVS Texinfo fails to build the Autoconf manual (from git), Patrice Dumas, 2012/07/19
- Re: CVS Texinfo fails to build the Autoconf manual (from git), Eli Zaretskii, 2012/07/19
- Re: CVS Texinfo fails to build the Autoconf manual (from git), Patrice Dumas, 2012/07/19
- Re: CVS Texinfo fails to build the Autoconf manual (from git), Patrice Dumas, 2012/07/18
- Re: CVS Texinfo fails to build the Autoconf manual (from git), Eli Zaretskii, 2012/07/18
- Re: CVS Texinfo fails to build the Autoconf manual (from git), Eric Blake, 2012/07/18
- Re: CVS Texinfo fails to build the Autoconf manual (from git), Patrice Dumas, 2012/07/19
- Re: CVS Texinfo fails to build the Autoconf manual (from git), Karl Berry, 2012/07/23
- Re: CVS Texinfo fails to build the Autoconf manual (from git),
Patrice Dumas <=