Bug 502417 - LaTeX output is not rendered / not shown (pdflatex, TeXlive 2024, no error shown)
Summary: LaTeX output is not rendered / not shown (pdflatex, TeXlive 2024, no error sh...
Status: REPORTED
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (show other bugs)
Version: 2.11.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-04 16:26 UTC by Oliver Freyermuth
Modified: 2025-04-04 16:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Freyermuth 2025-04-04 16:26:22 UTC
SUMMARY
LaTeX output is not rendered / not shown, but no error is shown. 

STEPS TO REPRODUCE
1. Create a new plot. 
2. Select axis, title, switch to LaTeX mode. 
3. Enter a valid string such as "x axis $a$". 
4. Observe no rendered axis title. 

OBSERVED RESULT
Axis title not rendered, no error shown. 

EXPECTED RESULT
Axis title shown with LaTeX rendering. 

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Gentoo Linux 2.17
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
TeXlive version: 2024
Ghostscript version: 10.04.0

ADDITIONAL INFORMATION
Entering an invalid LaTeX string, such as:
x axis $a
(missing the trailing $) yields an error (Exit code 1). Checking with strace shows that pdflatex is called, a tex file is created, a pdf is created and read, and everything is purged (including TeX logs). 
Tested all engines:
* pdflatex => bug as described (no output)
* latex => bug as described (no output)
* LuaLaTeX => always show "! Package fontspec Error: " (independent of LaTeX string correctness). 
* XeLaTeX => always shows exit code 1 (independent of LaTeX string correctness). 

Ideas on how to debug this are very welcome, I can certainly extract more information if there is a way to have labplot not clean up intermediate output.