CTAN Comprehensive TeX Archive Network

CTAN update: texdef

Date: February 18, 2025 1:40:46 PM CET
Martin Scharrer submitted an update to the texdef package. Version: 1.10 2025-02-17 License: gpl3 Summary description: Display the definitions of TeX commands Announcement text:
Avoiding Perl warnings in newer versions. Thanks go to the reporters of this issue.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/texdef The package’s files themselves can be inspected at https://mirrors.ctan.org/support/texdef/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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.

Packagetexdef
Version1.10 2025-02-17
Copyright2011–2025 Martin Scharrer
MaintainerMartin Scharrer

Announcements

more

Guest Book Sitemap Contact Contact Author