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

Bug#64914: jadetex: doesn't update when language.dat is changed



Package: jadetex,tetex-bin
Version: 2.7-2,

I've just noticed a problem.  When language.dat is changed through
texconfig, fmtutil --all is run.  But as jadetex has its own
fmtutil.cnf, texconfig doesn't notice.

The only obvious solution to this, which will be very useful if the
tetex-bin package is split, is to have an /etc/texmf/fmtutil/
directory with multiple .cnf files in, say base.cnf, pdf.cnf, jade.cnf
and so on.  Then fmtutil --all reads all of the files in the
directory.  I do not imagine that it will be that difficult to make
the necessary modifications, although the search for the directory is
not going to be trivial, it seems.

The other way to do it is to modify fmtutil to start the run_initex
function with:

  command -v "$engine" || return

Then if a particular engine (such as jadetex) is not present, we just
skip that format.  And if we go for this option, then *all* formats
get put in one master fmtutil.cnf (including jadetex).  I don't know
whether there are other tex format packages which call fmtutil in this
way, but if not, this may be a good way forward.

[tetex maintainers: haven't had a chance to check, but the bug report
about pdftex.ini being in tetex-extra: does this prevent tetex-bin
from being able to install?  It wouldn't surprise me if this is the
case, as fmtutil would normally abort if it can't build a format.
Maybe this is a partial solution to this aspect of that problem as
well.]

I'm happy to work on a patch for this, if necessary.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: