[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "special" spaces in Texinfo parsing and output
From: |
Patrice Dumas |
Subject: |
Re: "special" spaces in Texinfo parsing and output |
Date: |
Mon, 25 Mar 2013 02:38:12 +0100 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Sat, Mar 23, 2013 at 11:10:18PM +0000, Karl Berry wrote:
> also lines consisting only of spaces are emptied in @example and the
> like
>
> Removing trailing whitespace in the Info output seems like the one thing
> that is ok to me, though it would also be ok to preserve it.
I can very easily change that to preserving.
> I see that leading and internal whitespace is already preserved inside
> @example. That is good.
>
> and lines consisting only of spaces between paragraphs are
> completly removed.
>
> Reducing multiple blank lines between paragraphs to one seems ok to me.
> C makeinfo did that.
Does this still hold for spaces that are not [\r\n\t ]? Do they start a
paragraph. For instance with texinfo code like, is it 3 paragraphs, or
2?
AA
^L
BB
(and same question with any of the unicode space). Should the result be
along
AA
^L
BB
or
AA
^L
BB
> The one perhaps-problematic case I found in a few minutes of experiments
> is this:
> ----------------------
> @example
> Whatever
>
> @end example
>
> Outside example.
> ----------------------
>
> There is only one blank line with both C and Perl makeinfo. I
> intuitively would have expected two in that particular case, though --
> that is, for all blank lines inside @example to be preserved regardless
> of what happens outside. (This is how texinfo.tex behaves.)
>
> Wdyt?
I don't care either way. Changing it should certainly not be
complicated. Should I?
--
Pat