[NTG-context] Float placement problem

Pontus Lurcock pont at talvi.net
Thu Sep 29 10:32:32 CEST 2011


On Thu 29 Sep 2011, luigi scarso wrote:

> hm , it looks like a bad match with  between width=17cm and textwidth
> This extreme example seems to works
> \setuplayout[location=doublesided,width=20pc]
> \setuppagenumbering[alternative=doublesided,location={margin,header}]
> \setupfloat[figure][location=inner]
> \showframe
> \starttext
> % An extra page. \page[yes]
> \dorecurse{4}{
> \placefigure[]{caption}{\externalfigure[cow.pdf][width=30pc]}\page}
> \stoptext

Thanks! The \page after the figure certainly seems to fix it.
Unfortunately a page break after every figure is impractical in my
real document, but this might put me on the track of a solution (once
I've read the layout manual a couple more times).

Pont


More information about the ntg-context mailing list