all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem building emacs-lisp-intro.dvi.
@ 2006-08-21 11:19 Lute Kamstra
  2006-08-21 14:50 ` Robert J. Chassell
  0 siblings, 1 reply; 15+ messages in thread
From: Lute Kamstra @ 2006-08-21 11:19 UTC (permalink / raw)


Building lispintro/emacs-lisp-intro.dvi fails for me.  I'm using
Debian unstable.

,----[ make emacs-lisp-intro.dvi ]
| TEXINPUTS="/soft/careful/emacs/lispintro::/soft/software/cvs/texmf/tex" MAKEINFO="makeinfo -I/soft/careful/emacs/lispintro" texi2dvi /soft/careful/emacs/lispintro/emacs-lisp-intro.texi
| This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
|  file:line:error style messages enabled.
| entering extended mode
| (/soft/careful/emacs/lispintro/emacs-lisp-intro.texi (./texinfo.tex
| Loading texinfo [version 2003-12-30.09]: Basics, pdf,
| (/usr/share/texmf-tetex/tex/plain/pdfcolor/pdfcolor.tex) fonts, page headings,
| tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
| cross references, (/usr/share/texmf-tetex/tex/generic/epsf/epsf.tex)
| localization, and turning on texinfo input format.)
| 
| 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{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] [3] [4] [-1]
| [-2] [-3] [-4] (Preface) [-11] [-12]
| Cross reference values unknown; you must run TeX again. [-13] [-14] Chapter 1
| [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]
| [18] [19] [20] Chapter 2 [21] [22] [23] [24] [25] [26] [27] Chapter 3 [28]
| [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43]
| [44] [45] [46] [47] [48] [49] Chapter 4 [50] [51] [52] [53] [54] [55] [56]
| [57] [58] [59] [60] Chapter 5 [61] [62] [63] [64] [65] [66] [67] [68] [69]
| [70] [71] [72] [73] Chapter 6 [74] [75] [76] [77] Chapter 7 [78] [79] [80]
| [81] [82] [83] [84] [85] Chapter 8 [86] [87] [88] [89] [90] [91] [92] [93]
| [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106]
| [107] [108] Chapter 9 [109] [110]
| Error: etex (file cons-1.pdf): cannot find image file
|  ==> Fatal error occurred, the output PDF file is not finished!
| /usr/bin/texi2dvi: etex exited with bad status, quitting.
| /usr/bin/texi2dvi: see emacs-lisp-intro.log for errors.
| make: *** [emacs-lisp-intro.dvi] Error 1
`----

The funny thing is that TeX tries to make a pdf file.  When I delete
lispintro/texinfo.tex, the problem goes away:

,----[ make emacs-lisp-intro.dvi ]
| TEXINPUTS="/soft/careful/emacs/lispintro::/soft/software/cvs/texmf/tex" MAKEINFO="makeinfo -I/soft/careful/emacs/lispintro" texi2dvi /soft/careful/emacs/lispintro/emacs-lisp-intro.texi
| This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
|  file:line:error style messages enabled.
| entering extended mode
| (/soft/careful/emacs/lispintro/emacs-lisp-intro.texi
| (/usr/share/texmf/tex/texinfo/texinfo.tex
| Loading texinfo [version 2006-02-13.16]: Basics, pdf, fonts, page headings,
| tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
| cross references, insertions, (/usr/share/texmf-tetex/tex/generic/epsf/epsf.tex
| ) localization, and turning on texinfo input format.) [1] [2] [3] [4] [-1]
| [-2] [-3] [-4] (Preface) [-11] [-12]
| Cross reference values unknown; you must run TeX again. [-13] [-14] Chapter 1
| [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]
| [18] [19] Chapter 2 [20] [21] [22] [23] [24] [25] Chapter 3 [26] [27] [28]
| [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43]
| [44] [45] [46] Chapter 4 [47] [48] [49] [50] [51] [52] [53] [54] [55] [56]
| [57] [58] Chapter 5 [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69]
| [70] [71] Chapter 6 [72] [73] [74] [75] Chapter 7 [76] [77] [78] [79] [80]
| [81] [82] [83] Chapter 8 [84] [85] [86] [87] [88] [89] [90] [91] [92] [93]
| [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] Chapter 9
| [106]
| Underfull \hbox (badness 10000) detected at line 8942
| []
| [107]
| Underfull \hbox (badness 10000) detected at line 9005
| []
| 
| Underfull \hbox (badness 10000) detected at line 9054
| []
| 
| Underfull \hbox (badness 10000) detected at line 9121
| []
| [108]
| Underfull \hbox (badness 10000) detected at line 9193
| []
| [109]
| Underfull \hbox (badness 10000) detected at line 9310
| []
| Chapter 10 [110] [111]
| Underfull \hbox (badness 10000) detected at line 9482
| []
| [112] Chapter 11 [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]
| [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134]
| [135] [136] [137] [138] [139] Chapter 12 [140] [141] [142] [143] [144] [145]
| [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] Chapter 13
| [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168]
| [169] Chapter 14 [170] [171] [172] [173] [174] [175] [176] [177] [178] [179]
| [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] Chapter 15 [190]
| [191] [192] [193] [194] [195] [196] [197] [198] Chapter 16 [199] [200] [201]
| [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213]
| [214] [215] [216] [217] Chapter 17 [218] [219] [220] [221] [222] [223] [224]
| Chapter 18 [225] [226] [227] Appendix A [228] [229] Appendix B [230] [231]
| [232] [233] [234] [235] [236] [237] [238] [239] Appendix C [240] [241] [242]
| [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254]
| [255] [256]
| Underfull \hbox (badness 10000) detected at line 20261
| []
| [257]
| Underfull \hbox (badness 10000) detected at line 20303
| []
| 
| Underfull \hbox (badness 10000) detected at line 20342
| []
| [258] [259] [260] Appendix D [261] [262] [263] [264] Appendix E [265] [266]
| [267] [268] [269] [270] [271] [272] [273] (Index) [274] [275] [276] [277]
| [278] )
| (see the transcript file for additional information)
| Output written on emacs-lisp-intro.dvi (290 pages, 842160 bytes).
| Transcript written on emacs-lisp-intro.log.
| This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
|  file:line:error style messages enabled.
| entering extended mode
| (/soft/careful/emacs/lispintro/emacs-lisp-intro.texi
| (/usr/share/texmf/tex/texinfo/texinfo.tex
| Loading texinfo [version 2006-02-13.16]: Basics, pdf, fonts, page headings,
| tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
| cross references, insertions, (/usr/share/texmf-tetex/tex/generic/epsf/epsf.tex
| ) localization, and turning on texinfo input format.) (./emacs-lisp-intro.aux)
| [1] [2] [3] [4] (./emacs-lisp-intro.toc) [-1] [-2] (./emacs-lisp-intro.toc
| [-3] [-4] [-5] [-6] [-7] [-8]) [-9] [-10] (Preface) [-11] [-12] [-13] [-14]
| Chapter 1 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]
| [16] [17] [18] [19] Chapter 2 [20] [21] [22] [23] [24] [25] Chapter 3 [26]
| [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41]
| [42] [43] [44] [45] [46] Chapter 4 [47] [48] [49] [50] [51] [52] [53] [54]
| [55] [56] [57] [58] Chapter 5 [59] [60] [61] [62] [63] [64] [65] [66] [67]
| [68] [69] [70] [71] Chapter 6 [72] [73] [74] [75] Chapter 7 [76] [77] [78]
| [79] [80] [81] [82] [83] Chapter 8 [84] [85] [86] [87] [88] [89] [90] [91]
| [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105]
| Chapter 9 [106]
| Underfull \hbox (badness 10000) detected at line 8942
| []
| [107]
| Underfull \hbox (badness 10000) detected at line 9005
| []
| 
| Underfull \hbox (badness 10000) detected at line 9054
| []
| 
| Underfull \hbox (badness 10000) detected at line 9121
| []
| [108]
| Underfull \hbox (badness 10000) detected at line 9193
| []
| [109]
| Underfull \hbox (badness 10000) detected at line 9310
| []
| Chapter 10 [110] [111]
| Underfull \hbox (badness 10000) detected at line 9482
| []
| [112] Chapter 11 [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]
| [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134]
| [135] [136] [137] [138] [139] Chapter 12 [140] [141] [142] [143] [144] [145]
| [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] Chapter 13
| [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168]
| [169] Chapter 14 [170] [171] [172] [173] [174] [175] [176] [177] [178] [179]
| [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] Chapter 15 [190]
| [191] [192] [193] [194] [195] [196] [197] [198] Chapter 16 [199] [200] [201]
| [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213]
| [214] [215] [216] [217] Chapter 17 [218] [219] [220] [221] [222] [223] [224]
| Chapter 18 [225] [226] [227] Appendix A [228] [229] Appendix B [230] [231]
| [232] [233] [234] [235] [236] [237] [238] [239] Appendix C [240] [241] [242]
| [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254]
| [255] [256]
| Underfull \hbox (badness 10000) detected at line 20261
| []
| [257]
| Underfull \hbox (badness 10000) detected at line 20303
| []
| 
| Underfull \hbox (badness 10000) detected at line 20342
| []
| [258] [259] [260] Appendix D [261] [262] [263] [264] Appendix E [265] [266]
| [267] [268] [269] [270] [271] [272] [273] (Index) [274] (./emacs-lisp-intro.cps
| [275] [276] [277] [278]) [279] [280] [281] [282] )
| (see the transcript file for additional information)
| Output written on emacs-lisp-intro.dvi (300 pages, 1003192 bytes).
| Transcript written on emacs-lisp-intro.log.
`----

Does anybody have a clue what's going on?

  Lute.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-21 11:19 Problem building emacs-lisp-intro.dvi Lute Kamstra
@ 2006-08-21 14:50 ` Robert J. Chassell
  2006-08-21 15:24   ` Lute Kamstra
  0 siblings, 1 reply; 15+ messages in thread
From: Robert J. Chassell @ 2006-08-21 14:50 UTC (permalink / raw)
  Cc: bob, emacs-devel

    Building lispintro/emacs-lisp-intro.dvi fails for me.

Me, too.  The texinfo.tex included with the Emacs CVS, version 2003-12-30.09,
failed.  (This is the version Lute Kamstra first used also.)

However, as Lute said,

    The funny thing is that TeX tries to make a pdf file.  When I
    delete lispintro/texinfo.tex, the problem goes away ...

I suspect the problem is that the version of texinfo.tex that was
included with the Emacs CVS, version 2003-12-30.09, tested only for
\pdfoutput which the new versions of TeX have.  More recent
texinfo.tex include more tests.

I committed to the Emacs CVS version 2006-02-13.16 of texinfo.tex

Please see whether you have any problems not only in the build
(neither Lute nor I had them) but also in the content.  (A brief look
indicated that the content was the same as before, and presumably OK,
but someone else might check ...)

This is the version of texinfo.tex installed by my Debian testing
distribution and is the same version to which Lute Kamstra switched.


Also, I built the DVI without reported error using most recent version
I have in Texinfo 4.8, which is version 2006-05-08.10.  (I did not
commit that version to CVS.)

Looking at the diff between the 2003 version that was included in the
Emacs CVS and the version included in /usr/share/texmf/tex/texinfo/
which I have just committed to CVS, I find the the 2003 version only
tests for \pdfoutput.  The newer versions say

    % when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1
    % can be set).  So we test for \relax and 0 as well as \undefined,
    % borrowed from ifpdf.sty.

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-21 14:50 ` Robert J. Chassell
@ 2006-08-21 15:24   ` Lute Kamstra
  2006-08-21 19:11     ` Robert J. Chassell
  0 siblings, 1 reply; 15+ messages in thread
From: Lute Kamstra @ 2006-08-21 15:24 UTC (permalink / raw)
  Cc: emacs-devel

"Robert J. Chassell" <bob@rattlesnake.com> writes:

[...]

> I committed to the Emacs CVS version 2006-02-13.16 of texinfo.tex

Thanks, that does fix the problem for me.

Alternatively, we could delete lispintro/texinfo.tex and use
man/texinfo.tex to build emacs-lisp-intro.dvi.  That way, we save
space and only have to worry about keeping one instance of that file
up-to-date.

  Lute.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-21 15:24   ` Lute Kamstra
@ 2006-08-21 19:11     ` Robert J. Chassell
  2006-08-21 21:26       ` Lute Kamstra
  0 siblings, 1 reply; 15+ messages in thread
From: Robert J. Chassell @ 2006-08-21 19:11 UTC (permalink / raw)
  Cc: emacs-devel

Lute Kamstra wrote,

   Alternatively, we could delete lispintro/texinfo.tex and use
   man/texinfo.tex to build emacs-lisp-intro.dvi.  That way, we save
   space and only have to worry about keeping one instance of that
   file up-to-date.

That is an excellent idea!  I have deleted lispintro/texinfo.tex,
changed lispintro/emacs-lisp-intro.texi appropriately, and tested it
with `make emacs-lisp-intro.dvi' in lispintro/.  No reported errors.
I have committed the changes.

Please check it all.  Thanks!

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-21 19:11     ` Robert J. Chassell
@ 2006-08-21 21:26       ` Lute Kamstra
  2006-08-22  0:45         ` Robert J. Chassell
  0 siblings, 1 reply; 15+ messages in thread
From: Lute Kamstra @ 2006-08-21 21:26 UTC (permalink / raw)
  Cc: emacs-devel

"Robert J. Chassell" <bob@rattlesnake.com> writes:

> That is an excellent idea!  I have deleted lispintro/texinfo.tex,
> changed lispintro/emacs-lisp-intro.texi appropriately, and tested it
> with `make emacs-lisp-intro.dvi' in lispintro/.  No reported errors.
> I have committed the changes.

Instead of hardcoding the use of man/texinfo.tex into
lispintro/emacs-lisp-intro.texi, you could also use the -I switch of
texi2dvi to specify the man directory.  (I recently did this in
lispref/Makefile.in for building lispref/elisp.dvi.)  That way nothing
special needs to be done when the manual is built on its own.

  Lute.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-21 21:26       ` Lute Kamstra
@ 2006-08-22  0:45         ` Robert J. Chassell
  2006-08-22  1:29           ` Eli Zaretskii
  2006-08-22  7:53           ` David Kastrup
  0 siblings, 2 replies; 15+ messages in thread
From: Robert J. Chassell @ 2006-08-22  0:45 UTC (permalink / raw)
  Cc: emacs-devel

   Instead of hardcoding the use of man/texinfo.tex into
   lispintro/emacs-lisp-intro.texi, you could also use the -I switch
   of texi2dvi to specify the man directory. ...

I did not know that.  How far back was that switch introduced, in
Emacs terms?  If it is before Emacs 20 got released, then we can use
it.  (I don't even remember when texi2dvi was introduced ...)

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-22  0:45         ` Robert J. Chassell
@ 2006-08-22  1:29           ` Eli Zaretskii
  2006-08-22  7:53           ` David Kastrup
  1 sibling, 0 replies; 15+ messages in thread
From: Eli Zaretskii @ 2006-08-22  1:29 UTC (permalink / raw)
  Cc: Lute.Kamstra.lists, emacs-devel

> Date: Tue, 22 Aug 2006 00:45:26 +0000 (UTC)
> From: "Robert J. Chassell" <bob@rattlesnake.com>
> Cc: emacs-devel@gnu.org
> 
>    Instead of hardcoding the use of man/texinfo.tex into
>    lispintro/emacs-lisp-intro.texi, you could also use the -I switch
>    of texi2dvi to specify the man directory. ...
> 
> I did not know that.  How far back was that switch introduced, in
> Emacs terms?

IIRC, the -I switch was supported by makeinfo since day one.

Also, we already used -I in man/Makefile.in, even before the change by
Lute a few days ago.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-22  0:45         ` Robert J. Chassell
  2006-08-22  1:29           ` Eli Zaretskii
@ 2006-08-22  7:53           ` David Kastrup
  2006-08-22 10:26             ` Robert J. Chassell
  2006-08-22 10:30             ` Robert J. Chassell
  1 sibling, 2 replies; 15+ messages in thread
From: David Kastrup @ 2006-08-22  7:53 UTC (permalink / raw)
  Cc: emacs-devel

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>    Instead of hardcoding the use of man/texinfo.tex into
>    lispintro/emacs-lisp-intro.texi, you could also use the -I switch
>    of texi2dvi to specify the man directory. ...
>
> I did not know that.  How far back was that switch introduced, in
> Emacs terms?  If it is before Emacs 20 got released, then we can use
> it.  (I don't even remember when texi2dvi was introduced ...)

What relevance has the release date of Emacs 20 here?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-22  7:53           ` David Kastrup
@ 2006-08-22 10:26             ` Robert J. Chassell
  2006-08-22 10:29               ` David Kastrup
  2006-08-23 15:49               ` Eli Zaretskii
  2006-08-22 10:30             ` Robert J. Chassell
  1 sibling, 2 replies; 15+ messages in thread
From: Robert J. Chassell @ 2006-08-22 10:26 UTC (permalink / raw)
  Cc: emacs-devel

   What relevance has the release date of Emacs 20 here?

Backward compatibility.  

Eli said

    IIRC, the -I switch was supported by makeinfo since day one.

which may be the case.  However, the Texinfo manual (version 4.8, 29
December 2004) says

`-I DIR'
     Append DIR to the directory search list for finding files that are
     included using the `@include' command.  By default, `makeinfo'
     searches only the current directory.  If DIR is not given, the
     current directory `.' is appended.  Note that DIR can actually be
     a list of several directories separated by the usual path
     separator character (`:' on Unix, `;' on MS-DOS/MS-Windows).

I do not know whether texinfo.tex, which is input with a `\input'
command, is considered an `@include' file.



Incidently, the earliest log message for the switch that I see in
emacs/man/Makefile.in is from 6 April 1998:

  revision 1.13
  date: 1998-04-06 10:33:02 +0000;  author: schwab;  state: Exp;  lines: +18 -17
  (ENVADD): Enviroment vars to pass to texi2dvi.  Use
  it in dvi targets.
  (../etc/GNU): Change to $(srcdir) first.

which is after Emacs version 20.2 was released on 19 September 1997
and before Emacs version 20.3 was released on 19 August 1998.

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-22 10:26             ` Robert J. Chassell
@ 2006-08-22 10:29               ` David Kastrup
  2006-08-22 17:51                 ` Robert J. Chassell
  2006-08-23 15:49               ` Eli Zaretskii
  1 sibling, 1 reply; 15+ messages in thread
From: David Kastrup @ 2006-08-22 10:29 UTC (permalink / raw)
  Cc: emacs-devel

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>    What relevance has the release date of Emacs 20 here?
>
> Backward compatibility.  

Backward compatibility with _what_?  What relevance has the release
date of Emacs 20 with some presumed backward compatibility of Emacs
22.1 documentation?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-22  7:53           ` David Kastrup
  2006-08-22 10:26             ` Robert J. Chassell
@ 2006-08-22 10:30             ` Robert J. Chassell
  1 sibling, 0 replies; 15+ messages in thread
From: Robert J. Chassell @ 2006-08-22 10:30 UTC (permalink / raw)
  Cc: emacs-devel

   What relevance has the release date of Emacs 20 here?

Backward compatibility.  

Eli said

    IIRC, the -I switch was supported by makeinfo since day one.

which may be the case.  However, the Texinfo manual (version 4.8, 29
December 2004) says

`-I DIR'
     Append DIR to the directory search list for finding files that are
     included using the `@include' command.  By default, `makeinfo'
     searches only the current directory.  If DIR is not given, the
     current directory `.' is appended.  Note that DIR can actually be
     a list of several directories separated by the usual path
     separator character (`:' on Unix, `;' on MS-DOS/MS-Windows).

I do not know whether texinfo.tex, which is input with a `\input'
command, is considered an `@include' file.



Incidently, the earliest log message for the switch that I see in
emacs/man/Makefile.in is from 6 April 1998:

  revision 1.13
  date: 1998-04-06 10:33:02 +0000;  author: schwab;  state: Exp;  lines: +18 -17
  (ENVADD): Enviroment vars to pass to texi2dvi.  Use
  it in dvi targets.
  (../etc/GNU): Change to $(srcdir) first.

which is after Emacs version 20.2 was released on 19 September 1997
and before Emacs version 20.3 was released on 19 August 1998.

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-22 10:29               ` David Kastrup
@ 2006-08-22 17:51                 ` Robert J. Chassell
  0 siblings, 0 replies; 15+ messages in thread
From: Robert J. Chassell @ 2006-08-22 17:51 UTC (permalink / raw)
  Cc: bob, emacs-devel

    Backward compatibility with _what_?  What relevance has the release
    date of Emacs 20 with some presumed backward compatibility of Emacs
    22.1 documentation?

It is not the documentation I am concerned with, but with the problem
that some people possibly may not have an updated Texinfo
distribution.  I figured that the release date of Emacs 20, which I
had information about, was a good enough time target even if it is not
related directly to the Texinfo distribution.

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-22 10:26             ` Robert J. Chassell
  2006-08-22 10:29               ` David Kastrup
@ 2006-08-23 15:49               ` Eli Zaretskii
  2006-08-23 16:26                 ` Andreas Schwab
  1 sibling, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2006-08-23 15:49 UTC (permalink / raw)
  Cc: emacs-devel

> Date: Tue, 22 Aug 2006 10:26:41 +0000 (UTC)
> From: "Robert J. Chassell" <bob@rattlesnake.com>
> Cc: emacs-devel@gnu.org
> 
> Eli said
> 
>     IIRC, the -I switch was supported by makeinfo since day one.
> 
> which may be the case.  However, the Texinfo manual (version 4.8, 29
> December 2004) says
> 
> `-I DIR'
>      Append DIR to the directory search list for finding files that are
>      included using the `@include' command.  By default, `makeinfo'
>      searches only the current directory.  If DIR is not given, the
>      current directory `.' is appended.  Note that DIR can actually be
>      a list of several directories separated by the usual path
>      separator character (`:' on Unix, `;' on MS-DOS/MS-Windows).
> 
> I do not know whether texinfo.tex, which is input with a `\input'
> command, is considered an `@include' file.

Sorry, I confused the issue: the -I switch to texi2dvi has nothing at
all to do with makeinfo, since makeinfo doesn't need to read
texinfo.tex.  texinfo.tex is read by TeX; makeinfo simply ignores the
"\input texinfo.tex" line.

So the question here is whether texi2dvi invokes TeX in a way that
would find texinfo.tex in a directory mentione in the -I switch.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-23 15:49               ` Eli Zaretskii
@ 2006-08-23 16:26                 ` Andreas Schwab
  2006-08-23 19:11                   ` Robert J. Chassell
  0 siblings, 1 reply; 15+ messages in thread
From: Andreas Schwab @ 2006-08-23 16:26 UTC (permalink / raw)
  Cc: bob, emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

> So the question here is whether texi2dvi invokes TeX in a way that
> would find texinfo.tex in a directory mentione in the -I switch.

\input and @include use the same search path.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problem building emacs-lisp-intro.dvi.
  2006-08-23 16:26                 ` Andreas Schwab
@ 2006-08-23 19:11                   ` Robert J. Chassell
  0 siblings, 0 replies; 15+ messages in thread
From: Robert J. Chassell @ 2006-08-23 19:11 UTC (permalink / raw)
  Cc: Andreas Schwab, eliz, bob

   > So the question here is whether texi2dvi invokes TeX in a way that
   > would find texinfo.tex in a directory mentione in the -I switch.

   \input and @include use the same search path.

Thanks!  Am I correct in thinking that means I can change
emacs-lisp-intro.texi from
    \input ../man/texinfo
to
    \input texinfo

and modify emacs/lispintro/Makefile.in
from

    TEXI2DVI = texi2dvi
to 
    TEXI2DVI = texi2dvi -I
    TEXI2DVI_INPUTS=$(srcdir)/../man

and from

    emacs-lisp-intro.dvi: ${INFO_SOURCES}
            $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi
to
    emacs-lisp-intro.dvi: ${INFO_SOURCES}
            $(ENVADD) $(TEXI2DVI) $(TEXI2DVI_INPUTS) $(srcdir)/emacs-lisp-intro.texi

?

To test, I will do a distclean, configure, and bootstrap.

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-08-23 19:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-21 11:19 Problem building emacs-lisp-intro.dvi Lute Kamstra
2006-08-21 14:50 ` Robert J. Chassell
2006-08-21 15:24   ` Lute Kamstra
2006-08-21 19:11     ` Robert J. Chassell
2006-08-21 21:26       ` Lute Kamstra
2006-08-22  0:45         ` Robert J. Chassell
2006-08-22  1:29           ` Eli Zaretskii
2006-08-22  7:53           ` David Kastrup
2006-08-22 10:26             ` Robert J. Chassell
2006-08-22 10:29               ` David Kastrup
2006-08-22 17:51                 ` Robert J. Chassell
2006-08-23 15:49               ` Eli Zaretskii
2006-08-23 16:26                 ` Andreas Schwab
2006-08-23 19:11                   ` Robert J. Chassell
2006-08-22 10:30             ` Robert J. Chassell

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.