Why is the second color in the palet not showing up? I foolowed the example in the manual (section 6 page 6). Strange: adding a third color in the palet (see comment) now shows the first two! Off by one error in a loop? Hans van der Meer \setuppapersize[A5][A5] \switchtobodyfont[20pt] \definepalet[dvb][ colorone=blue, colortwo=green %,colorthree=red ] \setuppalet[dvb] \showpalet[dvb][] \starttext \color[colorone]{hello} \quad \color[colortwo]{hello} \quad \stoptext
On 03/01/2011 03:09 PM, Hans van der Meer wrote:
Why is the second color in the palet not showing up? I foolowed the example in the manual (section 6 page 6). *Strange: adding a third color in the palet (see comment) now shows the first two!* Off by one error in a loop?
Try what happens if you do not have a space after the last color's name. Best wishes, Taco
participants (2)
-
Hans van der Meer
-
Taco Hoekwater