[tex-live] Having a .fmt for different engines

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Fri Jan 5 14:58:37 CET 2007

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:


fmtutil --engine xetex --byfmt cont-en
makes only


There are only small number of options compared to the script for Unix:

 --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

 --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

Best regards,

More information about the tex-live mailing list