From e67a7f1fda5f24658e799e163d2c3d181bcaa318 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Mon, 6 May 2013 20:04:51 +0200 Subject: add man page --- luaotfload-tool.rst | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 luaotfload-tool.rst (limited to 'luaotfload-tool.rst') diff --git a/luaotfload-tool.rst b/luaotfload-tool.rst new file mode 100644 index 0000000..13842e2 --- /dev/null +++ b/luaotfload-tool.rst @@ -0,0 +1,120 @@ +======================================================================= + luaotfload-tool +======================================================================= + +----------------------------------------------------------------------- + generate and query the Luaotfload font names database +----------------------------------------------------------------------- + +:Date: 2013-05-06 +:Copyright: GPL v2.0 +:Version: 2.2 +:Manual section: 1 +:Manual group: text processing + +SYNOPSIS +======================================================================= + +**luaotfload** [ -cfFiquvVh ] + +**luaotfload** --update [ --force ] [ --find ] [ --quiet ] [ --verbose ] + +**luaotfload** --find=filename [ --fuzzy ] [ --info ] + +**luaotfload** --flush-cache + +**luaotfload** --help + +**luaotfload** --version + +DESCRIPTION +======================================================================= + +luaotfload-tool accesses the font names database that is required by +the *Luaotfload* package. There are two general modes: **update** and +**query**. + ++ **update**: update the database or rebuild it entirely; ++ **query**: resolve a font name or display close matches. + +A third mode for clearing the lookup cache is currently experimental. + +Note that if the script is named ``mkluatexfontdb`` it will behave like +earlier versions (<=1.3) and always update the database first. Also, +the verbosity level will be set to 2. + +OPTIONS +======================================================================= + +update mode +----------------------------------------------------------------------- +--update, -u Update the database; indexes new fonts. +--force, -f Force rebuilding of the database; re-indexes + all fonts. + +query mode +----------------------------------------------------------------------- +--find= Resolve a font name; this looks up in + the database and prints the file name it is + mapped to. +--fuzzy, -F Show approximate matches to the file name if + the lookup was unsuccessful (requires ``--find``). +--info, -i Display basic information to a resolved font + file (requires ``--find``). + +lookup cache +----------------------------------------------------------------------- +--flush-cache Clear font name lookup cache (experimental). + +miscellaneous +----------------------------------------------------------------------- +--verbose=, -v Set verbosity level to *n* or the number of + repetitions of ``-v``. +--quiet No verbose output (log level set to zero). +--log=stdout Redirect log output to terminal (for database + troubleshooting). + +--version, -V Show version number and exit. +--help, -h Show help message and exit. + + +FILES +======================================================================= + +The font name database is usually located in the directory +``texmf-var/luatex-cache/generic/names/`` (``$TEXMFCACHE`` as set in +``texmf.cnf``) of your *TeX Live* distribution as +``luaotfload-names.lua``. The experimental lookup cache will be +created as ``luaotfload-lookup-cache.lua`` in the same directory. +Both files are safe to delete, at the cost of regenerating them with +the next run of *LuaTeX*. + +SEE ALSO +======================================================================= + +**luatex** (1), **lua** (1) + +* ``texdoc luaotfload`` to display the manual for the *Luaotfload* + package +* Luaotfload development ``_ +* LuaLaTeX mailing list ``_ +* LuaTeX ``_ +* ConTeXt ``_ +* Luaotfload on CTAN ``_ + +BUGS +======================================================================= + +Tons, probably. + +AUTHORS +======================================================================= + +*Luaotfload* is maintained by the LuaLaTeX dev team +(``__). +The fontloader code is provided by Hans Hagen of Pragma ADE, Hasselt +NL (``__). + +This manual page was written by Philipp Gesang +. + -- cgit v1.2.3