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". Thanks again, Jörg On 9/10/10 4:06 PM, Wolfgang Schuster wrote:
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,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}] \startbackground
\startitemize[packed] \item First question \item Second question \item Third question \stopitemize
\stopbackground
\stoptext ---------end of first minimal example
This works in mk II, but not in mk IV. It seems that start/stopbackground has been deprecated (?). And replaced with \definetextbackground ? 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
to pack-rul.mkiv.
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565