Sage Math can't find pandoc on MacOS Mojave
Hi. I installed Sage Math earlier tonight. I'm liking it quite a lot so far, but when I tried to download a notebook as a pdf I got an error window telling me that it couldn't find pandoc. Indeed, it wasn't installed. So, I installed it with brew and now I can type
pandoc --version
in a terminal window and I get good output. But I still get the error in Sage. I feel like I need to somehow tell Sage where pandoc is, but I don't know how. I also installed basictex, or texbasic, or whatever - that went fine too.
Any thoughts?
What happens if you run
from sage.features.pandoc import Pandoc; Pandoc().is_present()
?I have a similar issue. I try to export a markdown-heavy notebook in latex form and get the error that Sage cannot find pandoc. If the notebook is only sage code, and not a lot of markdown, then it exports fine. But if there is markdown with headers or a lot of math displays, then I get the error.
In my terminal, the query "which pandoc" yields "/Users/ptallen/anaconda3/bin/pandoc" So clearly pandoc is there.
Similarly "which xetex" yields "/Library/TeX/texbin/xetex" so that should not be the issue.
Help!
ps. I'm using SageMath 8.7 on OSX 10.13 High Sierra