Pablo Rodriguez schrieb am 27.04.2019 um 16:07:
I found this code in ConTeXt (syst-aux.mkiv):
\starttext
\doloopoverlist {red,green,blue} {
\setuppalet[\recursestring]
\doloopoverlist {light,normal,dark} {
\blackrule[color=\recursestring, width=\textwidth]\par
}
}
\stoptext
Is it intended that all nine lines are black?
Yes, because there are no predefined palets with the names red, green or
blue.
\definepalet
[red]
[ light=lightred,
normal=middlered,
dark=darkred]
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
___________________________________________________________________________________