bug-texinfo
[Top][All Lists]
Advanced

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

Re: [bug #43126] Macros defined through @include make a spurious space b


From: Gavin Smith
Subject: Re: [bug #43126] Macros defined through @include make a spurious space before @end macro
Date: Mon, 1 Sep 2014 22:20:48 +0100

On Mon, Sep 1, 2014 at 7:15 PM, Vincent Belaïche
<address@hidden> wrote:
> I have attached an example. There are two macros with identical definition
> (only naming changed in order to avoid erroneous duplication of macro
> definition).
>
> One of the macro is defined in the main file, while the other one is defined
> through an @include.
>
> What I can see, is that when going through the @include the last carriage
> return before @end macro is not removed, which is erroneous. See Texinfo
> manual node
I don't know much about what is happening here, but one thing I did
notice is that the include file "bug_texinfo-macros.texi" uses
MS-DOS-style line endings ("\r\n"), while the main file
"bug_texinfo.texi" doesn't. Some of these carriage returns appear in
"bug_texinfo.html", e.g.

<ol>
<li> UNBREAK^MABLE^M^M
</li><li> UNBREAKABLE
</li></ol>

where ^M is a carriage return character.



reply via email to

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