[Top][All Lists]

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

problem with texi2dvi under cygwin

From: Alex Bernardin
Subject: problem with texi2dvi under cygwin
Date: Tue, 7 Oct 2003 14:07:50 -0700


i've searched in the archives and found a couple of apparently related
problems, but the solutions provided didn't help me, so i'm posting
fresh.  i'm describing two problems that i encountered on install; one of
which i worked around, and one which i am stuck on. suggestions
appreciated; more detailed information available...

i've got NTemacs (version 20.7.1) installed on windows XP.  it's not

i've got the latest (as of 2003 october 1) cgywin installed, with the
following bash:

$ bash --version
GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin)
Copyright (C) 2002 Free Software Foundation, Inc.

NOTE: i did not install the emacs that comes with cygwin, however, i
symlinked the NTemacs rnuemacs.exe to /bin/emacs.  it is possible to
start emacs from the cygwni cmd shell, but running it in batch mode
returns no output.


the first problem that i ran into when installing tramp is that emacs run
from the cygwin bash seems problematic in batch mode.  the configure script
    ${EMACS} --no-site-file -batch -eval "(let ((x ${elisp}))
    (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x))
    nil \"${OUTPUT}\"nil 5))" >& 5 2>&1

to check the emacs 'flavor' (according to the comments).  actually, what
it does is run this elisp:

elisp="(if (featurep 'xemacs) \"yes\" \"no\")"

which seems to just check if it's emacs or xemacs.

unfortunately, in my particular circumstances, emacs ni batch mode
doesn't seem to output the expected text file (hard to tell if it's
running at all, actually), so the configure script fails.  it seems odd
that that code block doesn't get skipped if i use the 'with-emacs'

anyway, i sidestepped that problem by changing the configure script to
output the file that it's expecting with the string 'no'. this allows
configure to finish.

i'm includnig this info for completeness sake, and to suggest that maybe
that section could be conditionalized based on the 'with-emacs' param.


the second problem, which i have not yet worked around come in durnig the
'make' phase, specifically during the texi portion.  here's the full make

make[1]: Entering directory `/cygdrive/c/docs/emacs/tramp-2.0.36/texi'
makeinfo --no-split --footnote-style=end -D emacs -o ../info/tramp tramp.texi
texi2dvi -b -c -t "@set emacs" tramp.texi
rogram Files/SecureCRT/:/cygdrive/l:/cygdrive/m
This is TeXk, Version 3.14159 (Web2C 7.4.5)
 %&-line parsing enabled.

(/tmp/t2d1744/xtr/tramp.texi (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2003-02-03.16]: Basics, pdf, fonts, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, (/usr/share/texmf/tex/generic/misc/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.
If you are stuck with version 3.0, run the
 script ``tex3patch'' from the Texinfo distribution
 to use a workaround.

) (./tramp.tmp) (./tramp.tmp) [1] [2] Chapter 1 (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp)
Cross reference values unknown; you must run TeX again. (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) [1] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp)
Underfull \hbox (badness 10000) in paragraph at lines 333--337
 address@hidden For in-line trans-fers, @textsc tramp @textrm is-sues a 
com-mand lik
e address@hidden mimencode -b

Underfull \hbox (badness 10000) in paragraph at lines 333--337
 @texttt /path/to/remote/address@hidden '[], waits un-til the out-put has ac-cu-
mu-lated in the
(./tramp.tmp) (./tramp.tmp) [2] (./tramp.tmp) Chapter 2 (./tramp.tmp) [3]
[4] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) Chapter 3 (./tramp.tmp) [5] [6]
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp Chapter 4 (./tramp.tmp)
[7] [8] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp))
! Extra }, or forgotten @endgroup.
@installationchapter address@hidden address@hidden

l.442 @installationchapter
Chapter 5 (./tramp.tmp) [9] [10] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) [11]
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) [12] (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) [13] (./tramp.tmp) (./tramp.tmp)
[14] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
[15] (./tramp.tmp) (./tramp.tmp)
Underfull \hbox (badness 7116) in paragraph at lines 912--916
 @textrm isn't avail-able. In-stead of, you can use UNC file names like

Underfull \hbox (badness 6859) in paragraph at lines 912--916
 @textrm address@hidden //melancholia/daniel$$/address@hidden '[]. The only 
an-tage is that
(./tramp.tmp) [16] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) [17] [18]
Underfull \hbox (badness 10000) in paragraph at lines 1140--1143
 address@hidden This func-tion parses files which are syn-tac-ti-cal 
equiv-a-lent to

Underfull \hbox (badness 3240) in paragraph at lines 1140--1143
 @textrm address@hidden ~/.ssh/address@hidden '[]. Since there are no user name
s spec-i-fied in

Underfull \hbox (badness 2134) in paragraph at lines 1147--1149
 address@hidden This func-tion re-turns the host nick-names de-fined by @texttt 
[] @textrm en-tries in
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) [19] (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) [20] (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) [21]
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) [22] Chapter 6
(./tramp.tmp) [23] [24] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
Underfull \hbox (badness 3323) in paragraph at lines 1514--1519
address@hidden To log in to the re-mote ma-chine as a spe-cific user, you use 
the sy

Underfull \hbox (badness 2846) in paragraph at lines 1514--1519
@textrm address@hidden /@textttsl address@hidden @@textttsl address@hidden 
:/@textttsl p
ath/address@hidden '[]. That means that con-nect-ing to @texttt melancholia[]

Underfull \hbox (badness 6608) in paragraph at lines 1514--1519
@textrm as @texttt daniel[] @textrm and edit-ing address@hidden address@hidden 
'[] i
n your home di-rec-tory you would spec-ify
(./tramp.tmp) [25] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) [26] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) Chapter 7
(./tramp.tmp) [27] [28] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) Chapter 8 [29] [30] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) [31] (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) [32] (./tramp.tmp) Chapter 9 [33] [34] (./tramp.tmp) (./tramp.tmp
) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
[35] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) Chapter 10 [36] [37] [38]
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) Chapter 11 [39]
[40] (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (Concept Index) [41] [42] [43] [44] (./tramp.toc (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp) (./tramp.tmp)
(./tramp.tmp) (./tramp.tmp) [-1]) [-2] )
(@end occurred inside a group at level 2)
(see the transcript file for additional information)
Output written on tramp.dvi (48 pages, 95600 bytes).
Transcript written on tramp.log.
/usr/bin/texi2dvi: tex exited with bad status, quitting.
/usr/bin/texi2dvi: see tramp.log for errors.
make[1]: *** [tramp.dvi] Error 1
make[1]: Leaving directory `/cygdrive/c/docs/emacs/tramp-2.0.36/texi'
make: *** [all] Error 2


the error messages resemble those indicated by the INSTALL warning and
other posts as a problem with TeX 3.0, but this is not TeX 3.0, as
indicated by the early output of the Make:

This is TeXk, Version 3.14159 (Web2C 7.4.5)
 %&-line parsing enabled.

i also tried the tex3patch and that script reports that i don't have the
TeX 3.0 requiring patching.

i'm tempted to hack in such a way as to eliminate the dependency on the
TeX output, but i'm not sure how to do that cleanly, and of course, i'd
rather contribute to the improvement of the product...



reply via email to

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