[NTG-context] Extreme tables and XML conflict?

Taco Hoekwater taco at elvenkind.com
Mon Sep 21 16:46:39 CEST 2020



> On 21 Sep 2020, at 16:38, Denis Maier <denis.maier.lists at mailbox.org> wrote:
> 
> Hi,
> 
> I'm a bit confused, but this here won't compile:
> 
> =================
> 
> \startxmlsetups xml:table
>   \startxtable
>     \startxrow
>       \startxcell one \stopxcell
>       \startxcell two \stopxcell
>     \stopxrow
>   \stopxtable
> \stopxmlsetups

The normal xtables don’t like to be called from inside other constructs. Use this instead:

\startxmlsetups xml:table
  \message{xml:table}
  \startembeddedxtable
    \startxrow
      \startxcell one \stopxcell
      \startxcell two \stopxcell
    \stopxrow
  \stopembeddedxtable
\stopxmlsetups


Best wishes,
Taco


More information about the ntg-context mailing list