Replies: 3 comments
-
So I guess the issue is that the style Word uses has different names, "Caption" or "Beschriftung", depending on the localization of your Word version. And we're looking for "Caption." |
Beta Was this translation helpful? Give feedback.
0 replies
-
In styles.xml we have: <w:style w:type="paragraph" w:styleId="Beschriftung">
<w:name w:val="caption"/> So what we need to do, instead of checking the styleId, is look up the style id and check the style's |
Beta Was this translation helpful? Give feedback.
0 replies
-
Please submit an issue with this suggestion, linking to this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have my Microsoft Word in German and my document in English.
I create a table using the Microsoft Word built-in interface.
And I add a caption using the Microsoft Word built-in dialogue window.
Because my document is in English, Word automatically set the caption to "Table".
The final minimal working example is mwe-using-german-word.docx.
When I run
pandoc --from docx --to html mwe-using-german-word.docx
, the output isinstead of
that is produced by the same command (
pandoc --from docx --to html
) but using mwe-using-english-word.docx as input.XML of non-English Document
The caption is
XML of English Document
Beta Was this translation helpful? Give feedback.
All reactions