Re: [NTG-context] how to color italics?

2008-09-23 Thread Steffen Wolfrum
Am 22.09.2008 um 15:00 schrieb Hans Hagen: > Taco Hoekwater wrote: >> >> Aditya Mahajan wrote: >>> Ah, so that is why it is lowlevel. I wonder why the following does >>> not >>> work. >>> >>> \setupbodyfontenvironment [default] >>> [em={\italic\color[red]}] >> >> The e

Re: [NTG-context] how to color italics?

2008-09-22 Thread Steffen Wolfrum
Am 22.09.2008 um 13:48 schrieb Thomas A. Schmitz: > > On Sep 22, 2008, at 1:24 PM, Steffen Wolfrum wrote: > >> It should be something like \Colorit{this} example: >> >> \def\Colorit{\it\color[magenta]} >> >> >> But this above never closes the italics, while ... >> >> \def\Colorit{\strut\groupedco

Re: [NTG-context] how to color italics?

2008-09-22 Thread Hans Hagen
Taco Hoekwater wrote: > > Aditya Mahajan wrote: >> Ah, so that is why it is lowlevel. I wonder why the following does not >> work. >> >> \setupbodyfontenvironment [default] >>[em={\italic\color[red]}] > > The em key is a bit extra extra special: it has to be either >

Re: [NTG-context] how to color italics?

2008-09-22 Thread Taco Hoekwater
Aditya Mahajan wrote: > > Ah, so that is why it is lowlevel. I wonder why the following does not > work. > > \setupbodyfontenvironment [default] >[em={\italic\color[red]}] The em key is a bit extra extra special: it has to be either 'italic' or 'slanted', everythin

Re: [NTG-context] how to color italics?

2008-09-22 Thread Aditya Mahajan
On Mon, 22 Sep 2008, Taco Hoekwater wrote: > Aditya Mahajan wrote: >> On Mon, 22 Sep 2008, Taco Hoekwater wrote: >> >>> Steffen Wolfrum wrote: But this above never closes the italics, while ... \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} ... gives an error. >>>

Re: [NTG-context] how to color italics?

2008-09-22 Thread Thomas A. Schmitz
On Sep 22, 2008, at 1:58 PM, Steffen Wolfrum wrote: > ... same problem as in Taco's proposal: the \it never stops > > > st. Then add grouping \define[1]\Colorit% {\color[magenta]{\bgroup\it #1\egroup}} ___ If yo

Re: [NTG-context] how to color italics?

2008-09-22 Thread Taco Hoekwater
Aditya Mahajan wrote: > On Mon, 22 Sep 2008, Taco Hoekwater wrote: > >> Steffen Wolfrum wrote: >>> But this above never closes the italics, while ... >>> >>> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} >>> >>> ... gives an error. >>> >>> >>> Someone can help? >> Worryingly lowlevel: >>

Re: [NTG-context] how to color italics?

2008-09-22 Thread Steffen Wolfrum
Am 22.09.2008 um 13:48 schrieb Thomas A. Schmitz: > > On Sep 22, 2008, at 1:24 PM, Steffen Wolfrum wrote: > >> It should be something like \Colorit{this} example: >> >> \def\Colorit{\it\color[magenta]} >> >> >> But this above never closes the italics, while ... >> >> \def\Colorit{\strut\groupedco

Re: [NTG-context] how to color italics?

2008-09-22 Thread Steffen Wolfrum
Am 22.09.2008 um 13:48 schrieb Taco Hoekwater: > Steffen Wolfrum wrote: >> >> But this above never closes the italics, while ... >> >> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} >> >> ... gives an error. >> >> >> Someone can help? > > Worryingly lowlevel: > > \def\emphasistypeface{\

Re: [NTG-context] how to color italics?

2008-09-22 Thread Aditya Mahajan
On Mon, 22 Sep 2008, Taco Hoekwater wrote: > Steffen Wolfrum wrote: >> >> But this above never closes the italics, while ... >> >> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} >> >> ... gives an error. >> >> >> Someone can help? > > Worryingly lowlevel: > > \def\emphasistypeface{\it\co

Re: [NTG-context] how to color italics?

2008-09-22 Thread Thomas A. Schmitz
On Sep 22, 2008, at 1:24 PM, Steffen Wolfrum wrote: > It should be something like \Colorit{this} example: > > \def\Colorit{\it\color[magenta]} > > > But this above never closes the italics, while ... > > \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} > > ... gives an error. > > > Someone

Re: [NTG-context] how to color italics?

2008-09-22 Thread Taco Hoekwater
Steffen Wolfrum wrote: > > But this above never closes the italics, while ... > > \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} > > ... gives an error. > > > Someone can help? Worryingly lowlevel: \def\emphasistypeface{\it\color[magenta]} Best wishes, Taco __

Re: [NTG-context] how to color italics?

2008-09-22 Thread Steffen Wolfrum
It should be something like \Colorit{this} example: \def\Colorit{\it\color[magenta]} But this above never closes the italics, while ... \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} ... gives an error. Someone can help? St. Am 22.09.2008 um 11:09 schrieb Steffen Wolfrum: > Hi,

[NTG-context] how to color italics?

2008-09-22 Thread Steffen Wolfrum
Hi, for making editing easier I'd like my italics (\em) to be in PDF typeset colored. Something like \setupem[color=blue] How can this be done? Steffen ___ If your question is of interest to others as well, plea