bug-texinfo
[Top][All Lists]
Advanced

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

Commands in node names


From: Akim Demaille
Subject: Commands in node names
Date: Wed, 11 Jun 2003 00:50:58 +0200 (CEST)

I know this is a painful issue, but it is also painful for us,
the users :(  Sorry to raise this issue again, but I can't understand
the current status, what's OK, and what is not.  I would like all the
outputs to behave equally well, or bad, or I'd like a -Wall that
prevents me from making files that will fail with the TeX output.

On the other hand, this might be a bug :)

Consider the following file:

----------------------
\input texinfo   @c -*-texinfo-*-
@c %**start of header
@setfilename sample.info
@settitle Sample Manual 1.0
@c %**end of header

@macro havm
@acronym{HAVM}
@end macro

@ifnottex
@node Top
@top Top
@end ifnottex

@menu
* @havm{} does work::
* @acronym{ACRONYM} does not work::
@end menu

@node @havm{} does work
@chapter @havm{} does work

@address@hidden does work}.

@node @acronym{ACRONYM} does not work
@chapter @acronym{ACRONYM} does not work

@address@hidden does not work}.

@bye
-----------------

Using makeinfo, there is no problems, but TeX is seriously annoyed,
First run, it doesn't like the macro in the ref:

/tmp % texi2dvi sample.texi                                           0:57
remo This is TeXk, Version 3.14159 (Web2C 7.4.5)
 file:line:error style messages enabled.
(/tmp/sample.texi (./texinfo.tex Loading texinfo [version 2003-05-04.08]:
Basics, pdf, 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.) Chapter 1 (./sample.tmp)
/tmp/sample.texi:24: Missing @endcsname inserted
(./sample.tmp)
/tmp/sample.texi:24: Extra @endcsname
Cross reference values unknown; you must run TeX again.
/tmp/sample.texi:24: Missing @endcsname inserted
(./sample.tmp)
/tmp/sample.texi:24: Extra @endcsname
(./sample.tmp)
/tmp/sample.texi:24: Missing @endcsname inserted
(./sample.tmp)
/tmp/sample.texi:24: Extra @endcsname
Chapter 2 [1] [2] )
(see the transcript file for additional information)
Output written on sample.dvi (2 pages, 788 bytes).
Transcript written on sample.log.
/home/akim/bin/texi2dvi: tex exited with bad status, quitting.
/home/akim/bin/texi2dvi: see sample.log for errors.


In the second run, it doesn't like the @acronym that remains in the
.aux file:

/tmp % texi2dvi sample.texi                                          Err 1
remo
This is TeXk, Version 3.14159 (Web2C 7.4.5)
 file:line:error style messages enabled.
(/tmp/sample.texi (./texinfo.tex Loading texinfo [version 2003-05-04.08]:
Basics, pdf, 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.) (./sample.aux
./sample.aux:4: Missing @endcsname inserted
./sample.aux:4: Extra }, or forgotten @endgroup
./sample.aux:4: Extra @endcsname
./sample.aux:5: Missing @endcsname inserted
./sample.aux:5: Extra }, or forgotten @endgroup
./sample.aux:5: Extra @endcsname
./sample.aux:6: Missing @endcsname inserted
./sample.aux:6: Extra }, or forgotten @endgroup
./sample.aux:6: Extra @endcsname
)
Underfull \hbox (badness 2762) in paragraph at lines 4--6
address@hidden does not address@hidden acronym @textrm does not work  does
not wo
rk-pg2  does not
Chapter 1 [1] (./sample.tmp)
/tmp/sample.texi:24: Missing @endcsname inserted
(./sample.tmp)
/tmp/sample.texi:24: Extra @endcsname
/tmp/sample.texi:24: TeX capacity exceeded, sorry [input stack size=1500]
Output written on sample.dvi (1 page, 376 bytes).
Transcript written on sample.log.
/home/akim/bin/texi2dvi: tex exited with bad status, quitting.
/home/akim/bin/texi2dvi: see sample.log for errors.


Thanks!




reply via email to

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