[NTG-context] backgroundcolor broken in 2006-06-07

Hans van der Meer hansm at science.uva.nl
Sat Jun 10 08:37:13 CEST 2006


This turns out to be a disaster for me.
Now all textext again comes out as "unknown".
Setting \forceMPTEXgraphictrue makes things worse, because now all  
graphics are replaced by the first one generated.
Is there any help?


On Jun 9, 2006, at 23:49, Hans van der Meer wrote:

>
> 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
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

met vriendelijke groet
Hans van der Meer





More information about the ntg-context mailing list