> Am 14.01.2021 um 21:48 schrieb Henning Hraban Ramm :
>
>
>
>> Am 14.01.2021 um 16:58 schrieb Alan Bowen :
>>
>> The mwe
>>
>> \starttext
>> \setupcolors[state=stop]
>> {\darkred Test}
>>
>> \underbar{Here}
>> \sto
> Am 14.01.2021 um 16:58 schrieb Alan Bowen :
>
> The mwe
>
> \starttext
> \setupcolors[state=stop]
> {\darkred Test}
>
> \underbar{Here}
> \stoptext
>
> fails: “Here” does not appear above the underbar (which has the correct
> length).
>
> W
The mwe
\starttext
\setupcolors[state=stop]
{\darkred Test}
\underbar{Here}
\stoptext
fails: “Here” does not appear above the underbar (which has the correct
length).
When \setupcolors[state=stop] is commented out, the file runs as it should.
Alan
get a red square, but I want it to be gray, as in
the also provided LaTeX-document:
```tex
% ConTeXt MWE
\setupcolors[state=stop]
\usemodule[tikz]
\starttext
\tikz{\draw[color=red,fill] (0,0) rectangle (1,1)}
\stoptext
```
```
% LaTeX-document wich does what I want
provided LaTeX-document:
```tex
% ConTeXt MWE
\setupcolors[state=stop]
\usemodule[tikz]
\starttext
\tikz{\draw[color=red,fill] (0,0) rectangle (1,1)}
\stoptext
```
```
% LaTeX-document wich does what I want
\PassOptionsToPackage{gray}{xcolor}
\documentclass{article}
\usepackage{tikz}
\begin
\setupcolors[state=stop]
\usemodule[tikz]
\starttext
\tikz{\draw[color=red,fill] (0,0) rectangle (1,1)}
\stoptext
```
```
% LaTeX-document wich does what I want
\PassOptionsToPackage{gray}{xcolor}
\documentclass{article}
\usepackage{tikz}
\begin{document}
\tikz{\draw[color=red,fill] (0,0) rectangle
How can I convince TikZ to use ConTeXts colorhandling?
One of the relevant status variables is:
\c_colo_enabled
\ifcase\c_colo_enabled
yes
\else
no
\fi
assuming that _ is a character
I don't understand what you exactly want to tell me with this. I
\setupcolors[state=start]
\starttext
\startlinecorrection[blank]
\hbox
{\useMPgraphic{layout 1}\hskip1cm
\useMPgraphic{layout 2}}
\stoplinecorrection
\stoptext
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
shifted (0,5cm);
currentpicture:=currentpicture scaled 2 shifted (0,-8cm);
setbounds currentpicture to unitsquare xyscaled (6cm,8cm);
\stopuseMPgraphic
\setupcolors[state=start]
\starttext
\startlinecorrection[blank]
\hbox
{\useMPgraphic{layout 1}\hskip1cm
\useMPgraphic{layout 2}}
\stoplinecorrection
:=currentpicture scaled 2 shifted (0,-8cm);
setbounds currentpicture to unitsquare xyscaled (6cm,8cm);
\stopuseMPgraphic
\setupcolors[state=start]
\starttext
\startlinecorrection[blank]
\hbox
{\useMPgraphic{layout 1}\hskip1cm
\useMPgraphic{layout 2}}
\stoplinecorrection
\stoptext
10 matches
Mail list logo