Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Aditya Mahajan
On Thu, 18 Jan 2018, Hans Hagen wrote: On 1/18/2018 9:13 PM, Otared Kavian wrote: Hi Aditya, Thanks for sharing this nice module, it is really useful, especially when making documents for students while using Matlab or Scilab. Nice indeed. There is also in the distribution the module

Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Hans Hagen
On 1/18/2018 9:13 PM, Otared Kavian wrote: Hi Aditya, Thanks for sharing this nice module, it is really useful, especially when making documents for students while using Matlab or Scilab. Nice indeed. There is also in the distribution the module m-matrix.mkiv written by Hans and Jeong

Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Otared Kavian
Hi Aditya, Thanks for sharing this nice module, it is really useful, especially when making documents for students while using Matlab or Scilab. There is also in the distribution the module m-matrix.mkiv written by Hans and Jeong Dalyoung, which allows to manipulate matrices. Maybe one should

Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Fabrice Couvreur
Very great job, I will save a lot of time ! Fabrice 2018-01-18 19:12 GMT+01:00 Aditya Mahajan : > On Thu, 18 Jan 2018, Fabrice Couvreur wrote: > > Hello, >> Thank you. >> @Adytan This module is not part of context standalone, in which directory >> is it better to put it ? >>

Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Aditya Mahajan
On Thu, 18 Jan 2018, Fabrice Couvreur wrote: Hello, Thank you. @Adytan This module is not part of context standalone, in which directory is it better to put it ? Fabrice You can put it any directory where ConTeXt can find it. I usually use $TEXMFHOME/tex/context/personal/ On most systems,

Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Fabrice Couvreur
Hello, Thank you. @Adytan This module is not part of context standalone, in which directory is it better to put it ? Fabrice 2018-01-18 4:53 GMT+01:00 Aditya Mahajan : > On Wed, 17 Jan 2018, Fabrice Couvreur wrote: > > Hello, >> This macro that is not mine worked very well. I

Re: [NTG-context] Problem with \definemathmatrix

2018-01-17 Thread Aditya Mahajan
On Wed, 17 Jan 2018, Fabrice Couvreur wrote: Hello, This macro that is not mine worked very well. I just tested the following file and there is a problem. Otared has already answered your question but ... \math{M^3=\startpmatrix \NC 2 \NC 3 \NC 6 \NC 4 \NC 2 \NC 7 \NC 3 \NC 1 \NR

Re: [NTG-context] Problem with \definemathmatrix

2018-01-17 Thread Otared Kavian
Hi Fabrice, I think the problem comes from a blank line in your matrix (after your last line of entries in your matrix). The following works fine for me: \definemathmatrix [pmatrix] [left={\left(\,},right={\,\right)}] \starttext \startformula A = \startpmatrix \NC 11 \NC 12 \NR \NC 21

[NTG-context] Problem with \definemathmatrix

2018-01-17 Thread Fabrice Couvreur
Hello, This macro that is not mine worked very well. I just tested the following file and there is a problem. Thank you Fabrice \definemathmatrix [pmatrix] [left={\left(\,},right={\,\right)}] \starttext \math{M^3=\startpmatrix \NC 2 \NC 3 \NC 6 \NC 4 \NC 2 \NC 7 \NC 3 \NC 1 \NR