CTAN Update: texdef
This update fixes a Perl warning due to some deprecated syntax in the regular expression used. Thanks go to Paulo Cereda for providing a small patch and reporting the problem.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/texdef The package’s files themselves can be inspected at http://mirror.ctan.org/support/texdef/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
We are supported by the TeX users groups. Please join a users group; see https://www.tug.org/usergroups.html .
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.
Package | texdef |
Version | 1.9 2020-09-27 |
Copyright | 2011–2020 Martin Scharrer |
Maintainer | Martin Scharrer |