[xml/sgml-pkgs] Bug#340076: Fails to generate format xmltex

Braun Gabor braung at renyi.hu
Sun Nov 20 18:45:07 UTC 2005

Package: xmltex
Version: 1.9-11
Severity: grave
Justification: renders package unusable
Tags: patch

*** Please type your report below this line ***

The following message appeared while upgrading xmltex and tetex 
The system was configuring tetex-bin at the time and the new version 
of xmltex (1.9-11) was soon unpacked.

The message:

fmtutil-sys: running `tex -ini   -jobname=xmltex -progname=xmltex 
&latex xmltex.ini' ...
This is TeX, Version 3.141592 (Web2C 7.5.4) (INITEX)
---! /var/lib/texmf/web2c/latex.fmt was written by pdfetex
(Fatal format file error; I'm stymied)

I think the problem is that tetex changed the default tex engine to 
pdfetex and the latex format uses this engine and not tex.
(This claim is supported by /etc/texmf/01tetex.cnf)

I suggest to make 40xmltex.cnf more robust: do not make any 
assumptions on the tex engines the formats use.
Suggested patch:

--- /root/40xmltex.cnf	2005-04-21 16:42:54.000000000 +0200
+++ /etc/texmf/fmt.d/40xmltex.cnf	2005-11-20 18:26:14.376656208 +0100
@@ -1,2 +1,2 @@
-xmltex		tex	language.dat	&latex xmltex.ini
-pdfxmltex	pdftex	language.dat	&pdflatex pdfxmltex.ini
+xmltex		latex		language.dat	xmltex.ini
+pdfxmltex	pdflatex	language.dat	pdfxmltex.ini

I have managed to generate the formats with this change.

Best wishes,

	Gabor Braun

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux
Locale: LANG=hu_HU.iso88592, LC_CTYPE=hu_HU.iso88592 (charmap=ISO-8859-2) 
(ignored: LC_ALL set to hu_HU.iso88592)

Versions of packages xmltex depends on:
ii  tetex-base                    3.0-10     Basic library files of teTeX
ii  tetex-bin                     3.0-10.1   The teTeX binary files
ii  tetex-extra                   3.0-10     Additional library files of teTeX

-- no debconf information

More information about the debian-xml-sgml-pkgs mailing list