On Tue, 2 Sep 2008, B. Tommy Jensen wrote:
> Hi,
> I am strugglig to get the background color visible with the following code:
>
> %----------------------------------------------------
> \setupcolors[state=start]
> \definetextbackground[highlight][backgroundcolor=yellow,
background=color,%<--- Add this
> frame=on,
> location=text,
> color=blue]
> \starttext
> \starttextbackground[highlight]
> This text should have yellow background but it is white.
> The text is however blue.
> \stoptextbackground
> \stoptext
> %-------------------------------------------------
Add background=color to \definetextbackground
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________