Re: [NTG-context] eqalign

2019-11-22 Thread Wolfgang Schuster

no...@posteo.org schrieb am 22.11.2019 um 09:04:

OK, thanks for the tip! It works indeed.

PS: There appears to be no mention of \startalign in the manual.

Which manual?

Is this going to be a stable interface?

Probably: http://dl.contextgarden.net/myway/mathalign.pdf

\eqalign, \eject used to work in ConTeXt.
1. \eqalign still works but you have to change the meaning of the 
ampersand in math mode but I suggest to use \startalign.


\setupmathematics[ampersand=normal]

\starttext

\startformula
\eqalign{
 A & = x\cr
   & = y\cr}
\stopformula

\stoptext

2. There is no need for \eject because we have the \page command.

Wolfgang

___
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] eqalign

2019-11-22 Thread Otared Kavian
Hi,

Indeed \startalign has been there from the beginning (as far as I can remember) 
and it is stable. 
In fact, as expalined by Aditya, you can define your own align environment, for 
special purposes. for instance I have:

\definemathmatrix[alignedcases]
[align={right,left,left},
distance=3pt,
left={\left\{},
right={\right.},
style=\displaystyle]

when I want to put a big brace to the left of a certain number of aligned 
equations.

Best regards: Otared K.

> On 22 Nov 2019, at 09:04, no...@posteo.org wrote:
> 
> OK, thanks for the tip! It works indeed.
> 
> PS: There appears to be no mention of \startalign in the manual. Is this 
> going to be a stable interface? \eqalign, \eject used to work in ConTeXt.
> 
> On November 20, 2019 11:41:09 AM UTC, Otared Kavian  wrote:
> Hi,
> 
> Indeed in ConTeXt one has better to use \startalign. Please see the excellent 
> explanations by Aditya 
> 
>   http://dl.contextgarden.net/myway/mathalign.pdf
> 
> Best regards: OK
> 
> On 20 Nov 2019, at 09:01, no...@posteo.org wrote:
> 
> Dear All,
> 
> The command \eqalign does not work as described under:
>  https://wiki.contextgarden.net/Math_with_newmat
> as the ampersands are typeset (and the equal signs unaligned).
> 
> The following minimal example shows the issue:
> \usemodule[newmat]
> 
> \starttext
> 
> \startformula
> \eqalign{
> A & = x\cr
>   & = y\cr}
> \stopformula
> 
> \stoptext
> (Issue showing up in context 2019.11.14 17:07.)
> 
> Best regards.
> 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
> ___
> 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] eqalign

2019-11-22 Thread nohop
OK, thanks for the tip! It works indeed.

PS: There appears to be no mention of \startalign in the manual. Is this going 
to be a stable interface? \eqalign, \eject used to work in ConTeXt.

On November 20, 2019 11:41:09 AM UTC, Otared Kavian  wrote:
>Hi,
>
>Indeed in ConTeXt one has better to use \startalign. Please see the
>excellent explanations by Aditya 
>
>   http://dl.contextgarden.net/myway/mathalign.pdf
>
>Best regards: OK
>
>> On 20 Nov 2019, at 09:01, no...@posteo.org wrote:
>> 
>> Dear All,
>> 
>> The command \eqalign does not work as described under:
>>  https://wiki.contextgarden.net/Math_with_newmat
>> as the ampersands are typeset (and the equal signs unaligned).
>> 
>> The following minimal example shows the issue:
>> -
>> \usemodule[newmat]
>> 
>> \starttext
>> 
>> \startformula
>> \eqalign{
>> A & = x\cr
>>   & = y\cr}
>> \stopformula
>> 
>> \stoptext
>> -
>> 
>> (Issue showing up in context 2019.11.14 17:07.)
>> 
>> Best regards.
>>
>___
>> 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
>___
___
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] eqalign

2019-11-20 Thread Otared Kavian
Hi,

Indeed in ConTeXt one has better to use \startalign. Please see the excellent 
explanations by Aditya 

http://dl.contextgarden.net/myway/mathalign.pdf

Best regards: OK

> On 20 Nov 2019, at 09:01, no...@posteo.org wrote:
> 
> Dear All,
> 
> The command \eqalign does not work as described under:
>  https://wiki.contextgarden.net/Math_with_newmat
> as the ampersands are typeset (and the equal signs unaligned).
> 
> The following minimal example shows the issue:
> -
> \usemodule[newmat]
> 
> \starttext
> 
> \startformula
> \eqalign{
> A & = x\cr
>   & = y\cr}
> \stopformula
> 
> \stoptext
> -
> 
> (Issue showing up in context 2019.11.14 17:07.)
> 
> Best regards.
> ___
> 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
___


[NTG-context] eqalign

2019-11-20 Thread nohop

Dear All,

The command \eqalign does not work as described under:
  https://wiki.contextgarden.net/Math_with_newmat
as the ampersands are typeset (and the equal signs unaligned).

The following minimal example shows the issue:
-
\usemodule[newmat]

\starttext

\startformula
\eqalign{
 A & = x\cr
   & = y\cr}
\stopformula

\stoptext
-

(Issue showing up in context 2019.11.14 17:07.)

Best regards.
___
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] \eqalign not working in latest beta

2018-03-02 Thread Alan Bowen
Excellent, Aditya.This is most helpful. Many thanks.

Alan

On Thu, Mar 1, 2018 at 10:49 PM, Aditya Mahajan  wrote:

> On Thu, 1 Mar 2018, Alan Bowen wrote:
>
> OK—thanks for the mkiv alternative to \eqalign.
>>
>
> This has been available for a while:
>
> http://dl.contextgarden.net/myway/context-latex-math.pdf
>
> Aditya
> 
> ___
> 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] \eqalign not working in latest beta

2018-03-01 Thread Aditya Mahajan

On Thu, 1 Mar 2018, Alan Bowen wrote:


OK—thanks for the mkiv alternative to \eqalign.


This has been available for a while:

http://dl.contextgarden.net/myway/context-latex-math.pdf

Aditya___
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] \eqalign not working in latest beta

2018-03-01 Thread Alan Bowen
Wolfgang—thanks for the link/explanation.

Alan


On Thu, Mar 1, 2018 at 4:57 PM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:

> https://mailman.ntg.nl/pipermail/ntg-context/2018/090856.html
>
> Wolfgang
>
> Alan Bowen 
> 1. März 2018 um 17:41
> \eqalign does not seem to be working in the latest beta.
>
> MWE taken from the garden:
>
> \starttext
>
> \startformula
> \eqalign{
> t_{L,\text{early}} & = t_{L,\text{late}} = t_{L,\text{ray}} \cr
> & = 6\ \mu m \cr
> }
> \stopformula
>
> \stoptext
>
> Alan
> 
> ___
> 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
> 
> ___
>
___
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] \eqalign not working in latest beta

2018-03-01 Thread Alan Bowen
OK—thanks for the mkiv alternative to \eqalign.

Alan

On Thu, Mar 1, 2018 at 2:36 PM, Otared Kavian  wrote:

> Hi Alan,
>
> I think in mkiv one is supposed to use rather the \startalign...\stopalign
> structure, as in the following:
>
> \starttext
>
> \startformula
> \startalign
> \NC t_{L,\text{early}} \NC = t_{L,\text{late}} = t_{L,\text{ray}} \NR
> \NC\NC  = 6\ \mu m \NR
> \stopalign
> \stopformula
>
> \stoptext
>
> Best regards: OK
>
> On 1 Mar 2018, at 17:41, Alan Bowen  wrote:
>
> \eqalign does not seem to be working in the latest beta.
>
> MWE taken from the garden:
>
> \starttext
>
> \startformula
> \eqalign{
> t_{L,\text{early}} & = t_{L,\text{late}} = t_{L,\text{ray}} \cr
> & = 6\ \mu m \cr
> }
> \stopformula
>
> \stoptext
>
> Alan
> 
> ___
> 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
> 
> ___
>
___
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] \eqalign not working in latest beta

2018-03-01 Thread Wolfgang Schuster

https://mailman.ntg.nl/pipermail/ntg-context/2018/090856.html

Wolfgang

Alan Bowen 
1. März 2018 um 17:41
\eqalign does not seem to be working in the latest beta.

MWE taken from the garden:

\starttext

\startformula
\eqalign{
t_{L,\text{early}} & = t_{L,\text{late}} = t_{L,\text{ray}} \cr
& = 6\ \mu m \cr
}
\stopformula

\stoptext

Alan
___
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] \eqalign not working in latest beta

2018-03-01 Thread Otared Kavian
Hi Alan,

I think in mkiv one is supposed to use rather the \startalign...\stopalign 
structure, as in the following:

\starttext

\startformula
\startalign
\NC t_{L,\text{early}} \NC = t_{L,\text{late}} = t_{L,\text{ray}} \NR
\NC\NC  = 6\ \mu m \NR
\stopalign
\stopformula

\stoptext

Best regards: OK

> On 1 Mar 2018, at 17:41, Alan Bowen  wrote:
> 
> \eqalign does not seem to be working in the latest beta.
> 
> MWE taken from the garden:
> 
> \starttext
> 
> \startformula
> \eqalign{
> t_{L,\text{early}} & = t_{L,\text{late}} = t_{L,\text{ray}} \cr
> & = 6\ \mu m \cr
> }
> \stopformula
> 
> \stoptext
> 
> Alan
> ___
> 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
___

[NTG-context] \eqalign not working in latest beta

2018-03-01 Thread Alan Bowen
\eqalign does not seem to be working in the latest beta.

MWE taken from the garden:

\starttext

\startformula
\eqalign{
t_{L,\text{early}} & = t_{L,\text{late}} = t_{L,\text{ray}} \cr
& = 6\ \mu m \cr
}
\stopformula

\stoptext

Alan
___
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] eqalign

2006-02-04 Thread David Arnold
Taco, Hans, et al,

I'm hesitant to upgrade as I have several hundred eqalign groups in  
my work. Can you tell me if this now works in the new version?

%output=pdf
\starttext
\placeformula[-]
\startformula
\eqalign{
  f(x)=x^2-2x-3\cr
  f(x)=(x-3)(x+1)}
\stopformula
\stoptext


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] eqalign

2006-02-04 Thread Matthias Weber
This will work. I have also tons of \eqalign groups, some of them  
nested, and all
seems fine now.

Matthias

On Feb 4, 2006, at 11:08 PM, David Arnold wrote:

 Taco, Hans, et al,

 I'm hesitant to upgrade as I have several hundred eqalign groups in
 my work. Can you tell me if this now works in the new version?

 %output=pdf
 \starttext
 \placeformula[-]
 \startformula
 \eqalign{
   f(x)=x^2-2x-3\cr
   f(x)=(x-3)(x+1)}
 \stopformula
 \stoptext


 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] eqalign name clash

2006-01-30 Thread Hans Hagen
Taco Hoekwater wrote:
 Hans van der Meer wrote:
   
 I see in core-mat.tex a macro \eqalign#1 (line 1514). It is new I  
 think, but its name CLASHES with the standard TeX \eqalign math macro.
 I do not think that wise and had to comment it out in my working  
 copy. Everything being fine again after that.
 

 Not a name clash, but a typo. There should not be braces
 around the .25\bodyfontsize inside the \eqalign definition.
 It should read:

  \openup.25\bodyfontsize% was: \openup\jot
   
the latest version is ok and has some more math (matrix and sucn) 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] eqalign name clash

2006-01-29 Thread Taco Hoekwater
Hans van der Meer wrote:
 I see in core-mat.tex a macro \eqalign#1 (line 1514). It is new I  
 think, but its name CLASHES with the standard TeX \eqalign math macro.
 I do not think that wise and had to comment it out in my working  
 copy. Everything being fine again after that.

Not a name clash, but a typo. There should not be braces
around the .25\bodyfontsize inside the \eqalign definition.
It should read:

 \openup.25\bodyfontsize% was: \openup\jot

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] eqalign name clash

2006-01-28 Thread Hans van der Meer
I am afraid that the update of today (28-1-2006) also has generated a  
problem.
This used to work (just a plaintex \eqalign)

\starttext
\placeformula\startformula
\matrix{ab\cr cd\cr}
\eqalign{
a = b\cr
pq = t+1\cr
}
\stopformula
\stoptext

I see in core-mat.tex a macro \eqalign#1 (line 1514). It is new I  
think, but its name CLASHES with the standard TeX \eqalign math macro.
I do not think that wise and had to comment it out in my working  
copy. Everything being fine again after that.

yours sincerely,
dr. H. van der Meer



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context