From 1b3162caee237cc39f55ba9521b0406394f0245d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 15 May 2012 23:31:11 +0000 Subject: texdef (15may12) git-svn-id: svn://tug.org/texlive/trunk@26420 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/support/texdef/README | 14 +++++++++----- Master/texmf-dist/doc/support/texdef/texdef.pdf | Bin 143473 -> 247009 bytes 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/support/texdef/README b/Master/texmf-dist/doc/support/texdef/README index a79a310db20..bf4b0af8230 100644 --- a/Master/texmf-dist/doc/support/texdef/README +++ b/Master/texmf-dist/doc/support/texdef/README @@ -1,8 +1,5 @@ texdef -- Show definitions of TeX commands - -This perl script shows the definition of (La)TeX commands in a similar way as `\show`. - -Version 1.6 -- 2012/05/02 +Version 1.7b -- 2012/05/15 Copyright (C) 2011-2012 Martin Scharrer This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under certain conditions; @@ -17,6 +14,7 @@ Options: --tex , -t : Use given format of TeX: 'tex', 'latex', 'context'. Variations of 'tex' and 'latex', like 'luatex', 'lualatex', 'xetex', 'xelatex' are supported. The default is given by the used program name: 'texdef' -> 'tex', 'latexdef' -> 'latex', etc. + --source, -s : Try to show the original source code of the command definition (L). --value, -v : Show value of command instead (i.e. \the\command). --Environment, -E : Every command name is taken as an environment name. This will show the definition of both \Macro\foo and \Macro\endfoo if \texttt{foo} is used as command name (L). @@ -37,7 +35,6 @@ Options: The can be arbitray TeX code and doesn't need be be balanced. --find, -f : Find file where the command sequence was defined (L). --Find, -F : Show full filepath of the file where the command sequence was defined (L). - --source, -s : Try to show the original source code of the command definition (L). --list, -l : List user level command sequences of the given packages (L). --list-defs, -L : List user level command sequences and their shorten definitions of the given packages (L). --list-all, -ll : List all command sequences of the given packages (L). @@ -48,6 +45,13 @@ Options: --pgf-Keys, -K : Takes commands as pgfkeys and displays their definitions. Keys must use the full path. --version, -V : If used alone prints version of this script. (L) Together with -p or -c prints version of LaTeX package(s) or class, respectively. + --edit : Opens the file holding the macro definition. Uses --Find and --source. (L) + If the source definition can not be found the definition is printed as normal instead. + --editor : Can be used to set the used editor. If not used the environment variables TEXDEF_EDITOR, EDITOR and + SELECTED_EDITOR are read in this order. If none of these are set a list of default + editors are tried. The string can include '%f' for the filename, '%n' for + the line number and '%%' for a literal '%'. If no '%' is used '+%n %f' is added to + the given command. --tempdir : Use given existing directory for temporary files. --help, -h : Print this help and quit. diff --git a/Master/texmf-dist/doc/support/texdef/texdef.pdf b/Master/texmf-dist/doc/support/texdef/texdef.pdf index c5a2d9d1b4f..b5710d67daf 100644 Binary files a/Master/texmf-dist/doc/support/texdef/texdef.pdf and b/Master/texmf-dist/doc/support/texdef/texdef.pdf differ -- cgit v1.2.3