Re: [NTG-context] Math align in mkiv

2011-12-07 Thread Paul Menzel
Dear Otared,


Am Mittwoch, den 07.12.2011, 05:11 +0100 schrieb Otared Kavian:

 Thank you having tested the file I sent.

did the example work for you with MKIV in the past?

 As I suspected, your testing confirms that the change or the bug has been 
 introduced in a recent version of ConTeXt mkiv, some time between October and 
 late November.
 The version I am running is
   ConTeXt  ver: 2011.11.29 23:11 MKIV  fmt: 2011.12.2  int: 
 english/english

I can also reproduce that behavior using

ConTeXt  ver: 2011.11.25 21:29 MKIV  fmt: 2011.11.25  int: 
english/english

 I think at some time in November Hans did some changes in math alignment 
 after someone reported a bug, and Aditya said he wouldn't have time to (or 
 could not) fix it.

There were two issues and the corresponding messages in the archive
[1][2]. So if these are related it should work for you using the version
from November 24th.


Thanks,

Paul


[1] http://www.ntg.nl/pipermail/ntg-context/2011/063428.html
[2] http://www.ntg.nl/pipermail/ntg-context/2011/063451.html


align-mkiv.pdf
Description: Adobe PDF document
%%% align-mkiv.tex
% defining an alignment structure
\definemathmatrix[alignedcases]
[align={right,left,left},
distance=3pt,
left={\left\{\;},
right={\right.},
style=\displaystyle]

\starttext

\startformula
\startalignedcases
\NC -\partial_t \Delta \psi + \Delta^2 \psi - \Delta \psi   \NC = 0 \NC \quad \mbox{in }\, (0,\infty)\times \Omega  \NR
\NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR
\NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega \NR
\NC {\partial \psi  \over  \partial {\bf n}}(t,\sigma ) \NC = 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega. 
\stopalignedcases
\stopformula

\CONTEXT\ \contextmark\ \contextversion
\stoptext


signature.asc
Description: This is a digitally signed message part
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Math align in mkiv

2011-12-07 Thread Hans Hagen

On 6-12-2011 22:52, Otared Kavian wrote:

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

\starttext

\startformula
\startalignedcases
\NC -\partial_t \Delta \psi + \Delta^2 \psi - \Delta \psi   \NC = 0 \NC \quad 
\mbox{in }\, (0,\infty)\times \Omega  \NR
\NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR
\NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times 
\partial\Omega \NR
\NC {\partial \psi  \over  \partial {\bf n}}(t,\sigma ) \NC = 0 \NC \quad 
\mbox{on }\, (0,\infty)\times \partial\Omega.
\stopalignedcases
\stopformula

\stoptext


in math-ali.mkvi line 700 change

  \dosetmatrixcolumn

into

  \doseteqaligncolumn

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Math align in mkiv

2011-12-07 Thread Otared Kavian
Dear Paul,

Thanks for your attention: as you may have seen, Hans found the fix and after 
that math align works fine.
As you noticed, the issue was related to what you reported some time ago.

Best regards: OK

On 7 déc. 2011, at 09:03, Paul Menzel wrote:

 Dear Otared,
 
 
 Am Mittwoch, den 07.12.2011, 05:11 +0100 schrieb Otared Kavian:
 
 Thank you having tested the file I sent.
 
 did the example work for you with MKIV in the past?
 
 As I suspected, your testing confirms that the change or the bug has been 
 introduced in a recent version of ConTeXt mkiv, some time between October 
 and late November.
 The version I am running is
  ConTeXt  ver: 2011.11.29 23:11 MKIV  fmt: 2011.12.2  int: 
 english/english
 
 I can also reproduce that behavior using
 
ConTeXt  ver: 2011.11.25 21:29 MKIV  fmt: 2011.11.25  int: 
 english/english
 
 I think at some time in November Hans did some changes in math alignment 
 after someone reported a bug, and Aditya said he wouldn't have time to (or 
 could not) fix it.
 
 There were two issues and the corresponding messages in the archive
 [1][2]. So if these are related it should work for you using the version
 from November 24th.
 
 
 Thanks,
 
 Paul
 
 
 [1] http://www.ntg.nl/pipermail/ntg-context/2011/063428.html
 [2] http://www.ntg.nl/pipermail/ntg-context/2011/063451.html
 align-mkiv.pdfalign-mkiv.tex___
 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr




___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Math align in mkiv

2011-12-06 Thread Otared Kavian
Hi Aditya, Hi Hans,

It seems that recently the align environment in mkiv has changed and I get 
several strange results now. The (not so minimal…) example below results in the 
folowing two PDFs:

http://dl.dropbox.com/u/4316076/align-mkii.pdf

http://dl.dropbox.com/u/4316076/align-mkiv.pdf
As far as I can say the right behaviour is the one in mkii.
Is there a way to get the same result in mkiv by changing some parameters?
(I have movede litlle by little to maths in mkiv and I would like to fix 
somehow the apparently incorrect behaviour of mkiv…).

Best regards: OK
PS: Here is the source file:
%%% align-mkiv.tex
% defining an alignment structure
\definemathmatrix[alignedcases]
[align={right,left,left},
distance=3pt,
left={\left\{\;},
right={\right.},
style=\displaystyle]

\starttext

\startformula
\startalignedcases
\NC -\partial_t \Delta \psi + \Delta^2 \psi - \Delta \psi   \NC = 0 \NC \quad 
\mbox{in }\, (0,\infty)\times \Omega  \NR
\NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR
\NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times 
\partial\Omega \NR
\NC {\partial \psi  \over  \partial {\bf n}}(t,\sigma ) \NC = 0 \NC \quad 
\mbox{on }\, (0,\infty)\times \partial\Omega. 
\stopalignedcases
\stopformula

\stoptext
%%% end align-mkiv.tex
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Math align in mkiv

2011-12-06 Thread Otared Kavian
Dear Dalyoung,

Thank you having tested the file I sent.
As I suspected, your testing confirms that the change or the bug has been 
introduced in a recent version of ConTeXt mkiv, some time between October and 
late November.
The version I am running is
ConTeXt  ver: 2011.11.29 23:11 MKIV  fmt: 2011.12.2  int: 
english/english

I think at some time in November Hans did some changes in math alignment after 
someone reported a bug, and Aditya said he wouldn't have time to (or could not) 
fix it.

Best regards: OK

On 7 déc. 2011, at 02:39, Jeong Dalyoung wrote:

 Dear Otared,
 
 I run your code and got the output which is as same as in your file 
 align-mkii.pdf 
 I don't know why you got align-mkiv.pdf.
 
 In my log file, 
 
 ConTeXt  ver: 2011.10.08 11:42 MKIV  fmt: 2011.10.12  int: english/english
 ...
 mkiv lua stats   luatex banner - this is luatex, version 
 beta-0.70.1-2011051908 (rev 4277)
 
 Something in your system is different from mine.
 
 I am sorry that I couldn't give you a solution.
 
 Best regards,
 
 Dalyoung
 
 Best regards: OK
 PS: Here is the source file:
 %%% align-mkiv.tex
 % defining an alignment structure
 \definemathmatrix[alignedcases]
  [align={right,left,left},
  distance=3pt,
  left={\left\{\;},
  right={\right.},
  style=\displaystyle]
 
 \starttext
 
 \startformula
 \startalignedcases
 \NC -\partial_t \Delta \psi + \Delta^2 \psi - \Delta \psi   \NC = 0 \NC 
 \quad \mbox{in }\, (0,\infty)\times \Omega  \NR
 \NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR
 \NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times 
 \partial\Omega \NR
 \NC {\partial \psi  \over  \partial {\bf n}}(t,\sigma ) \NC = 0 \NC \quad 
 \mbox{on }\, (0,\infty)\times \partial\Omega. 
 \stopalignedcases
 \stopformula
 
 \stoptext
 %%% end align-mkiv.tex
 
 ___
 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr




___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___