bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leading whitespace in macros is stripped


From: Jesper Harder
Subject: Re: Leading whitespace in macros is stripped
Date: Wed, 16 Jul 2003 17:21:56 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

address@hidden (Karl Berry) writes:

>     leading whitespace is stripped in the @macro
>
> I'm afraid that this is going to be quite complicated to fix, although I
> agree it is a bug.  At first glance, it is unclear to me how makeinfo
> handles whitespace in macros.  In texinfo.tex, it seems whitespace is
> read according to TeX's normal rules, which ignores leading spaces.
>
> For now, all I can offer is an ugly workaround: replace every leading
> space in the macro body with `@ '.

Thanks.  It might be nice to mention the problem in 
(texinfo)Macro Details.

> Well, I suppose another option, as far as TeX goes anyway, is to forget
> the ascii display and write a raw TeX \halign to produce a pretty
> picture :).

Yup, but in this particular case I don't care a lot about hardcopy
output, because I'm converting an existing TeX document to Texinfo.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]