CTAN Comprehensive TeX Archive Network

CTAN update: texdef

Date: September 29, 2020 5:44:39 PM CEST
Martin Scharrer submitted an update to the texdef package. Version number: 1.9 2020-09-27 License type: gpl3 Summary description: Display the definitions of TeX commands Announcement text:
Changes: * Added support for develop versions of formats, e.g. 'latex-dev'. * Changed path printing format to native format of the used OS (e.g. under Windows file paths now have `\` instead of `/`)
This package is located at http://mirror.ctan.org/support/texdef More information is at https://www.ctan.org/pkg/texdef
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

texdef – Display the definitions of commands

This (Perl) script displays the definitions of 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 file which is then compiled using 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 definitions by default. and Cont are supported, including flavours (pdf, Lua, , …). The flavour can be selected using a command line option, or via the script name: latexdef will use as default, etc.

Version1.9 2020-09-27
Copyright2011–2020 Martin Scharrer
MaintainerMartin Scharrer



Guest Book Sitemap Contact Contact Author