D12712: Fix maxima LaTeX output for matrics

Nikita Sirgienko noreply at phabricator.kde.org
Sun May 6 16:57:08 UTC 2018

sirgienko added a comment.

  In D12712#258790 <https://phabricator.kde.org/D12712#258790>, @asemke wrote:
  > Please help me to understand your comment "Fix bug with old matrix tex output in maxima, until it is fixed". Until what is fixed? Where does this tex-matrix function come from? Do you expect this to be fixed somewhere in maxima and to produce the output always with \begin{pmatrix} ... \end{pmatrix}?
  Maxima defines function for tex output. Function `tex-matrix` defined in maxima source file `mactex.list:662`. It looks like this:
    (defun tex-matrix(x l r) ;;matrix looks like ((mmatrix)((mlist) a b) ...)
      (append l `("\\pmatrix{")
    	  (mapcan #'(lambda(y)
    		      (tex-list (cdr y) nil (list "\\cr ") "&"))
    		  (cdr x))
    	  '("}") r))
  As you see, the function generate outdated tex output. And I think that for modern LaTeX it should update to '\begin{pmatrix}...\end{pmatrix}. So, if I push this changes to maxima and the changes be accepted, function tex-matrix redifinition in `cantor-initmaxima.lisp` can be removed.

  R55 Cantor


To: sirgienko, #cantor, asemke
Cc: #cantor, #kde_edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180506/17035a3e/attachment.html>

More information about the kde-edu mailing list