Python latex expression renderer #5

Closed
opened 2022-03-05 14:19:31 +00:00 by Ad5001 · 1 comment
Owner

There should be an helper on python's side that renders latex strings to temporary images (signature based) images.

Currently, the stack uses pdflatex and dvipng to generate formulas. Packaging dvipng is doable, but LaTeX will be much more difficult for Windows and macOS.

Ideally, another simpler library should be used in the future e.g:

Required tasks:

  • Base latex rendering (library)
  • Transparent backgrounds
  • Font color customisation
  • Image caching
There should be an helper on python's side that renders latex strings to temporary images (signature based) images. Currently, the stack uses `pdflatex` and `dvipng` to generate formulas. Packaging dvipng is doable, but LaTeX will be much more difficult for Windows and macOS. Ideally, another simpler library should be used in the future e.g: - [MathJax (JS)](https://www.mathjax.org/) (if portable to QMLJS) - [KLatexFormula (C++)](https://klatexformula.sourceforge.io/doc/) (if packageable with PySide2) Required tasks: - [x] Base latex rendering (library) - [x] Transparent backgrounds - [x] Font color customisation - [x] Image caching
Ad5001 added the
enhancement
label 2022-03-05 14:19:31 +00:00
Ad5001 added this to the Latex rendering project 2022-03-05 14:19:32 +00:00
Ad5001 added reference latex-rendering 2022-03-07 00:51:08 +00:00
Ad5001 added this to the v0.2.0 milestone 2022-03-07 00:52:06 +00:00
Author
Owner

Closing for now, might be reopened if switched to another latex framework.

Closing for now, might be reopened if switched to another latex framework.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Ad5001/LogarithmPlotter#5
No description provided.