On 5/21/2021 00:26, Wolfgang Schuster wrote:
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
Wolfgang and Aditya,
Thank you both for the lesson.
Is the difference between MkIV (--luatex) and LMTX due to stricter
application of expandability in LMTX?
--
Rik
___________________________________________________________________________________
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
___________________________________________________________________________________