-
Notifications
You must be signed in to change notification settings - Fork 27
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
Badly formated XML for docx output #60
Comments
Same issue, the
|
Hi, I have the same issue. The error by libreoffice (v7.0) is Previous googling got me to #16, so it might be a related problem. Indeed, when I looked at the generated document.xml file, there seems to be issues with matching of the Here is the document.xml
|
Same issue for me. I believe the issue was introduced due to a change in pandoc 2.11.3. I have reverted back to pandoc 2.11.2 and Word no longer complains. All pandoc releases after 2.11.2 results in the badly formatted XML output. |
I've got "Xml parsing error" when I converted markdown to docx. After I removed I found this solution by comparing with pandoc-fignos, code in these 2 projects has a little different: This is in fignos: bookmarkstart = \
RawBlock('openxml',
'<w:bookmarkStart w:id="0" w:name="%s"/>'
%attrs.id)
bookmarkend = \
RawBlock('openxml', '<w:bookmarkEnd w:id="0"/>') But this is in eqnos: bookmarkstart = \
RawInline('openxml',
'<w:bookmarkStart w:id="0" w:name="%s"/><w:r><w:t>'
%attrs.id)
bookmarkend = \
RawInline('openxml',
'</w:t></w:r><w:bookmarkEnd w:id="0"/>')
ret = [bookmarkstart, AttrMath(*value), bookmarkend] I'm not really sure what will affect after removing them, seems like the bookmark break <w:p> and </w:p> pairs? |
Eqnos produces badly formated XML when used for docx output.
I compile file
demo.md
containing onlyor alternatively
with the following command
The output file cannot be open with Microsoft Windows (in a windows VirtualBox) nor LibreOffice.
I am running Ubuntu 16.04.
No error is reported on compilation.
The -v flags outputs
I use version 2.5.0 of pandoc eqnos, installed with anaconda.
The text was updated successfully, but these errors were encountered: