bug-texinfo
[Top][All Lists]
Advanced

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

Using macros in @item


From: Akim Demaille
Subject: Using macros in @item
Date: Wed, 22 Oct 2003 09:52:17 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Hi!

I'm using commands in node names, and other features that only
preprocessing with `makeinfo -E' before running TeX provides.
Unfortunately, the following is then apparently forbidden:

Attachment: foo.texi
Description: TeXInfo document

makeinfo --html --split foo.texi  => OK
makeinfo foo.texi                 => OK
texi2dvi foo.texi                 => OK
texi2dvi -p foo.texi              => OK

but

/tmp % texi2dvi -p -e foo.texi                                   nostromo Err 1
stdin:18: avertissement: @menu vu avant le premier @node, création du noeud « 
Top ».
stdin:18: avertissement: votre noeud @top devrait se retrouver peut-être dans 
@ifnottex plutôt que dans @ifinfo?.
This is pdfTeXk, Version 3.14159-1.10b (Web2C 7.4.5)
 file:line:error style messages enabled.
(/tmp/t2d15639/src/foo.texi{/usr/share/texmf/pdftex/config/pdftex.cfg}
(/usr/local/share/texmf/tex/texinfo.tex
Loading texinfo [version 2003-07-28.08]: Basics, pdf,
(/usr/share/texmf/pdftex/plain/misc/pdfcolor.tex) fonts, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, (/usr/share/texmf/tex/generic/dvips/epsf.tex) localization,
and turning on texinfo input format.) (./foo.aux) Chapter 1
22: Undefined cross reference `Thinking in C++ Volume 2-snt'.
22: Undefined cross reference `Thinking in C++ Volume 2-snt'.
22: Undefined cross reference `Thinking in C++ Volume 2-pg'.
/tmp/t2d15639/src/foo.texi:25: Undefined control sequence
/tmp/t2d15639/src/foo.texi:28: Undefined control sequence
[1{/usr/share/texmf/dvips/config/pdftex.map}] )
(see the transcript file for additional information)
! pdfTeX warning (dest): name{Thinking in C++ Volume 2} has been referenced but
 does not exist, replaced by a fixed one

{/usr/share/texmf/dvips/tetex/09fbbfac.enc}</usr/share/texmf/fonts/type1/bluesk
y/cm/cmtt10.pfb>{/usr/share/texmf/dvips/tetex/bbad153f.enc}</usr/share/texmf/fo
nts/type1/bluesky/cm/cmsy10.pfb>{/usr/share/texmf/dvips/tetex/f7b6d320.enc}</us
r/share/texmf/fonts/type1/bluesky/cm/cmr10.pfb></usr/share/texmf/fonts/type1/bl
uesky/cm/cmbx12.pfb>
Output written on foo.pdf (1 page, 21698 bytes).
Transcript written on foo.log.
/home/akim/bin/texi2dvi: pdftex exited with bad status, quitting.
/home/akim/bin/texi2dvi: see foo.log for errors.


It appears that texi2dvi -e runs pdflatex on the following file, which
commands have been disabled:

Attachment: foo.texi
Description: TeXInfo document

This is really annoying, but this was made to be compliant with older
texinfo.tex that do not support macros.  But this is a problem I met
too often :(

- Shouldn't makeinfo -E perform expansion in @item too?

- Isn't it time to drop dead the 20th century protection against
  texinfo.tex that do not support macros?  And therefore to stop
  texi2dvi from removing these definitions?

reply via email to

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