Conversion of LaTeX sections to Markdown not what I expect #9479
Unanswered
dmca-glasgow
asked this question in
Q&A
Replies: 1 comment 1 reply
-
First, note that there is no semantic difference in pandoc between
and
The first is just syntactic sugar for the second. So all that is different here is that an identifier has been added. |
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
-
Hi there,
Given the following LaTeX:
And running the command
pandoc --output test.md test.tex
The resulting Markdown is:
This doesn't work with
pdflatex
though, resulting in:! LaTeX Error: Environment definition undefined.
When I fix this by adding a
\newtheorem
line:The resulting Markdown "definition" directive with the custom label has lost it's name and gained a class:
Is this a bug or intentional? If intentional, why?
I'd just like to know before I write functionality to handle it further down the chain.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions