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

Bug#298437: jadetex: Please use e-tex



Package: jadetex
Version: 3.13-3.1
Severity: important
Tags: patch

Hi Ohura,

last summer, bug #264043 was closed by implementing a workaround in
tetex.  Since then, we create a LaTeX format file both with e-TeX, for
normal use, and with Knuth's TeX, only for JadeTeX.  Note that the LaTeX
team has suggested that distributors generally use e-TeX (or pdf-e-TeX)
for LaTeX.

While jadetex works with its current setup, the solution is suboptimal.
Moreover, it relies on the fact that formats made with the e-engines
have a different extension, .efmt, than the ones from Knuth's TeX,
.fmt.  This difference will be dropped in the upcoming teTeX-3.0.  

While I don't have much confidence that we might get teTeX-3.0 into
sarge,  I suggest that you do the switch now, and be prepared for
teTeX-3.0.  I do not know how upstream handles this, but AFAIK most TeX
distributions now use e-TeX, or rather pdf-e-TeX, and I don't expect
problems with that change.  To be sure, I Cc Sebastian Rahtz who seems
to be JadeTeX upstream.

I have tested the patch, installing it with tetex-{base,bin,extra}_2.0.2
from sarge/unstable, and with teTeX-3.0, and by processing demo.sgm from
the openjade doc directory.  If you have further questions, please keep
the tetex mailinglist in the Cc

Kind regards, Frank

diff -Nur jadetex-3.13.orig/debian/changelog jadetex-3.13/debian/changelog
--- jadetex-3.13.orig/debian/changelog	2005-03-07 14:54:29.000000000 +0100
+++ jadetex-3.13/debian/changelog	2005-03-07 15:38:38.000000000 +0100
@@ -1,3 +1,11 @@
+jadetex (3.13-3.1) unstable; urgency=low
+
+  * NMU version number for local tests
+  * switch to using e-TeX.  This is a different solution for bug #253098,
+    and is needed to cooperate with teTeX-3.0.
+
+ -- Frank Küster <frank@debian.org>  Mon,  7 Mar 2005 11:39:53 +0100
+
 jadetex (3.13-3) unstable; urgency=low
 
   * New Maintainer. (Closes: #288204)
diff -Nur jadetex-3.13.orig/debian/fmtutil.cnf jadetex-3.13/debian/fmtutil.cnf
--- jadetex-3.13.orig/debian/fmtutil.cnf	2005-03-07 14:54:29.000000000 +0100
+++ jadetex-3.13/debian/fmtutil.cnf	2005-03-07 11:18:17.000000000 +0100
@@ -2,6 +2,6 @@
 #                  invoke with 'fmtutil --cnffile <file>'
 #
 # format	engine  pattern-file    arguments
-jadetex		tex	language.dat	&latex jadetex.ini
-pdfjadetex	pdftex	language.dat	&pdflatex pdfjadetex.ini
+jadetex		etex	language.dat	&latex jadetex.ini
+pdfjadetex	pdfetex	language.dat	&pdflatex pdfjadetex.ini
 
diff -Nur jadetex-3.13.orig/debian/postinst jadetex-3.13/debian/postinst
--- jadetex-3.13.orig/debian/postinst	2005-03-07 14:54:29.000000000 +0100
+++ jadetex-3.13/debian/postinst	2005-03-07 15:18:50.000000000 +0100
@@ -33,7 +33,7 @@
 checkfmt ( ) {
     format=$1
     baseformat=`basename $1 .fmt`
-    if ! kpsewhich $format > /dev/null ; then
+    if ! kpsewhich $baseformat.fmt || kpsewhich $baseformat.efmt > /dev/null ; then
 	warn "WARNING: memory dump $format not found, attempting to reconstruct ..."
 	echo "running 'fmtutil --byfmt $baseformat'" >> $MYTMPFILE
 	fmtutil --byfmt $baseformat >> $MYTMPFILE
@@ -71,8 +71,8 @@
         warn "or else purge then reinstall this package to restore default configuration."
         return 0
     else
-        log "running 'fmtutil --cnffile ${FMTCNF} --byfmt $fmt'..."
-        if ! fmtutil --cnffile ${FMTCNF} --byfmt $fmt >> $MYTMPFILE; then
+        log "running 'fmtutil --byfmt $fmt'..."
+        if ! fmtutil --byfmt $fmt >> $MYTMPFILE; then
             warn "ERROR: $fmt fmtutil failed"
             return 1
         elif ! kpsewhich $fmt.fmt > /dev/null ; then


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages jadetex depends on:
ii  debianutils                   2.8.4      Miscellaneous utilities specific t
ii  tetex-bin                     2.0.2-26   The teTeX binary files
ii  tetex-extra                   2.0.2c-6   Additional library files of teTeX

-- no debconf information

-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

Reply to: