obsidian-pandoc icon indicating copy to clipboard operation
obsidian-pandoc copied to clipboard

Everything (almost) is available as export option except PDF

Open sutrisno00 opened this issue 3 years ago • 4 comments

image

sutrisno00 avatar Nov 22 '21 13:11 sutrisno00

I had the same problem, apparently you need pdflatex for the PDF option to work https://github.com/OliverBalfour/obsidian-pandoc/issues/61

Info directly from Pandoc here: https://pandoc.org/MANUAL.html#creating-a-pdf

AlexGascon avatar Nov 27 '21 19:11 AlexGascon

I'm trying to specify the pdf engine with pandoc --pdf-engine=pdflatex The iterm process starts, but it never ends and I don't get any errors. It's just stuck in the task... Any ideas or help for me or future people?

tjex avatar Dec 10 '21 11:12 tjex

I followed the links here and there are vague descriptions of how to fix this, none of which I really got to work.

According to the pandoc docs I ran apt install texlive. After restarting Obsidian I still couldn't see the option to export as pdf via pandoc, so I defined the path the pdflatex in the pandoc plugin settings. Now on restart I can see the option to export as pdf via pandoc, however it fails without an error message explaining why.

hunterjackson avatar Jan 17 '22 22:01 hunterjackson

I followed the links here and there are vague descriptions of how to fix this, none of which I really got to work.

According to the pandoc docs I ran apt install texlive. After restarting Obsidian I still couldn't see the option to export as pdf via pandoc, so I defined the path the pdflatex in the pandoc plugin settings. Now on restart I can see the option to export as pdf via pandoc, however it fails without an error message explaining why.

Ah I solved it, I had Obsidian installed as a flatpak

hunterjackson avatar Jan 17 '22 23:01 hunterjackson