On Thu, 20 May 2021, Rik Kabel wrote:

> Consider the following example:
> 
>    \define \HighlightColor {red}

Why not just use:

\definecolor[HighlightColor][red] 

and then use color=HighlightColor, etc.

>    \definehighlight[RED][color=\HighlightColor]
>    \definelabel[AA][alternative=inright,headcolor=\HighlightColor,text=]
>    \definelabel[BB][alternative=inright,headcolor=red,text=]
>    \noheaderandfooterlines
>    \starttext
>    \hsize3cm
>    Is the label red?\AA
> 
>    Is the label red?\BB
> 
>    \RED{Is this line red?}
>    \stoptext

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to