D25579: Use preview package only instead of standalone for the preview of rendered LaTeX images

Alexander Semke noreply at phabricator.kde.org
Wed Nov 27 20:56:42 GMT 2019


asemke created this revision.
asemke added a reviewer: sirgienko.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
asemke requested review of this revision.

REVISION SUMMARY
  standalone LaTeX package that is being used now doesn't work on openSuse and maybe on some other distributions. This patch makes the latex renderer using the preview package. Setting the background and the font colors as well as the font size works well.
  
  One remaining issues is the white document margin line which becomes visible when using dark desktop theme (=dark colors in Cantor's worksheet). This minor issue will be addressed in another fix, if a solution for this problem is possible. If not, we should still go for this patch since it's better to accept think bounding box around formulas with dark themes on openSuse than accepting completely broken Cantor worksheet on this distribution.

REPOSITORY
  R55 Cantor

REVISION DETAIL
  https://phabricator.kde.org/D25579

AFFECTED FILES
  src/mathrendertask.cpp
  thirdparty/CMakeLists.txt
  thirdparty/README.md
  thirdparty/standalone.cls

To: asemke, sirgienko
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191127/64c8f926/attachment.html>


More information about the kde-edu mailing list