Ask Your Question
1

Sage Math can't find pandoc on MacOS Mojave

asked 2019-09-12 23:00:07 -0600

KipIngram gravatar image

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?

edit retag flag offensive close merge delete

Comments

What happens if you run from sage.features.pandoc import Pandoc; Pandoc().is_present()?

Iguananaut gravatar imageIguananaut ( 2019-09-13 09:09:54 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-09-13 03:27:39 -0600

tmonteil gravatar image

updated 2019-09-13 03:28:48 -0600

I am not a mac user, but the error you get about pandoc is weird since it should be sufficient that it is on your path. Regarding latex, note that you need xetexpackage, see https://nbconvert.readthedocs.io/en/l...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-09-12 23:00:07 -0600

Seen: 32 times

Last updated: Sep 13