ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* text with background does not break properly around float
@ 2014-04-30 10:24 Thomas Möbius
  2014-05-06 10:38 ` Thomas Möbius
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Möbius @ 2014-04-30 10:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: text with background does not break properly around float
  2014-04-30 10:24 text with background does not break properly around float Thomas Möbius
@ 2014-05-06 10:38 ` Thomas Möbius
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Möbius @ 2014-05-06 10:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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@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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-06 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-30 10:24 text with background does not break properly around float Thomas Möbius
2014-05-06 10:38 ` Thomas Möbius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).