CTAN Comprehensive TeX Archive Network

CTAN update: texdef

Date: May 2, 2012 8:26:31 PM CEST
the daemon distracts me from cleaning the dishes. oh dear... > The following information was provided by the package's contributor. > > Name of contribution: texdef > Author's name: Martin Scharrer > Package version: v1.6 > Location on CTAN: macros/latex/contrib/texdef/ > Summary description: Update to v1.6: Better source code and environment support. > License type: gpl > > > Announcement text given by the package's contributor: > ---------------------------------------------------------------------- > This updates improves the --source/-s option to follow `\let`s and to > support LaTeX environments. > > The new option --Environment/-E can be used to state that the given > command is an environment. > > Without -s this automatically adds the '\end<command>' command to the list. > This is also done if -s can't find a LaTeX environment definition > (e.g. \newenvironment etc.). thanks for the upload; i've installed the new version, and updated the catalogue repository. > Users may view the package catalogue entry at > http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/texdef.html > or they may browse the package directory at > http://www.tex.ac.uk/tex-archive/macros/latex/contrib/texdef/ The catalogue entry will change (somewhat) on the web, by tomorrow morning. Robin Fairbairns For the CTAN team

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.9 2020-09-27
Copyright2011–2020 Martin Scharrer
MaintainerMartin Scharrer

Announcements

more

Guest Book Sitemap Contact Contact Author