OliverBalfour / obsidian-pandoc

Pandoc document export plugin for Obsidian (https://obsidian.md)
MIT License
717 stars 60 forks source link

flatpak installation not able to find pdflatex or xelatex #158

Open martinreder opened 2 years ago

martinreder commented 2 years ago

I am running Obsidian via a flatpak installation on my fedora linux machine. The plugin was not able to find the pdf-engine pdflatex and xelatex. Both are installed and using pandoc in the terminal also worked correctly.

I fixed my problem by installing the flatpak version of texlive.

This is the command i had to run, it downloads the full texlive package which is about ~5 Gigabytes large. flatpak install org.freedesktop.Sdk.Extension.texlive

Maybe researching this problem more closely and adding it to the readme would help other people.

sunsoy commented 1 year ago

just went through this too, ~7.5GB for branch 22.08, unacceptably large for this purpose

also stumbled across a message about this on PopOS's software "shop" offering the flatpak

image

might be possible with some flatpak manipulation but I am not confident on this

https://stackoverflow.com/questions/71349174/what-is-the-right-way-to-give-flatpak-access-to-system-binaries

Agree might be helpful for future users if impact of chosen Obsidian install method be detailed on obsidian-pandoc README @OliverBalfour

I'll just run .AppImage/.deb to use pandoc PDF as a temporary solution