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
On 6/28/2017 2:33 PM, Mikael P. Sundqvist wrote:
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? it's an interactioon between wide captions and narrow content (normally no problem in floats)
i rewrote that bit (for combinations) so the next beta might do better Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Den 29 juni 2017 9:55 fm skrev "Hans Hagen"
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?
it's an interactioon between wide captions and narrow content (normally no problem in floats) i rewrote that bit (for combinations) so the next beta might do better Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ____________________________________________________________ _______________________ 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/list info/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________ Many thanks for the quick fix, the problem seems indeed to be solved. /Mikael
participants (2)
-
Hans Hagen
-
Mikael P. Sundqvist