* How to "terminate" or break from a side float?
@ 2017-09-04 22:22 Alan Braslau
2017-09-04 23:01 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Alan Braslau @ 2017-09-04 22:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
Below is a MWE achieving the desired behavior, but is a messy solution.
Given a side float, how can one "terminate" filling text or break to after the side float?
There *must* be a very simple and proper command to do this, but I have not found it.
Alan
\starttext
\startplacefigure [location={left,none}]
\framed [width=.3\textwidth,height=.3\textwidth] {}
\stopplacefigure
\input ward
\startplacefigure [location={force,none}]
(this forces a break)
\stopplacefigure
\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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to "terminate" or break from a side float?
2017-09-04 22:22 How to "terminate" or break from a side float? Alan Braslau
@ 2017-09-04 23:01 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2017-09-04 23:01 UTC (permalink / raw)
To: ntg-context
On 9/5/2017 12:22 AM, Alan Braslau wrote:
> Hi,
>
> Below is a MWE achieving the desired behavior, but is a messy solution.
>
> Given a side float, how can one "terminate" filling text or break to after the side float?
> There *must* be a very simple and proper command to do this, but I have not found it.
of course there is ...
\starttext
\startplacefigure [location={left,none}]
\framed [width=.3\textwidth,height=.3\textwidth] {}
\stopplacefigure
\input ward
\flushsidefloats
\input knuth
\stoptext
> Alan
>
>
> \starttext
>
> \startplacefigure [location={left,none}]
> \framed [width=.3\textwidth,height=.3\textwidth] {}
> \stopplacefigure
>
> \input ward
>
> \startplacefigure [location={force,none}]
> (this forces a break)
> \stopplacefigure
>
> \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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-04 23:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-04 22:22 How to "terminate" or break from a side float? Alan Braslau
2017-09-04 23:01 ` Hans Hagen
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).