From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Several math features broke for me in new Debian version
Date: Fri, 3 Nov 2023 13:16:15 +0100 [thread overview]
Message-ID: <c9116758-bc05-8f1f-2f43-019a42240509@gmail.com> (raw)
In-Reply-To: <ZUTO-ddJQtIHtRDG@odessa>
Kumar Appaiah schrieb am 03.11.2023 um 11:44:
> Dear Friends,
>
> I am a regular user of ConTeXt. A recent upgrade of ConTeXt in Debian
> broke things for me. The bug report is here:
>
> https://bugs.debian.org/1055233
>
> but I have reproduced the gist here:
>
> Upon upgrading to ConTeXt 2023.05.05.20230730+dfsg-2, several math
> features seem to break for me. Here is an example:
>
> \starttext
> Hello world!
> \startformula
> X(f) = \startcases[align={right,left},distance=3pt]
> \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR
> \NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR
> \stopcases
> \stopformula
> \stoptext
There has been changes in the math alignment mechanism a while ago and
the cases
environment use math mode for a column entry when you use the \NC tag at
the begin
of a cell, to make your example working again remove the $ in the column.
\starttext
\startformula
X(f) =
\startcases
\NC T, \NC |f| < \frac{1}{2T} \NR
\NC 0, \NC |f| \geq \frac{1}{2T} \NR
\stopcases
\stopformula
\stoptext
To typeset the content of a column as text replace \NC with \TC at the
begin of the cell.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2023-11-03 12:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-03 10:44 [NTG-context] " Kumar Appaiah
2023-11-03 12:16 ` Wolfgang Schuster [this message]
2023-11-03 16:48 ` [NTG-context] " Kumar Appaiah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c9116758-bc05-8f1f-2f43-019a42240509@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).