Hlavní navigace

latex-ucs-discovermacro

NAME

latex-ucs-discovermacro - Discover which LaTeX package contains a missing macro

SYNOPSIS

latex-ucs-discovermacro \themissingmacro
latex-ucs-discovermacro mydocument.log
latex-ucs-discovermacro

DESCRIPTION

The ucs package uses many macros from many packages which have to be included with \usepackage before the inclusion of ucs.sty.
The missing macro can be given directly as parameter. Note that the backslash must be included, so with most shells you either need to quote it or write a double backslash (e. g. \cyrc or '\cyrc').
An alternative way is to give a LaTeX log file as parameter in which case the missing macros are parsed from it.
If no argument is given, the newest LaTeX log file in the current directory is used as default.

ALTERNATIVES

latex-ucs-discovermacro uses the data file ltxmacrs.txt which is human readable, thus can be used directly.
http://www.unruh.de/DniQ/cgi/discovermacro.cgi provides an online version of this script.