Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandoc: unrecognized option `--pdf-engine' #158

Closed
fuhrmanator opened this issue Nov 26, 2019 · 2 comments
Closed

pandoc: unrecognized option `--pdf-engine' #158

fuhrmanator opened this issue Nov 26, 2019 · 2 comments

Comments

@fuhrmanator
Copy link

I'm building on

NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"

and I get the following error:

pandoc: unrecognized option `--pdf-engine'
Try pandoc --help for more information.
Makefile:15: recipe for target 'pdf' failed

The fix seems to be --latex-engine xelatex instead of --pdf-engine xelatex. It worked for me, anyway.

fuhrmanator added a commit to fuhrmanator/ebook that referenced this issue Nov 26, 2019
@fuhrmanator
Copy link
Author

This seems to depend on the version of Pandoc. 2.0 seems to be where this changed.

@fuhrmanator
Copy link
Author

fuhrmanator commented Dec 10, 2019

More details: Ubuntu 18.04 won't install pandoc 2.x with apt-get because its current install was

bionic (18.04LTS) (text): general markup converter [universe]
1.19.2.4~dfsg-1build4: amd64 arm64 armhf i386 ppc64el s390x

I went to https://github.com/jgm/pandoc/releases/latest and downloaded the pandoc-2.*-amd64.deb file and executed

sudo dpkg -i $DEB

where $DEB is the downloaded .deb file above, to install it by hand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant