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