Hi,

I wonder what is going on in the example given below (resulting pdf
attached)? The placement of the figures in floatcombination (this does
not happen if I place them one by one in a figure) are shifted
horizontally, and seems to depend on the boundingbox. Am I doing
something wrong?

This happens with current version: 2017.06.27 18:05 but also with a
version that is some weeks old.

/Mikael
\setupcombinations[
distance=1cm,
]

\starttext

\startuseMPgraphic{figa}
draw (1cm,1cm) --  origin -- (1cm,-1cm);
draw boundingbox currentpicture;
\stopuseMPgraphic

\startplacefigure[location={nonumber}]
\startfloatcombination[nx=2,ny=1]
\startplacefigure
\useMPgraphic{figa}
\stopplacefigure
\startplacefigure
\useMPgraphic{figa}
\stopplacefigure
\stopfloatcombination
\stopplacefigure

\startuseMPgraphic{figb}
draw (1cm,1cm) --  origin -- (1cm,-1cm);
setbounds currentpicture to
((0,-1cm)--(1cm,-1cm)--(1cm,1cm)--(0,1cm)--cycle) enlarged 0.2cm;
draw boundingbox currentpicture;
\stopuseMPgraphic


\startplacefigure[location={nonumber}]
\startfloatcombination[nx=2,ny=1]
\startplacefigure
\useMPgraphic{figb}
\stopplacefigure
\startplacefigure
\useMPgraphic{figb}
\stopplacefigure
\stopfloatcombination
\stopplacefigure


\startuseMPgraphic{figc}
draw (1cm,1cm) --  origin -- (1cm,-1cm);
setbounds currentpicture to
((0,-1cm)--(1cm,-1cm)--(1cm,1cm)--(0,1cm)--cycle) enlarged 0.5cm;
draw boundingbox currentpicture;
\stopuseMPgraphic


\startplacefigure[location={nonumber}]
\startfloatcombination[nx=2,ny=1]
\startplacefigure
\useMPgraphic{figc}
\stopplacefigure
\startplacefigure
\useMPgraphic{figc}
\stopplacefigure
\stopfloatcombination
\stopplacefigure

\stoptext

Attachment: ctx-example24.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to