Bug 342649 - parsing result of calculations problem
Summary: parsing result of calculations problem
Status: RESOLVED LATER
Alias: None
Product: cantor
Classification: Applications
Component: maxima-backend (show other bugs)
Version: 0.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Rieder
URL: http://i.imgur.com/Cq1134b.png
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-09 08:39 UTC by temporary987
Modified: 2016-12-02 20:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description temporary987 2015-01-09 08:39:38 UTC
When I solve some equations in Cantor (Maxima as a backend, but I don't know if it is essential) result looks strange. Seems like there are problems with parsing it, because there are many odd symbols except the result itself.

Reproducible: Always

Steps to Reproduce:
1. Solve any equation using Cantor
2. Look at a result

Actual Results:  
Result looks like: 
\begin{eqnarray*}
\left[ \left[ x=42 , y=14 \right] \right]
\end{eqnarray*}

Expected Results:  
There should be a clear answer without any "\right", "\left", "\end"
Comment 1 Christoph Feck 2015-01-14 14:16:40 UTC
You probably enabled LaTeX formatting, without LaTeX being installed?
Comment 2 temporary987 2015-01-15 04:20:44 UTC
Actually, I didn't enable it: it was enabled by default, though LaTex in not a dependency for Cantor in Ubuntu 14.04. Probably it is a packaging bug. With LaTeX everything works fine. Thank you.
Comment 3 Christoph Feck 2015-01-15 11:13:47 UTC
I am unsure if we should at least do an "is 'latex' executable in path" check, but it sounds reasonable. Otherwise, we indeed can blame the distribution.
Comment 4 temporary987 2015-01-15 20:17:56 UTC
Probably it is really logical to let this option be enabled only if Latex is installed.
Comment 5 Alexander Semke 2016-12-02 20:51:21 UTC
I'm closing this bug report now. The improvement in TeX typesetting will be tracked in the task https://phabricator.kde.org/T4805 :

* allow the user to select between different latex engines (latex, pdftex, tetex, luatex) to allow unicode fonts etc.
* disable latex typesetting and output in the worksheet if no latex installation is available
* allow to input a complete latex document (with \begin{document}, etc.) in "latex entries"