X-Spam-Check-By: sourceware.org
Date: Thu, 25 May 2006 08:38:21 +0200
From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
To: cygwin@cygwin.com, bug-automake@gnu.org, bug-texinfo@gnu.org
Subject: Re: Cygwin: texi2dvi stumbles over texinfo.tex
Message-ID: <20060525063820.GA6327@iam.uni-bonn.de>
Mail-Followup-To: cygwin@cygwin.com, bug-automake@gnu.org, 	bug-texinfo@gnu.org
References: <041d01c67e6e$a7fff670$a501a8c0@CAM.ARTIMI.COM> <200605242003.k4OK3dj01609@f7.net>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="mojUlQ0s9EVzWg2t"
Content-Disposition: inline
In-Reply-To: <200605242003.k4OK3dj01609@f7.net>
User-Agent: Mutt/1.5.11+cvs20060403
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

--mojUlQ0s9EVzWg2t
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi Karl,

* Karl Berry wrote on Wed, May 24, 2006 at 10:03:39PM CEST:
> 
> Ralf, what is the output if you run
>   tex \\end
>   etex \\end
>   pdfetex \\end

See typescript, attached.

> This shows that texi2dvi is invoking etex.

> This shows that mktexfmt is invoking pdfetex to build etex.fmt.
> 
> This mismatch is causing the error.
> 
> This is controlled by the file fmtutil.cnf.  What does that file look
> like in your installation?

Also attached.

In Cygwin's /usr/share/texmf/web2c, there are *.cygwin-dist and
*.cygwin-orig copies of fmtutil.cnf, mktex.cnf, and texmf.cnf.
The respective copies are all identical, though.

Cheers,
Ralf

--mojUlQ0s9EVzWg2t
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=typescript

Script started on Thu May 25 07:21:22 2006
$ tex \\end
This is TeXk, Version 3.141592 (Web2C 7.5.4)
 file:line:error style messages enabled.
 %&-line parsing enabled.
No pages of output.
Transcript written on texput.log.
$ etex \\end
This is e-TeXk, Version 3.141592-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
 %&-line parsing enabled.
---! /home/ralf/.texmf/var/web2c/etex.fmt was written by pdfetex
(Fatal format file error; I'm stymied)
$ pdfetex \\end
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
 %&-line parsing enabled.
entering extended mode
No pages of output.
Transcript written on texput.log.
$ file ~/.texmf/var/web2c/etex.fmt
/home/ralf/.texmf/var/web2c/etex.fmt: data
$ mv ~/.texmf/var/web2c/etex.fmt ~/.texmf/var/web2c/etex.fmt-broken
$ etex \\end
This is e-TeXk, Version 3.141592-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
 %&-line parsing enabled.
kpathsea: Running mktexfmt etex.fmt
fmtutil: running `pdfetex -ini   -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini' ...
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX)
 file:line:error style messages enabled.
 %&-line parsing enabled.
 (/usr/share/texmf/web2c/cp227.tcx)
entering extended mode
(/usr/share/texmf/tex/plain/config/etex.ini
(/usr/share/texmf/tex/generic/config/pdftexconfig.tex)
(/usr/share/texmf/tex/plain/etex/etex.src
(/usr/share/texmf/tex/plain/base/plain.tex Preloading the plain format: codes,
registers, parameters, fonts, more fonts, macros, math definitions,
output routines, hyphenation (/usr/share/texmf/tex/generic/hyphen/hyphen.tex
[skipping from \patterns to end-of-file...]))
(/usr/share/texmf/tex/plain/etex/etexdefs.lib Skipping module "grouptypes";
Loading module "interactionmodes"; Skipping module "nodetypes";
Skipping module "iftypes";) (/usr/share/texmf/tex/plain/config/language.def
(/usr/share/texmf/tex/generic/hyphen/hyphen.tex))
Augmenting the Plain TeX definitions: \tracingall;
Adding new e-TeX definitions: \eTeX, \loggingall, \tracingnone,
register allocation; extended register allocation; 
Recycling: \addlanguage, \@nswer (not defined), \@sk, \b@dresponsetrue,
\b@dresponsefalse, \ch@ckforyn, \mayber@cycle, \et@xabort, \et@xbuf,
\et@xfmtsrc, \et@xfilehdr, \et@xinf, \et@xpatterns, \l@ngdefnfile, \n@xt,
\p@rse (not defined), \pr@mpt (not defined), \pr@mptloop (not defined),
\forcer@cycle, \usef@llback, \usef@llbacktrue, \usef@llbackfalse, 
Retaining: \et@xerr, \et@xinput, \et@xlibhdr, \et@xmsg, \et@xtoks, \et@xwarn,
\et@xl@@d, \et@xl@ad, \et@xload, \et@xlang, \et@xhash, \eTeX, \etexhdrchk,
\etexstatus, \module, \uselanguage, \r@tain, \r@cycle,) )
Beginning to dump on file etex.fmt
 (format=etex 2006.5.25)
2658 strings of total length 38086
7953 memory locations dumped; current usage is 197&7289
1176 multiletter control sequences
\font\nullfont=nullfont
\font\tenrm=cmr10
\font\preloaded=cmr9
\font\preloaded=cmr8
\font\sevenrm=cmr7
\font\preloaded=cmr6
\font\fiverm=cmr5
\font\teni=cmmi10
\font\preloaded=cmmi9
\font\preloaded=cmmi8
\font\seveni=cmmi7
\font\preloaded=cmmi6
\font\fivei=cmmi5
\font\tensy=cmsy10
\font\preloaded=cmsy9
\font\preloaded=cmsy8
\font\sevensy=cmsy7
\font\preloaded=cmsy6
\font\fivesy=cmsy5
\font\tenex=cmex10
\font\preloaded=cmss10
\font\preloaded=cmssq8
\font\preloaded=cmssi10
\font\preloaded=cmssqi8
\font\tenbf=cmbx10
\font\preloaded=cmbx9
\font\preloaded=cmbx8
\font\sevenbf=cmbx7
\font\preloaded=cmbx6
\font\fivebf=cmbx5
\font\tentt=cmtt10
\font\preloaded=cmtt9
\font\preloaded=cmtt8
\font\preloaded=cmsltt10
\font\tensl=cmsl10
\font\preloaded=cmsl9
\font\preloaded=cmsl8
\font\tenit=cmti10
\font\preloaded=cmti9
\font\preloaded=cmti8
\font\preloaded=cmti7
\font\preloaded=cmu10
\font\preloaded=cmmib10
\font\preloaded=cmbsy10
\font\preloaded=cmcsc10
\font\preloaded=cmssbx10
\font\preloaded=cmdunh10
\font\preloaded=cmr7 at 14.51799pt
\font\preloaded=cmtt10 at 14.4pt
\font\preloaded=cmssbx10 at 14.4pt
\font\preloaded=manfnt
14787 words of font info for 50 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 6075 has 181 ops out of 35111
  181 for language 0
No pages of output.
Transcript written on etex.log.
fmtutil: /home/ralf/.texmf/var/web2c/etex.fmt installed.
---! /home/ralf/.texmf/var/web2c/etex.fmt was written by pdfetex
(Fatal format file error; I'm stymied)
$ etex \\end
This is e-TeXk, Version 3.141592-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
 %&-line parsing enabled.
---! /home/ralf/.texmf/var/web2c/etex.fmt was written by pdfetex
(Fatal format file error; I'm stymied)
$ exit

Script done on Thu May 25 07:22:19 2006

--mojUlQ0s9EVzWg2t
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="fmtutil.cnf"

# Thomas Esser, Copyright 1998, 1999. Public domain.
# fmtutil.cnf: configuration file for fmtutil.

# Customize this file to your needs, e.g.
#   - remove or uncomment formats that you don't need
#   - add your own formats
#   - change default engine / flags for standard formats

# Some notes:
#   1) tex and amstex just load hyphen.tex. No customization.
#   You can have you own customized (via babel's hyphen.cfg)
#   formats on top of plain by using "bplain.tex" instead of
#   plain.tex (see e.g. bplain.ini file for bplain format).
#
#   2) etex loads language.def, not language.dat.
#
#   3) The symbolic link to the right engines (e.g. bplain -> tex)
#      will be generated by the "texlinks" script. So, if you call
#      fmtutil "by hand" and not via texconfig, please also call
#      texlinks afterwards.
# 
#   4) usual comments start with "# ", whereas disabled configurations
#      start with "#! " in this file.

# The format of the table is:

# format	engine		pattern-file	arguments

# The last part of "arguments" must be the name of the file to run
# initex (or another "ini"-engine) on.

# metafont and metapost:
mf		mf		-		-translate-file=cp227.tcx mf.ini
mpost		mpost		-		-translate-file=cp227.tcx mpost.mp
metafun		mpost		-		-translate-file=cp227.tcx metafun.mp

# Standard formats (plain, latex) with all engines:

# Change "tex.ini -> bplain.ini" and "- -> language.dat"
# if you want babel support in tex:
tex		tex		-		-translate-file=cp227.tcx tex.ini
aleph		aleph		-		*aleph.ini
latex		pdfetex		language.dat	-translate-file=cp227.tcx *latex.ini
etex		pdfetex		language.def	-translate-file=cp227.tcx *etex.ini
pdftex		pdfetex		-	-translate-file=cp227.tcx *pdftex.ini
pdflatex	pdfetex		language.dat	-translate-file=cp227.tcx *pdflatex.ini
pdfetex		pdfetex		language.def	-translate-file=cp227.tcx *pdfetex.ini
omega		omega		-	omega.ini
lambda		omega		language.dat	lambda.ini
lamed		aleph		language.dat	*lambda.ini

# The amstex format:

# Change "amstex.ini -> bamstex.ini" and "- -> language.dat"
# if you want babel support in amstex:
#! amstex	pdfetex		-		-translate-file=cp227.tcx *amstex.ini

# Change "pdfamstex.ini -> pdfbamstex.ini" and "- -> language.dat"
# if you want babel support in pdfamstex:
#! pdfamstex	pdfetex			-	-translate-file=cp227.tcx *pdfamstex.ini

# Context formats:
#! cont-cz	pdfetex		cont-usr.tex	-translate-file=cp227.tcx *cont-cz.ini
#! cont-de	pdfetex		cont-usr.tex	-translate-file=cp227.tcx *cont-de.ini
cont-en	pdfetex		cont-usr.tex	-translate-file=cp227.tcx *cont-en.ini
#! cont-nl	pdfetex		cont-usr.tex	-translate-file=cp227.tcx *cont-nl.ini
#! cont-uk	pdfetex		cont-usr.tex	-translate-file=cp227.tcx *cont-uk.ini

# language-specific things:

# - Cyrillic:
#! cyrtex	pdfetex		language.dat	-translate-file=cp227.tcx *cyrtex.ini
#! cyrtexinfo	pdfetex		language.dat	-translate-file=cp227.tcx *cyrtxinf.ini
#! cyramstex	pdfetex		language.dat	-translate-file=cp227.tcx *cyramstx.ini

# - Polish:
#! platex		pdfetex		language.dat	-translate-file=cp227.tcx *platex.ini
#! pdfplatex		pdfetex		language.dat	-translate-file=cp227.tcx *pdfplatex.ini
#! mex		pdfetex		mexconf.tex	-translate-file=cp227.tcx *mex.ini
#! pdfmex		pdfetex		mexconf.tex	-translate-file=cp227.tcx *pdfmex.ini
#! utf8mex		pdfetex		mexconf.tex	-enc *utf8mex.ini

# - Polish with translated messages (experimental):
#! platex-pl	pdfetex		-		nls=pdfetex-pl,il2-pl *platex.ini
#! mex-pl		pdfetex		mexconf.tex	nls=pdfetex-pl,il2-pl *mex.ini
#! pdfmex-pl	pdfetex		mexconf.tex	nls=pdfetex-pl,il2-pl *pdfmex.ini

# - Czech / Slovak:
#! csplain	pdfetex		-		-translate-file=cp227.tcx *csplain.ini
#! cslatex	pdfetex		-	-translate-file=cp227.tcx *cslatex.ini
#! pdfcsplain	pdfetex		-		-translate-file=cp227.tcx *csplain.ini
#! pdfcslatex	pdfetex		-    -translate-file=cp227.tcx *cslatex.ini

# Other formats:

# Change "eplain.ini -> ebplain.ini" and "- -> language.dat"
# if you want babel support in eplain:
#! eplain	pdfetex		-	-translate-file=cp227.tcx *eplain.ini


# mptopdf utility
mptopdf		pdfetex		-		-translate-file=cp227.tcx mptopdf.tex


--mojUlQ0s9EVzWg2t
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--mojUlQ0s9EVzWg2t--
