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

Bug#64914: tetex-bin's fmtutil has no extensibility mechanism



From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>
Subject: Bug#64914: tetex-bin's fmtutil has no extensibility mechanism
Date: Mon, 19 Feb 2001 23:57:27 +0000

> fmtutil.wrapper:
> #! /bin/sh
> 
> unset TMPFILE
> trap 'test -n "$TMPFILE" && test -f "$TMPFILE" && rm -f "$TMPFILE"' \
>    0 1 2 3 7 13 15
> 
> TMPFILE=`mktemp -q /tmp/fmtutil.cnf.XXXXXX`
> if [ $? -ne 0 ]; then
>     echo "$0: Can't create temp file, exiting..."
>     exit 1
> fi
> cat /etc/texmf/fmtutil.cnf /etc/texmf/fmt.d/*.cnf >> $TMPFILE
> fmtutil --cnffile $TMPFILE

I found this thread today and I believe this is important
so should be fixed before woody release.

I prefer fmtutil.cnf is a file in system directory, not
$TMPFILE in /tmp because I want to investigate with what 
fmtutil.cnf the FMT files were generated.

So I think the following mechanism;
   tetex-bin puts 00tetex.cnf (or similar) in /etc/texmf/fmt.d
   jadetex put 10jadetex.cnf (or similar) in /etc/texmf/fmt.d
   ...
   then updatex-fmtutil script will do
   cat /etc/texmf/fmt.d/*.cnf > /etc/texmf/fmtutil.cnf 

> A similar thing will need to be done for texlinks.

then this is unnecessary???

The packages would call update-fmtutil before the call
for "fmtutil --byname" etc.

I could patch tetex-bin within this week if there is
no objection.

Best regards,			2002.3.18

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda@debian.org>
 Department of Math., Tokushima Univ.



Reply to: