quot; mp-base.mpiv
syn keyword mpNumExp graypart
syn keyword mpType graycolor greycolor
syn keyword mpConstant cyan magenta yellow
" mp-butt.mpiv
syn keyword mpDef predefinedbutton some_button
syn keyword mpConstant context_butt
" mp
; \setupbackgrounds [page] [background=color, backgroundcolor=lightgray]
>
> \starttext
>
> \startuseMPgraphic{test}
> graycolor white; white := 1 ;
> fill OverlayBox
> withshademethod "linear"
> withshadedirection shadedup
> withshadef
reference)
anyway, it helps to be in the same color space
\setupbackgrounds [page] [background=color, backgroundcolor=lightgray]
\starttext
\startuseMPgraphic{test}
graycolor white; white := 1 ;
fill OverlayBox
withshademethod "linear"
withsha
!bodyfont=7pt,
\c!background=\v!color,
\c!backgroundcolor=GrayColor,
\c!backgroundoffset=.25ex,
\c!frame=\v!off,
\c!before=,
\c!after=]
% Number formulae etc. using the chapter number...
\setupnumbering
[way=bychapter]
\setuppagenumbering
[\c!location=]
\setuptolerance
[\v
}
\def\startreality
{\blank
\page[\v!preference]
\begingroup}
\def\stopreality
{\relax
\endgroup
\blank}
\defineframedtext
[MiniFile]
[\c!width=25em,
\c!offset=0.25ex,
\c!bodyfont=7pt,
\c!background=\v!color,
\c!backgroundcolor=GrayColor,
\c!backgroundoffset=.25ex
}
\framedtext[settings]
\from[reference]
\getbuffer[name]
# \getfiguredimensionsonly
# \getmarking[name][options]
# \getvalue
# \getvariable
# \globalletvalue
\godown[dimension]
\goto{text}{text}[references]
\gotobox{text}[references]
\graycolor[text]
\grid[options]
# \gsaveXMLasdata
\hairline
\head
inside MP has the correct
gray value. Only the ConTeXt part always uses black as textcolor.
So my problem is, that want to use colored text in a non colored document.
Something like
\setupcolors[conversion=always]
\starttext
\setbox\scratchbox\hbox{An example text.}%
\bgroup\graycolor[cyan