Re: [NTG-context] Text Colour

2011-08-31 Thread Kip Warner
On Wed, 2011-08-31 at 05:24 +0200, Wolfgang Schuster wrote:
 \setupcolors[textcolor=...]
 
 Wolfgang

Thanks Wolfgang, that did it.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Text Colour

2011-08-31 Thread Wolfgang Schuster

Am 31.08.2011 um 07:04 schrieb Alasdair McAndrew:

 This brings up a question I have - how do I obtain, say, all {\tt  } text in 
 blue and all {\em } text in red?  I seem to be using MkII, and I don't have 
 access to the \definehighlight command.

\definestartstop[emph][style=italic,color=red]
\definestartstop[mono][style=mono,color=blue]

\setupbodyfontenvironment[default][em=emph]

\starttext

text {\em text} text {\emph text} text \emph{text} text

text {\mono text} text \mono{text} text

\stoptext

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


[NTG-context] Text Colour

2011-08-30 Thread Kip Warner
Hey folks,

How do I set the body text foreground colour? I tried the following, but
it just ignored it:

\definecolor[colour_text][r=0.754,g=0.516,b=0.324]

\setupbodyfontenvironment
  [default]
  [em=italic,
   color=colour_text]

I don't want to have to use \startcolor and \stopcolor every time I wish
this default to be applied.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Text Colour

2011-08-30 Thread Alasdair McAndrew
Have you included

\setupcolors[state=start]

somewhere?

-Alasdair

On Wed, Aug 31, 2011 at 11:57 AM, Kip Warner k...@thevertigo.com wrote:

 Hey folks,

 How do I set the body text foreground colour? I tried the following, but
 it just ignored it:

 \definecolor[colour_text][r=0.754,g=0.516,b=0.324]

 \setupbodyfontenvironment
  [default]
  [em=italic,
   color=colour_text]

 I don't want to have to use \startcolor and \stopcolor every time I wish
 this default to be applied.

 --
 Kip Warner -- Software Engineer
 OpenPGP encrypted/signed mail preferred
 http://www.thevertigo.com


 ___
 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

 ___




-- 
Blog: http://amca01.wordpress.com
Web:  http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew
___
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
___

Re: [NTG-context] Text Colour

2011-08-30 Thread Wolfgang Schuster

Am 31.08.2011 um 03:57 schrieb Kip Warner:

 Hey folks,
 
 How do I set the body text foreground colour? I tried the following, but
 it just ignored it:
 
 \definecolor[colour_text][r=0.754,g=0.516,b=0.324]
 
 \setupbodyfontenvironment
  [default]
  [em=italic,
   color=colour_text]
 
 I don't want to have to use \startcolor and \stopcolor every time I wish
 this default to be applied.

\setupcolors[textcolor=...]

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


Re: [NTG-context] Text Colour

2011-08-30 Thread Kip Warner
On Wed, 2011-08-31 at 12:16 +1000, Alasdair McAndrew wrote:
 Have you included
 
 \setupcolors[state=start]
 
 somewhere?
 
 -Alasdair

Hey Alasdair. Sorry, I should have mentioned that I already have that
too.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Text Colour

2011-08-30 Thread Aditya Mahajan

On Tue, 30 Aug 2011, Kip Warner wrote:


Hey folks,

How do I set the body text foreground colour? I tried the following, but
it just ignored it:

\definecolor[colour_text][r=0.754,g=0.516,b=0.324]

\setupbodyfontenvironment
 [default]
 [em=italic,
  color=colour_text]

I don't want to have to use \startcolor and \stopcolor every time I wish
this default to be applied.


\definehighlight[emph][style=em,color=red]

\emph{...}

Aditya
___
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
___


Re: [NTG-context] Text Colour

2011-08-30 Thread Alasdair McAndrew
This brings up a question I have - how do I obtain, say, all {\tt  } text in
blue and all {\em } text in red?  I seem to be using MkII, and I don't have
access to the \definehighlight command.

Thanks,
Alasdair

On Wed, Aug 31, 2011 at 2:19 PM, Aditya Mahajan adit...@umich.edu wrote:

 On Tue, 30 Aug 2011, Kip Warner wrote:

  Hey folks,

 How do I set the body text foreground colour? I tried the following, but
 it just ignored it:

 \definecolor[colour_text][r=0.**754,g=0.516,b=0.324]

 \setupbodyfontenvironment
  [default]
  [em=italic,
  color=colour_text]

 I don't want to have to use \startcolor and \stopcolor every time I wish
 this default to be applied.


 \definehighlight[emph][style=**em,color=red]

 \emph{...}

 Aditya

 __**__**
 ___
 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 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/http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 __**__**
 ___




-- 
Blog: http://amca01.wordpress.com
Web:  http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew
___
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
___