ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TeX "matrix" command not working lately
@ 2016-04-10  0:33 L.S.-Soc&Gam
  2016-04-10  9:39 ` Pablo Rodriguez
  2016-04-10  9:45 ` Wolfgang Schuster
  0 siblings, 2 replies; 7+ messages in thread
From: L.S.-Soc&Gam @ 2016-04-10  0:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 888 bytes --]

Hi guys,

i've already searched the mailing list for this but i still am having a 
problem while trying to create a matrix.
my code looks like this:

\startformula
S=\left(*\matrix**{*
   \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*
   \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr*
     \tau_{zx} *&* \tau_{zy} *&* \sigma_z *\cr*
*}*\right)_{xyz}
\stopformula

But since a few days, there are only empty braces after compilation. The 
funny thing is, i worked already. but i've updated context at least once 
since (only 5 days ago, betas included) and since then after compiling 
there are only empty braces. When i enter

\startformula
S=\left(
1234
\right)_{xyz}
\stopformula

the 1234 shows fine between the braces. so it seems to have to do with 
\matrix command in some way...
i don't know any alternative way to create a matrix. any help would be 
appreciated.


Greetings,

Sebastian


[-- Attachment #1.2: Type: text/html, Size: 1426 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Re: TeX "matrix" command not working lately
  2016-04-10  0:33 TeX "matrix" command not working lately L.S.-Soc&Gam
@ 2016-04-10  9:39 ` Pablo Rodriguez
  2016-04-10  9:45   ` L.S.-Soc&Gam
  2016-04-10  9:45 ` Wolfgang Schuster
  1 sibling, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2016-04-10  9:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 04/10/2016 02:33 AM, L.S.-Soc&Gam wrote:
> Hi guys,
> 
> i've already searched the mailing list for this but i still am having a
> problem while trying to create a matrix.
> my code looks like this:
> 
> \startformula
> S=\left(*\matrix**{*
>   \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*
>   \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr*
>     \tau_{zx} *&* \tau_{zy} *&* \sigma_z *\cr*
> *}*\right)_{xyz}
> \stopformula
> 
> But since a few days, there are only empty braces after compilation. The
> funny thing is, i worked already. but i've updated context at least once
> since (only 5 days ago, betas included) and since then after compiling
> there are only empty braces. When i enter

Hi Sebastian,

matrices seem to work fine here (using beta tagged as 2016.04.01 13:01
[see my previous message to the list]).

If you allow me some suggestions, I think it may be worth considering
the following when dealing with betas:

1. Always give the beta version, otherwise it may be impossible in some
cases to know whether something behaves as expected or not.

2. Always backup your previous beta before upgrading it. New betas can
contain bugs or unexpected features and you may want to stick to your
old beta while things are fixed.

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: TeX "matrix" command not working lately
  2016-04-10  0:33 TeX "matrix" command not working lately L.S.-Soc&Gam
  2016-04-10  9:39 ` Pablo Rodriguez
@ 2016-04-10  9:45 ` Wolfgang Schuster
  2016-04-10 10:06   ` L.S.-Soc&Gam
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2016-04-10  9:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1415 bytes --]

> L.S.-Soc&Gam <mailto:axteffekt@gmail.com>
> 10. April 2016 um 02:33
> Hi guys,
>
> i've already searched the mailing list for this but i still am having 
> a problem while trying to create a matrix.
> my code looks like this:
>
> \startformula
> S=\left(*\matrix**{*
>   \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*
>   \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr*
>     \tau_{zx} *&* \tau_{zy} *&* \sigma_z *\cr*
> *}*\right)_{xyz}
> \stopformula
>
> But since a few days, there are only empty braces after compilation. 
> The funny thing is, i worked already. but i've updated context at 
> least once since (only 5 days ago, betas included) and since then 
> after compiling there are only empty braces. When i enter
>
> \startformula
> S=\left(
> 1234
> \right)_{xyz}
> \stopformula
>
> the 1234 shows fine between the braces. so it seems to have to do with 
> \matrix command in some way...
> i don't know any alternative way to create a matrix. any help would be 
> appreciated.
Your code works fine here but I suggest to use ConTeXt’s own matrix 
environment.

\starttext

\startformula
S =    \startmathmatrix[left=\left(,right=\right)]
     \NC \sigma_{x} \NC \tau_{xy}  \NC \tau_{xz}  \NR
     \NC \tau_{yx}  \NC \sigma_{y} \NC \tau_{yz}  \NR
     \NC \tau_{zx}  \NC \tau_{zy}  \NC \sigma_{z} \NR
     \stopmathmatrix_{xyz}
\stopformula

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2770 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Re: TeX "matrix" command not working lately
  2016-04-10  9:39 ` Pablo Rodriguez
@ 2016-04-10  9:45   ` L.S.-Soc&Gam
  2016-04-10 10:39     ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: L.S.-Soc&Gam @ 2016-04-10  9:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Am 10.04.2016 um 11:39 schrieb Pablo Rodriguez:
> On 04/10/2016 02:33 AM, L.S.-Soc&Gam wrote:
>> Hi guys,
>>
>> i've already searched the mailing list for this but i still am having a
>> problem while trying to create a matrix.
>> my code looks like this:
>>
>> \startformula
>> S=\left(*\matrix**{*
>>    \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*
>>    \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr*
>>      \tau_{zx} *&* \tau_{zy} *&* \sigma_z *\cr*
>> *}*\right)_{xyz}
>> \stopformula
>>
>> But since a few days, there are only empty braces after compilation. The
>> funny thing is, i worked already. but i've updated context at least once
>> since (only 5 days ago, betas included) and since then after compiling
>> there are only empty braces. When i enter
> Hi Sebastian,
>
> matrices seem to work fine here (using beta tagged as 2016.04.01 13:01
> [see my previous message to the list]).
>
> If you allow me some suggestions, I think it may be worth considering
> the following when dealing with betas:
>
> 1. Always give the beta version, otherwise it may be impossible in some
> cases to know whether something behaves as expected or not.
>
> 2. Always backup your previous beta before upgrading it. New betas can
> contain bugs or unexpected features and you may want to stick to your
> old beta while things are fixed.
>
> Just in case it helps,
>
> Pablo

Hi Pablo,

I checked my version and it is the very same as yours.
Can you maybe give me the code that you tested, to create a matrix, so I 
can copy paste and test it?
Because I entered a simple matrix again and still the finished pdf only 
shows empty braces....

Sebastian

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

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

* Re: TeX "matrix" command not working lately
  2016-04-10  9:45 ` Wolfgang Schuster
@ 2016-04-10 10:06   ` L.S.-Soc&Gam
  0 siblings, 0 replies; 7+ messages in thread
From: L.S.-Soc&Gam @ 2016-04-10 10:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2514 bytes --]



Am 10.04.2016 um 11:45 schrieb Wolfgang Schuster:
>> L.S.-Soc&Gam <mailto:axteffekt@gmail.com>
>> 10. April 2016 um 02:33
>> Hi guys,
>>
>> i've already searched the mailing list for this but i still am having 
>> a problem while trying to create a matrix.
>> my code looks like this:
>>
>> \startformula
>> S=\left(*\matrix**{*
>>   \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*
>>   \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr*
>>     \tau_{zx} *&* \tau_{zy} *&* \sigma_z *\cr*
>> *}*\right)_{xyz}
>> \stopformula
>>
>> But since a few days, there are only empty braces after compilation. 
>> The funny thing is, i worked already. but i've updated context at 
>> least once since (only 5 days ago, betas included) and since then 
>> after compiling there are only empty braces. When i enter
>>
>> \startformula
>> S=\left(
>> 1234
>> \right)_{xyz}
>> \stopformula
>>
>> the 1234 shows fine between the braces. so it seems to have to do 
>> with \matrix command in some way...
>> i don't know any alternative way to create a matrix. any help would 
>> be appreciated.
> Your code works fine here but I suggest to use ConTeXt’s own matrix 
> environment.
>
> \starttext
>
> \startformula
> S =    \startmathmatrix[left=\left(,right=\right)]
>     \NC \sigma_{x} \NC \tau_{xy}  \NC \tau_{xz}  \NR
>     \NC \tau_{yx}  \NC \sigma_{y} \NC \tau_{yz}  \NR
>     \NC \tau_{zx}  \NC \tau_{zy}  \NC \sigma_{z} \NR
>     \stopmathmatrix_{xyz}
> \stopformula
>
> \stoptext
>
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Hi Wolfgang,

danke, your way works. Still I am a little bit confused why my previous 
(plain tex) matrix works for you guys but not for me, since it worked a 
few days ago. i hope that I am not missing anything here like for 
example that i forgot to define anything in the beginning.
So only for the record: my context version is 2016.04.01 13:01.
If anybody wants to research deeper into this, i can provide logs, texs 
and pdfs.

Thanks a lot,

Sebastian

[-- Attachment #1.2: Type: text/html, Size: 5196 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Re: TeX "matrix" command not working lately
  2016-04-10  9:45   ` L.S.-Soc&Gam
@ 2016-04-10 10:39     ` Pablo Rodriguez
  2016-04-10 10:52       ` L.S.-Soc&Gam
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2016-04-10 10:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 04/10/2016 11:45 AM, L.S.-Soc&Gam wrote:
> [...] 
> I checked my version and it is the very same as yours.
> Can you maybe give me the code that you tested, to create a matrix, so I 
> can copy paste and test it?
> Because I entered a simple matrix again and still the finished pdf only 
> shows empty braces....

Hi Sebastian,

I copied and pasted your code adding \starttext...\stoptext:

    \starttext
    \startformula
    S=\left(\matrix{
      \sigma_x & \tau_{xy} & \tau_{xz} \cr
      \tau_{yx} & \sigma_y & \tau_{yz} \cr
        \tau_{zx} & \tau_{zy} & \sigma_z \cr
    }\right)_{xyz}
    \stopformula
    \stoptext

My guess is that the different results may be related to the OS.

I’m on Linux 32bit using luatex-0.90.0. As far as I know, Windows is
provided with luatex-0.95.0.

This might be the cause of the different results. But it is only my
guess. If this is the cause, you may have found a bug in luatex-0.95.0.

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: TeX "matrix" command not working lately
  2016-04-10 10:39     ` Pablo Rodriguez
@ 2016-04-10 10:52       ` L.S.-Soc&Gam
  0 siblings, 0 replies; 7+ messages in thread
From: L.S.-Soc&Gam @ 2016-04-10 10:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1493 bytes --]



Am 10.04.2016 um 12:39 schrieb Pablo Rodriguez:
> On 04/10/2016 11:45 AM, L.S.-Soc&Gam wrote:
>> [...]
>> I checked my version and it is the very same as yours.
>> Can you maybe give me the code that you tested, to create a matrix, so I
>> can copy paste and test it?
>> Because I entered a simple matrix again and still the finished pdf only
>> shows empty braces....
> Hi Sebastian,
>
> I copied and pasted your code adding \starttext...\stoptext:
>
>      \starttext
>      \startformula
>      S=\left(\matrix{
>        \sigma_x & \tau_{xy} & \tau_{xz} \cr
>        \tau_{yx} & \sigma_y & \tau_{yz} \cr
>          \tau_{zx} & \tau_{zy} & \sigma_z \cr
>      }\right)_{xyz}
>      \stopformula
>      \stoptext
>
> My guess is that the different results may be related to the OS.
>
> I’m on Linux 32bit using luatex-0.90.0. As far as I know, Windows is
> provided with luatex-0.95.0.
>
> This might be the cause of the different results. But it is only my
> guess. If this is the cause, you may have found a bug in luatex-0.95.0.
>
> I hope it helps,
>
> Pablo

A good point you've made there. I copied the code from above into a 
whole new document and compiled it. The result are *empty braces*.
That's interesting. So you might be right on the LuaTeX version 
difference issue. Anyway, Wolfgang's way works as well so I am going to 
use that technique for now. But this shouldn't be left standing like 
this I think.

Greetings, Sebastian

[-- Attachment #1.2: Type: text/html, Size: 1968 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

end of thread, other threads:[~2016-04-10 10:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-10  0:33 TeX "matrix" command not working lately L.S.-Soc&Gam
2016-04-10  9:39 ` Pablo Rodriguez
2016-04-10  9:45   ` L.S.-Soc&Gam
2016-04-10 10:39     ` Pablo Rodriguez
2016-04-10 10:52       ` L.S.-Soc&Gam
2016-04-10  9:45 ` Wolfgang Schuster
2016-04-10 10:06   ` L.S.-Soc&Gam

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