CTAN has a new package: drac
1st public version This package provides the \DeclareRobustActChar macro the use of which is similar to the one of \DeclareRobustCommand but which protects the active character when it appears in a moving argument, see ltdefns.dtx in /latex/base. It provides also the \ReDeclareRobActChar macro which is to \DeclareRobustActChar as \renewcommand is to \newcommand. English and French documentations provided.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/drac . More information is at http://tug.ctan.org/pkg/drac (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 .
drac – Declare active character substitution, robustly
The package provides macros \DeclareRobustActChar and \ReDeclareRobActChar. One uses \DeclareRobustActChar in the same way one would use \DeclareRobustCommand; the macro \protects the active character when it appears in a moving argument.
\ReDeclareRobActChar redefines an active character previously defined with \DeclareRobustActChar, in the same way that \renewcommand works for ordinary commands.
|Copyright||2004, 2008 Josselin Noirel and Yvon Henel|