bug-texinfo
[Top][All Lists]
Advanced

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

wrong macro expansion for some commands


From: Werner LEMBERG
Subject: wrong macro expansion for some commands
Date: Fri, 16 Jul 2004 11:33:55 +0200 (CEST)

[CVS 2004-07-14]

Consider this example:

  @defcodeindex ma

  @macro xxx
  @maindex xxx
  @end macro

  foo
  @xxx
  bar

After a call to `makeinfo -E', it expands to

  @defcodeindex ma

  @macro xxx
  @maindex xxx
  @end macro

  foo
  @maindex xxx
                                          <---
  bar

The marked empty line is wrong and shouldn't be emitted at all
(causing paragraphs in TeX output where no paragraphs should be).
Interestingly, it seems to be related to (some) commands which have
arguments without braces.  Some work correctly (@need, @set), others
don't (@section, @appendix, @XXindex).


    Werner




reply via email to

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