16 Dec
2005
16 Dec
'05
8:18 p.m.
Radhelorn wrote:
Hello All!
There is intresting macros in cont-new -- shortcuts. It works pretty well, but I have one question: how to undefine them back?
For example after command:
\defineshortcut [//] [] [style=\em]
I can get slash only by \textslash (which is expected) and it breaks things like:
\typefile {some/dir/file}
So how to revert to previous meaning of '/'? It is possible to do it only temporarily?
Explicit \start a /b/ c \stop style grouping is normally best, but a shortcut is just an active character with a closing defimiter, so this will work for you special case: \catcode`\/=\other \typefile {some/dir/file} \catcode`\/=\active Cheers, taco