bug-texinfo
[Top][All Lists]
Advanced

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

@command is broken in @node for TeX


From: Akim Demaille
Subject: @command is broken in @node for TeX
Date: Mon, 01 Dec 2003 10:39:22 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

The following used to work fine.

src/texinfo/test-cases % eof @address@hidden           nostromo 10:37
: -------------------- @address@hidden ----------------------
cat > @address@hidden << \EOF
\input texinfo   @c -*-texinfo-*-
@setfilename bug
@settitle bug

@ifnottex
@node Top
@top TITLE
@end ifnottex

@node Invoking @command{command}
@chapter Invoking @command{command}

@node Invoking @samp{samp}
@section Invoking @samp{samp}

@bye
EOF
: ------------------------------------------------------------
src/texinfo/test-cases % (rm @address@hidden; texi2dvi @address@hidden; 
texi2dvi @address@hidden) |& tee log
   This is TeXk, Version 3.14159 (Web2C 7.4.5)
    file:line:error style messages enabled.
   (/home/akim/src/texinfo/test-cases/@address@hidden
   (/usr/local/share/texmf/tex/texinfo.tex
   Loading texinfo [version 2003-11-29.14]: Basics, pdf, fonts, page headings,
   tables, conditionals, indexing, sectioning, toc, environments, defuns, 
macros,
   cross references, footnotes, figures,
   (/usr/share/texmf/tex/generic/dvips/epsf.tex) localization,
   and turning on texinfo input format.) Chapter 1
   /home/akim/src/texinfo/test-cases/@address@hidden:11: Undefined contr
   ol sequence
   [1] )
   (see the transcript file for additional information)
   Output written on @address@hidden (1 page, 412 bytes).
   Transcript written on @address@hidden
   /home/akim/bin/texi2dvi: tex exited with bad status, quitting.
   /home/akim/bin/texi2dvi: see @address@hidden for errors.
   This is TeXk, Version 3.14159 (Web2C 7.4.5)
    file:line:error style messages enabled.
   (/home/akim/src/texinfo/test-cases/@address@hidden
   (/usr/local/share/texmf/tex/texinfo.tex
   Loading texinfo [version 2003-11-29.14]: Basics, pdf, fonts, page headings,
   tables, conditionals, indexing, sectioning, toc, environments, defuns, 
macros,
   cross references, footnotes, figures,
   (/usr/share/texmf/tex/generic/dvips/epsf.tex) localization,
   and turning on texinfo input format.) (./@address@hidden: Illegal fontname 
``-': contains '`'
   kpathsea: Illegal fontname ``-': contains '`'
   kpathsea: Illegal fontname ``-': contains '`'
   kpathsea: Illegal fontname ``-': contains '`'
   
   ./@address@hidden:1: Missing @endcsname inserted
   ./@address@hidden:1: Improper alphabetic constant
   ./@address@hidden:1: Missing number, treated as zero
   ./@address@hidden:1: Undefined control sequence
   ./@address@hidden:1: Undefined control sequence
   ./@address@hidden:1: Missing number, treated as zero
   ./@address@hidden:1: Missing control sequence inserted
   ./@address@hidden:1: Undefined control sequence
   ./@address@hidden:1: Undefined control sequence
   ./@address@hidden:1: Missing number, treated as zero
   ./@address@hidden:1: Missing control sequence inserted
   ./@address@hidden:1: Font @inaccessible=`- not loadable: Metric (TFM) 
   file not found
   ./@address@hidden:1: Missing control sequence inserted
   ./@address@hidden:1: Missing number, treated as zero
   ./@address@hidden:1: Missing number, treated as zero
   ./@address@hidden:1: Missing number, treated as zero
   ./@address@hidden:1: Missing number, treated as zero
   ./@address@hidden:1: Missing number, treated as zero
   ./@address@hidden:1: Missing number, treated as zero
   ./@address@hidden:1: Missing font identifier
   ./@address@hidden:1: Missing number, treated as zero
   ./@address@hidden:1: Extra @endcsname
   ./@address@hidden:2: Missing @endcsname inserted
   ./@address@hidden:2: Improper alphabetic constant
   ./@address@hidden:2: Missing number, treated as zero
   ./@address@hidden:2: Undefined control sequence
   ./@address@hidden:2: Undefined control sequence
   ./@address@hidden:2: Missing number, treated as zero
   ./@address@hidden:2: Missing control sequence inserted
   ./@address@hidden:2: Undefined control sequence
   ./@address@hidden:2: Undefined control sequence
   ./@address@hidden:2: Missing number, treated as zero
   ./@address@hidden:2: Missing control sequence inserted
   ./@address@hidden:2: Font @inaccessible=`- not loadable: Metric (TFM) 
   file not found
   ./@address@hidden:2: Missing number, treated as zero
   ./@address@hidden:2: Missing number, treated as zero
   ./@address@hidden:2: Missing number, treated as zero
   ./@address@hidden:2: Missing number, treated as zero
   ./@address@hidden:2: Missing number, treated as zero
   ./@address@hidden:2: Missing number, treated as zero
   ./@address@hidden:2: Missing font identifier
   ./@address@hidden:2: Missing number, treated as zero
   ./@address@hidden:2: Extra @endgroup
   ./@address@hidden:2: Extra @endcsname
   ./@address@hidden:3: Missing @endcsname inserted
   ./@address@hidden:3: Missing control sequence inserted
   ./@address@hidden:3: Font @inaccessible=`- not loadable: Metric (TFM) 
   file not found
   ./@address@hidden:3: Missing number, treated as zero
   ./@address@hidden:3: Missing number, treated as zero
   ./@address@hidden:3: Missing number, treated as zero
   ./@address@hidden:3: Missing number, treated as zero
   ./@address@hidden:3: Missing number, treated as zero
   ./@address@hidden:3: Missing number, treated as zero
   ./@address@hidden:3: Too many }'s
   ./@address@hidden:3: Extra @endcsname
   ./@address@hidden:4: Missing @endcsname inserted
   ./@address@hidden:4: Missing control sequence inserted
   ./@address@hidden:4: Font @inaccessible=`- not loadable: Metric (TFM) 
   file not found
   ./@address@hidden:4: Missing number, treated as zero
   ./@address@hidden:4: Missing number, treated as zero
   ./@address@hidden:4: Missing number, treated as zero
   ./@address@hidden:4: Missing number, treated as zero
   ./@address@hidden:4: Missing number, treated as zero
   ./@address@hidden:4: Missing number, treated as zero
   ./@address@hidden:4: Too many }'s
   ./@address@hidden:4: Extra @endcsname
   ./@address@hidden:5: Missing @endcsname inserted
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Undefined control sequence
   ./@address@hidden:5: Extra @endcsname
   ./@address@hidden:6: Missing @endcsname inserted
   ./@address@hidden:6: Undefined control sequence
   ./@address@hidden:6: Undefined control sequence
   ./@address@hidden:6: Undefined control sequence
   ./@address@hidden:6: Undefined control sequence
   ./@address@hidden:6: Undefined control sequence
   ./@address@hidden:6: Undefined control sequence
   ./@address@hidden:6: Too many }'s
   ./@address@hidden:6: Extra @endcsname
   )
   /home/akim/src/texinfo/test-cases/@address@hidden:2: Extra @endgroup
   
   Underfull \hbox (badness 10000) in paragraph at lines 1--4
   [] address@hidden address@hidden address@hidden @m @m @m @m @m 
address@hidden -titleInvoking 
   @texttt command[] address@hidden address@hidden @m @m @m @m @m @m
   
   Underfull \hbox (badness 5231) in paragraph at lines 1--4
   @textrm =\\sfcode \semiChar =\\sfcode \commaChar =\command\hbox \endgroup 
-pg1
   Chapter 1 [1]
   /home/akim/src/texinfo/test-cases/@address@hidden:11: Undefined contr
   ol sequence
   [2] )
   (see the transcript file for additional information)
   Output written on @address@hidden (2 pages, 1752 bytes).
   Transcript written on @address@hidden
   /home/akim/bin/texi2dvi: tex exited with bad status, quitting.
   /home/akim/bin/texi2dvi: see @address@hidden for errors.
   

This kind of issue ought to be caught by a test suite.  I love
Texinfo, but I spend too much time trying to diagnose what line causes
my 6k lines document to fail :(

Note that @samp is fine, only @command is troublesome.




reply via email to

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