![Где мне следует установить новый формат (файл .fmt) в TeX?](https://rvso.com/image/328800/%D0%93%D0%B4%D0%B5%20%D0%BC%D0%BD%D0%B5%20%D1%81%D0%BB%D0%B5%D0%B4%D1%83%D0%B5%D1%82%20%D1%83%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%B8%D1%82%D1%8C%20%D0%BD%D0%BE%D0%B2%D1%8B%D0%B9%20%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%82%20(%D1%84%D0%B0%D0%B9%D0%BB%20.fmt)%20%D0%B2%20TeX%3F.png)
У меня установлена вручную версия TeX web2c из пакетов texlive. Я использую Linux. Формат установлен для моего пользователя и работает, если я помещаю файл .fmt в ~/.texlive2014/texmf-var/web2c/tex/. Но я хочу установить формат для всех пользователей.
Некоторые переменные kpathsea в моей системе, которые должны быть полезны:
TEXMFMAIN=/opt/texlive/texmf-dist
TEXMFDIST=/opt/texlive/texmf-dist
TEXMFLOCAL=/opt/texmf-local
TEXMFSYSVAR=/opt/texlive/texmf-var
TEXMFSYSCONFIG=/opt/texlive/texmf-config
TEXMFVAR=/home/harry/.texlive2014/texmf-var
TEXMFCONFIG=/home/harry/.texlive2014/texmf-config
TEXMFHOME=/home/harry/texmf
VARTEXFONTS=/home/harry/.texlive2014/texmf-var/fonts
TEXMF={/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}
SYSTEXMF=/opt/texlive/texmf-var:/opt/texmf-local:/opt/texlive/texmf-dist
TEXMFDBS={!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}
WEB2C={/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}/web2c
TEXPSHEADERS=.:{/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}/{dvips,fonts/{enc,type1,type42,type3}}//
TEXCONFIG={/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}/dvips//
ENCFONTS=.:{/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}/fonts/enc//
TEXFONTMAPS=.:{/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}/fonts/map/{kpsewhich,pdftex,dvips,}//
Я пробовал установить файл в /opt/texmf-local/web2c/tex/, /opt/texlive/2014/texmf-dist/web2c/tex/ и /opt/texlive/texmf-var/web2c/tex/, но это не работает. TeX жалуется: «Я не могу найти файл формата».
Я также пробовал использовать «fmtutil-sys --all», но это не решает проблему.