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 m-matrix.mkiv written by Hans
and Jeong Dalyoung, which allows to manipulate matrices.
Maybe one should add the functionality of your module to the one in the
distribution and somehow unify their environments.
I'll add this to the core:
% D We hook it into the normal mathmatrix code:
\ifdefined\c!simplecommand\else\def\c!simplecommand{simplecommand}\fi
\appendtoks
\edef\p_simplecommand{\mathmatrixparameter\c!simplecommand}%
\ifx\p_simplecommand\empty\else
\setuevalue{\p_simplecommand}{\dodoubleempty\math_matrix_simple[\currentmathmatrix]}%
\fi
\to \everydefinemathmatrix
Ah, this does make it more direct.
Thanks,
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
___________________________________________________________________________________