diff options
author | Karl Berry <karl@freefriends.org> | 2008-06-24 01:04:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-06-24 01:04:06 +0000 |
commit | 71a1e8b7bc4afa972869bc22f45431c77c4cb098 (patch) | |
tree | 3adcbdfc58f4849649ab671c16e6e4adbaf2f3b9 /Master/texmf-dist/tex/latex/etoolbox/etoolbox.def | |
parent | 334d61c188926ddbec6c60c3709d7470d60520c6 (diff) |
etoolbox 1.6 (23jun08)
git-svn-id: svn://tug.org/texlive/trunk@8958 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/etoolbox/etoolbox.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/etoolbox/etoolbox.def | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def new file mode 100644 index 00000000000..1684eec8b38 --- /dev/null +++ b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def @@ -0,0 +1,71 @@ +% $Id: etoolbox.def,v 1.6 2008/06/22 15:26:57 lehman stable $ + +\ProvidesFile{etoolbox.def}[2008/06/22 v1.6 etoolbox debug messages] + +\begingroup +\makeatletter +\@makeother\+ +\@makeother\- +\@makeother\= +\@makeother\> + +\long\gdef\etb@dbg@trce#1{\typeout{% + [debug] tracing \string#1\on@line}}% +\long\gdef\etb@dbg@init#1{\typeout{% + [debug] analyzing \detokenize\expandafter{\string#1}}}% +\gdef\etb@dbg@info#1{\typeout{% + [debug] ++ \csuse{etb@msg@i@#1}}}% +\gdef\etb@dbg@succ#1{\typeout{% + [debug] == \csuse{etb@msg@s@#1}}}% +\gdef\etb@dbg@fail#1{\typeout{% + [debug] -- \csuse{etb@msg@f@#1}}}% + +\gdef\etb@msg@ex{^^J[debug] -> }% +\gdef\etb@msg@br{^^J[debug]\@spaces} + +\gdef\etb@msg@i@def{% + control sequence is defined} +\gdef\etb@msg@i@mac{% + control sequence is a macro} +\gdef\etb@msg@i@prm{% + control sequence is a macro with parameters} +\gdef\etb@msg@i@prl{% + control sequence is a macro without parameters} +\xdef\etb@msg@i@pro{% + control sequence is a \string\protected\space macro} +\gdef\etb@msg@i@tok{% + macro can be retokenized cleanly} +\gdef\etb@msg@i@pat{% + search pattern found in replacement text} +\gdef\etb@msg@i@pos{% + patching possible} +\gdef\etb@msg@s@red{% + redefining macro now} +\gdef\etb@msg@s@ret{% + retokenizing macro now} +\gdef\etb@msg@f@def{% + control sequence is undefined or \@backslashchar relax} +\gdef\etb@msg@f@mac{% + control sequence is not a macro} +\gdef\etb@msg@f@tok{% + macro cannot be retokenized cleanly\etb@msg@ex + the macro may have been defined under a category\etb@msg@br + code regime different from the current one\etb@msg@ex + the replacement text may contain special control\etb@msg@br + sequence tokens formed with \@backslashchar + csname...\@backslashchar endcsname;\etb@msg@ex + the replacement text may contain carriage return,\etb@msg@br + newline, or similar characters} +\xdef\etb@msg@f@hsh{% + nested patching command and parameters in patch\noexpand\etb@msg@ex + the patching command seems to be nested in the\noexpand\etb@msg@br + argument to some other command\noexpand\etb@msg@ex + the patch text seems to contain \string# characters\noexpand\etb@msg@ex + either avoid nesting or use \string# characters with\noexpand\etb@msg@br + category code 12 in the patch text\noexpand\etb@msg@ex + simply doubling the \string# characters will not work} +\gdef\etb@msg@f@pat{% + search pattern not found in replacement text} + +\endgroup +\endinput |