Bug#264043: fix to jadetex based on tetex changes
tags 253098 + patch
thanks
This bug seems to be a jadetex bug, not a tetex bug. If my analysis
is correct, bug 264043 (a clone of 253098 against tetex) can be
closed.
The following patch can be applied to the extracted jadetex source
package:
apt-get source jadetex
cd jadetex-3.13
patch -s -p0 < jadetex.patch
The patch fixes this problem by changing jadetex to work properly with
.efmt files rather than the .fmt files it is now expecting. It also
makes jadetex a link to etex and pdfjadetex a link to pdfetex. I have
prepared the patch to NMU jadetex, but presumably the jadetex
maintainer will accept the patch and make it a regular upload instead.
(I've just gotten into the habit of preparing my patches to create
NMUs, since if the package does get an NMU, it takes less effort!)
After rebuilding the package with this patch applied, I can now
install jadetex in a pbuilder environment and then run both jadetex
and pdfjadetex on a suitable file and see the output as expected.
--
Jay Berkenbilt <ejb@ql.org>
http://www.ql.org/q/
--- debian/changelog.qdist 2004-08-07 22:45:05.000000000 -0400
+++ debian/changelog 2004-08-07 22:46:36.000000000 -0400
@@ -1,3 +1,11 @@
+jadetex (3.13-1.1) unstable; urgency=low
+
+ * Non-maintainer Upload.
+ * tetex now creates .efmt rather than .fmt for latex and pdflatex, so we
+ use etex and pdfetex for jadetex and pdfjadetex. (Closes: #253098)
+
+ -- Jay Berkenbilt <ejb@ql.org> Sat, 7 Aug 2004 22:29:12 -0400
+
jadetex (3.13-1) unstable; urgency=medium
* new upstream version
--- debian/fmtutil.cnf.qdist 2004-08-07 22:45:05.000000000 -0400
+++ debian/fmtutil.cnf 2004-08-07 22:46:36.000000000 -0400
@@ -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
--- debian/postinst.qdist 2004-08-07 22:45:05.000000000 -0400
+++ debian/postinst 2004-08-07 22:46:36.000000000 -0400
@@ -32,7 +32,7 @@
checkfmt ( ) {
format=$1
- baseformat=`basename $1 .fmt`
+ baseformat=`basename $1 .efmt`
if ! kpsewhich $format > /dev/null ; then
warn "WARNING: memory dump $format not found, attempting to reconstruct ..."
echo "running 'fmtutil --byfmt $baseformat'" >> $MYTMPFILE
@@ -75,8 +75,8 @@
if ! fmtutil --cnffile ${FMTCNF} --byfmt $fmt >> $MYTMPFILE; then
warn "ERROR: $fmt fmtutil failed"
return 1
- elif ! kpsewhich $fmt.fmt > /dev/null ; then
- warn "ERROR: memory dump jadetex.fmt was created, but cannot be found"
+ elif ! kpsewhich $fmt.efmt > /dev/null ; then
+ warn "ERROR: memory dump jadetex.efmt was created, but cannot be found"
return 1
else
log "successfully created $fmt memory dump"
@@ -152,10 +152,10 @@
update-fmtutil
update-texmf
- echo "Checking for TeX memory dumps (.fmt) ..."
- checkfmt latex.fmt
+ echo "Checking for TeX memory dumps (.efmt) ..."
+ checkfmt latex.efmt
checkfmt pdftex.fmt
- checkfmt pdflatex.fmt
+ checkfmt pdflatex.efmt
echo " done."
echo "Creating JadeTeX memory dumps ..."
--- debian/rules.qdist 2004-08-07 22:45:05.000000000 -0400
+++ debian/rules 2004-08-07 22:46:36.000000000 -0400
@@ -71,8 +71,8 @@
$(install_file) jadetex.ltx $(texdir)/base/
$(install_file) dsssl.def *.sty *.fd $(texdir)/base/
- ln -s tex $(bindir)/jadetex
- ln -s pdftex $(bindir)/pdfjadetex
+ ln -s etex $(bindir)/jadetex
+ ln -s pdfetex $(bindir)/pdfjadetex
dh_installdocs debian/README.* jadetex.pdf doc/releasenotes.html
dh_installchangelogs ChangeLog
Reply to: