--- jadetex-2.7.orig/debian/jadetex-jtex.postinst +++ jadetex-2.7/debian/jadetex-jtex.postinst @@ -0,0 +1,116 @@ +#!/bin/bash +# jadetex postinst +# jobs: texhash, remove old cruft we used to make, and run fmtutil + +set -e + +# clear environment +TETEXDIR= +TEXMF= +TEXINPUTS= + +ETC_CONFIG=/etc/texmf/jadetex +WEB2CDIR=$(dirname $(kpsewhich latex.fmt)) +umask 022 + +checkfmt ( ) { + format=$1 + baseformat=`basename $1 .fmt` + if ! kpsewhich $format > /dev/null ; then + echo "WARNING: memory dump $format not found, attempting to reconstruct ..." + echo "running 'fmtutil --byfmt $baseformat'" >> $MYTMPFILE + fmtutil --byfmt $baseformat >> $MYTMPFILE + if kpsewhich $format > /dev/null ; then + echo " ok, reconstructed" + else + echo "ERROR: cannot create TeX memory dump $format" + echo " Your TeX environment seems to be broken; the memory dump file $format" + echo " was not found and cannot be created. Probably, TeX is miconfigured." + echo " You should submit the log file $MYTEMPFILE as a bug against" + echo " the package tetex-bin." + echo + echo "JadeTeX cannot be installed." + exit 1 + fi + fi +} + +makejadetexfmt ( ) { + fmtutil --cnffile $ETC_CONFIG/fmtutil.cnf.jtex --all >> $MYTMPFILE +} + +jadetexfmtcheck ( ) { + # check whether it actually worked, since the texconfig program + # doesn't exit non-zero + + # file exists test + local goterror + goterror= + if ! kpsewhich jadejtex.fmt > /dev/null ; then + echo "ERROR: JadejTeX memory dump (jadejtex.fmt) cannot be found" + goterror=yes + fi +# if ! kpsewhich pdfjadetex.fmt > /dev/null ; then +# echo "ERROR: PDFJadeTeX memory dump (pdfjadetex.fmt) cannot be found" +# goterror=yes +# fi + + if [ $goterror ]; then + return -1 + else + return 0 + fi +} + +if [ "$1" = "configure" ]; then + # old crufty stuff we used to build in postinst - I wonder whether we + # should actually do this in preinst? + if [ -L /usr/lib/texmf/tex/jadetex/config ]; then + echo removing old JadeTeX config symlink + rm /usr/lib/texmf/tex/jadetex/config + fi + if [ -d /usr/lib/texmf/tex/jadetex ]; then + rmdir /usr/lib/texmf/tex/jadetex || \ + echo "unused, obsolete dir /usr/lib/texmf/tex/jadetex, remove it yourself if you care" + fi + + texhash + + MYTMPFILE=`mktemp /tmp/jadejtex-postinst.XXXXXX` + : > $MYTMPFILE + + echo "Checking for TeX memory dumps (.fmt) ..." + checkfmt jlatex.fmt +# checkfmt pdftex.fmt +# checkfmt pdflatex.fmt + echo " done." + + echo "Creating JadejTeX memory dumps ..." + makejadetexfmt + + if jadetexfmtcheck; then + echo " done." + else + echo "Desperate measures: running 'fmtutil --all' to rebuild existing TeX" + echo " memory dumps ..." + fmtutil --all + echo " done." + echo "Retrying to create JadejTeX memory dumps ..." + makejadetexfmt + if jadetexfmtcheck; then + echo " done." + else + echo "ERROR: cannot create JadejTeX memory dump" + echo " Please report this bug; include tetex* package version" + echo " numbers and the file $MYTMPFILE in the bug report." + exit 1 + fi + fi + + # remove temp file + rm -f $MYTMPFILE +fi + +#DEBHELPER# + +exit 0 --- jadetex-2.7.orig/debian/README.Debian +++ jadetex-2.7/debian/README.Debian @@ -0,0 +1,53 @@ +JadeTeX for Debian +------------------ + +Sometimes problems occur with the installation of teTeX, and these +problems only manifest during the installation of the jadetex package. +The JadeTeX package tries to be as flexible as possible in dealing +with these problems. However, during certain upgrade paths, cases +have been reported where the only way to fix the problem was to +actually purge the tetex and jadetex packages, then reinstall them (a +clean slate). + +To use jadetex, you just do: + + > jade -t tex + +Which produces `basename `.tex, a.k.a., , and then: + + > jadetex + +An excellent paper on Jadetex can be found at +. + +You can create the memory dump files jadetex.fmt and pdfjadetex.fmt by +running `fmtutil --cnffile /etc/texmf/jadetex/fmtutil.cnf --all' as +root. This is done automatically during the installation process of +this package. + +If running jadetex gives you 'capacity exceeded' messages, please +check out /etc/texmf/texmf.cnf. The jadetex maintainer has worked +with the teTeX maintainer to ensure that the settings that teTeX ships +with generally work with JadeTeX. Yet you may have opted to *not* +install the newer versions of texmf.cnf with the expanded, so look at +that file and compare it with /etc/texmf/texmf.cnf.dpkg-dist . You +should have lines such as these near the bottom: + +% Settings for Debian jadetex + hash_extra.jadetex = 15000 + hash_extra.pdfjadetex = 15000 + ... + +If you *do* have the settings for the distributed texmf.cnf files +already in place, but are still receiving capacity exceeded messages, +the best I can tell you is to note from the error message which +setting is too small, and increase it. I'd be curious to be notified +if you do have to do this, since other users may also benefit from the +expanded sizes. + + +-- +Adam Di Carlo +Marcus Brinkmann , Fri, 10 Jul 1998 04:03:33 +0200 +Christian Leutloff , Mon, 23 Feb 1998 + --- jadetex-2.7.orig/debian/jadetex-ptex.postinst +++ jadetex-2.7/debian/jadetex-ptex.postinst @@ -0,0 +1,116 @@ +#!/bin/bash +# jadetex postinst +# jobs: texhash, remove old cruft we used to make, and run fmtutil + +set -e + +# clear environment +TETEXDIR= +TEXMF= +TEXINPUTS= + +ETC_CONFIG=/etc/texmf/jadetex +WEB2CDIR=$(dirname $(kpsewhich latex.fmt)) +umask 022 + +checkfmt ( ) { + format=$1 + baseformat=`basename $1 .fmt` + if ! kpsewhich $format > /dev/null ; then + echo "WARNING: memory dump $format not found, attempting to reconstruct ..." + echo "running 'fmtutil --byfmt $baseformat'" >> $MYTMPFILE + fmtutil --byfmt $baseformat >> $MYTMPFILE + if kpsewhich $format > /dev/null ; then + echo " ok, reconstructed" + else + echo "ERROR: cannot create TeX memory dump $format" + echo " Your TeX environment seems to be broken; the memory dump file $format" + echo " was not found and cannot be created. Probably, TeX is miconfigured." + echo " You should submit the log file $MYTEMPFILE as a bug against" + echo " the package tetex-bin." + echo + echo "JadeTeX cannot be installed." + exit 1 + fi + fi +} + +makejadetexfmt ( ) { + fmtutil --cnffile $ETC_CONFIG/fmtutil.cnf.ptex --all >> $MYTMPFILE +} + +jadetexfmtcheck ( ) { + # check whether it actually worked, since the texconfig program + # doesn't exit non-zero + + # file exists test + local goterror + goterror= + if ! kpsewhich jadeptex.fmt > /dev/null ; then + echo "ERROR: JadepTeX memory dump (jadeptex.fmt) cannot be found" + goterror=yes + fi +# if ! kpsewhich pdfjadetex.fmt > /dev/null ; then +# echo "ERROR: PDFJadeTeX memory dump (pdfjadetex.fmt) cannot be found" +# goterror=yes +# fi + + if [ $goterror ]; then + return -1 + else + return 0 + fi +} + +if [ "$1" = "configure" ]; then + # old crufty stuff we used to build in postinst - I wonder whether we + # should actually do this in preinst? + if [ -L /usr/lib/texmf/tex/jadetex/config ]; then + echo removing old JadeTeX config symlink + rm /usr/lib/texmf/tex/jadetex/config + fi + if [ -d /usr/lib/texmf/tex/jadetex ]; then + rmdir /usr/lib/texmf/tex/jadetex || \ + echo "unused, obsolete dir /usr/lib/texmf/tex/jadetex, remove it yourself if you care" + fi + + texhash + + MYTMPFILE=`mktemp /tmp/jadeptex-postinst.XXXXXX` + : > $MYTMPFILE + + echo "Checking for TeX memory dumps (.fmt) ..." + checkfmt platex.fmt +# checkfmt pdftex.fmt +# checkfmt pdflatex.fmt + echo " done." + + echo "Creating JadepTeX memory dumps ..." + makejadetexfmt + + if jadetexfmtcheck; then + echo " done." + else + echo "Desperate measures: running 'fmtutil --all' to rebuild existing TeX" + echo " memory dumps ..." + fmtutil --all + echo " done." + echo "Retrying to create JadepTeX memory dumps ..." + makejadetexfmt + if jadetexfmtcheck; then + echo " done." + else + echo "ERROR: cannot create JadepTeX memory dump" + echo " Please report this bug; include tetex* package version" + echo " numbers and the file $MYTMPFILE in the bug report." + exit 1 + fi + fi + + # remove temp file + rm -f $MYTMPFILE +fi + +#DEBHELPER# + +exit 0 --- jadetex-2.7.orig/debian/README.ver_2.1 +++ jadetex-2.7/debian/README.ver_2.1 @@ -0,0 +1,52 @@ +From: Sebastian Rahtz +Subject: Jade 1.2 and JadeTeX +To: dssslist@mulberrytech.com +Date: 24 Sep 1998 08:44:43 -0400 +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit +Message-ID: <13834.16059.729000.695467@SRAHTZ> +In-Reply-To: <35F7C3A3.F7E9A013@jclark.com> +References: <35F7C3A3.F7E9A013@jclark.com> +Precedence: bulk +Reply-To: dssslist@mulberrytech.com +X-UIDL: 833bc93cbcebd3e65ff314513bdbe78d + +Just to make it clear about the JadeTeX macros, they exist in 3 +places: + + a) in the Jade distribution. I do not imagine James will want to +switch this version often, but they will change there if the backend +changes. + + b) the canonical up to date place is CTAN, eg +ftp://ftp.tex.ac.uk/tex-archive/macros/jadetex. this includes a +directory "cooked" with up to date versions of needed packages. + + c) the location for experimental releases is +http://www.tug.org/applications/jadetex which I may change at whim. + + +Jade 1.2 will now produce a TeX file starting \FOT{n}, where n is a +number representing the revision of the backend TeX format. The +JadeTeX package will check this, and complain if there is no +match. JadeTeX itself has a minor version number (currently 1) used to +identify changes which are compatible with the major version backend. + +As of today, b) and c) above are identical, and working to the best of +my belief. If in doubt, collect a copy from b) for your system. + +All older patches to Jade are obsolete; anyone interested in JadeTeX +is highly recommended to start with a fresh Jade 1.2 and fresh JadeTeX, +and report errors based on that setup. + +As of this release, David Carlisle's MathML DSSSL specification should +run with no need for a special jadetex.cfg. + +Sebastian + + + DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist + + + --- jadetex-2.7.orig/debian/changelog +++ jadetex-2.7/debian/changelog @@ -0,0 +1,333 @@ +jadetex (2.7-2.jp.1) unstable; urgency=low + + * Add Japanese support for potato. + + -- OHURA Makoto Thu, 23 May 2002 21:00:04 +0900 + +jadetex (2.7-2) frozen unstable; urgency=low + + * debian/control,rules,copyright: Standards Version 3.1.1 + * debian/postinst: if we fail at creating (pdf)*jadetex.fmt, then try + 'fmtutil --all' and try again (closes: Bug#46806, Bug#49152, + Bug#50850, Bug#54405, Bug#57200) + + -- Adam Di Carlo Tue, 8 Feb 2000 19:02:31 -0500 + +jadetex (2.7-1) unstable; urgency=low + + * new upstream version + * debian/control: Standards-Version: 3.0.1 (changed man path, left doc + path); update teTeX dependancies (closes: Bug#39416, Bug#39754) + * no response from user, suspect bug is close (closes: Bug#39700) + + -- Adam Di Carlo Sat, 28 Aug 1999 06:40:03 -0400 + +jadetex (2.6-5) unstable; urgency=low + + * README.Debian: update (closes Bug#39248) + + -- Adam Di Carlo Wed, 7 Jul 1999 02:53:06 -0400 + +jadetex (2.6-4) unstable; urgency=low + + * debian/control: bump up tetex dependancies again, removed conflict and + suggest (!) on tetex-nonfree (closes Bug#38399) + * README.capacity_exceeded: no longer needed, new teTeX folds in the + needed alterations + + -- Adam Di Carlo Sun, 6 Jun 1999 01:29:53 -0400 + +jadetex (2.6-3) unstable; urgency=low + + * debian/rules: stop including our own cooked babel, which was just a + workaround for problems with older tetex; bring up to "Di Carlo" + standards + * debian/control: bump up tetex-dependancies to 0.9.990510-2, conflict + with tetex-nonfree >= 0.9.990510 temporarily, since we don't seem to + get along with the new french.sty, and I can't distributed the cooked + version since that would break licensing (closes Bug#38302, Bug#38395, + Bug#38399) + + -- Adam Di Carlo Thu, 27 May 1999 18:43:21 -0400 + +jadetex (2.6-2) unstable; urgency=low + + * postinst: attempt to cope with missing latex.fmt, pdftex.fmt or + pdflatex.fmt, in an attempt to close Bug#37414 and Bug#37727 + * debian/rules: clean is cleaner + + -- Adam Di Carlo Sat, 22 May 1999 04:35:44 -0400 + +jadetex (2.6-1) unstable; urgency=low + + * new upstream version, should fix the babel conflict which was causing + pdfjadetex to die; we still have to ship the local babel from the + cooked subdir, however, until teTeX is updated (closes Bug#36614) + * debian/postinst: when jadetex.fmt is not generated, ask the user to + submit the contents of the fmtutil run with the output; don't hardcode + TeX fmt dir, use kpsewhich, but the script must be bash for that; + quiet lintian warning about mktemp + * debian/postrm: use same techniques from postinst + * debian/rules: minor debhelper tweaks, install upstream ChangeLog, + install charlist.dtd into /usr/doc/jadetex + * debian/control: update standards to 2.5.1; update TeX dependancies + * debian/jadetex.conffiles: removed, obsolete (generated by debian/rules) + + -- Adam Di Carlo Fri, 14 May 1999 10:29:10 -0400 + +jadetex (2.5-3) unstable; urgency=low + + * README.capacity_exceeded: up the stack size to 6000, from + J.H.M. Dassen (closes Bug#36615), raise a few other parameters that + have bit me recently + * jadetex.dtx: workaround bug, 'Incomplete \ifnum; all text was ignored + after line 1410' + * debian/rules: ship older babel from the 'cooked' subdir, fixing a + nasty interaction with newer tetexen (closes Bug#36614, Bug#36268) + + -- Adam Di Carlo Tue, 27 Apr 1999 23:44:07 -0400 + +jadetex (2.5-2) unstable; urgency=low + + * README.capacity_exceeded and README.Debian updated + + -- Adam Di Carlo Fri, 23 Apr 1999 02:34:06 -0400 + +jadetex (2.5-1) unstable; urgency=low + + * new upstream version + * ship unicode.sty (required) and unicode.xml (documentation) + * debian/rules: modularize, clean up, and abstract like I like it; move + over to /usr/share/texmf/tex/jadetex (closes Bug#35836); some files + renamed in debian/* to debhelper standards + * debian/control: updated standards to 2.5.0; update tetex dependancies + to Mar. 1999 version + * debian/postinst: clean up and clean out + * README.capacity_exceeded: updated + * jadetex-texconfig: removed + * debian/copyright: updated + + -- Adam Di Carlo Sun, 11 Apr 1999 19:38:15 -0400 + +jadetex (2.2-1) stable unstable; urgency=medium + + * new maintainer + * fix fmtutil configuration file, which totally broke package + installation (close important Bug#35300, Bug#35463, Bug#35385, + Bug##34986, Bug#33336, Bug#32853, Bug#32000) + + -- Adam Di Carlo Fri, 9 Apr 1999 02:35:03 -0400 + +jadetex (2.2-0.2) frozen unstable; urgency=low + + * non-maintainer release + * jadetex.dtx: 5 line patch from upstream maintainer to use multicol.sty + if it is available, but proceed even if not; this means jadetex's + dependancy on a non-free package can be lowered to 'suggests' (closes + important Bug#28224) + * jadetex.dtx: removed [implicit=false,bookmarks=false] from hyperref + package options, since pdflatex doesn't seem to like package options + at all for hyperref (closes Bug#29170, tetex-extra bug opened) + * fmtutil.cnf: new fmtutil conffile, installed to /etc/texmf/jadetex, + which enables us to simply run + 'fmtutil -cnfffile /etc/texmf/jadetex/fmtutil.cnf --all' + which speeds up installation considerably (closes Bug#27446, at least) + * jadetex-texconfig: no longer installed + * debian/control: do not install hyperref.sty, hypertex.def, or + hpdftex.def, since they are in a new tetex-extra (closes Bug#29168) + * debian/control: bump depends accordingly, mention PDF files in the + package description + * debian/rules: add a check that postinst/postrm are valid while building + + -- Adam Di Carlo Wed, 16 Dec 1998 16:48:55 -0500 + +jadetex (2.2-0.1) unstable; urgency=low + + * non-maintainer release + * new upstream version + * fix problem with source + * jadetex.dtx: remove T3 since it causes confusing errors w/o the proper + font being installed. If someone want's to package 'tipa' from CTAN, + then we could bring it back + * debian/control: now also depends on tetex-nonfree; this means this + package must be moved to contrib. I'll let the maintainer work around + this or file the bug against ftp.debian.org (closes Bug#27487) + + -- Adam P. Harris Wed, 7 Oct 1998 23:05:14 -0400 + +jadetex (2.1-0.1) unstable; urgency=low + + * non-maintainer release + * new upstream version (depends on jade >= 1.2); pdfjadetex is now + properly called pdfjadetex (not jadetexpdf) upstream + * bump tetex Depends up to newest version of tetex-* + * reintroduced 'cooked' directory since it is upstream from 'cooked', + install t3enc.def, hypertex.def, hpdftex.def, and hyperref.sty into + /etc/texmf/jadetex/, aka /usr/lib/texmf/tex/jadetex/config/, because + it is needed in the current tetex environment + * postinst: check that the jadetex.fmt and pdfjadetex.fmt files were + actually generated, since texconfig doesn't exit with non-zero status + on failure. Consider this a failure condition. It has been + determined that this is in fact a limitiation of the upstream + 'texconfig' system employed. The hacky patch I added here to the + postinst sould probably be removed for the freeze; for now it's + probably a good way to chase down problems (closes Bug#25592, Bug#25695) + * add a few bits of documentation off the net; talk about the TeX + capacity exceeded issue in /usr/doc/jadetex/README.capacity_exceeded + (addressing but not quite closing Bug#24307) + * debian/README: how to use jadetex, 3 second overview; refer to other + READMEs now shipped + * jadetextables.html: removed ^Ms from HTML + * debian/copyright: update ftp location + * debian/rules: add '-isp' to dpkg-gencontrol + * debian/rules: explicit dependancy on /bin/bash, since curly braces are + used + * debian/jadetexcofig: run tex -ini with hugelatex if possible to fix + TeX capacity exceeded. + * link man page for jadetex-texconfig.1 to texconfig.1 + + -- Adam P. Harris Sun, 4 Oct 1998 04:13:40 -0400 + +jadetex (1.05-0.1) unstable; urgency=low + + * non-maintainer release + * new upstream version (requires new jade) + * promote jade relationship to 'Depends', so we can manage version + dependancies properly + + -- Adam P. Harris Thu, 3 Sep 1998 01:12:51 -0400 + +jadetex (1.0b5-1) unstable; urgency=low + + * New maintainer. + * New upstream version. Maybe works with tables, tell me about it. + * Changed postinst to use solely mktemp and not to fall back to insecure + tempfile allocation if mktemp does not exist. Made sure that mktemp does + exist by adding a dependency to debianutils >= 1.7. (lintian). + * JadeTeX now recommends jade and sugests docbook-stylesheets instead the + other way round. + * Documentation generation works now, and documentation is included. + * Converted debian/rules from debhelper to Manoj rules style. + * Dropped "cooked" directory, as it is not provided upstream anymore and + doesn't make much sense, IMHO. If you really need such information, I'm + happy to provide you with the version numbers of the Debian packages I + use to build JadeTeX. + * Added pdfjadetex. + * The introduction of pdfjadetex means that jadetex-texconfig is back. + I used the new version 0.9 however, and only added pdfjadetex support. + Christoph and Thomas are contacted. + * JadeTeX and pdfJadeTeX now point to TeX and pdfTeX directly, and not to + virTeX or something like this. + * Added real man pages. They are derived from the teTeX distribution, please + sent me improvements, corrections, etc. + + -- Marcus Brinkmann Thu, 9 Jul 1998 17:54:41 +0200 + +jadetex (0.61-1.2) frozen unstable; urgency=medium + + * Non-maintainer release + * eliminate jadetex-texconfig for texconfig; use tetex's texconfig + instead. The old jadetex-texconfig is still in the source archive + though; hopefully it is no longer required. + (closes grave Bug#22688, Bug#22638, Bug#22639, Bug#22766) + * Note there are known cases, such as generating php-doc, where tetex + seems to run out of memory internally; I think this is a tetex-base + bug (report as a bug) + + -- Adam P. Harris Sun, 31 May 1998 22:06:37 -0400 + +jadetex (0.61-1.1) frozen unstable; urgency=low + + * Non-maintainer release + * debian/control: starting with tetex-extra 0.9-5, hyperref is obsolete, + so we shouldn't depend on both. Used the rather complex depends + provided by Anthony Fok (closes Bug#21110, + Bug#21885, Bug#22455) + * debian/postinst: rather than hardcode the path of tempfile, use + 'command -v' to check for it (it was testing for /usr/bin/tempfile, + which seems to be in /bin now) + * strip off prepended !! from "kpsetool -v '$VAR'" (not sure if that's + actually the right thing to do, but the way it was was definately + wrong) + + -- Adam P. Harris Fri, 15 May 1998 00:39:33 -0400 + +jadetex (0.61-1) frozen; urgency=low + + * New upstream (bugfix only) release + * depends on tetex-extra (fixes Bug #18606) + * README.debian reworked (fixes Bug #18617) + * Bug #19489 should be fixed with changes in 0.57-2 + + -- Christian Leutloff Mon, 16 Mar 1998 09:35:54 +0100 + +jadetex (0.57-2) unstable; urgency=low + + * modified postinst and README.Debian + + -- Christian Leutloff Thu, 26 Feb 1998 18:43:40 +0100 + +jadetex (0.57-1) unstable; urgency=low + + * New upstream release + + -- Christian Leutloff Wed, 25 Feb 1998 09:29:10 +0100 + +jadetex (0.56-2) unstable; urgency=low + + * check for symlink to conffiles in postinst (fixes #18517) + (thanks to Francesco Potorti` ) + * README changed (#18436) + + -- Christian Leutloff Mon, 23 Feb 1998 19:26:04 +0100 + +jadetex (0.56-1) unstable; urgency=low + + * New upstream release + * fixed symlink (#18087) + + -- Christian Leutloff Fri, 20 Feb 1998 16:04:29 +0100 + +jadetex (0.55-2) unstable; urgency=low + + * added jadetex.ini and jadetexpdf.ini to conffiles and moved them to + /etc/texmf/jadetex/ + * need to add jadetex-texconfig again 8-( + * improved description, thanks to Chris Fearnley + + -- Christian Leutloff Sun, 8 Feb 1998 12:47:22 +0100 + +jadetex (0.55-1) unstable; urgency=low + + * new upstream version + + -- Christian Leutloff Tue, 3 Feb 1998 19:28:01 +0100 + +jadetex (0.53-4) unstable; urgency=low + + * texconfig.jadetex obsoleted by tetex-bin 0.4pl8-4 + + -- Christian Leutloff Sun, 14 Dec 1997 15:52:11 +0100 + +jadetex (0.53-3) unstable; urgency=low + + * now in main again, because copyright of hyperref is now DFSG compliant + + -- Christian Leutloff Thu, 27 Nov 1997 11:13:14 +0100 + +jadetex (0.53-2) unstable; urgency=low + + * changed section to contrib/tex, added dependency for hyperref + + -- Christian Leutloff Fri, 21 Nov 1997 23:34:16 +0100 + +jadetex (0.53-1) unstable; urgency=low + + * new upstream source + * minor improvements + * added set -e to postinst + * Initial Version. + + -- Christian Leutloff Fri, 7 Nov 1997 11:24:12 +0100 + + --- jadetex-2.7.orig/debian/control +++ jadetex-2.7/debian/control @@ -0,0 +1,39 @@ +Source: jadetex +Section: tex +Priority: optional +Maintainer: Adam Di Carlo +Standards-Version: 3.1.1 +Build-Depends-Indep: tetex-bin, debhelper + +Package: jadetex +Architecture: all +Depends: debianutils (>= 1.7), tetex-bin (>= 1.0.5-3), tetex-extra (>= 1.0-4), jade (>= 1.2-1) +Suggests: docbook-stylesheets +Description: LaTeX macros for SGML to DVI/PS/PDF conversion with Jade + jadetex provides a set of LaTeX macros to process the TeX files + generated by jade. Using jade and jadetex you can print every SGML + document for which you have/make a DSSSL description. + +Package: jadetex-jtex +Architecture: all +Pre-Depends: jadetex +Depends: jadetex, jtex-bin +Suggests: docbook-stylesheets +Description: LaTeX macros for SGML to DVI/PS/PDF conversion with Jade + jadetex provides a set of LaTeX macros to process the TeX files + generated by jade. Using jade and jadetex you can print every SGML + document for which you have/make a DSSSL description. + . + This is a Japanese extension for NTT jTeX. + +Package: jadetex-ptex +Architecture: all +Pre-Depends: jadetex +Depends: jadetex, ptex-bin +Suggests: docbook-stylesheets +Description: LaTeX macros for SGML to DVI/PS/PDF conversion with Jade + jadetex provides a set of LaTeX macros to process the TeX files + generated by jade. Using jade and jadetex you can print every SGML + document for which you have/make a DSSSL description. + . + This is a Japanese extension for ASCII pTeX. --- jadetex-2.7.orig/debian/jadetex-jtex.postrm +++ jadetex-2.7/debian/jadetex-jtex.postrm @@ -0,0 +1,32 @@ +#!/bin/bash +# derived from tetex-base.postrm + +set -e + +# clear environment +TETEXDIR= +TEXMF= +TEXINPUTS= + +# it is ok for this to fail +set +e +JADETEXFMT=$(kpsewhich jadejtex.fmt) +#PDFJADETEXFMT=$(kpsewhich pdfjadetex.fmt) +set -e + +if [ "$1" = "purge" ]; then + if [ $JADETEXFMT ]; then + WEB2CDIR=$(dirname $JADETEXFMT) + rm -f $WEB2CDIR/jadejtex.log #$WEB2CDIR/pdfjadetex.log + fi + rm -f $JADETEXFMT #$PDFJADETEXFMT +fi + +# the upgrade case will be handled in postinst; no need to run it twice +if [ "$1" != "upgrade" ]; then + if command -v texhash >/dev/null 2>&1; then + texhash + fi +fi + +#DEBHELPER# --- jadetex-2.7.orig/debian/jadetex-ptex.postrm +++ jadetex-2.7/debian/jadetex-ptex.postrm @@ -0,0 +1,32 @@ +#!/bin/bash +# derived from tetex-base.postrm + +set -e + +# clear environment +TETEXDIR= +TEXMF= +TEXINPUTS= + +# it is ok for this to fail +set +e +JADETEXFMT=$(kpsewhich jadeptex.fmt) +#PDFJADETEXFMT=$(kpsewhich pdfjadetex.fmt) +set -e + +if [ "$1" = "purge" ]; then + if [ $JADETEXFMT ]; then + WEB2CDIR=$(dirname $JADETEXFMT) + rm -f $WEB2CDIR/jadeptex.log #$WEB2CDIR/pdfjadetex.log + fi + rm -f $JADETEXFMT #$PDFJADETEXFMT +fi + +# the upgrade case will be handled in postinst; no need to run it twice +if [ "$1" != "upgrade" ]; then + if command -v texhash >/dev/null 2>&1; then + texhash + fi +fi + +#DEBHELPER# --- jadetex-2.7.orig/debian/copyright +++ jadetex-2.7/debian/copyright @@ -0,0 +1,42 @@ +This package was debianized by Christian Leutloff leutloff@debian.org +on Fri, 7 Nov 1997 11:24:12 +0100. Marcus Brinkmann took over +maintenance of this package on Thu, 9 Jul 1998 17:55:30 +0200. Adam +Di Carlo took over maintenance on Fri, 9 Apr 1999 02:35:03 -0400. + +It was downloaded from ftp://ftp.tex.ac.uk/tex-archive/macros/jadetex/ +and/or http://www.tug.org/applications/jadetex/ + +Copyright: + +File: jadetex.dtx Copyright (C) 1996, 1997, 1998 +Sebastian Rahtz + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +``Software''), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL SEBASTIAN RAHTZ BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +-- + +Debian-specific changes are Copyright (c) 1997, 1998 Christian +Leutloff and Marcus Brinkmann, 1999, 2000 Adam Di Carlo. These +changes are distributed under the terms of the GNU General Public +License. + +The GNU General Public License is available on Debian systems in the +file /usr/share/common-licenses/GPL. --- jadetex-2.7.orig/debian/fmtutil.cnf.jtex +++ jadetex-2.7/debian/fmtutil.cnf.jtex @@ -0,0 +1,7 @@ +# for Japanese extension +# jadefmtutil.cnf: configuration file for fmtutil; jade flavor. +# invoke with 'fmtutil --cnffile ' +# +# format engine pattern-file arguments +jadejtex jtex language.dat -progname=jadetex &jlatex jadetex.ini + --- jadetex-2.7.orig/debian/fmtutil.cnf +++ jadetex-2.7/debian/fmtutil.cnf @@ -0,0 +1,7 @@ +# jadefmtutil.cnf: configuration file for fmtutil; jade flavor. +# invoke with 'fmtutil -cnffile ' +# +# format engine pattern-file arguments +jadetex tex language.dat &latex jadetex.ini +pdfjadetex pdftex language.dat &pdflatex pdfjadetex.ini + --- jadetex-2.7.orig/debian/fmtutil.cnf.ptex +++ jadetex-2.7/debian/fmtutil.cnf.ptex @@ -0,0 +1,7 @@ +# for Japanese extension +# jadefmtutil.cnf: configuration file for fmtutil; jade flavor. +# invoke with 'fmtutil --cnffile ' +# +# format engine pattern-file arguments +jadeptex ptex language.dat -progname=jadetex &platex jadetex.ini + --- jadetex-2.7.orig/debian/jadetex.1 +++ jadetex-2.7/debian/jadetex.1 @@ -0,0 +1,45 @@ +.TH JADETEX 1 "12 July 1998" "Marcus Brinkmann" +.\"===================================================================== +.if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP +.if n .ds TX TeX +.ie t .ds OX \fIT\v'+0.25m'E\v'-0.25m'X\fP\" for troff +.el .ds OX TeX\" for nroff +.\" the same but obliqued +.\" BX definition must follow TX so BX can use TX +.if t .ds BX \fRB\s-2IB\s0\fP\*(TX +.if n .ds BX BibTeX +.\" LX definition must follow TX so LX can use TX +.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX +.if n .ds LX LaTeX +.\"===================================================================== +.SH NAME +jadetex \- processing tex files produced by the \*(TX backend of Jade. +.SH SYNOPSIS +.B jadetex +[ first line ] +.\"===================================================================== +.SH DESCRIPTION +This manual page was derived from the manual page for \*(LX and is not meant +to be exhaustive. The complete +documentation for this version of \*(TX can be found in the info file +or manual +.IR "Web2C: A TeX implementation" . +.PP +Jade\*(TX is a \*(TX macro package, not a modification to the \*(TX source +program, so all the capabilities described in +.BR tex (1) +are present. +.B pdfjadetex +is the PDF\*(TX version of the jade\*(TX format. +.\"===================================================================== +.SH "SEE ALSO" +.BR pdfjadetex (1), +.BR latex (1), +.BR tex (1), +.br +.SH AUTHORS +The author of jade\*(TX is Sebastian Rahtz. +.PP +This manual page was derived from the \*(LX manual page. It is provided for +the Debian distribution by Marcus Brinkmann. Please send improvements, +suggestion and other comments to brinkmd@debian.org. --- jadetex-2.7.orig/debian/pdfjadetex.1 +++ jadetex-2.7/debian/pdfjadetex.1 @@ -0,0 +1,239 @@ +.TH PDFJADETEX 1 "12 July 1998" "Marcus Brinkmann" +.\"===================================================================== +.if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP +.if n .ds TX TeX +.if n .ds MF Metafont +.if t .ds MF M\s-2ETAFONT\s0 +.ie t .ds OX \fIT\v'+0.25m'E\v'-0.25m'X\fP\" for troff +.el .ds OX TeX\" for nroff +.\" the same but obliqued +.\" BX definition must follow TX so BX can use TX +.if t .ds BX \fRB\s-2IB\s0\fP\*(TX +.if n .ds BX BibTeX +.\" LX definition must follow TX so LX can use TX +.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX +.if n .ds LX LaTeX +.if t .ds AX \fRA\\h'-0.1667m'\\v'0.20v'M\\v'-0.20v'\\h'-0.125m'S\fP\*(TX +.if n .ds AX AmSTeX +.if t .ds AY \fRA\\h'-0.1667m'\\v'0.20v'M\\v'-0.20v'\\h'-0.125m'S\fP\*(LX +.if n .ds AY AmSLaTeX +.\"===================================================================== +.SH NAME +pdfjadetex \- PDF output from JadeTeX +.SH SYNOPSIS +.B pdfjadetex +.RI [ options ] +.RI [ commands ] +.\"===================================================================== +.SH DESCRIPTION +This manual page was derived from the manual page for pdf\*(TX and is not meant +to be exhaustive. The complete documentation for this version of \*(TX can be +found in the info file or manual +.IR "Web2C: A TeX implementation" . +.PP +pdfjade\*(TX is a version of \*(TX that can create +.I PDF +files as well as +.I DVI +files. +.PP +The typical use of pdfjade\*(TX is with a pregenerated formats for which +PDF output has been enabled. The +.B pdfjadetex +command uses the equivalent of the plain Jade\*(TX format. +.PP +pdfjade\*(TX's handling of its command-line arguments is similar to that of +\*(LX. +.\"===================================================================== +.SH OPTIONS +This version of pdfjade\*(TX understands the following command line options. +.TP +.BI --fmt \ format +.rb +Use +.I format +as the name of the format to be used, instead of the name by which +pdfjade\*(TX was called or a +.I %& +line. +.TP +.B --help +.rb +Print help message and exit. +.TP +.B --ini +.rb +Be +.BR pdfinitex , +for dumping formats; this is implicitly true if the program is called +as +.BR pdfinitex . +.TP +.BI --interaction \ mode +.rb +Sets the interaction mode. The mode can be one of +.IR batchmode , +.IR nonstopmode , +.IR scrollmode , +and +.IR errorstopmode . +The meaning of these modes is the same as that of the corresponding +\ecommands. +.TP +.B --ipc +.rb +Send DVI or PDF output to a socket as well as the usual output file. +Whether this option is available is the choice of the installer. +.TP +.B --ipc-start +.rb +As +.BR --ipc , +and starts the server at the other end as well. Whether this option +is available is the choice of the installer. +.TP +.BI --kpathsea-debug \ bitmask +.rb +Sets path searching debugging flags according to the bitmask. See the +.I Kpathsea +manual for details. +.TP +.BI --maketex \ fmt +.rb +Enable +.RI mktex fmt , +where +.I fmt +must be one of +.I tex +or +.IR tfm . +.TP +.BI --no-maketex \ fmt +.rb +Disable +.RI mktex fmt , +where +.I fmt +must be one of +.I tex +or +.IR tfm . +.TP +.BI --output-comment \ string +.rb +Use +.I string +for the DVI file comment instead of the date. +.TP +.BI --progname \ name +.rb +Pretend to be program +.IR name . +This affects both the format used and the search paths. +.TP +.B --shell-escape +.rb +Enable the +.BI \ewrite18{ command } +construct. The +.I command +can be any Bourne shell command. This construct is normally +disallowed for security reasons. +.TP +.B --version +.rb +Print version information and exit. +.\"===================================================================== +.SH ENVIRONMENT +See the Kpathsearch library documentation (the `Path specifications' +node) for precise details of how the environment variables are used. +The +.B kpsewhich +utility can be used to query the values of the variables. +.PP +One caveat: In most pdfjade\*(TX formats, you cannot use ~ in a filename you +give directly to pdfjade\*(TX, because ~ is an active character, and hence is +expanded, not taken as part of the filename. Other programs, such as +\*(MF, do not have this problem. +.PP +.TP +TEXMFOUTPUT +Normally, pdfjade\*(TX puts its output files in the current directory. If +any output file cannot be opened there, it tries to open it in the +directory specified in the environment variable TEXMFOUTPUT. +There is no default value for that variable. For example, if you say +.I tex paper +and the current directory is not writable, if TEXMFOUTPUT has +the value +.IR /tmp , +pdfjade\*(TX attempts to create +.I /tmp/paper.log +(and +.IR /tmp/paper.pdf , +if any output is produced.) +.TP +TEXINPUTS +Search path for +.I \einput +and +.I \eopenin +files. +This should probably start with ``.'', so +that user files are found before system files. +.TP +TEXFONTS +Search path for font metric +.RI ( .tfm ) +files. +.TP +TEXFORMATS +Search path for format files. +.TP +TEXPOOL +search path for +.B pdfinitex +internal strings. +.TP +TEXEDIT +Command template for switching to editor. The default, usually +.BR vi , +is set when pdfjade\*(TX is compiled. +.\"===================================================================== +.SH FILES +The location of the files mentioned below varies from system to +system. Use the +.B kpsewhich +utility to find their locations. +.TP +.I pdfjadetex.pool +Encoded text of pdfjade\*(TX's messages. +.TP +.I texfonts.map +Filename mapping definitions. +.TP +.I *.tfm +Metric files for pdfjade\*(TX's fonts. +.TP +.I *.fmt +Predigested pdfjade\*(TX format (.\|fmt) files. +.br +.\"===================================================================== +.SH BUGS +This version of pdfjade\*(TX fails to trap arithmetic overflow when +dimensions are added or subtracted. Cases where this occurs are rare, +but when it does the generated +.I DVI +file will be invalid. +.\"===================================================================== +.SH "SEE ALSO" +.BR jadetex (1), +.BR tex (1), +.BR mf (1), +.BR undump (1). +.\"===================================================================== +.SH AUTHORS +The author of pdfjade\*(TX is Sebastian Rahtz. +.PP +This manual page was derived by Marcus Brinkmann for the Debian distribution from +the pdf\*(TX manual page from the te\*(TX distribution by Thomas Esser. --- jadetex-2.7.orig/debian/postinst +++ jadetex-2.7/debian/postinst @@ -0,0 +1,116 @@ +#!/bin/bash +# jadetex postinst +# jobs: texhash, remove old cruft we used to make, and run fmtutil + +set -e + +# clear environment +TETEXDIR= +TEXMF= +TEXINPUTS= + +ETC_CONFIG=/etc/texmf/jadetex +WEB2CDIR=$(dirname $(kpsewhich latex.fmt)) +umask 022 + +checkfmt ( ) { + format=$1 + baseformat=`basename $1 .fmt` + if ! kpsewhich $format > /dev/null ; then + echo "WARNING: memory dump $format not found, attempting to reconstruct ..." + echo "running 'fmtutil --byfmt $baseformat'" >> $MYTMPFILE + fmtutil --byfmt $baseformat >> $MYTMPFILE + if kpsewhich $format > /dev/null ; then + echo " ok, reconstructed" + else + echo "ERROR: cannot create TeX memory dump $format" + echo " Your TeX environment seems to be broken; the memory dump file $format" + echo " was not found and cannot be created. Probably, TeX is miconfigured." + echo " You should submit the log file $MYTEMPFILE as a bug against" + echo " the package tetex-bin." + echo + echo "JadeTeX cannot be installed." + exit 1 + fi + fi +} + +makejadetexfmt ( ) { + fmtutil --cnffile $ETC_CONFIG/fmtutil.cnf --all >> $MYTMPFILE +} + +jadetexfmtcheck ( ) { + # check whether it actually worked, since the texconfig program + # doesn't exit non-zero + + # file exists test + local goterror + goterror= + if ! kpsewhich jadetex.fmt > /dev/null ; then + echo "ERROR: JadeTeX memory dump (jadetex.fmt) cannot be found" + goterror=yes + fi + if ! kpsewhich pdfjadetex.fmt > /dev/null ; then + echo "ERROR: PDFJadeTeX memory dump (pdfjadetex.fmt) cannot be found" + goterror=yes + fi + + if [ $goterror ]; then + return -1 + else + return 0 + fi +} + +if [ "$1" = "configure" ]; then + # old crufty stuff we used to build in postinst - I wonder whether we + # should actually do this in preinst? + if [ -L /usr/lib/texmf/tex/jadetex/config ]; then + echo removing old JadeTeX config symlink + rm /usr/lib/texmf/tex/jadetex/config + fi + if [ -d /usr/lib/texmf/tex/jadetex ]; then + rmdir /usr/lib/texmf/tex/jadetex || \ + echo "unused, obsolete dir /usr/lib/texmf/tex/jadetex, remove it yourself if you care" + fi + + texhash + + MYTMPFILE=`mktemp /tmp/jadetex-postinst.XXXXXX` + : > $MYTMPFILE + + echo "Checking for TeX memory dumps (.fmt) ..." + checkfmt latex.fmt + checkfmt pdftex.fmt + checkfmt pdflatex.fmt + echo " done." + + echo "Creating JadeTeX memory dumps ..." + makejadetexfmt + + if jadetexfmtcheck; then + echo " done." + else + echo "Desperate measures: running 'fmtutil --all' to rebuild existing TeX" + echo " memory dumps ..." + fmtutil --all + echo " done." + echo "Retrying to create JadeTeX memory dumps ..." + makejadetexfmt + if jadetexfmtcheck; then + echo " done." + else + echo "ERROR: cannot create JadeTeX memory dump" + echo " Please report this bug; include tetex* package version" + echo " numbers and the file $MYTMPFILE in the bug report." + exit 1 + fi + fi + + # remove temp file + rm -f $MYTMPFILE +fi + +#DEBHELPER# + +exit 0 --- jadetex-2.7.orig/debian/postrm +++ jadetex-2.7/debian/postrm @@ -0,0 +1,32 @@ +#!/bin/bash +# derived from tetex-base.postrm + +set -e + +# clear environment +TETEXDIR= +TEXMF= +TEXINPUTS= + +# it is ok for this to fail +set +e +JADETEXFMT=$(kpsewhich jadetex.fmt) +PDFJADETEXFMT=$(kpsewhich pdfjadetex.fmt) +set -e + +if [ "$1" = "purge" ]; then + if [ $JADETEXFMT ]; then + WEB2CDIR=$(dirname $JADETEXFMT) + rm -f $WEB2CDIR/jadetex.log $WEB2CDIR/pdfjadetex.log + fi + rm -f $JADETEXFMT $PDFJADETEXFMT +fi + +# the upgrade case will be handled in postinst; no need to run it twice +if [ "$1" != "upgrade" ]; then + if command -v texhash >/dev/null 2>&1; then + texhash + fi +fi + +#DEBHELPER# --- jadetex-2.7.orig/debian/rules +++ jadetex-2.7/debian/rules @@ -0,0 +1,134 @@ +#!/usr/bin/make -f +# Debian rules file for jadetex + +package := jadetex + +# for Japanese extension +package-jtex := jadetex-jtex +package-ptex := jadetex-ptex + +# directory abstraction +prefix := debian/tmp +bindir := $(prefix)/usr/bin +libdir := $(prefix)/usr/lib/$(package) +docdir := $(prefix)/usr/share/doc/$(package) +mandir := $(prefix)/usr/share/man +texdir := $(prefix)/usr/share/texmf/tex/$(package) +confdir := $(prefix)/etc/texmf/$(package) + +# for Japanese extension +prefix-jtex := debian/$(package-jtex) +prefix-ptex := debian/$(package-ptex) +bindir-jtex := $(prefix-jtex)/usr/bin +bindir-ptex := $(prefix-ptex)/usr/bin +mandir-jtex := $(prefix-jtex)/usr/share/man +mandir-ptex := $(prefix-ptex)/usr/share/man +confdir-jtex := $(prefix-jtex)/etc/texmf/$(package) +confdir-ptex := $(prefix-ptex)/etc/texmf/$(package) + +# tool abstraction +install_file := install -o root -g root -m 644 -p +install_program := install -o root -g root -m 755 -p +make_dir := install -d -o root -g root -m 755 +compress := gzip -9f + + +build: + $(checkdir) + $(MAKE) -f Makefile.jadetex basic + latex '\nonstopmode\input{jadetex.dtx}' > latex.log + latex '\nonstopmode\input{jadetex.dtx}' >> latex.log + dvips -o jadetex.ps jadetex.dvi + lynx -dump jadetextables.html > jadetextables.txt + touch build + +clean: + $(checkdir) + -$(MAKE) -f Makefile.jadetex clean + rm -f jadetex.ps jadetex.dvi jadetextables.txt latex.log \ + dsssl.def isoents.tex jadetex.ltx + rm -f build binary debian/conffiles + rm -f debian/jadetex-jtex.conffiles debian/jadetex-ptex.conffiles + dh_clean + +binary: binary-indep binary-arch + +# Build architecture-independent files here. +binary-indep: build + $(checkdir) + $(checkroot) + rm -rf $(prefix) + + $(make_dir) $(bindir) $(docdir) $(mandir)/man1 \ + $(texdir)/base $(confdir) +# for Japanes extension + $(make_dir) $(bindir-jtex) $(bindir-ptex) \ + $(mandir-jtex)/man1 $(mandir-ptex)/man1 \ + $(confdir-jtex) $(confdir-ptex) + + ln -sf /etc/texmf/jadetex $(texdir)/config + $(install_file) jadetex.ini pdfjadetex.ini debian/fmtutil.cnf \ + $(confdir)/ + +# for Japanese extension + $(install_file) debian/fmtutil.cnf.jtex $(confdir-jtex)/ + $(install_file) debian/fmtutil.cnf.ptex $(confdir-ptex)/ + + : > debian/conffiles + echo $(subst $(prefix),,$(confdir))/jadetex.ini >> debian/conffiles + echo $(subst $(prefix),,$(confdir))/pdfjadetex.ini >> debian/conffiles + echo $(subst $(prefix),,$(confdir))/fmtutil.cnf >> debian/conffiles +# for Japanese extension + echo $(subst $(prefix),,$(confdir))/fmtutil.cnf.jtex >> \ + debian/jadetex-jtex.conffiles + echo $(subst $(prefix),,$(confdir))/fmtutil.cnf.ptex >> \ + debian/jadetex-ptex.conffiles + +# from "tipa" package -- we simply disabled this +# $(install_file) cooked/t3enc.def $(confdir)/ +# $(install_file) cooked/tipa.sty cooked/tone.sty $(confdir)/ +# $(install_file) cooked/babel.def cooked/babel.sty $(confdir)/ + + $(install_file) debian/jadetex.1 debian/pdfjadetex.1 $(mandir)/man1/ + +# for Japanese extension + ln -s jadetex.1.gz $(mandir-jtex)/man1/jadejtex.1.gz + ln -s jadetex.1.gz $(mandir-ptex)/man1/jadeptex.1.gz + + $(install_file) jadetex.ltx $(texdir)/base/ + $(install_file) dsssl.def isoents.tex unicode.sty $(texdir)/base/ + +# for Japanese extension + $(install_program) debian/jadejtex.sh $(bindir-jtex)/jadejtex + $(install_program) debian/jadeptex.sh $(bindir-ptex)/jadeptex + + ln -s tex $(bindir)/jadetex + ln -s pdftex $(bindir)/pdfjadetex + + dh_installdocs debian/README.* jadetex.dvi jadetex.ps charlist.dtd \ + unicode.xml jadetextables.html jadetextables.txt + dh_installchangelogs ChangeLog + + dh_compress -i + + sh -n debian/postinst + sh -n debian/postrm + + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build +# We have nothing to do here. + +define checkdir + test -f debian/rules + test -f jadetex.dtx +endef + +define checkroot + test `id -u` = 0 +endef + +.PHONY: clean binary-indep binary-arch binary --- jadetex-2.7.orig/debian/jadejtex.sh +++ jadetex-2.7/debian/jadejtex.sh @@ -0,0 +1,2 @@ +#!/bin/sh +jtex -fmt=jadejtex -progname=jadetex $* --- jadetex-2.7.orig/debian/jadeptex.sh +++ jadetex-2.7/debian/jadeptex.sh @@ -0,0 +1,2 @@ +#!/bin/sh +ptex -fmt=jadeptex -progname=jadetex $*