2012-10-15 Otared Kavian:
On 14 oct. 2012, at 15:52, Wolfgang Schuster
wrote: […] I don’t know if the bug was also in the stable but it’s in the beta version I use. You can use the following example to check for the bug:
\starttext \placeontopofeachother{A}{B} \stoptext
Here is a fix (not thoroughly tested, though): pack-com.mkiv: - \def\pack_topofeachother_one{\bgroup\setbox0\box\nextbox\dowithnextboxcs\pack_topofeach_two \hbox} + \def\pack_topofeachother_one{\bgroup\setbox0\box\nextbox\dowithnextboxcs\pack_topofeachother_two\hbox} - \def\pack_topofeachother_two{\setbox2\box\nextbox\halign{\hss####\hss\cr\box0\cr\box2\cr}\egroup\egroup} + \def\pack_topofeachother_two{\setbox2\box\nextbox\halign{\hss##\hss\cr\box0\cr\box2\cr}\egroup\egroup} Test: \unprotect \def\pack_topofeachother_one{\bgroup\setbox0\box\nextbox\dowithnextboxcs\pack_topofeachother_two\hbox} \def\pack_topofeachother_two{\setbox2\box\nextbox\halign{\hss##\hss\cr\box0\cr\box2\cr}\egroup\egroup} \protect \starttext \placeontopofeachother{alpha}{beta} \stoptext Marco