bug-texinfo
[Top][All Lists]
Advanced

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

[bug #43126] Macros defined through @include make a spurious space befor


From: Vincent Belaïche
Subject: [bug #43126] Macros defined through @include make a spurious space before @end macro
Date: Mon, 01 Sep 2014 18:15:32 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0

URL:
  <http://savannah.gnu.org/bugs/?43126>

                 Summary: Macros defined through @include make a spurious
space before @end macro
                 Project: texinfo - GNU documentation system
            Submitted by: vincentb1
            Submitted on: lun. 01 sept. 2014 18:15:31 GMT
                Category: makeinfo
                 Release: 
                Priority: 5 - Normal
                Severity: 3 - Normal
              Item Group: None
                 Privacy: Public
             Open/Closed: Open
             Assigned to: None
         Discussion Lock: Any
                  Status: None

    _______________________________________________________

Details:

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.






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: lun. 01 sept. 2014 18:15:31 GMT  Name: bug_texinfo.tgz  Size: 2 ko   By:
vincentb1

<http://savannah.gnu.org/bugs/download.php?file_id=32013>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43126>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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