Changes

Jump to navigation Jump to search
m
Reverted edits by Garulfo (talk) to last revision by Usonianhorizon
}}
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>definepalet</syntax>
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
</table>
== Description ==
 
Define a set of color name definitions that can then all be activated at once with {{cmd|setuppalet}}. To inspect the palet, or to compare its colours against each other, use {{cmd|showpalet}} and {{cmd|comparepalet}}.
== Description =={{cmd|definepalet}} used to rely on a non-standard argument parser that wouldAllows onnot tolerate trailing commas [http://www.ntg.nl/pipermail/ntg-context/2012/067602.html]. This is no longer the-fly switching of whole sets of color name definitionscase, but sufficiently old installation might still exhibit the problem.
== Example ==
<texcodecontext source=yes>
\setupcolors [x11]
\definepalet [colorful] [primaryalert=green]\definepalet [bleak] [primaryalert=darkgray]
\starttext
\setuppalet [colorful]
\color[primaryalert]{Ain’t Ain't I a colorful entity?}
\setuppalet [bleak]
\color[primaryalert]{Ain’t Ain't I a colorful entity?}
\stoptext
</texcodecontext>
== See also ==
<!-- something like {{cmd|gotoColor navbox}} -->
== Help from ConTeXt-Mailinglist/Forum ==

Navigation menu