Hi Karl, Thanks for your prompt response. Your first suggested solution, trying the latest texinfo.tex, does not fix the problem. I /input that as /home/zender/texinfo.tex, and texi2dvi continues to break in the same spot (messages below).
I'm not surprised if that works for you. As mentioned in the original post, texi2dvi always works fine on my Ubuntu system, and always breaks on my Fedora system. So when I say texi2dvi does not work on nco.texi, I'm only referring to, and the messages are from, Fedora. I placed some notes near line 6394 of nco.texi: @c 20130827: Fedora Core 19 (FC19) breaks here with "./nco.texi:6394: Missing dollarsign inserted." @c Ubuntu continues to build nco.texi fine, and must be used to produce nco.pdf @c Problem is related to number of dollarsigns used in TeX mode? @c Adding a dollarsign character right here breaks Ubuntu builds too @c Hence I must carefully spell-out the word dollarsign instead @c 20130829: Making many smaller TeX environments does not solve problem @c 20130910: Using latest texinfo.tex from GNU does not solve problem @c Breakage always occurs near here Would appreciate more of your advice :) Thanks! Charlie PS: Moving @contents to top of file was great suggestion zender@roulee:~/nco/doc$ cd ~/nco/doc;texi2dvi nco.texi This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) restricted \write18 enabled. entering extended mode (./nco.texi (/home/zender/texinfo.tex Loading texinfo [version 2013-08-20.10]: pdf, fonts, markup, glyphs, page headings, tables, conditionals, indexing, sectioning, toc, environments, defuns, macros, cross references, insertions, (/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex This is `epsf.tex' v2.7.4 <14 February 2011> ) localization, formatting, and turning on texinfo input format.) (./my-bib-macros.texi) [1] [2] [-1] [-2] (Foreword) [1] (Summary) [2] Chapter 1 [3] [4] [5] Cross reference values unknown; you must run TeX again. [6] [7] [8] [9] [10] [11] Chapter 2 [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] Chapter 3 [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] Overfull \hbox (95.42339pt too wide) in paragraph at lines 3124--3124 []@texttt http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/ncep.reanalysis. dailyavgs/surface \[] [32] Overfull \hbox (95.42339pt too wide) in paragraph at lines 3215--3215 []@texttt http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/ncep.reanalysis. dailyavgs/surface \[] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] Overfull \hbox (78.17732pt too wide) in paragraph at lines 5921--5921 [] @texttt /bin/ln -s ${DATA}/nco/LPRM-AMSR_E_L3_D_SOILM3_V002-20120512T11193 1Z_20020619.nc \[] [67] [68] [69] [70] [71] ./nco.texi:6394: Missing $ inserted. <inserted text> $ <to be read again> ^ '->^ \bgroup \prim@s \thistitle ...nym {NCO} \value {nco-edition} User' s Guide <inserted text> \line {\folio \hfil \thistitle } <inserted text> ...dline \else \the \evenheadline \fi } ... l.6394 ? Le 08/09/2013 17:14, Karl Berry a écrit : > Hi Charlie, > > '->^ > \bgroup \prim@s > \thistitle ...nym {NCO} \value {nco-edition} User' > s Guide > > Not an internal limit. That's about TeX parsing (i.e., catcodes) of the > ' char in the @settitle (or maybe the @titlepage). As if the title is > being printed in math mode. > > My first suggestion is to try the current texinfo.tex > (http://ftpmirror.gnu.org/texinfo/texinfo.tex). (This is nothing about > texi2dvi per se, but about texinfo.tex.) When I tried it, it seemed to > get past that point, though of course I'm missing all the subfiles and > other dependencies. > > Unfortunately, I have an idea that it might be happening when a page > break occurs in the middle of a @tex environment, as you speculate, or > maybe an @math expression. In that case, probably the only way to find > it is by chopping out chapters. But I may be able to fix it even > without the failing example. I'll take a look tomorrow if still needed. > > Best, > Karl > > P.S. I suggest moving @contents to the beginning, where toc's belong. > P.P.S. The canonical spelling of Texinfo is "Texinfo" :). > -- Charlie Zender, Earth System Sci. & Computer Sci. University of California, Irvine 949-891-2429 )'(
