On 2018-02-11 06:50, Henning Hraban Ramm wrote:
Am 2018-02-10 um 18:03 schrieb Rik Kabel
: On 2018-02-10 10:00, Henning Hraban Ramm wrote:
\placefigure[bottom]{}{\externalfigure[hacker][width=\textwidth]} works just fine, I get "top" placement with \placefigure[bottom]{}{\externalfigure[hacker][width=\paperwidth]}
Works here with the code below. The same result with and without adding "force". Result attached.
Do you have an MWE?
\showframe \starttext some text \placefigure[top]{top textwidth}{\externalfigure[hacker][width=\textwidth]} some text \page some text \placefigure[here]{here textwidth}{\externalfigure[hacker][width=\textwidth]} some text \page some text \placefigure[bottom]{bottom textwidth}{\externalfigure[hacker][width=\textwidth]} some text \page some text \placefigure[top,force]{top force paperwidth}{\externalfigure[hacker][width=\paperwidth]} some text \page some text \placefigure[here,force]{here force paperwidth}{\externalfigure[hacker][width=\paperwidth]} some text \page some text \placefigure[bottom,force]{bottom force paperwidth}{\externalfigure[hacker][width=\paperwidth]}\stopmode some text \page some text \placefigure[top]{top paperwidth}{\externalfigure[hacker][width=\paperwidth]} some text \page some text \placefigure[here]{here paperwidth}{\externalfigure[hacker][width=\paperwidth]} some text \page some text \placefigure[bottom]{bottom paperwidth}{\externalfigure[hacker][width=\paperwidth]} some text \stoptext Hi Rik, thank you for looking into this. Even your example shows a problem: The first "bottom" figure is lower than "top", but not at the bottom.
In the following example only the first image is placed at the bottom, the others at top:
\showframe \starttext \input tufte \placefigure[bottom]{bottom textwidth}{\externalfigure[hacker][width=\textwidth]} \input knuth \input zapf \input tufte \placefigure[bottom,force]{bottom force paperwidth}{\externalfigure[hacker][width=\paperwidth]}\stopmode \input knuth \input zapf \placefigure[bottom]{bottom paperwidth}{\externalfigure[hacker][width=\paperwidth]} \input lorem \stoptext
You are, unfortunately, right about the problem. Alan Braslau brought up the same issue a while back ([NTG-context] \startplacefloat [location=bottom], 2015-10-16 https://www.mail-archive.com/ntg-context@ntg.nl/msg79774.html) and it was not dealt with at that point. Perhaps he devised a work-around for his use that he has not shared yet. (Sorry for the errant \stopmode in the example. It did nothing, but does not belong there in any case.) -- Rik