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

redundant -t pdf option causes error: "cannot produce pdf output with pdf writer" #571

Closed
dunn opened this issue Jul 21, 2012 · 2 comments
Closed

Comments

@dunn
Copy link

dunn commented Jul 21, 2012

Using pandoc 1.9.4.2, I tried to make a PDF from a Markdown file using this command:

pandoc -f markdown -t pdf --smart -o recommendations.pdf recommendations.text

I got this error: "pandoc: cannot produce pdf output with pdf writer"

I quickly realized that the correct command was pandoc -f markdown --smart -o recommendations.pdf recommendations.text, but why can't pandoc handle the first, "verbose", command?

@frntn
Copy link

frntn commented Jan 11, 2013

Because "-t pdf" uses pdf writer, while in auto mode it uses pdflatex. (Don't know why)

@dunn
Copy link
Author

dunn commented Jan 12, 2013

Oh, I didn't realize there are two different pdf-writing processes. Thanks!

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

2 participants