[NTG-context] \define in conflict with \startxtable[]

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Sun Nov 8 10:15:24 CET 2020


Sylvain Hubert schrieb am 08.11.2020 um 04:54:
> Dear List,
> 
> Could anyone manage to typeset the following example? Here [] causes an 
> error "Extra }, or forgotten \endgroup".
> 
>      \starttext
>      \define\sample{
>      \startxtable[]
>      \startxtablehead
>      \startxrow
>      \startxcell 123\stopxcell
>      \stopxrow
>      \stopxtablehead
>      \stopxtable
>      }
>      \sample
>      \stoptext


\starttext

\define\sample
   {\startembeddedxtable
      \startxrow
        \startxcell \unknown \stopxcell
      \stopxrow
    \stopembeddedxtable}

\sample

\stoptext


or


\starttext

\startbuffer[sample]
   \startxtable
     \startxrow
       \startxcell \unknown \stopxcell
     \stopxrow
   \stopxtable
\stopbuffer

\getbuffer[sample]

\stoptext


Wolfgang


More information about the ntg-context mailing list