29 Jan
2012
29 Jan
'12
4:49 p.m.
On Jan 29, 2012, at 10:17 AM, Pablo Rodríguez
On 01/29/2012 01:05 PM, Wolfgang Schuster wrote:
[...]
The \type has to change the meaning of "\” to make it a normal symbol but when you use it with headcommand it is to late. A better command to show command is \tex{…} which appends a save version of "\” in front of the argument.
\definedescription[abc][headcommand=\tex] \starttext \abc{startext} not working \stoptext
Thanks for your reply, Wolfgang.
I'm afraid it doesn't work:
\definedescription[abc][headcommand=\tex] \starttext \abc{startext} not working \tex{stoptext} \stoptext
\tex{…} command works, but not if invoked from headcommand.
(untested) descriptions use titlecommand rather than headcommand. Aditya