ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mathalignment vs mathmatrix
@ 2017-09-08  4:51 Henri
  2017-09-08  9:24 ` Otared Kavian
  0 siblings, 1 reply; 3+ messages in thread
From: Henri @ 2017-09-08  4:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear devs,

In the latest beta the interaction between mathalignment and mathmatrix is broken.  The biggest
problem is that documents containing this pattern do not typeset anymore at all!  (That makes 100
errors; please try again.)  Please fix.

Cheers, Henri

---

\define\Up{\mathord\Uparrow}
\define\Dn{\mathord\Downarrow}

\starttext

\placeformula
\startformula
  \startmathalignment
    \NC \psi_{+,\Up} ...
    \startmathmatrix
    \stopmathmatrix
    \NR
    \NC \psi_{+,\Dn} ...
    \NR
  \stopmathalignment
\stopformula

\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mathalignment vs mathmatrix
  2017-09-08  4:51 mathalignment vs mathmatrix Henri
@ 2017-09-08  9:24 ` Otared Kavian
  2017-09-09  0:39   ` Henri
  0 siblings, 1 reply; 3+ messages in thread
From: Otared Kavian @ 2017-09-08  9:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Henri,

I think your code has a problem: the first one is that the definition of \Up and \Down is not understood when I compile your example, and then you introduce an empty mathmatrix which creates a difficulty too.
Once I remove the definitions of \Up and \Dn  the code is typeset (ConTeXt  ver: 2017.09.05 15:10 MKIV beta).
Can you please give a more detailed example where you see the problem?

Best regards: OK

> On 8 Sep 2017, at 06:51, Henri <henrimenke@gmail.com> wrote:
> 
> \define\Up{\mathord\Uparrow}
> \define\Dn{\mathord\Downarrow}
> 
> \starttext
> 
> \placeformula
> \startformula
>   \startmathalignment
>     \NC \psi_{+,\Up} ...
>     \startmathmatrix
>     \stopmathmatrix
>     \NR
>     \NC \psi_{+,\Dn} ...
>     \NR
>   \stopmathalignment
> \stopformula
> 
> \stoptext

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mathalignment vs mathmatrix
  2017-09-08  9:24 ` Otared Kavian
@ 2017-09-09  0:39   ` Henri
  0 siblings, 0 replies; 3+ messages in thread
From: Henri @ 2017-09-09  0:39 UTC (permalink / raw)
  To: ntg-context

You obviously didn't read my first mailing correctly and copied an incomplete version of my MWE. The
definitions of \Up and \Dn are right there before \starttext.  Whether the mathmatrix is empty of
not does not make a difference.  For the sake of completeness I present you a different MWE below
which incorporates your requested changes.  Fails with 2017.09.07 23:44 (It worked before, so your
version 2017.09.05 15:10 seems to be unaffected).

---

\starttext

\startformula
  \startmathalignment
    \NC \psi_{+,\mathord\Uparrow} ...
    \startmathmatrix
      \NC 0 \NC 1 \NR
      \NC 1 \NC 0 \NR
    \stopmathmatrix
    \NR
    \NC \psi_{+,\mathord\Downarrow} ...
    \NR
  \stopmathalignment
\stopformula

\stoptext

On Fri, 2017-09-08 at 11:24 +0200, Otared Kavian wrote:
> Hi Henri,
> 
> I think your code has a problem: the first one is that the definition of \Up and \Down is not
> understood when I compile your example, and then you introduce an empty mathmatrix which creates a
> difficulty too.
> Once I remove the definitions of \Up and \Dn  the code is typeset (ConTeXt  ver: 2017.09.05 15:10
> MKIV beta).
> Can you please give a more detailed example where you see the problem?
> 
> Best regards: OK
> 
> > 
> > On 8 Sep 2017, at 06:51, Henri <henrimenke@gmail.com> wrote:
> > 
> > \define\Up{\mathord\Uparrow}
> > \define\Dn{\mathord\Downarrow}
> > 
> > \starttext
> > 
> > \placeformula
> > \startformula
> >   \startmathalignment
> >     \NC \psi_{+,\Up} ...
> >     \startmathmatrix
> >     \stopmathmatrix
> >     \NR
> >     \NC \psi_{+,\Dn} ...
> >     \NR
> >   \stopmathalignment
> > \stopformula
> > 
> > \stoptext
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-09  0:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-08  4:51 mathalignment vs mathmatrix Henri
2017-09-08  9:24 ` Otared Kavian
2017-09-09  0:39   ` Henri

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).