[NTG-context] text with background does not break properly around float

Thomas Möbius kontakt at thomasmoebius.de
Tue May 6 12:38:20 CEST 2014


Has really no one an idea how to solve this problem? It is driving me crazy...

Thanks for any help.

Thomas


2014-04-30 12:24 GMT+02:00 Thomas Möbius <kontakt at thomasmoebius.de>:
> Dear ConTeXt list,
>
> text that has some background attached to it, does not properly break
> if a float appears on the same page. How to work around it?
>
> ---minimal example---
> \starttext
>
> \chapter {Bsaoteh}
>
> \defineenumeration
>     [excursion]
>     [text=Excursion,
>     listtext={Excursion~},
>     counter=theorem,
>     before={\blank\startbackground},
>     after={\stopbackground\blank}]
>
> \input knuth
> \input knuth
> \input knuth
>
> \placetable
>     [here]
>     [tab:bala]
>     {Blaoesunthaoeusatoheu saohusaoteh asotehu asoehu aseohu}{
> \bTABLE
>
> \setupTABLE[frame=off]
> \setupTABLE[r][first][topframe=on,rulethickness=1.3pt]
> \setupTABLE[r][2][topframe=on]
> \setupTABLE[r][last][bottomframe=on,rulethickness=1.3pt]
>
> \setupTABLE[c][each][align=left]
> \setupTABLE[c][1][align=right]
> \setupTABLE[c][1][width=.7\textwidth]
> \setupTABLE[c][2][width=.2\textwidth]
>
> \bTR\bTD something \eTD\bTD 0.0000 \eTD\eTR
> \bTR\bTD something \eTD\bTD 0.0000 \eTD\eTR
> \bTR\bTD something \eTD\bTD 0.0000 \eTD\eTR
> \bTR\bTD something \eTD\bTD 0.0000 \eTD\eTR
> \bTR\bTD something \eTD\bTD 0.0000 \eTD\eTR
> \bTR\bTD something \eTD\bTD 0.0000 \eTD\eTR
> \bTR\bTD something \eTD\bTD 0.0000 \eTD\eTR
> \bTR\bTD something \eTD\bTD 0.0000 \eTD\eTR
> \eTABLE}
>
> \excursion \input knuth\input knuth\input knuth
> \input knuth
>
> \input knuth \input knuth \input knuth
>
> \stoptext


More information about the ntg-context mailing list