On Mon, Dec 28, 2015 at 3:45 PM Christoph Reller <christoph.rel...@gmail.com
>   wrote:

> There seems to be a problem with the structure information added when using
> \startmatrix:
>
> \setuptagging[state=start]
> \starttext
> \math{
>   \startmatrix
>     \NC A \NR
>     \NC B \NR
>   \stopmatrix}
> \stoptext
>
> The log reports an open chain: document>1 => mtr>1 => mtd>1 => mtr>2 =>
> mtd>2 => mtr>3
> This may be a bug.
>

This is clearly a bug. The resulting structure tree of the above MWE is as
follows (sorry for the ASCII art):

<document>
'-<mtr>
  '-<mtd>
    |-<mtr>
    | '-<mtd>
    |   |-<mtr>
    |   | '-<mtd>
    |   |   |-<math>
    |   |   | '-<mrow>
    |   |   |   '-<mtext>
    |   |   |     '-<mrow>
    |   |   |       |-<mrow>
    |   |   |       '-<mrow>
    |   |   '-<math>
    |   |     '-<mrow>
    |   |       '-<mtext>
    |   |         |-<mrow>
    |   |         '-<mrow>
    |   '-<math>
    |     '-<mrow>
    |       '-<mi>
    |         '-"B"
    '-<math>
      '-<mrow>
        '-<mi>
          '-"A"

A fix would be very much appreciated.
Thanks in advance,
Christoph
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to