[NTG-context] URLs: interaction, color/style, hyphenation (was: Re: Argument of \doswitchtotypeface has an extra })

2009-06-11 Thread Peter Münster
, no special color/style: \from[myURL] % same as \from, but \tt style: \url[myURL] % hyphenated without hyphens but no color/style/interaction: \hyphenatedurl{http://url.com/index.html} % interaction and color, but not hyphenated: \goto{http://url.com/index.html}[url(http://url.com/index.html)] \stoptext

Re: [NTG-context] ppchtex color

2009-05-13 Thread Hans Hagen
Alan BRASLAU wrote: i split ppchtex in mkii/mkiv (and included the fixes) so we can improve things eventually can you check if it still runs ok (beta zip on website) Hans Works correctly (bonds in red, atoms in black): \usemodule[chemic] \setupchemical[rulecolor=red] \starttext

Re: [NTG-context] ppchtex color

2009-05-13 Thread Alan BRASLAU
On Wednesday 13 May 2009 10:33:18 Hans Hagen wrote: Alan BRASLAU wrote: Works correctly (bonds in red, atoms in black): \usemodule[chemic] \setupchemical[rulecolor=red] \starttext \startchemical \chemical[ONE,SB,Z0][C] \stopchemical \stoptext However, the following

Re: [NTG-context] ppchtex color

2009-05-13 Thread Hans Hagen
. The following extension would also be useful: \usemodule[chemic] \starttext \startchemical \chemical[SIX,B,rulecolor=red,AU][] \stopchemical \stoptext in mkiv syntax that is: \defineprocessor[chemred][color=red] \startchemical \chemical[SIX,SB,C135,R,Z][chemred-A,chemred-C,chemred

[NTG-context] ppchtex color

2009-05-12 Thread Alan BRASLAU
No, ppchtex is not dead... I would like to use color. 1. color= and rulecolor= does not appear to be implemented (mkiv)... 2. how can one change the color of the bonds? 3. using \color[red]{} causes the text to be offset. minimal example: \setupcolors[state=start] \usemodule[chemic] \starttext

[NTG-context] color

2009-05-12 Thread Hans Hagen
Hi, just a note ... mkiv now defaults to color as nobody objected wolfgangs (if i remember right) request Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
Alan BRASLAU wrote: \startchemical \color[red]{\chemical[ONE,SB,Z0][C]} \stopchemical % text C is offset... add a % after the } (maybe we should ignore endofline, i.e. make a mkiv variant and extend/maintain

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
Alan BRASLAU wrote: No, ppchtex is not dead... I would like to use color. 1. color= and rulecolor= does not appear to be implemented (mkiv)... 2. how can one change the color of the bonds? 3. using \color[red]{} causes the text to be offset. minimal example: \setupcolors[state=start

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
Alan BRASLAU wrote: No, ppchtex is not dead... I would like to use color. 1. color= and rulecolor= does not appear to be implemented (mkiv)... 2. how can one change the color of the bonds? 3. using \color[red]{} causes the text to be offset. minimal example: \setupcolors[state=start

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
Alan BRASLAU wrote: No, ppchtex is not dead... i split ppchtex in mkii/mkiv (and included the fixes) so we can improve things eventually can you check if it still runs ok (beta zip on website) Hans -

Re: [NTG-context] ppchtex color

2009-05-12 Thread Alan BRASLAU
color suggestions.) Alan ___ 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

Re: [NTG-context] ppchtex color

2009-05-12 Thread Alan BRASLAU
i split ppchtex in mkii/mkiv (and included the fixes) so we can improve things eventually can you check if it still runs ok (beta zip on website) Hans Works correctly (bonds in red, atoms in black): \usemodule[chemic] \setupchemical[rulecolor=red] \starttext \startchemical

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
will now look into your color suggestions.) color should work ok (that is: color=red, and rulecolor=red) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

[NTG-context] overprint color setting not working

2009-04-23 Thread Fengnan
Hi, dear all, This small test file will go wrong under the newest beta, which I updated a hour ago. Here is the file. \setupcolors[state=start,overprint=yes] \starttext test file test file. \stoptext Is overprint function abondoned? Fengnan

Re: [NTG-context] Page background color. Does not cover the entire page.

2009-04-17 Thread Yanrui Li
. The amount of space above, below, to the left and to the right was different. Here is my preamble. Can you suggest what I can do so that the whole page has the chosen green background color. Thanks very much. Hi, Curiouslearn, Generally speaking, many printers can't print a page without white

Re: [NTG-context] Page background color. Does not cover the entire page.

2009-04-17 Thread Hans Hagen
, below, to the left and to the right was different. Here is my preamble. Can you suggest what I can do so that the whole page has the chosen green background color. -- print on larger paper and cut off the edges -- make your layout a bit smaller and cut off the edges only professional print

Re: [NTG-context] Page background color. Does not cover the entire page.

2009-04-17 Thread John Devereux
at four ends. The amount of space above, below, to the left and to the right was different. Here is my preamble. Can you suggest what I can do so that the whole page has the chosen green background color. -- print on larger paper and cut off the edges -- make your layout a bit smaller and cut off

Re: [NTG-context] Page background color. Does not cover the entire page.

2009-04-17 Thread Curiouslearn
Wow! Thanks for the reply. It is interesting the kind of things when using Context or for that matter any typesetting system. I thought I chose the letter size for my layout and I am printing it on a letter size paper. Also, the PDF shows green everywhere. Hence, getting the color on whole page

[NTG-context] ConTeXt color=red!40!yellow

2009-04-05 Thread Mojca Miklavec
Hello, I might be dreaming already, but on last Tuesday (I don't know which version though) this code kept generating orange balls in ConTeXt MKII: \shade[ball color=red!40!yellow] (0,0) circle (.15cm); Now I get a black one. Has anything with respect to color handling mechanisms changed

Re: [NTG-context] MP color and interaction (alpha)

2009-01-12 Thread Hans Hagen
Peter Rolf wrote: Hi, seems that color support is also broken in case of interaction. I get no red frame for the attached example. solved - Hans Hagen | PRAGMA ADE

[NTG-context] MP color and interaction (alpha)

2009-01-08 Thread Peter Rolf
Hi, seems that color support is also broken in case of interaction. I get no red frame for the attached example. Best wishes, Peter \setupcolors[state=start] \setupinteraction[state=start] \starttext \definesymbol[no][] \definefield[check-me][check][setup3][yes,no][no] \setupfield[setup3][n

Re: [NTG-context] color test not working

2008-11-22 Thread Hans Hagen
Alan STONE wrote: On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors}

Re: [NTG-context] color test not working

2008-11-22 Thread Alan STONE
On Sat, Nov 22, 2008 at 1:06 PM, Hans Hagen [EMAIL PROTECTED] wrote: ok, fixed; will be in end-of-december release End of *december* ? Best, Alan ___ If your question is of interest to others as well, please add

Re: [NTG-context] color test not working

2008-11-21 Thread Alan STONE
On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone [EMAIL PROTECTED]wrote: Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors} \blank[3*big] \showcolor[rgb] \page \midaligned{\tfb \bf XWI colors} \blank[3*big]

Re: [NTG-context] color test not working

2008-11-21 Thread Alan STONE
On Fri, Nov 21, 2008 at 1:02 PM, Alan STONE [EMAIL PROTECTED]wrote: FYI, this currently doesn't work under Windows XP with ConTeXt ver: 2008.11.10 21:40 MKIV fmt: 2008.11.21 int: english/english Output in attachement. By the way, I installed the latest context-setup-mswin.zip

Re: [NTG-context] color test not working

2008-11-21 Thread Yue Wang
Hi: Ummm... Same here with LuaTeX (It is ok here two or three days ago). MKII works fine. So I always keep a production release (ver 2005.01.31 with pdfeTeX 3.141592-1.21a-2.2) to process our journal and use the cutting edge for fun :-) Yue On Fri, Nov 21, 2008 at 12:02 PM, Alan STONE [EMAIL

[NTG-context] Color rendering transparency with metapost

2008-10-31 Thread Renaud Aubin
Hi, I have some trouble using a gradient background (solid) with a transparent element : \startMPinclusions def test_shade (expr a, b) = pickup pencircle scaled 1mm ; color ca ; ca := \MPcolor{a} ; color cb ; cb := \MPcolor{b} ; color cc ; cc := \MPcolor{c} ; sh

Re: [NTG-context] Color rendering transparency with metapost

2008-10-31 Thread Renaud Aubin
Thank Luigi for your response, the problem is that the background color rendering isn't the same if you comment out or not the following line : draw fullcircle scaled 10cm shifted (0cm,0.25*\overlayheight) withcolor transparent(1,0.5,white) withpen pencircle scaled 2cm; After some experiments

Re: [NTG-context] Color rendering transparency with metapost

2008-10-31 Thread Renaud Aubin
I must add that I have defined the a color with cmyk. Renaud Aubin a écrit : Thank Luigi for your response, the problem is that the background color rendering isn't the same if you comment out or not the following line : draw fullcircle scaled 10cm shifted (0cm,0.25*\overlayheight

Re: [NTG-context] Color rendering transparency with metapost

2008-10-31 Thread luigi scarso
On Sat, Nov 1, 2008 at 2:06 AM, Renaud Aubin [EMAIL PROTECTED] wrote: Thank Luigi for your response, the problem is that the background color rendering isn't the same if you comment out or not the following line : draw fullcircle scaled 10cm shifted (0cm,0.25*\overlayheight) withcolor

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 em key is a bit extra extra

[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

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 can help

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\color[magenta

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{\it\color[magenta

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\groupedcommand\it\color

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 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: \def\emphasistypeface

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 your

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. Someone can help

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', everything

[NTG-context] how to color footnote?

2008-09-22 Thread Steffen Wolfrum
... while dealing with colored elements: having the footnote number (down in front of the footnote text) in dark green is not that bad, just, why can't it be colored in an other way? I tried in vain both in \setupfootnotes and \setupfootnotedefinition: numbercolor, color... Only

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 'italic

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\groupedcommand\it\color

[NTG-context] how to color footnote?

2008-09-22 Thread Steffen Wolfrum
... while dealing with colored elements: having the footnote number (down in front of the footnote text) in dark green is not that bad, just, why can't it be colored in an other way? I tried in vain both in \setupfootnotes and \setupfootnotedefinition: numbercolor, color... Only

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

2008-09-22 Thread Taco Hoekwater
: numbercolor, color... Only \setupfootnotes[textcolor=magenta] affects the footnote number in the main text. But nothing changes in the footnote area. \setupfootnotedefinition[before={\color[green]}] Best wishes, Taco

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

2008-09-22 Thread Steffen Wolfrum
in \setupfootnotes and \setupfootnotedefinition: numbercolor, color... Only \setupfootnotes[textcolor=magenta] affects the footnote number in the main text. But nothing changes in the footnote area. \setupfootnotedefinition[before={\color[green]}] Ahh, now I see where my problem lays: \setupcolors

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

2008-09-22 Thread Aditya Mahajan
On Mon, 22 Sep 2008, Steffen Wolfrum wrote: Ahh, now I see where my problem lays: \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext Despite the fact

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

2008-09-22 Thread Steffen Wolfrum
={\color[green]}] test\footnote{test} \stoptext Despite the fact that interaction carries its own color, elements can be re-colored by their own color definition (see above). Only the number of the note in front of the footnote text always gets overridden by interaction color! Because

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

2008-09-22 Thread Aditya Mahajan
[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext Despite the fact that interaction carries its own color, elements can be re-colored by their own color definition (see above). Only the number of the note in front of the footnote text always gets

Re: [NTG-context] color test not working

2008-09-14 Thread Peter Münster
On Sat, Sep 13 2008, Alan Stone wrote: All give a blackwhite output, except the rgb (somecolor): and (somecolor)*: ones No problem here. Versions: [EMAIL PROTECTED]:~ context --version MtxRun | current version: 2008.09.10 14:01 [EMAIL PROTECTED]:~ pdftex --version pdfTeX 3.1415926-1.40.9-2.2

Re: [NTG-context] color test not working

2008-09-14 Thread Yue Wang
Hans fix this program one week ago. On Sun, Sep 14, 2008 at 5:04 AM, Alan Stone [EMAIL PROTECTED] wrote: Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors} \blank[3*big] \showcolor[rgb] \page

Re: [NTG-context] color test not working

2008-09-14 Thread Alan Stone
Thanks guys. Updating... Best, Alan ___ 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 :

[NTG-context] color test not working

2008-09-13 Thread Alan Stone
Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors} \blank[3*big] \showcolor[rgb] \page \midaligned{\tfb \bf XWI colors} \blank[3*big] \showcolor[xwi] \page \midaligned{\tfb \bf EMA colors} \blank[3*big] \showcolor[ema]

Re: [NTG-context] Verbatim with color background

2008-09-07 Thread Aditya Mahajan
On Fri, 5 Sep 2008, Hans Hagen wrote: B. Tommy Jensen wrote: On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example that shows where it goes wrong? The example

Re: [NTG-context] Verbatim with color background

2008-09-07 Thread Aditya Mahajan
On Sun, 7 Sep 2008, Aditya Mahajan wrote: On Fri, 5 Sep 2008, Hans Hagen wrote: B. Tommy Jensen wrote: On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example

Re: [NTG-context] Verbatim with color background

2008-09-06 Thread Hans Hagen
B. Tommy Jensen wrote: On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example that shows where it goes wrong? The example I used is shown below. Other

Re: [NTG-context] Verbatim with color background

2008-09-04 Thread Hans Hagen
B. Tommy Jensen wrote: Hi, I have a short question about verbatim areas (\starttyping): I have been trying to define a background color to verbatim areas in a document. My method so far is to define a textbackground named verbatim and refer to this in the setuptyping method

Re: [NTG-context] Verbatim with color background

2008-09-04 Thread B. Tommy Jensen
On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example that shows where it goes wrong? The example I used is shown below. Other observations are: - The code

[NTG-context] Verbatim with color background

2008-09-03 Thread B. Tommy Jensen
Hi, I have a short question about verbatim areas (\starttyping): I have been trying to define a background color to verbatim areas in a document. My method so far is to define a textbackground named verbatim and refer to this in the setuptyping method: \setuptyping[typing][margin=0.5cm,bodyfont

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-02 Thread Wolfgang Schuster
, frame=on, %add background=color, location=text, color=blue] \starttext \starttextbackground[highlight] This text should have yellow background but it is white. The text is however blue. \stoptextbackground \stoptext

[NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Johan Sandblom
What would be the drawback of allowing backgroundcolor=n imply background=color and backgroundscreen=x imply background=screen in the setup to \framed. Background compatibility should not be an issue and I am failing to imagine cases where it would not be desirable. Regards, Johan -- Johan

Re: [NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Wolfgang Schuster
On Tue, Sep 2, 2008 at 11:27 AM, Johan Sandblom [EMAIL PROTECTED] wrote: What would be the drawback of allowing backgroundcolor=n imply background=color and backgroundscreen=x imply background=screen in the setup to \framed. Background compatibility should not be an issue and I am

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-02 Thread Wolfgang Schuster
On Tue, Sep 2, 2008 at 12:55 PM, B. Tommy Jensen [EMAIL PROTECTED] wrote: On Tue, 02 Sep 2008 11:08:36 +0200, Wolfgang Schuster [EMAIL PROTECTED] wrote: Do you have other ideas? Is metapost or MPtoPDF called, take a in your terminal, dou you have the metafun format and do you use MkII

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-02 Thread B. Tommy Jensen
On Tue, 02 Sep 2008 00:18:40 +0200, Mojca Miklavec [EMAIL PROTECTED] wrote: % \setupcolors[state=start] \definetextbackground[highlight][backgroundcolor=yellow, frame=on, %add background=color, location=text

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-02 Thread B. Tommy Jensen
On Tue, 02 Sep 2008 11:08:36 +0200, Wolfgang Schuster [EMAIL PROTECTED] wrote: Do you have other ideas? Is metapost or MPtoPDF called, take a in your terminal, dou you have the metafun format and do you use MkII (texexec ...) or MkIV (context ...). Wolfgang Thanks a lot for pointing

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-02 Thread B. Tommy Jensen
On Tue, 02 Sep 2008 13:08:56 +0200, Wolfgang Schuster [EMAIL PROTECTED] wrote: Sorry for being a novice here; is it so that the texexec utility should be consiered as obsolete? But MkII should work too. Try texexec --make metafun --alone and now texexec myfile. Wolfgang Thanks -

[NTG-context] Color in math in MkIV

2008-09-02 Thread Aditya Mahajan
Hi, The color commands do not work inside math mode in MKIV. For example $f(\color[blue]{A}) = b$ $f({\blue A}) = b$ come out black and $f(\blue{A}) = b$ colors everything blue. I have an easy work around for the moment: \unprotected\def\mathcolor[#1]#2% {\preparebinrel{#2} [EMAIL

Re: [NTG-context] Color in math in MkIV

2008-09-02 Thread Hans Hagen
Aditya Mahajan wrote: Hi, The color commands do not work inside math mode in MKIV. For example $f(\color[blue]{A}) = b$ $f({\blue A}) = b$ come out black and $f(\blue{A}) = b$ colors everything blue. I have an easy work around for the moment: \unprotected\def\mathcolor[#1]#2

Re: [NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Peter Rolf
Johan Sandblom schrieb: What would be the drawback of allowing backgroundcolor=n imply background=color and backgroundscreen=x imply background=screen in the setup to \framed. Background compatibility should not be an issue and I am failing to imagine cases where it would

Re: [NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Hans Hagen
Peter Rolf wrote: Johan Sandblom schrieb: What would be the drawback of allowing backgroundcolor=n imply background=color and backgroundscreen=x imply background=screen in the setup to \framed. Background compatibility should not be an issue and I am failing to imagine cases where

Re: [NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Johan Sandblom
So perhaps as expected it turns out that the limitation was only in my imagination. Thanks for the responses. Johan 2008/9/2 Hans Hagen [EMAIL PROTECTED]: Peter Rolf wrote: Johan Sandblom schrieb: What would be the drawback of allowing backgroundcolor=n imply background=color

Re: [NTG-context] \framed[backgroundcolor=x] might imply \framed[background=color]

2008-09-02 Thread Peter Rolf
of it]) :D Johan 2008/9/2 Hans Hagen [EMAIL PROTECTED]: Peter Rolf wrote: Johan Sandblom schrieb: What would be the drawback of allowing backgroundcolor=n imply background=color and backgroundscreen=x imply background=screen in the setup to \framed. Background compatibility should

[NTG-context] Missing background color with \definetextbackground

2008-09-01 Thread B. Tommy Jensen
Hi, I am strugglig to get the background color visible with the following code: % \setupcolors[state=start] \definetextbackground[highlight][backgroundcolor=yellow, frame=on, location=text, color=blue] \starttext

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-01 Thread Aditya Mahajan
On Tue, 2 Sep 2008, B. Tommy Jensen wrote: Hi, I am strugglig to get the background color visible with the following code: % \setupcolors[state=start] \definetextbackground[highlight][backgroundcolor=yellow, background=color

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-01 Thread Mojca Miklavec
On Tue, Sep 2, 2008 at 12:06 AM, B. Tommy Jensen [EMAIL PROTECTED] wrote: Hi, I am strugglig to get the background color visible with the following code: % \setupcolors[state=start] \definetextbackground[highlight][backgroundcolor=yellow

Re: [NTG-context] Background color of sometxt ignored

2008-08-31 Thread Hans Hagen
Aditya Mahajan wrote: Hi, In 2008.08.18 14:00 MKIV the background color of sometxt is ignored. I used to use this trick to unfill the background while drawing a label, but it no longer works (It used to work a month ago). Bug or feature? \unprotected\definetextext[parbox

[NTG-context] Background color of sometxt ignored

2008-08-30 Thread Aditya Mahajan
Hi, In 2008.08.18 14:00 MKIV the background color of sometxt is ignored. I used to use this trick to unfill the background while drawing a label, but it no longer works (It used to work a month ago). Bug or feature? \unprotected\definetextext[parbox] {\framed [ frame=off

Re: [NTG-context] Background color of sometxt ignored

2008-08-30 Thread Aditya Mahajan
On Sat, 30 Aug 2008, Aditya Mahajan wrote: Hi, In 2008.08.18 14:00 MKIV the background color of sometxt is ignored. I used to use this trick to unfill the background while drawing a label, but it no longer works (It used to work a month ago). Bug or feature? It works if I add

Re: [NTG-context] color in drawoptions (mplib)

2008-06-12 Thread Hans Hagen
Taco Hoekwater wrote: -extra_endfig := ;draw _tt_p_; extra_endfig ; +extra_endfig := ;addto currentpicture also _tt_p_; extra_endfig; subtle ... fixed Hans - Hans Hagen | PRAGMA

Re: [NTG-context] color in drawoptions (mplib)

2008-06-12 Thread Peter Rolf
Hans Hagen schrieb: Taco Hoekwater wrote: -extra_endfig := ;draw _tt_p_; extra_endfig ; +extra_endfig := ;addto currentpicture also _tt_p_; extra_endfig; subtle ... fixed yep! works again. thank you! Hans -

Re: [NTG-context] color in drawoptions (mplib)

2008-06-12 Thread Taco Hoekwater
Peter Rolf wrote: hi, just encountered an expansion problem with color inside drawoptions... The patch below fixes this issue. Best wishes, Taco --- /opt/tex/texmf-local/metapost/context/base/mp-mlib.mp.orig 2008-05-12 12:14:46.0 +0200 +++ /opt/tex/texmf-local/metapost/context

[NTG-context] Background color spaning columns.

2008-03-03 Thread Bart Wise
I am trying change the background color of some text. It works fine if I am using one column. It also works fine if I am using multiple columns, but restricting my background color changes to only a single line of text in a column. However, if I have a section that I want to I change

Re: [NTG-context] Background color spaning columns.

2008-03-03 Thread Aditya Mahajan
On Mon, 3 Mar 2008, Bart Wise wrote: I am trying change the background color of some text. It works fine if I am using one column. It also works fine if I am using multiple columns, but restricting my background color changes to only a single line of text in a column. I have encountered

Re: [NTG-context] color expansion at runtime

2007-12-17 Thread Taco Hoekwater
Peter Rolf wrote: I have written such a macro, but sadly it crashes when used inside \color or \definecolor. Tried to debug it, but this is my first experience with the trace commands (probably not the best example to start with). Sigh, still so much to learn.. :) The problem

Re: [NTG-context] color expansion at runtime

2007-12-17 Thread Peter Rolf
Taco Hoekwater schrieb: Peter Rolf wrote: I have written such a macro, but sadly it crashes when used inside \color or \definecolor. Tried to debug it, but this is my first experience with the trace commands (probably not the best example to start with). Sigh, still so much to learn

Re: [NTG-context] color expansion at runtime

2007-12-15 Thread Wolfgang Schuster
like this \color[{\StateDependentColor[stateA=green,stateC=blue,whatever=yellow,...]}] If flag 'stateA' is true at runtime, then color 'green' is used (and so on; order is significant). I have written such a macro, but sadly it crashes when used inside \color or \definecolor. Tried to debug

Re: [NTG-context] color expansion at runtime

2007-12-15 Thread Peter Rolf
an example. I need something like this \color[{\StateDependentColor[stateA=green,stateC=blue,whatever=yellow,...]}] If flag 'stateA' is true at runtime, then color 'green' is used (and so on; order is significant). I have written such a macro, but sadly it crashes when used inside \color

Re: [NTG-context] color expansion at runtime

2007-12-15 Thread Wolfgang Schuster
style dependent part inside them. To give you an example. I need something like this \color[{\StateDependentColor[stateA=green,stateC=blue,whatever=yellow,...]}] If flag 'stateA' is true at runtime, then color 'green' is used (and so on; order is significant). I have written

[NTG-context] color expansion at runtime

2007-12-14 Thread Peter Rolf
Hi, I desperately need runtime defined colors (state dependent) for my macros. The macros are used with different graphic styles, which is the reason why I want to avoid any style dependent part inside them. To give you an example. I need something like this \color[{\StateDependentColor[stateA

Re: [NTG-context] color expansion at runtime

2007-12-14 Thread Thomas A. Schmitz
something like this \color [{\StateDependentColor[stateA=green,stateC=blue,whatever=yellow,...]}] If flag 'stateA' is true at runtime, then color 'green' is used (and so on; order is significant). I have written such a macro, but sadly it crashes when used inside \color or \definecolor

Re: [NTG-context] color expansion at runtime

2007-12-14 Thread Peter Rolf
. To give you an example. I need something like this \color [{\StateDependentColor[stateA=green,stateC=blue,whatever=yellow,...]}] If flag 'stateA' is true at runtime, then color 'green' is used (and so on; order is significant). I have written such a macro, but sadly it crashes when used

[NTG-context] odd background color behavior

2007-09-02 Thread Alan Bowen
I am using ConTeXt ver: 2007.08.29 19:19 MKII fmt and the pdftex engine \definetextbackground[A][backgroundcolor=red] \setuptextbackground [backgroundoffset=0pt, offset=0pt, frame=off, location=text, background=color, backgroundcorner=round] gives a yellow background

Re: [NTG-context] odd background color behavior

2007-09-02 Thread Alan Bowen
[A][backgroundcolor=red] \setuptextbackground [backgroundoffset=0pt, offset=0pt, frame=off, location=text, background=color, backgroundcorner=round] gives a yellow background and \definetextbackground[A][backgroundcolor=yellow] gives a gray background. Any suggestions about to fix

[NTG-context] color expansion (not colo-new related)

2007-08-30 Thread Peter Rolf
Hi all, I tried to seperate some style specific code to external variables. Most things work so far, but the expansion of color causes me problems. I must emphasize that this is no colo-new problem, as my code fails with the old colo-ini too. I have tried several things, but still no luck. What

Re: [NTG-context] color expansion (not colo-new related)

2007-08-30 Thread Hans Hagen
Peter Rolf wrote: Hi all, I tried to seperate some style specific code to external variables. Most things work so far, but the expansion of color causes me problems. I must emphasize that this is no colo-new problem, as my code fails with the old colo-ini too. I have tried several things

Re: [NTG-context] color expansion (not colo-new related)

2007-08-30 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi all, I tried to seperate some style specific code to external variables. Most things work so far, but the expansion of color causes me problems. I must emphasize that this is no colo-new problem, as my code fails with the old colo-ini too. I have

[NTG-context] Contrast color in \setupinteraction

2007-06-04 Thread Vyatcheslav Yatskovsky
Hello, I use \setupcolors[state=start] \setupinteraction[state=start] and after I place the contents somewhere, the links that refer to the same page where the content is are red but others are green. I want them to be just the same. I found that \setupinteraction[state=start, color

[NTG-context] Colour (color) in mathml

2007-01-31 Thread Duncan Hothersall
Hello. I'm trying to implement part of a change-tracking system using colour to highlight changed areas in a document. I use MathML for maths, and I need to be able to apply colour to individual elements in an equation. I thought I could do just simply mi color=greenx/mi but evidently

[NTG-context] Context, Metapost \sometxt and color

2006-12-02 Thread Wim Neimeijer
Hi The following used to work, the text came out in the color red, now it is shown in black. Am I doing something wrong here ? Or should I use something else instead ? Any help appreciated % example code \setupcolors[state=start] \starttext \startMPcode picture p; p := \sometxt{$R_{\mu

<    1   2   3   4   5   6   7   >