bugtexinfo - GNU documentation system - Bugs: bug #43126, Macros defined through @include...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #43126: Macros defined through @include make a spurious space before @end macro

Submitted by:  Vincent Belaïche <vincentb1>
Submitted on:  Mon 01 Sep 2014 06:15:31 PM UTC  
 
Category: makeinfoRelease: 
Priority: 5 - NormalSeverity: 3 - Normal
Item Group: NonePrivacy: Public
Open/Closed: ClosedAssigned to: None
Status: Invalid

Mon 01 Sep 2014 06:15:31 PM UTC, original submission:

One more bug today... ;-)

This happens with texi2any, when compiling to html.

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

(texinfo) Defining Macros

One can read there:


The newline characters after the '@macro' line and before the '@end macro' line are ignored, that is, not included in the macro body.

Vincent Belaïche <vincentb1>

 

Attached Files
file #32013:  bug_texinfo.tgz added by vincentb1 (2KiB - application/x-compressed)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gavin (Updated the item)
  • -unavailable- added by vincentb1 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 19 Jun 2015 06:18:29 PM UTCgavinOpen/ClosedOpen=>Closed
      StatusNone=>Invalid
    Mon 01 Sep 2014 06:15:31 PM UTCvincentb1Attached File-=>Added bug_texinfo.tgz, #32013

    Back to the top


    Powered by Savane 3.1-cleanup1