Re: [NTG-context] How to write readable source files?

2021-05-30 Thread Nicola
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

Re: [NTG-context] Shading and transparency

2018-07-12 Thread Marco Patzer
; \setupbackgrounds [page] [background=color, backgroundcolor=lightgray] > > \starttext > > \startuseMPgraphic{test} > graycolor white; white := 1 ; > fill OverlayBox > withshademethod "linear" > withshadedirection shadedup > withshadef

Re: [NTG-context] Shading and transparency

2018-07-12 Thread Hans Hagen
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

[NTG-context] bad argument #1 to 'gsub'

2011-06-23 Thread Kip Warner
!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

Re: [NTG-context] Problem with chem module

2011-06-18 Thread Kip Warner
} \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

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Å uklje
} \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

Re: [NTG-context] gray scale conversion of colored text

2007-03-26 Thread Peter Rolf
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