CTAN Comprehensive TeX Archive Network

CTAN Update: texdef

Date: May 15, 2012 9:18:57 PM CEST
On Tue, 15 May 2012 Martin Scharrer submitted an update to the texdef package. Summary description: Source support for TeX definition macros. License type: gpl Announcement text:
Added --source/-s support for the following definition macros: \chardef, \countdef, \dimendef, \mathchardef, \muskip, \skipdef, \toksdef, \newbox, \newcount, \newdimen, \newif, \newinsert, \newmuskip, \newread, \newskip, \newtoks, \newwrite.
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 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.8a 2018-03-28
Copyright2011–2018 Martin Scharrer
MaintainerMartin Scharrer

Announcements

more

Guest Book Sitemap Contact Contact Author