A Bison user reports that he can't build its Postscript documentation.
It appears to be a problem with the way that texinfo.tex handles the
following pattern:

   @ifset documentparam
   ...
   @deffn {Directive} %parse-param @{@var{argument-declaration}@}
   ...
   @end deffn
   ...
   @end ifset

Here's how I reproduced the problem on a Debian GNU/Linux box
that has texi2dvi (GNU Texinfo 4.2) 0.51 installed:

   wget ftp://ftp.gnu.org/gnu/bison/bison-1.875.tar.gz
   tar xzf bison-1.875.tar.gz
   cd bison-1.875
   ./configure
   cd doc
   make bison.ps

The last command generated the following output:

TEXINPUTS="../config:$TEXINPUTS" \
MAKEINFO='/bin/sh /tmp/src/bison-1.875/config/missing --run makeinfo   -I .' \
texi2dvi `test -f 'bison.texinfo' || echo './'`bison.texinfo
This is TeX, Version 3.14159 (Web2C 7.3.7)
(/tmp/src/bison-1.875/doc/bison.texinfo (../config/texinfo.tex
Loading texinfo [version 2002-12-26.16]: Basics, pdf, fonts, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, (/usr/share/texmf/tex/plain/dvips/epsf.tex) localization,
and turning on texinfo input format.) (./version.texi)

WARNING: for users of Unix TeX 3.0!
This manual trips a bug in TeX version 3.0 (tex hangs).
If you are running another version of TeX, relax.
If you are running Unix TeX 3.0, kill this TeX process.
 Then upgrade your TeX installation if you can.
 (See ftp://ftp.gnu.org/non-gnu/TeX.README.)
If you are stuck with version 3.0, run the
 script ``tex3patch'' from the Texinfo distribution
 to use a workaround.

[1] [2] [-1] [-2] (Introduction)
Underfull \hbox (badness 3179) in paragraph at lines 315--318
[]@textrm Bison was writ-ten pri-mar-ily by Robert Cor-bett; Richard Stall-man 
made it
(Conditions for Using Bison) [1] [2] (./gpl.texi (GNU GENERAL PUBLIC LICENSE)
[3] [4]
Underfull \hbox (badness 2368) in paragraph at lines 66--66
[]@secrm TERMS AND CON-DI-TIONS FOR COPY-ING, 
[5] [6] [7] [8] [9]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 355--355
 []@texttt Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-130
7, USA.[] 

Overfull \hbox (14.94176pt too wide) in paragraph at lines 365--365
 []@texttt Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `sho
w w'.[] 
) Chapter 1 [10] [11] [12]
Cross reference values unknown; you must run TeX again. [13] [14] [15] [16]
[17] [18]
Overfull \hbox (14.94176pt too wide) in paragraph at lines 849--849
 []  @texttt #if __STDC_VERSION__ < 199901 && ! defined __GNUC__ && ! defined i
nline[] 
[19] [20] Chapter 2 [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31]
[32] [33] [34] [35] [36] [37] [38]
Underfull \hbox (badness 3240) in paragraph at lines 2134--2138
[]@textrm The func-tion @texttt yylex[] @textrm must now rec-og-nize vari-ables
, nu-meric val-ues, and the
[39] Chapter 3 [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51]
[52] [53] [54] [55] [56] [57] [58] [59] Chapter 4 [60]
! Undefined command `@end deffn'.
@next ...age {Undefined command `@end @endthing '}
                                                  @else @unmatchedenderror @...
l.3922 @end deffn
                 
? 


_______________________________________________
Bug-texinfo mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to