[xml/sgml-pkgs] Bug#262395: Bug#306595: tetex-bin: postinst failure with jadetex and xmltex

Julian Gilbey Julian Gilbey <jdg@polya.uklinux.net>, 262395@bugs.debian.org
Thu, 28 Apr 2005 22:09:17 +0100


reassign 306595 xmltex
severity 306595 important
merge 306595 262395
severity 262395 serious
tags 262395 +patch
thanks

On Thu, Apr 28, 2005 at 07:40:00PM +0200, Laurent Bonnaud wrote:
> > Could you give us the contents of the files in /etc/texmf/fmt.d/ 
> 
> Here is what I have:
> 
> -rw-r--r--   1 root root 4203 2005-03-30 10:25 00tetex.cnf
> -rw-r--r--   1 root root  269 2002-12-10 14:02 40jadetex.cnf
> -rw-r--r--   1 root root  271 2005-03-09 14:05 40jadetex.cnf.dpkg-dist
> -rw-r--r--   1 root root   97 2002-11-01 20:20 40xmltex.cnf
> -rw-r--r--   1 root root   97 2002-10-29 15:30 40xmltex.cnf.disable
> 
> Thank you for the hint !  Cleaning-up the old cruft:
> 
>   mv 40jadetex.cnf.dpkg-dist 40jadetex.cnf
> 
> fixed the jadetex problem.  This is strange because I never touch those
> files and I always choose to use the new version from the maintainer.
> 
> Now I only have a problem with xmltex (see below).
> 
> # cat 40xmltex.cnf
> xmltex          tex     language.dat    &latex xmltex.ini
> pdfxmltex       pdftex  language.dat    &pdflatex pdfxmltex.ini
> 
> > and tell us which version of xmltex and jadetex you're using?
> 
> The latest one in sid+experimental:
> 
> ii  jadetex             3.13-6              generator of printable output from SGML or XML using J
> ii  xmltex              1.9-8               TeX package for processing XML files

This is bug #262395, so reassigning there.

This is a serious bug as it will break all installations with the
current (testing and unstable) tetex packages.  Patch: edit
/usr/share/texmf/tex/xmltex/templates/40xmltex.cnf to read:

xmltex          latex     language.dat    &latex xmltex.ini
pdfxmltex       pdflatex  language.dat    &pdflatex pdfxmltex.ini

i.e., changing "tex" -> "latex" and "pdftex" to "pdflatex".

or

xmltex          etex     language.dat    &latex xmltex.ini
pdfxmltex       pdfetex  language.dat    &pdflatex pdfxmltex.ini

The latter is better, as it works whatever the setting of latex is.

   Julian