Re: [NTG-context] mathalignment vs mathmatrix

2017-09-08 Thread Henri
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  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
___

Re: [NTG-context] mathalignment vs mathmatrix

2017-09-08 Thread Otared Kavian
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  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
___

[NTG-context] mathalignment vs mathmatrix

2017-09-07 Thread Henri
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
___