# [tex-live] Building the "TeX in Practice" format and saving it in a sensible location

David Carlisle d.p.carlisle at gmail.com
Sun Dec 2 20:51:16 CET 2018

```Phil

xetex --help

lists its command line arguments, one of which is --ini

On Sun, 2 Dec 2018 at 19:49, Philip Taylor <P.Taylor at rhul.ac.uk> wrote:
>
> I am endeavouring to build Stephan von Bechtolsheim's TeX in Practice format but having little success.  I tried initially :
>
> XeTeX ^&texip
>
> but was told :
>
> kpathsea: Running mktexfmt texip.fmt
>
> The command name is D:\TeX\Live\2018\Bin\win32\mktexfmt
> Running the command D:\TeX\Live\2018\Bin\win32\fmtutil-user.exe
> fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):
>
> fmtutil:   d:/tex/live/2018/texmf-dist/web2c/fmtutil.cnf
> fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:
> fmtutil:   c:/users/philip taylor.fujitsu-pc/.texlive2018/texmf-config/web2c/fmt
> util.cnf
> fmtutil [INFO]: writing formats under c:/users/philip taylor.fujitsu-pc/.texlive
> 2018/texmf-var/web2c
> fmtutil [INFO]: did not find entry for byfmt=texip, skipped
> fmtutil [INFO]: Disabled formats: 6
> fmtutil [INFO]: Not selected formats: 44
> fmtutil [INFO]: Total formats: 50
> fmtutil [INFO]: exiting with status 0
> Sorry, I can't find the format `texip.fmt'
>
> The last seemed reasonable, and "did not find entry for byfmt=texip" quite possible, so I then tried :
>
> XeTeX -i \input texipexp \dump
>
> for all variants of "-i" of which I could think ("-initex", "/i", "/initex" and so on ...).  None of these seemed able to tip XeTeX into iniTeX mode, and the command "iniXeTeX" was not found.
>
> How, please, should I build the "TeX in Practice" format ?  How do I persuade the system to write the format into \$TEXMFLOCAL rather than c:/users/philip taylor.fujitsu-pc/.texlive2018/texmf-var/web2c ?  And how does one interrogate XeTeX (or another TeX Live engine binary) to find out what command-line parameters and/or qualifiers it will accept ?
>
> --
> <Signature>
> Philip Taylor

```