Dear Bruce,


i have just tried your example , but it is not working. 


\startformula
\startmathmatrix
[fences=parenthesis]
\NC \GL[1][t]\GL[1][b] \NC a \NC b \NC c \NC d \NR
\NC \GL[2][t]          \NC a \NC b \NC c \NC d\NC \GL[2][t]\GL[2][b]\NR
\stopmathmatrix
\stopformula
\stoptext

After compiling I got : 





 1     \startformula
 2     \startmathmatrix
 3     [fences=parenthesis]
 4 >>  \NC \GL[1][t]\GL[1][b] \NC a \NC b \NC c \NC d \NR
 5     \NC \GL[2][t]          \NC a \NC b \NC c \NC d\NC \GL[2][t]\GL[2][b]\NR
 6     \stopmathmatrix
 7     \stopformula
 8     \stoptext
 9     
10     
11     
The control sequence at the end of the top line of your error message was never
\def'ed. You can just continue as I'll forget about whatever was undefined.
mtx-context     | fatal error: return code: 1

Many thanks 

Uschi 

_____________________________________________________________________

 ConTeXt Compilation Report (Pages: 0)

 Errors: 0   Warnings: 0   Bad Boxes: 0



Von: Bruce Horrocks <ntg@scorecrow.com>
Gesendet: Dienstag, 1. Juli 2025 00:59:04
An: ntg-context mailing list
Betreff: [NTG-context] Re: Problem with the second \HL in the matrix
 


> On 30 Jun 2025, at 13:00, Ursula Hermann <ursula.hermann@univie.ac.at> wrote:
>
> \starttext
> \startformula
> \startmathmatrix
> [fences=parenthesis]
> \VL\NR
> \HL
> \NC \NC \NC \NC \NC \NC \VL \NR
> \stopmathmatrix
> \stopformula \stoptext

Maybe this?

\starttext
\startformula
\startmathmatrix
[fences=parenthesis]
\VL\NR
\HL
\NC \NC \NC \NC \NC \NC \VL \NR
\stopmathmatrix
\stopformula

\startformula
\startmathmatrix
[fences=parenthesis]
\NC \GL[1][t]\GL[1][b] \NC a \NC b \NC c \NC d \NR
\NC \GL[2][t]          \NC a \NC b \NC c \NC d\NC \GL[2][t]\GL[2][b]\NR
\stopmathmatrix
\stopformula
\stoptext



Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________