[NTG-context] (another) bug with embeddedxtables

Michael Eidenbenz eidenbenz at arch.ethz.ch
Fri Dec 2 12:40:23 CET 2016


Settings made to \startembeddedxtable or \startxrow they will only work in the first call of the macro.
In every further call the settings are ignored.

On the other hand, settings made to \startxcell work for every call of the macro.

I assume this is a bug.

Regards Michael


\unexpanded\def\Table#1{%
  \startembeddedxtable[height=5cm]
      \startxrow
        \startxcell #1 \stopxcell
      \stopxrow
    \stopembeddedxtable
}

\unexpanded\def\TableCell#1{%
  \startembeddedxtable
      \startxrow
        \startxcell[height=5cm] #1 \stopxcell
      \stopxrow
    \stopembeddedxtable
}

\starttext
\Table{height is 5cm}
\Table{height should be 5cm}
\TableCell{height is 5cm}
\TableCell{height is 5cm}
\stoptext


More information about the ntg-context mailing list