[tex-live] Having a .fmt for different engines
Gerben Wierda
Gerben.Wierda at rna.nl
Fri Jan 5 15:20:22 CET 2007
On Jan 5, 2007, at 14:58, Akira Kakuto wrote:
> Hi Jonathan,
>
>> The architecture is pretty much there to allow engine-specific
>> subdirs, and it seems like a sensible thing to do. If in a few years
>> time it proves to be redundant, it still won't be doing any harm.
>
> fmtutil in W32TeX saves formats in engine subdir.
> (Therefore, I and Staszek decided not to use it because of
> the consistency with TL.)
>
> My fmtutil.cnf is like
> ...
> # Context formats:
> cont-en pdftex cont-usr.tex --etex --8bit cont-en.ini
> cont-en aleph cont-usr.tex --etex cont-en.ini
> cont-en xetex cont-usr.tex --etex cont-en.ini
> ...
>
> fmtutil --byfmt cont-en
> makes all three cont-en.fmt's:
>
> $TEXMFMAIN/web2c/pdftex/cont-en.fmt
> $TEXMFMAIN/web2c/xetex/cont-en.fmt
> $TEXMFMAIN/web2c/aleph/cont-en.fmt
>
> while
> fmtutil --engine xetex --byfmt cont-en
> makes only
>
> $TEXMFMAIN/web2c/xetex/cont-en.fmt
>
> There are only small number of options compared to the script for Unix:
>
> Commands:
> --all recreate all format, base, mem files
> --missing create all missing format, base, mem files
> --byfmt formatname (re)create format for `formatname'
> `base' and `mem' files can also be created
> --byhyphen hyphenfile (re)create formats that depend on
> `hyphenfile'
> --showhyphen formatname print name of hyphenfile for format
> `formatname'
> --version show revision number
> --help show this message
>
> Options:
> --cnffile file set configfile for fmtutil
> default is `fmtutil.cnf'
> --fmtdir directory set destination directory for format files
> `directory' must be an absolute path
> default is $TEXMFMAIN/web2c/$engine
> --engine texengine specify the TeX engine (with --byfmt
> fmtname).
> --log save log file(s) in the TEMP directory
It looks as if this is based on an older fmtutil (no enable etc) and
for me it will be impossible to incorporate because my package scripts
rely on the newer options. As I understand the situation now,
unix-fmtutil will have subdir support as well.
G
More information about the tex-live
mailing list