Re: [NTG-context] white color turns black inside a table

2009-09-14 Thread Hans Hagen
Mojca Miklavec wrote: Hello, I have problems with the following minimal example (I only want to typeset white labels inside the table), but maybe I'm the only one again: \setupcolors[state=start] \starttext \startcolor[white] \placetable[force]{none}{\starttable[|r|] \NC \colo

Re: [NTG-context] white color turns black inside a table

2009-09-14 Thread Mojca Miklavec
tcolor[white] > > \placetable[force]{none}{\starttable[|r|] >        \NC \color[red]{me} \AR > \stoptable} > > \placetable[force]{none}{\def\a#1{\color[white]{#1}}\starttable[|r|l|] >        \NC \a{one} \NC \a{one} \AR >        \NC \a{two} \NC \a{two} \AR > \stoptable} >

[NTG-context] white color turns black inside a table

2009-09-14 Thread Mojca Miklavec
Hello, I have problems with the following minimal example (I only want to typeset white labels inside the table), but maybe I'm the only one again: \setupcolors[state=start] \starttext \startcolor[white] \placetable[force]{none}{\starttable[|r|] \NC \color[red]{me} \AR \stop

Re: [NTG-context] What color is "screen"?

2009-08-19 Thread Mojca Miklavec
On Wed, Aug 19, 2009 at 17:59, Wolfgang Schuster wrote: > > Am 19.08.2009 um 17:47 schrieb Mojca Miklavec: > >> Hello, >> >> a half-philosophical question (not too relevant). >> >> I was wondering: what color exactly is the "screen" >> (\fra

Re: [NTG-context] What color is "screen"?

2009-08-19 Thread Wolfgang Schuster
Am 19.08.2009 um 17:47 schrieb Mojca Miklavec: Hello, a half-philosophical question (not too relevant). I was wondering: what color exactly is the "screen" (\framed[background=screen]{...})? Or is it a special effect maybe? screen are gray scales, e.g. gray is defined as \define

[NTG-context] What color is "screen"?

2009-08-19 Thread Mojca Miklavec
Hello, a half-philosophical question (not too relevant). I was wondering: what color exactly is the "screen" (\framed[background=screen]{...})? Or is it a special effect maybe? I know that using it has long been deprecated, but I used it in many older documents as it was easiest t

Re: [NTG-context] URLs: interaction, color/style, hyphenation

2009-06-15 Thread Hans Hagen
Peter Münster wrote: On Thu, 11 Jun 2009, Peter Münster wrote: Here a general test-file with all possibilities to print URLs, that I'm aware of: \setupinteraction[state=start] \useURL[myURL][http://url.com/index.html] \starttext \hsize1pt % hyphen introduced in url, no special color/

Re: [NTG-context] URLs: interaction, color/style, hyphenation

2009-06-15 Thread Peter Münster
On Thu, 11 Jun 2009, Peter Münster wrote: > Here a general test-file with all possibilities to print URLs, that I'm > aware of: > > \setupinteraction[state=start] > \useURL[myURL][http://url.com/index.html] > \starttext > \hsize1pt > % hyphen introduced in url, no

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

2009-06-11 Thread Peter Münster
tart] \useURL[myURL][http://url.com/index.html] \starttext \hsize1pt % hyphen introduced in url, 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 c

Re: [NTG-context] ppchtex color

2009-05-13 Thread Hans Hagen
nally OK. 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][chemre

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 > > > > > > Ho

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 \startchemica

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
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 | The

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 Alan BRASLAU
will now look into your 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-conte

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 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[s

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[s

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/mai

[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

[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] \usemod

[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 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

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

2009-04-17 Thread John Devereux
white space >> left 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 th

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 will

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 pa

[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 chang

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-23 Thread Hans Hagen
Alan STONE wrote: > 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* ? maybe a few betas before that, but regular releases come with two month intervals Hans

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 a

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] > > wrote: > > Hi, > > \setupcolors[state=start] > > \setupcolor[rgb] > \setupcolor[xwi] > \setupcolor[ema] > > \starttext > > \midaligned{\tfb \bf RGB

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

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.zip1

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} >

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*\over

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*

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 experi

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

2008-10-31 Thread luigi scarso
On Sat, Nov 1, 2008 at 1:38 AM, Renaud Aubin <[EMAIL PROTECTED]> wrote: > 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 ; &g

[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] 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] >&

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

2008-09-22 Thread Aditya Mahajan
s[state=start] >>> >>> \starttext >>> >>> \setupinteraction[state=start] >>> >>> \setupfootnotes[textcolor=magenta] >>> >>> \setupfootnotedefinition[before={\color[green]}] >>> test\footnote{test} >>> >&g

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

2008-09-22 Thread Steffen Wolfrum
teraction[state=start] >> >> \setupfootnotes[textcolor=magenta] >> >> \setupfootnotedefinition[before={\color[green]}] >> test\footnote{test} >> >> \stoptext >> >> Despite the fact that interaction carries its own color, elements can >> be re-c

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

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

2008-09-22 Thread Steffen Wolfrum
an other >> way? >> >> I tried in vain both in \setupfootnotes and \setupfootnotedefinition: >> numbercolor, color... >> Only \setupfootnotes[textcolor=magenta] affects the footnote number >> in >> the main text. >> >> But nothing changes in the

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

2008-09-22 Thread Taco Hoekwater
and \setupfootnotedefinition: > numbercolor, color... > Only \setupfootnotes[textcolor=magenta] affects the footnote number in > the main text. > > But nothing changes in the footnote area. \setupfootnotedefinitio

[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...

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

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 bi

[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...

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 &#

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\grou

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}} _

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 er

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

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

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

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]\/

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[m

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: >

[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

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 : h

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 Peter Münster
On Sat, Sep 13 2008, Alan Stone wrote: > All give a black&white 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

[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 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

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? >>>

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? >&

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 be

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

[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][ma

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

2008-09-02 Thread Peter Rolf
say most times) aware 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 >

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

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 co

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 t

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 aroun

[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] 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". > > Wo

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 p

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 >

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

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 compatibi

[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] Missing background color with \definetextbackground

2008-09-02 Thread Wolfgang Schuster
rt] >>> \definetextbackground[highlight][backgroundcolor=yellow, >>> frame=on, >> >> %add >> background=color, >> >>> location=text, >>> color=blue] >>> \starttext >>> \starttextbackground[highlight] >>>

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[hi

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,

[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] 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? > > \unpro

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 featur

[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] 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/metapos

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; >> extra_beginfig := extra_beginfig & "resettextexts;"; > > after this fix you need to do > > ctxtools --touch > con

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; > extra_beginfig := extra_beginfig & "resettextexts;"; after this fix you need to do ctxtools --touch context --make otherwise the mplib form

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

[NTG-context] color in drawoptions (mplib)

2008-06-12 Thread Peter Rolf
hi, just encountered an expansion problem with color inside drawoptions... % engine=luatex \starttext \startuniqueMPgraphic{foo} begingroup save c ; color c[] ; c0:= red; drawoptions(withcolor c0); fill OverlayBox; endgroup; \stopuniqueMPgraphic \defineoverlay[foo

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

2008-03-03 Thread Bart Wise
Thanks for the insight. I'll give it a try with columnsets. Bart On Monday March 3 2008, Aditya Mahajan wrote: > 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

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 > col

[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, and

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

<    1   2   3   4   5   6   7   8   >