\autodirhbox doesn’t work in \framed
Hi, for another thread in the normal list I tried to show how you can use the \itemtag command with natural tables but the result was that no item counter appeared in the PDF. \starttext \startitemize[n] \bTABLE \bTR \bTD (\itemtag) Item 1 \eTD \eTR \eTABLE \stopitemize \stoptext The reason for this is the \autodirhbox command – which is used to store the item symbol – produces only a empty space when you use it with \framed. \starttext \hbox{Text?} \autodirhbox{Text?} \framed{\autodirhbox{Text?}} \framed[align=right,width=4cm]{\autodirhbox{Text?}} \stoptext Wolfgang
On 9/23/2018 7:13 PM, Wolfgang Schuster wrote:
Hi,
for another thread in the normal list I tried to show how you can use the \itemtag command with natural tables but the result was that no item counter appeared in the PDF.
\starttext
\startitemize[n] \bTABLE \bTR \bTD (\itemtag) Item 1 \eTD \eTR \eTABLE \stopitemize
\stoptext
The reason for this is the \autodirhbox command – which is used to store the item symbol – produces only a empty space when you use it with \framed.
\starttext
\hbox{Text?}
\autodirhbox{Text?}
\framed{\autodirhbox{Text?}}
\framed[align=right,width=4cm]{\autodirhbox{Text?}}
\stoptext it's a bug in the engine (which i will look into)
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Wolfgang Schuster