On Jun 9, 2006, at 14:42, Taco Hoekwater wrote:
>
>
> Hans van der Meer wrote:
>> In the latest context version of 2006-06-7 coloring the background
>> seems
>> broken.
>> Reverting to the version 2006-05-28 remedied this, but I have no
>> intention of course, to freeze my system at that point.
>>
>> Here is a minimal example that colors the background in 2006-05-28
>> and
>> does not in 2006-06-07:
>>
>> \setupcolors[state=start]
>> \definetextbackground[showbkg][frame=off,location=text,
>> background=color,backgroundcolor=orange,backgroundoffset=0pt]
>> \starttext
>> tekst \startshowbkg background \stopshowbkg{} tekst.
>> \stoptext
>>
>> Can someone look into this? I am relying on this coloring!
>
> Backgrounds work ok here (on Linux).
THANKS for those who checked this on their system and found nothing
wrong. But that was bad news for me.
I switched back and force between the versions of 2006-05-28 and
2006-06-07 by replacing all context related files from cont-tmf.zip,
taking care to first remove all the old contents, regenerating the
formats afterwards. Definitely the 2006-05-28 works, the 2006-06-07
does not work here.
At the brink of giving up I thought it should be metapost related and
then found in cont-sys.tex some patches I had received earlier and
these now had to be taken out. So back to normal!
QUESTION: is the issue related to these patches now resolved from
version 2006-06-07 onwards?
These patches were:
"% PATCH FOR SUPPRESS "unknown"s IN METAPOST COMMUNICATION OF textext"
\unexpanded\def\startcolor
{\ifincolor
\expandafter\doglobalstartcolor
\else
\expandafter\noglobalstartcolor
\fi}
\unexpanded\def\stopcolor
{\ifincolor
\doglobalstopcolor
\else
\noglobalstopcolor
\fi}
and
"% PATCH FOR STANDALONE GRAPHICS WHERE textext WAS NOT WORKING"
\long\def\writecheckedMPgraphic#1%
{\ifforceMPTEXgraphic
\global\MPTEXgraphictrue
\else
\global\MPTEXgraphicfalse
\edef\ascii{#1}\convertcommand\ascii\to\MPascii
\the\MPTEXgraphicchecks\relax % \relax is end condition!
\fi
\flushMPTEXgraphic % verbatimtex etc
\writeMPgraphic{#1}}
Hans van der Meer
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context