thgier / PotatoPresenter

Tool to create presentation slides that can be exported as PDF.
61 stars 8 forks source link

System update breaks latex support #6

Closed ahormann closed 2 years ago

ahormann commented 2 years ago

I use Manjaro with KDE, everything was working fine until i made an system update today (including texlive 2021.61383-1 -> 2021.62659-1). Now when i try to compile a slide with a latex formla (eg $x$) the terminal prints latex exit code "Unbekannter Fehler" and the formula does not get displayed. Restarting the computer, reinstalling the potato presenter and downgrading some of the texlive packets did not help. Compiling latex-pdfs with pdflatex does still work.

thgier commented 2 years ago

The dvisvgm that the formula conversion uses is broken in the new update. I report this to the arch bug tracker: https://bugs.archlinux.org/task/74480

ahormann commented 2 years ago

Great, that you tracked it down!

thgier commented 2 years ago

With the help of the maintainer of dvisvgm I figured out that the problem is due to the new Ghostscript version. With version 9.55.0 it should work. Alternatively, there is a Patch for dvisvgm that is not now released: https://github.com/mgieseki/dvisvgm/commit/653220ebb129bc118329397b1ad2b58847d91c21

ahormann commented 2 years ago

That fixed it! Thank you!