Making sure figures are placed within articles
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
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
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
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 ___________________________________________________________________________________
participants (3)
-
Michael Bynum
-
Vyatcheslav Yatskovsky
-
Wolfgang Schuster