![](https://secure.gravatar.com/avatar/d39338246f50cca667c8256c313d7cfd.jpg?s=120&d=mm&r=g)
Hi, I discovered some issues with the legend mechanism. 1) A newline after \startplacelegend fails: \starttext \startplacelegend \startcontent Foo \stopcontent \startcaption Bar \stopcaption \stopplacelegend \stoptext 2) location != top | bottom throws “Infinite glue shrinkage found in a paragraph”: \starttext \startplacelegend [location=left] \startcontent Foo \stopcontent \startcaption Bar \stopcaption \stopplacelegend \stoptext 3) tabulate inside the content fails when not boxed: \starttext \startplacelegend [location=left] \startcontent \starttabulate \NC Alpha \NC Beta \NC\NR \stoptabulate \stopcontent \startcaption Bar \stopcaption \stopplacelegend \stoptext Just reporting, nothing which needs to be fixed before EuroTeX. Marco
![](https://secure.gravatar.com/avatar/27c34cb91f1e92bd850fe60b3d9ef336.jpg?s=120&d=mm&r=g)
Am 04.10.2012 um 14:00 schrieb Marco Patzer
Hi,
I discovered some issues with the legend mechanism.
1) A newline after \startplacelegend fails:
\starttext \startplacelegend
\startcontent Foo \stopcontent \startcaption Bar \stopcaption \stopplacelegend \stoptext
2) location != top | bottom throws “Infinite glue shrinkage found in a paragraph”:
\starttext \startplacelegend [location=left] \startcontent Foo \stopcontent \startcaption Bar \stopcaption \stopplacelegend \stoptext
pack-com.mkiv (replace \hss with \vss): \setvalue{\??pairedboxalign\v!middle}% 4 {\let\pack_pairedboxes_align_l\hss \let\pack_pairedboxes_align_r\hss - \let\pack_pairedboxes_align_t\hss - \let\pack_pairedboxes_align_b\hss} + \let\pack_pairedboxes_align_t\vss + \let\pack_pairedboxes_align_b\vss}
3) tabulate inside the content fails when not boxed:
\starttext \startplacelegend [location=left] \startcontent \starttabulate \NC Alpha \NC Beta \NC\NR \stoptabulate \stopcontent \startcaption Bar \stopcaption \stopplacelegend \stoptext
You can place the tabulate environment only with the second group of the legend, it doesn’t matter when you change the position of \startcaption and \startcontent because because both commands are synonyms for \bgroup. Wolfgang
participants (2)
-
Marco Patzer
-
Wolfgang Schuster