, 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
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
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
. 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
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
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
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
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
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
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
-
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
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
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
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
. 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
, 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
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
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
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
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
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
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}
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
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]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
... 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
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
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
... 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
:
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
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
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
={\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
[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
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
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
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 :
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]
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
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
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
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
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
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
,
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
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
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
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
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
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
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 -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-
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
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
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
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
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
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
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
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
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
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
.
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
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
[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
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
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
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
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
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
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
501 - 600 of 685 matches
Mail list logo