Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-26 Thread Aditya Mahajan via ntg-context
a of how to use palettes: https://github.com/adityam/visualcounter/blob/master/visualcounter.pdf Effectively all you need to do is add \setuppalet[name] at an appropriate place, and then the user can easily change the colors (rather than having them specified as par

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.04.2019 um 16:07: I found this code in ConTeXt (syst-aux.mkiv): \starttext \doloopoverlist {red,green,blue} { \setuppalet[\recursestring] \doloopoverlist {light,normal,dark} { \blackrule[color=\recursestring, width

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
reen,blue} { \setuppalet[\recursestring] \doloopoverlist {light,normal,dark} { \blackrule[color=\recursestring, width=\textwidth]\par } } \stoptext Is it intended that all nine lines are black? Many thanks for your help, Pablo -- http://www

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.04.2019 um 13:25: On 4/27/19 12:21 PM, Wolfgang Schuster wrote: Marcus Vinicius Mesquita schrieb am 27.04.2019 um 12:18: \definepalet[layout][grid=black] \setuppalet   [layout]   [grid=black] Many thanks, Marcus Vinicius and Wolfgang, for your replies

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 12:21 PM, Wolfgang Schuster wrote: > Marcus Vinicius Mesquita schrieb am 27.04.2019 um 12:18: >> \definepalet[layout][grid=black] > \setuppalet >   [layout] >   [grid=black] Many thanks, Marcus Vinicius and Wolfgang, for your replies. This is the only way it works:

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 27.04.2019 um 12:18: \definepalet[layout][grid=black] \setuppalet   [layout]   [grid=black] Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Exceptions to assignment syntax [was: Re: labeltext assignment]

2012-06-18 Thread Hans Hagen
}}% \fi} which then also supports: \setupcolors [x11] \definepalet [colorful] [primary=green] \definepalet [bleak] [primary=darkgray,colorful] \starttext \setuppalet [colorful] \color[primary]{Ain’t I a colorful entity?} \setuppalet [bleak] \color[primary]{Ain’t I a colorful entity

Re: [NTG-context] color conversion causes error with MPgraphic

2012-01-08 Thread Steffen Wolfrum
is the key to set either color is color or color is black again? i don't think mkiv has such an option (but maybe i'm wrong). how about defining some color palettes then? this should work with both marks. \definepalet[coloredtext][...] \setuppalet[coloredtext] \startmode[black

[NTG-context] playing colors more

2011-03-01 Thread Hans van der Meer
][ colorone=blue, colortwo=green %,colorthree=red ]\setuppalet[dvb]\showpalet[dvb][]\starttext\color[colorone]{hello} \quad\color[colortwo]{hello} \quad\stoptext test.pdf Description: Adobe PDF document test.pdf Description: Adobe PDF document

Re: [NTG-context] MkIV gray, no MkII black ?

2010-03-01 Thread Peter Rolf
[coloredtext][...] \setuppalet[coloredtext] \startmode[black] \definepalet[blacktext] [red=black, blue=black,...] \setuppalet[blacktext] \stopmode Best wishes, Peter Steffen ___ If your question is of interest

Re: [NTG-context] MkIV gray, no MkII black ?

2010-03-01 Thread Hans Hagen
with both marks. \definepalet[coloredtext][...] \setuppalet[coloredtext] \startmode[black] \definepalet[blacktext] [red=black, blue=black,...] \setuppalet[blacktext] \stopmode as colorspace info travels indepently you can say \attribute\colormodelattribute\attributeunsetvalue i'll add

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
] \setupmarking[name][options] \setupnarrower[options] \setupnumbering[options] \setupoppositeplacing[options] \setupoutput[names] \setuppagenumber[number][state=start|stop|keep] \setuppagenumbering[options] \setuppagetransitions[options] \setuppalet[name] \setuppaper[options] \setuppapersize[typesetting