initexmf — MiKTeX configuration utility
initexmf
[option
...]
This utility can be run in two modes:
MiKTeX operates on user-scoped configuration and data files.
Only system-wide MiKTeX configuration and data files are modified, assuming that the MiKTeX setup is shared by all users. The utility must be run with administrator privileges.
By default, the utility runs in user mode. You can turn on
administrator mode with the --admin
option. For
example, if you want to update the system-wide file name database, you
invoke the utility as follows:
>
initexmf --admin --update-fndb
--admin
Run in administrator mode:
Operate on the system-wide MiKTeX configuration data store.
Install packages for all users.
Using this option requires a shared MiKTeX setup, i.e., MiKTeX must have been set up for all users. The program must be run with administrator privileges.
--default-paper-size=paper
Set the default paper size. paper
must be a4
or
letter
.
--disable-installer
Disable automatic installation of packages. Specifying this option overrules settings in the MiKTeX configuration data store.
--dump
Create all memory dump files.
--dump=name
Dump the specified memory dump file.
--edit-config-file=configfile
Open the specified config file in a text editor.
--enable-installer
Enable automatic installation of packages. Specifying this option overrules settings in the MiKTeX configuration data store.
--engine=engine
Engine to be used when generating format files.
--force
Force --mklinks
to overwrite existing
executables.
--list-formats
List all known formats.
--list-modes
List all known METAFONT modes.
--mklinks
Create all possible links.
--mklinks=category
Create links for the specified category
, which must be one of:
formats
Create links from format names to TeX engines. For
example, latex.exe
will become a link to
miktex-tex.exe
and invoking
latex.exe
will cause TeX to load the
format file latex.fmt
.
miktex
Create links from standard program names to miktex-
executables. For example, tex.exe
will
become a link to
miktex-tex.exe
.
scripts
Create executable links from script names to script
wrappers. For example, latexmk.exe
will
become a link to the internal Perl wrapper
runperl.exe
and invoking
latexmk.exe
will eventually execute the
Perl script latexmk.pl
.
--mkmaps
Build the font map files.
--print-only
Print what would be done. Nothing is changed.
--quiet
Suppress screen output.
--register-root=dir
Register a TEXMF root directory.
--remove-links
Remove the links which were created by --mklinks
.
--report
Write a MiKTeX configuration report.
--set-config-value=[section
]valuename
=value
Set a value to be stored in the MiKTeX configuration data store (see miktex.ini(5)).
--show-config-value=[section
]valuename
Print a value from the MiKTeX configuration data store (see miktex.ini(5)).
--unregister-root=dir
Unregister a TEXMF root directory.
--update-fndb
Refresh the whole file name database.
--update-fndb=dir
Refresh the file name database for a specific TEXMF tree.
--user-roots=directories
Register user root directories.
--verbose
Print information on what is being done.
--version
Print the version number and exit.