How to convert LaTeX to Quarto via pandoc #5933
Unanswered
erikerhardt
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Note that this question is a Pandoc question not really Quarto. This being said, there are changes of syntaxes as you implied. Note that, you can run the bundle version of Pandoc used in Quarto |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Is there a pandoc style that will correctly convert a LaTeX book to quarto, and not just generic markdown? Is it related to the pandoc templates https://quarto.org/docs/journals/templates.html, and if so, how are they used?
I'm converting a LaTeX book to quarto, and I'm hoping to leverage some tools to do much of the conversion for me.
While the pandoc command below gets me pretty close, the markdown style is not the same as rmarkdown or quarto. For example, Headings 1 (Chapter) and 2 (Section) use underlines.
pandoc -f latex -t latex.tex -o markdown.md
https://pandoc.org/MANUAL.html
Example input:
Example output:
Beta Was this translation helpful? Give feedback.
All reactions