Re: The missing comma

Mikael Sundqvist <[email protected]>
Newsgroups gmane.comp.tex.context
Message-ID <CAHy-LL9cUO5+-qr_4cfFSC59G8Pp8c1Hf+nDb40tKOoM9K6uUg@mail.gmail.com>
Hi,

On Tue, 14 Apr 2026 at 14:30, Matthias Weber <[email protected]> wrote:
>
> Dear All,
>
> When a matrix entry contains a comma (or, I suppose, a semicolon), it is considered a separator instead of a textual element, and hence disappears,
> like in this MWE:
>
> \starttext
> \startformula
> \pmatrix{
> \lambda(u,v) , 0;
> 0 , \lambda(u,v)
> }
> \stopformula
> \stoptext
>
>
>
> How do I get my comma back?

Since that simple mechanism is using comma, you have to "hide" it: Try

\pmatrix{
{\lambda(u,v)} , 0;
0 , {\lambda(u,v)}
}

(not tested)

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

maillist : [email protected] / 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
___________________________________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.