ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* playing colors more
@ 2011-03-01 14:09 Hans van der Meer
  2011-03-01 14:11 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Hans van der Meer @ 2011-03-01 14:09 UTC (permalink / raw)
  To: NTG ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 503 bytes --]

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



[-- Attachment #1.2.1: Type: text/html, Size: 903 bytes --]

[-- Attachment #1.2.2: test.pdf --]
[-- Type: application/pdf, Size: 4962 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 147 bytes --]

[-- Attachment #1.2.4: test.pdf --]
[-- Type: application/pdf, Size: 4996 bytes --]

[-- Attachment #1.2.5: Type: text/html, Size: 162 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: playing colors more
  2011-03-01 14:09 playing colors more Hans van der Meer
@ 2011-03-01 14:11 ` Taco Hoekwater
       [not found]   ` <B57EC386-B363-4003-9C57-CD3835970A24@uva.nl>
  0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2011-03-01 14:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: playing colors more
       [not found]   ` <B57EC386-B363-4003-9C57-CD3835970A24@uva.nl>
@ 2011-03-01 14:52     ` Taco Hoekwater
  0 siblings, 0 replies; 3+ messages in thread
From: Taco Hoekwater @ 2011-03-01 14:52 UTC (permalink / raw)
  To: Hans van der Meer, mailing list for ConTeXt users

On 03/01/2011 03:43 PM, Hans van der Meer wrote:
> Oeps, I must have been spoiled by the \startxmlsetups where spaces at line end seem to be harmless.
>
> By the way, how can one get rid of the black bar under the color bars? It looks like a black background that has been shifted down somewhat.

I don't know (and yes, I get that bottom bar as well).

Best wishes,
Taco
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-01 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01 14:09 playing colors more Hans van der Meer
2011-03-01 14:11 ` Taco Hoekwater
     [not found]   ` <B57EC386-B363-4003-9C57-CD3835970A24@uva.nl>
2011-03-01 14:52     ` Taco Hoekwater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).