CTAN Update: texdef
This update includes the following changes: * Added --find, -f option to print location of the command sequence definitions. * Added several list options to list all command sequences (macros) which are defined by the given package(s) or class(es). Command sequences which are defined or modified by the LaTeX code or command option handling packages are filtered. More entries to the filter can be added by command line arguments. All these options are only defined for LaTeX and require the packages 'filehook' and 'currfile'.
This package is located at http://mirror.ctan.org/support/texdef . More information is at http://www.ctan.org/pkg/texdef (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Rainer Schöpf
texdef – Display the definitions of TeX commands
This (Perl) script displays the definitions of (La)TeX command sequences/macros. Various options allow the selection of the used class as well as package files and other factors that may influence the definition (before/after the preamble, inside an environment, …).
The script creates a temporary TeX file which is then compiled using (La)TeX to find the ‘\meaning’ of the command sequence. The result is formatted and presented to the user. Length or number command sequences (dimensions, \char…, count registers, …) are recognized and the contained value is also shown (using \the). Special definitions like protected macros are also recognized and the underlying macros are shown as well.
The script will show plain TeX definitions by default. LaTeX and ConTeXt are supported, including flavours (pdf(La)TeX, Lua(La)TeX, Xe(La)TeX, …). The flavour can be selected using a command line option, or via the script name: latexdef will use LaTeX as default, etc.
|Copyright||2011–2020 Martin Scharrer|
- 2020-09-29 CTAN update: texdef
- 2018-03-30 CTAN Update: texdef
- 2018-03-26 CTAN update: texdef
- 2017-12-10 CTAN Update: texdef
- 2012-05-15 CTAN Update: texdef
- 2012-05-08 CTAN update: texdef
- 2012-05-02 CTAN update: texdef
- 2012-04-30 CTAN Update: texdef