D12712: Fix maxima LaTeX output for matrics
Nikita Sirgienko
noreply at phabricator.kde.org
Sat May 5 20:30:48 UTC 2018
sirgienko added a comment.
In D12712#258590 <https://phabricator.kde.org/D12712#258590>, @asemke wrote:
> In D12712#258582 <https://phabricator.kde.org/D12712#258582>, @sirgienko wrote:
>
> > @asemke, I'm confused: https://bugs.kde.org/show_bug.cgi?id=387303 in general component, but I found pmatrix only in maxima backend (and it maxima bug). So, I don't sure, that this fix 387303 bug.
>
>
> my understanding of BUG 387303 is that during the "Export to LaTeX" (available in the main menu "File") wrong/old latex syntax is used for matrices. Here src/xslt/latex.xsl is used and my first guess was to add here a proper transformation rule. But you have also a valid point here with rendering of matrix(...) in maxima and most probably in Sage. I'll check your patch.
As I understad, latex.xsl is template file for html worksheet output, right? But we don't have special html output for matrixs, aren't it? As I see, matrixs from different backends returned as plain text with '\n' (octave, python2, maybe python3 (import bug, can't test), qalqulate (not sure, that output is valid, but it still plain text), scilab) or latexentry (maxima). I haven't tested sage (broken for me), R (haven't output for matrix), Julia (broken too, after upgrade to 18.04), KAlgebra (don't know, how write matrix).
So, if we haven't special tags, we can't specify rule for matrixs, right?
REPOSITORY
R55 Cantor
REVISION DETAIL
https://phabricator.kde.org/D12712
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/20180505/9c51aee4/attachment.html>
More information about the kde-edu
mailing list