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

Allow non-LaTeX intermediaries for PDF generation #380

Closed
ashi-agrawal opened this issue Nov 17, 2024 · 2 comments · Fixed by #381
Closed

Allow non-LaTeX intermediaries for PDF generation #380

ashi-agrawal opened this issue Nov 17, 2024 · 2 comments · Fixed by #381

Comments

@ashi-agrawal
Copy link
Contributor

As of pandoc 2.8.0.1, released in November 2019, pdf is a valid output format. Since well before then, LaTeX was not the only intermediary format for creating PDFs; we currently force latex as the intermediary, which poses problems when trying to use a different intermediary format.

To fix this, we should be able to remove this line and actually use pdf as the output format. I've tested this locally to use typst as an intermediary, which previously failed with the failure pdf-engine typst is not compatible with output format latex but now correctly invokes and passes through the pandoc arguments.

@JessicaTegner
Copy link
Owner

Sounds like a good idea, since pandoc does support it.
Feel free to open a pr for it @ashi-agrawal then we can test it on CI to make sure nothing breaks :)

@ashi-agrawal
Copy link
Contributor Author

Great - just opened a PR. 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

Successfully merging a pull request may close this issue.

2 participants