On 8/14/2017 9:53 AM, Otared Kavian wrote:
Hi Hans,
It seems that in the latest ConTeXt beta a bug shows up when using \startcombination, or something has changed recently that I have overlooked. The following example typesets correctly in mkii, and used to produce a correct output with mkiv. However, now, with ConTeXt version 2016.05.17 19:20, the typesetting stops with an error message saying:
[………] Missing { inserted
<inserted text> { <to be read again> \cr \pack_combinations_pickup_package_pair_c ->\cr \pack_combinations_flush_capt... l.20 \stopcombination} [………]
Here is the example:
%%% begin bug-combination.tex \setupcolors[state=start] \useMPlibrary[dum]
\starttext
This is our first picture. \placefigure[none]{}{\externalfigure[dummy][width=6cm]} \blank
This is a combination of 3 figures on two lines \placefigure[none]{} { \midaligned{ \startcombination[1*2] {\startcombination[2*1] {\externalfigure[dummy][width=6cm]}{} {\externalfigure[dummy][width=6cm]}{} \stopcombination} {\externalfigure[dummy][width=6cm]}{}
There is a {} too many in that line (or one missing)
\stopcombination} }
\stoptext %%% end bug-combination.tex %%% end sloppy-combination.tex
\starttext \startplacefigure[location=none] \startcombination[1*2] {\startcombination[2*1] {1.1}{} {1.2}{} \stopcombination} {2} % one {} too many \stopcombination \stopplacefigure \startplacefigure[location=none] \startcombination[1*2] {\startcombination[2*1] {1.1}{} {1.2}{} \stopcombination}{} {2}{} \stopcombination \stopplacefigure \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------