[NTG-context] framed text backgrounds in enumerations disappear in figuretexts

Matthias Weber matweber at indiana.edu
Sat Feb 13 16:38:28 CET 2010


Sure. But that is of course not want I want.

Matthias


On Feb 13, 2010, at 10:29 AM, mpg wrote:

> Matthias Weber escribió:
>> Dear all,
>>
>> I have set up enumerations with framed backgrounds, and when I  
>> place these into a figuretext, the frame+background disappear.
>> The problem occurs both in mk2 and mk4. In mk4, you can also see  
>> the unexpected indent I mentioned in my previous email.
>>
>> Example below.
>>
>> Thanks,
>> Matthias
>>
>>
>>
>> \setupbodyfont[12pt]
>>
>> \setupcolors[state=start]
>>
>> \setupcolor[rgb]
>>
>> \definecolor[defc] [r=.9,g=.9,b=.94]
>>
>> \definetextbackground    [defbackground]
>>                    [backgroundcolor=defc,
>>                    corner=round,
>>                    before=\blank,
>>                    after=\blank,
>>                    leftoffset=5pt,
>>                    rightoffset=5pt,
>>                    topoffset=5pt,
>>                    bottomoffset=5pt,
>>                    frame=on,
>>                    framecolor=darkred,
>>                    location=paragraph,
>>                    color=darkred]
>>
>>
>> \defineenumeration        [blurb]
>>                    [before={\starttextbackground[defbackground]},
>>                    after={\stoptextbackground},
>>                    text=Blurb,
>>                    way=bysection,
>>                    location=hanging,
>>                    letter=rm]
>>
>>
>> \starttext
>>
>>
>> \startblurb
>> This is working.
>> \stopblurb
>>
>>
>>
>> \startfiguretext
>> [right]{none}{\externalfigure[cow][width=2in]}
> \stopfiguretext
>
>
>> \startblurb
>> Where is my frame?
>> \stopblurb
>>
>>
>> \stoptext
>>
>>
>>
>>
>>
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an  
>> entry to the Wiki!
>>
>> maillist : ntg-context at 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
>> ___________________________________________________________________________________
>>
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list