TeX "matrix" command not working lately
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
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
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
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
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
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
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
participants (3)
-
L.S.-Soc&Gam
-
Pablo Rodriguez
-
Wolfgang Schuster