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

2014-05-06 Thread Thomas Möbius
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 kont...@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. \eTD\eTR
 \bTR\bTD something \eTD\bTD 0. \eTD\eTR
 \bTR\bTD something \eTD\bTD 0. \eTD\eTR
 \bTR\bTD something \eTD\bTD 0. \eTD\eTR
 \bTR\bTD something \eTD\bTD 0. \eTD\eTR
 \bTR\bTD something \eTD\bTD 0. \eTD\eTR
 \bTR\bTD something \eTD\bTD 0. \eTD\eTR
 \bTR\bTD something \eTD\bTD 0. \eTD\eTR
 \eTABLE}

 \excursion \input knuth\input knuth\input knuth
 \input knuth

 \input knuth \input knuth \input knuth

 \stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___

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

2014-04-30 Thread Thomas Möbius
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. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\eTABLE}

\excursion \input knuth\input knuth\input knuth
\input knuth

\input knuth \input knuth \input knuth

\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___