LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

fmtutil-user

manage TeX formats and Metafont bases for the current user

TLDR

Rebuild all user-local formats
$ fmtutil-user --all
copy
Create missing user formats
$ fmtutil-user --missing
copy
Rebuild a single format under the user tree
$ fmtutil-user --byfmt pdflatex
copy
List user-visible format configuration
$ fmtutil-user --listcfg
copy

SYNOPSIS

fmtutil-user [OPTION]... [COMMAND]

DESCRIPTION

fmtutil-user is the per-user form of fmtutil. It writes format files under TEXMFVAR (for example ~/.texliveYYYY/texmf-var) and can read additional config from TEXMFCONFIG / TEXMFHOME. It is equivalent to fmtutil --user.User mode is only appropriate when formats must be private to one account (for example experimental engines under TEXMFHOME). For a normal single- or multi-user machine, fmtutil-sys is strongly preferred.Exactly one command is required. Options match fmtutil / fmtutil-sys.

PARAMETERS

--all

Recreate all format files in the user tree
--missing
Create all missing format files
--byfmt FORMAT
(Re)create format FORMAT
--byengine ENGINE
(Re)create formats built with ENGINE
--refresh
Recreate only existing format files
--listcfg
List format configurations
--enablefmt FORMAT[/ENGINE]
Enable FORMAT
--disablefmt FORMAT[/ENGINE]
Disable FORMAT
--cnffile FILE
Read alternate fmtutil.cnf
--dry-run, -n
Do not actually build formats
--quiet
Be silent
--version, --help
Show version or help and exit

INSTALL

sudo dnf install texlive
copy
sudo apk add texlive
copy
sudo zypper install texlive
copy
brew install texlive
copy

CAVEATS

Running fmtutil-user once causes user-tree formats to override system formats for that account forever after. Later fmtutil-sys or package updates will not be visible until you remove the generated files under TEXMFVAR/web2c (after backing them up) or re-run fmtutil-user whenever the system formats change. Prefer fmtutil-sys unless you understand this trade-off.

HISTORY

Introduced as an explicit counterpart to fmtutil-sys in TeX Live 2017 so bare fmtutil would no longer silently default to ambiguous tree selection.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid