% testing textbackgroundcolor
\setupcolors[state=start]
%
\definetextbackground[code][frame=off,location=paragraph,
	backgroundcolor=darkyellow,backgroundoffset=0pt]
\definetextbackground[boldcode][frame=off,location=paragraph,
	backgroundcolor=lightgreen,backgroundoffset=0pt]
%
\starttext
%
NESTING OF TEXTBACKGROUND ``LOCATION=PARAGRAPH''\blank
Following the patch of H.Hagen, 30.06.2004\par
Either virgin version 21.06.2004 or patch in \type{prop-ini.tex} installed
(see definition below).\par
{\tt\meaning\checkproperty}
\blank
%
\setupwhitespace[none]
No whitespace did: \type{\setupwhitespace[none]}.\par
Nested textbackgrounds: SHOWING EXTRA VERTICAL SPACE.\par
\starttextbackground[code]
abc\par
\starttextbackground[boldcode]
def\par
\stoptextbackground
ghi\par
\stoptextbackground
%
Subsequent textbackgrounds.\par
\starttextbackground[code]
abc\par
\stoptextbackground
\starttextbackground[boldcode]
cde\par
\stoptextbackground
\starttextbackground[code]
fgh\par
\stoptextbackground
Paragraph after.
\blank
%
\setupwhitespace[big]
With whitespace did: \type{\setupwhitespace[big]}.\par
Nested textbackgrounds.\par
\starttextbackground[code]
abc\par
\starttextbackground[boldcode]
def\par
\stoptextbackground
ghi\par
\stoptextbackground
%
Subsequent textbackgrounds.\par
\starttextbackground[code]
abc\par
\stoptextbackground
\starttextbackground[boldcode]
cde\par
\stoptextbackground
\starttextbackground[code]
fgh\par
\stoptextbackground
Paragraph after.
\blank
%
\stoptext