Aditya Mahajan schrieb am 21.05.2021 um 04:47:
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.

This is the better way to create unique color names but the problem
in the example was the use of \define instead of \defineexpandable.

\defineexpandable\HighlightColor{red}

Wolfgang
___________________________________________________________________________________
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