[okular] [Bug 441713] New: Okular "Cannot find latex executable."
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sun Aug 29 19:19:16 BST 2021
https://bugs.kde.org/show_bug.cgi?id=441713
Bug ID: 441713
Summary: Okular "Cannot find latex executable."
Product: okular
Version: 21.08.0
Platform: Flatpak
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: rms.des.web at gmail.com
Target Milestone: ---
SUMMARY
Trying to add annotations containing LaTeX in PDF fails with
"Cannot find latex executable."
Okular is installed through Flatpak.
Flatpak's texlive installation was performed with
org.freedesktop.Sdk.Extension.texlive.
Host system (Linux Mint 20) also has a working latex installation.
STEPS TO REPRODUCE
1. Install Okular and texlive through Flatpak
2. Annotate some pdf with a pop-up note containing latex. for instance
$$\frac{a}{b}$$
OBSERVED RESULT
Latex rendering failed - Okular
Cannot find latex executable.
EXPECTED RESULT
Display of mathematical formula
SOFTWARE/OS VERSIONS
Windows: NA
macOS: NA
Linux/KDE Plasma: Linux 5.4.0-81-generic (Linux Mint 20.1)
(available in About System)
KDE Plasma Version: NA
KDE Frameworks Version: KDE Frameworks 5.85.0
Qt Version: Qt 5.15.3 (built against 5.15.3)
ADDITIONAL INFORMATION
I suppose the problem is related to:
" QString latexExecutable =
QStandardPaths::findExecutable(QStringLiteral("latex")); "
line 144 latexrenderer.cpp
due to the sandbox, perhaps it cannot find the latex command, even if I give
full access to the system?
flatpak has the org.freedesktop.Sdk.Extension.texlive extension, perhaps it
could be used if it was added as a possible dependency?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list