On 2013–10–12 d.henman wrote: > I found what I consider a bug in startcombination processing. > > […] > > ---------------- The below fails > \starttext > \placefigure > [here,none] > [fig: reference tag] > {citation text} > { \startcombination[1*2] > {\externalfigure[test-image.png][width=34mm]}{} > > {\externalfigure[test-image.png][width=34mm]}{} > \stopcombination > } > \stoptext
\unprotect \def\pack_combinations_pickup {\dostarttagged\t!combinationpair\empty \dostarttagged\t!combinationcontent\empty \dogotopar\pack_combinations_pickup_content_indeed} \def\pack_combinations_pickup_content_indeed {\dowithnextboxcs\pack_combinations_pickup_content\hbox} \setvalue{\??combinationalternative\v!text}% {\dogotopar\pack_combinations_alternative_text_indeed} \setvalue{\??combinationalternative\v!label}% {\dogotopar\pack_combinations_alternative_label_indeed} \def\pack_combinations_alternative_text_indeed {\dowithnextboxcs\pack_combinations_pickup_caption\vtop\bgroup \afterassignment\pack_combinations_caption_first \let\nexttoken=} \def\pack_combinations_alternative_label_indeed {\dowithnextboxcs\pack_combinations_pickup_caption\vtop\bgroup \hsize\wd\b_pack_combinations_content \ifx\p_align\empty\else\setupalign[\p_align]\fi \usecombinationstyleandcolor\c!style\c!color \begstrut \normalexpanded{\strc_labels_command{\v!combination\ifx\currentcombination\empty\else:\currentcombination\fi}}% \endstrut \egroup} \protect \starttext \startcombination {alpha}{foo} {beta}{bar} \stopcombination \startcombination \startcontent alpha \stopcontent \startcaption foo \stopcaption \startcontent beta \stopcontent \startcaption bar \stopcaption \stopcombination \stoptext Marco
signature.asc
Description: Digital signature
___________________________________________________________________________________ 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 ___________________________________________________________________________________