Am 10.03.2012 um 23:33 schrieb Prashanth:

> Hi Wolfgang,
> This is exactly what I was looking for. However, it works only in mkii, not 
> in mkiv. Searching though the mailinglist for floatcombinations, I came 
> across this discussion ( 
> http://archive.contextgarden.net/message/20100601.084655.c7d6e858.en.html). 
> Taco's solution works just like Hans' code, but again, only in mkii.

With a simple fix in strc-flt.mkvi \startcombination will work but still each 
figure is to wide and all of them won’t fit on the page.

\def\somelocalfloat % strc-flt.mkvi: was \def\somelocalfloat[#1]%
  {\doglobal\increment\noflocalfloats
   \savebox{localfloats}{\noflocalfloats}{\box\floatbox}}

\setuppapersize[A5][A4,landscape]

\starttext \showframe
 \startfloatcombination [2*2]
   \placefigure{alpha}{\externalfigure[cow.pdf][width=1cm]} 
   \placefigure{beta} {\externalfigure[cow.pdf][width=2cm]} 
   \placefigure{gamma}{\externalfigure[cow.pdf][width=3cm]} 
   \placefigure{delta}{\externalfigure[cow.pdf][width=4cm]} 
 \stopfloatcombination
\stoptext

Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to