Bug#64914: tetex-bin's fmtutil has no extensibility mechanism
Hello Christoph, Adam and Julian,
Now that I am finally trying to fix the bugs in the musixtex and opustex
packages related to this problem, I just experimented with the following
solution. Perhaps we can just add a few lines like this to tetex-bin's
postinst, perhaps after the call to texconfig?
$TEMPFILE='mktemp /tmp/WhateverYouWantToCallThis.XXXXXX'
for i in $(find /etc/texmf -name fmtutil.cnf -mindepth 2); do
fmtutil --cnffile $i --all >> $TEMPFILE
texlinks --cnffile $i --silent
done
The --silent tag is optional. It's your call. :-)
The "-mindepth 2" is to prevent from running fmtutil on
/etc/texmf/fmtutil.cnf again.
Hey, it works(TM), and I think this is perhaps the easiest solution for
everyone. This way, all I need to do is to add
/etc/texmf/musixtex/fmtutil.cnf
/etc/texmf/opustex/fmtutil.cnf
and fix the post{inst,rm} scripts for my packages,
and Adam's jadetex doesn't need to be changed at all.
Yes, I agree that this needs to be fixed by tetex-bin ASAP, and
definitely before Debian woody is released, especially since the *.fmt
files generated by potato's tetex packages cannot be used with woody's
tetex, and the following error shows up:
This is TeX, Version 3.14159 (Web2C 7.3.1)
(Fatal format file error; I'm stymied)
I was going to copy a paragraph from jadetex's README.Debian and ask
the user to run fmtutil manually, but then I realize that's no good.
I then check the tetex-bin bug reports, and I am so glad that you guys
have been discussing the very same issue too.
For more information, please see Bug#33107 filed by Julian <grin>
and Bug#77291 filed by Francois-Rene Rideau. Yes, I really want to
get rid of this "2 years and 13 days old" bug now. ;-)
Thanks,
Anthony
--
Anthony Fok Tung-Ling Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org University of Alberta, Canada
Debian GNU/Linux Chinese Project -- http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/
Reply to: