* Re: Making sure figures are placed within articles
2009-03-30 15:52 ` Vyatcheslav Yatskovsky
@ 2009-03-30 16:02 ` Wolfgang Schuster
2009-03-30 16:04 ` Michael Bynum
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2009-03-30 16:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 30.03.2009 um 17:52 schrieb Vyatcheslav Yatskovsky:
> Hello,
>
> I usually place figures in the end of the subsection, using the code:
>
> \placefigure
> [middle]{none}{\externalfigure[filyashkin-1.png]
> [width=0.87\textwidth]}
>
> Quite often the figure does not fit the page, and is moved to the
> next one. Ocassionally, another subsection may start at the
> beginning of next page, so that my figure is placed inside wrong
> article.
>
> Can I setup \placefigure to move non-fitting figures not only forth,
> but also back within the subsection? In another words, to can I set
> up the criterium: place the figure no matter where, but inside the
> current subsection?
>
> Otherwise, it needs many manual corrections and re-compilations to
> get all figures within corresponding articles.
>
> I'd doing my first serious work with ConTeXt, so help me please.
\placefigure[middle,force] or [middle,fixed] or
\startbaslinecorrection
\midaligned{\externalfigure[...]}
\stopbaselinecorrection
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Making sure figures are placed within articles
2009-03-30 15:52 ` Vyatcheslav Yatskovsky
2009-03-30 16:02 ` Wolfgang Schuster
@ 2009-03-30 16:04 ` Michael Bynum
1 sibling, 0 replies; 4+ messages in thread
From: Michael Bynum @ 2009-03-30 16:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
I had that problem as well. You can use the command \placefloats to
force any floats that exist to be placed immediately. So to force the
floats to be placed within the section or subsection that they are
defined, I use the command:
\setuphead[section]
[before={\placefloats}]
\setuphead[subsection]
[before={\placefloats}]
Mike
On Mon, Mar 30, 2009 at 11:52 AM, Vyatcheslav Yatskovsky
<yatskovsky@gmail.com> wrote:
> Hello,
>
> I usually place figures in the end of the subsection, using the code:
>
> \placefigure
> [middle]{none}{\externalfigure[filyashkin-1.png][width=0.87\textwidth]}
>
> Quite often the figure does not fit the page, and is moved to the next one.
> Ocassionally, another subsection may start at the beginning of next page, so
> that my figure is placed inside wrong article.
>
> Can I setup \placefigure to move non-fitting figures not only forth, but
> also back within the subsection? In another words, to can I set up the
> criterium: place the figure no matter where, but inside the current
> subsection?
>
> Otherwise, it needs many manual corrections and re-compilations to get all
> figures within corresponding articles.
>
> I'd doing my first serious work with ConTeXt, so help me please.
>
> Best,
> Vyatcheslav
>
>
> ___________________________________________________________________________________
> 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 : https://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@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread