ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: playing colors
Date: Tue, 1 Mar 2011 14:37:39 +0100	[thread overview]
Message-ID: <B605791B-51F2-438E-9C6B-64D8B3E94E18@uva.nl> (raw)

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

Started for myself some learning on colors in ConTeXt. In the manual there is a nice colorpalette shown (section 6, page 141). However, I cannot reproduce this. The following minimal example shows colored texts, but \showcolor[color-name] just produces black boxes with ominous zeroes behind it.
What am I missing here? The wiki didn't procure more information then the manual.

Hans van der Meer

\setuppapersize[A5][A5]
\switchtobodyfont[20pt]
\starttext
\color[red]{hello} \quad
\color[green]{hello} \quad
\color[cyan]{hello} \quad
\showcolor[red]
\showcolor[green]
\showcolor[cyan]
\stoptext


[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 5217 bytes --]

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




[-- Attachment #4: 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
___________________________________________________________________________________

             reply	other threads:[~2011-03-01 13:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 13:37 Hans van der Meer [this message]
2011-03-01 15:25 ` Wolfgang Schuster
2011-03-01 16:28   ` Otared Kavian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B605791B-51F2-438E-9C6B-64D8B3E94E18@uva.nl \
    --to=h.vandermeer@uva.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).