[NTG-context] Bleeding pictures as floats?

Henning Hraban Ramm texml at fiee.net
Thu Jul 30 11:49:37 CEST 2015

Hi, finally coming back to this project.

Am 2015-05-11 um 17:53 schrieb Wolfgang Schuster <schuster.wolfgang at gmail.com>:

>> \definemeasure[Bleed][3mm]
>> \definemeasure[maxWidth][\dimexpr \paperwidth + \measure{Bleed}\relax]
> You don’t have to use \dimexpr because the measure macros already us it.

Ok, thanks

>> \definefloat[bleedfigure][figure]
>> \setupfloat[bleedfigure][
>> 	outermargindistance=-2\measure{Bleed},
>> 	%leftmargindistance=-2\measure{Bleed},
>> 	%rightmargindistance=-2\measure{Bleed},
>> 	maxwidth=\measure{maxWidth}
>> ]
> There is only a “outermargin”  key but not “outermargindistance”.

Ok, thanks

>> With this (perhaps not minimal) example I get nearly what I want, but the image starts with the paper and is centered (x/y -1,5mm/0mm) where I want it to start on -3mm/-3mm on a left page, 0mm/-3mm on a right page. I thought my definitions should do that…
> The space before the image isn’t fixed when you use \setuplayout[grid=yes] because ConTeXt has to change it to ensure the text after the floats stays on the page.
> %\setuplayout[grid=yes] % uncomment to see how the space before the images changes

Ah, never had thought of that, thanks for the pointer!

But I want my pictures starting at that fixed position AND my (body) text keeping the grid.

Is that possible?

Greetlings, Hraban
https://www.cacert.org (I'm an assurer)

More information about the ntg-context mailing list