Package: jadetex
Version: 3.13-6
Severity: serious
Tags: patch

(This bug also exists upstream, at least in texlive.  The Debian TeX
maintainer are going to care for this).

Since jadetex is a LaTeX-based format, it should search TEXMF/tex/latex
after TEXMF/tex/jadetex and before other paths.  Because the latex path
is missing in TEXINPUTS.jadetex, jadetex will for example find cslatex's
version of fonttext.cfg before LaTeX's.  

This problem has not shown up so far because jadetex currently loads a
pre-built latex.fmt.  But this must be stopped (see the clone of bug
#375037, don't know the number jet), and therefore jadetex would get
incompatible with cslatex.  But the bug would be important anyway.

Furthermore, pdfjadetex should not mention the non-existent pdftex
toplevel directory in its search path.  This leads to the following
complete patch:

--- /etc/texmf/texmf.d/96JadeTeX.cnf.orig       2006-08-23 17:25:53.000000000 
+0200
+++ /etc/texmf/texmf.d/96JadeTeX.cnf    2006-08-23 17:26:10.000000000 +0200
@@ -1,5 +1,5 @@
-TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//
-TEXINPUTS.pdfjadetex = .;$TEXMF/{pdftex,tex}/{jadetex,plain,generic,}//
+TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,latex,plain,generic,}//
+TEXINPUTS.pdfjadetex = .;$TEXMF/{tex}/{jadetex,latex,plain,generic,}//


Note that there's an additional bug in tex-common: It also sets
TEXINPUTS.jadetex and TEXINPUTS.pdfjadetex, so the change in jadetex
won't have any effect until this is removed.  No bugnumber yet, I'll
file it at once.  And please don't wonder why I file it with severity
important only: That's because the bug exists also in the version in
testing, tex-common is supposed to migrate to testing tonight, and I
don't want to try whether I am able to correctly tell britney that the
bug is in both versions.

Regards, Frank


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (99, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages jadetex depends on:
ii  debianutils                   2.8.4      Miscellaneous utilities specific t
ii  tetex-bin                     3.0-17bpo1 The teTeX binary files
ii  tetex-extra                   3.0-18bpo1 Additional library files of teTeX

Versions of packages tetex-base depends on:
ii  tex-common                    0.24bpo1   Common infrastructure for using an
ii  ucf                           1.17       Update Configuration File: preserv

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2 1.4.30.13             Debian configuration management sy
ii  debianutils        2.8.4                 Miscellaneous utilities specific t
ii  dialog             1.0-20050306-1        Displays user-friendly dialog boxe
ii  dpkg               1.10.28               Package maintenance system for Deb
ii  ed                 0.2-20                The classic unix line editor
ii  libc6              2.3.2.ds1-22sarge3    GNU C Library: Shared libraries an
ii  libfontconfig1     2.3.1-2               generic font configuration library
ii  libfreetype6       2.1.7-2.5             FreeType 2 font engine, shared lib
ii  libgcc1            1:3.4.3-13            GCC support library
ii  libice6            6.9.0.dfsg.1-5bpo2    Inter-Client Exchange library
ii  libjpeg62          6b-10                 The Independent JPEG Group's JPEG 
ii  libkpathsea4       3.0-17bpo1            path search library for teTeX (run
ii  libpaper1          1.1.14-3              Library for handling paper charact
ii  libpng12-0         1.2.8rel-1            PNG library - runtime
ii  libpoppler0c2      0.4.5-3bpo1           PDF rendering library
ii  libsm6             6.9.0.dfsg.1-5bpo2    X Window System Session Management
ii  libstdc++5         1:3.3.5-13            The GNU Standard C++ Library v3
ii  libt1-5            5.0.2-3               Type 1 font rasterizer library - r
ii  libx11-6           6.9.0.dfsg.1-5bpo2    X Window System protocol client li
ii  libxaw7            4.3.0.dfsg.1-14sarge1 X Athena widget set library
ii  libxext6           6.9.0.dfsg.1-5bpo2    X Window System miscellaneous exte
ii  libxmu6            6.9.0.dfsg.1-5bpo2    X Window System miscellaneous util
ii  libxpm4            6.9.0.dfsg.1-5bpo2    X pixmap library
ii  libxt6             6.9.0.dfsg.1-5bpo2    X Toolkit Intrinsics
ii  mime-support       3.28-1                MIME files 'mime.types' & 'mailcap
ii  perl               5.8.4-8sarge4         Larry Wall's Practical Extraction 
ii  sed                4.1.2-8               The GNU sed stream editor
ii  tetex-base         3.0-18bpo1            Basic library files of teTeX
ii  ucf                1.17                  Update Configuration File: preserv
ii  whiptail           0.51.6-20             Displays user-friendly dialog boxe
ii  xlibs              6.9.0.dfsg.1-5bpo2    X Window System client libraries m
ii  zlib1g             1:1.2.2-4.sarge.2     compression library - runtime

Versions of packages tetex-extra depends on:
ii  tetex-base                    3.0-18bpo1 Basic library files of teTeX
ii  tetex-bin                     3.0-17bpo1 The teTeX binary files
ii  ucf                           1.17       Update Configuration File: preserv

-- debconf information:
  tetex-base/olddat: true
  tetex-base/fmtutil-failed:
* tetex-bin/cnf_name:
  tetex-base/oldupdm:
  tetex-base/updmap-failed:

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

Reply via email to