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

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 4:34 PM, Wolfgang Schuster wrote: >> [...] >> Is it intended that all nine lines are black? > > Yes, because there are no predefined palets with the names red, green or > blue. > > \definepalet >   [red] >   [ light=lightred, >    normal=middlered, > dark=darkred] Wolfgang,

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,

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

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 2:03 PM, Wolfgang Schuster wrote: > [...] > It's my fault, in this case there is only a single command to create and > change palet values. Many thanks for your explanation, Wolfgang. I found this code in ConTeXt (syst-aux.mkiv): \starttext \doloopoverlist {red,green,blue} {

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. This

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] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Marcus Vinicius Mesquita
\definepalet[layout][grid=black] On Sat, Apr 27, 2019, 07:04 Pablo Rodriguez wrote: > On 4/26/19 2:28 PM, Wolfgang Schuster wrote: > > [...] > > \showgrid highlights different page elements with colors but you can > > change the output > > > >

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

2019-04-27 Thread Pablo Rodriguez
On 4/26/19 2:28 PM, Wolfgang Schuster wrote: > [...] > \showgrid highlights different page elements with colors but you can > change the output > > https://www.mail-archive.com/ntg-context@ntg.nl/msg90312.html Hi Wolfgang, is there any way to get the lines from \showgrid in black instead of red?

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

2019-04-26 Thread Wolfgang Schuster
Otared Kavian schrieb am 26.04.2019 um 14:10: Dear all, When typesetting an old list of exercises, I noticed that when \showgrid is active and a luafunction is called, there is some unwanted and strange background colors (gray and blue, or yellow and blue). Thes background colors seems to

[NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-26 Thread Otared Kavian
Dear all, When typesetting an old list of exercises, I noticed that when \showgrid is active and a luafunction is called, there is some unwanted and strange background colors (gray and blue, or yellow and blue). Thes background colors seems to show up on an unfilled page when a lua function is