Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Wolfgang Schuster
Am 10.09.2010 um 16:52 schrieb Jörg Hagmann: > Thank you, Wolfgang. I added the line > "\setnewconstant\backgroundsplit\zerocount" to pack-rul.mkiv, AND IT WORKED! > This leaves the (not vital for me) question why minimal example 2 (using > "setuptextbackground") produces that funny background

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
Thank you, Wolfgang. I added the line "\setnewconstant\backgroundsplit\zerocount" to pack-rul.mkiv, AND IT WORKED! This leaves the (not vital for me) question why minimal example 2 (using "setuptextbackground") produces that funny background with the same commands as in "setupbackground". Tha

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Hans Hagen
On 10-9-2010 4:06, Wolfgang Schuster wrote: The reason is simpler, Hans replaced in MkIV many \newcounter and \chardef definitions with real counters and forgot for the background macros to add \setnewconstant\backgroundsplit\zerocount actually i forgot to change a couple of them into \backgr

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Wolfgang Schuster
Am 10.09.2010 um 16:01 schrieb Jörg Hagmann: > Ok, I narrowed it down: > > ---First minimal example--- > \setupcolors[state=start] > > \starttext > > \setupbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
Ok, I narrowed it down: ---First minimal example--- \setupcolors[state=start] \starttext \setupbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,righto

[NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
Could somebody please tell me why this minimal example works in mk II but not in mk IV -- and what I have to change? Thanks very much, Jörg -minimal example \definestartstop[Questions][before={\setupbackground[background=color,backgroundcolor=lightgray,co