25 Feb
2014
25 Feb
'14
5:43 p.m.
Dear list, I have the following sample: \definetype[TeXcode][option=TEX] \unexpanded\def\tex#1{\normalexpanded{\TeXcode{\letterbackslash#1}}} \definedescription[TeXcommand][width=fit,hang=fit,headcommand=\tex] \starttext Its logo can be invoked with \tex{ConTeXt}. But you can have different logos. \TeXcommand{ConTeXt} lowercase. \TeXcommand{CONTEXT} all caps. \TeXcommand{Context} small caps. \stoptext How should i redefine the headcommand value, so I can get headcommand with colored output? (I mean, so I get the same output as when invoking \tex{ConTeXt}.) Many thanks for your help, Pablo -- http://www.ousia.tk