pandoc-eqnos
pandoc-eqnos copied to clipboard
Convert markdown to word: “Word experienced an error trying to open the file”
I installed pandoc-eqnos on Windows 10 using pip install pandoc-eqnos pandoc-xnos, but when I try to convert the markdown to word with --filter pandoc-eqnos I get an error:
Word experienced an error trying to open the file. Try these suggestions.
- Check the file permissions for the document or drive.
- Make sure there is sufficient free memory and disk space.
- Open the file with the Text Recovery converter. (algorithm-update.docx)
When I delete the setting "--filter pandoc-eqnos", the word can be opened sucessfully.
I'm getting this error too. Here is what I've tested:
- pandoc-eqnos 2.4 and pandoc 2.11: works
- pandoc-eqnos 2.5 and pandoc 2.11: works
- pandoc-eqnos 2.4 and pandoc 2.12: fails
- pandoc-eqnos 2.5 and pandoc 2.12: fails
Minimal example
An awesome equation follows: $$ a^2 + b^2 = c^2$${#eq:science}Some more text.
Command line:
pandoc -s example.md --filter pandoc-xnos -o example.docx
pandoc 2.14.2
with pandoc-eqnos 2.5.0
gets the same error.
Command line:
pandoc -f markdown -o "C:\a.docx" -t docx "C:\a.md" --filter pandoc-eqnos
Example is your demo.
i also have te same issue
Same issue on a mac
I can get it working with:
pandoc 2.11 and pandoc-eqnos 2.5 or pandoc-eqnos 2.4
I still can not use this function, and I searched for how to insert an equation numebr without references (since this freature is not solved, but have to explore an alternative).
I can align the equation number with pantable
package as follows.
```table
---
alignment: CCC
table-width: 1/1
markdown: true
---
, $p^2+2pq+q^2$,\(1\)
```(for display purpose)
But this is a just quick-fix solution, hope bugs will be fixed.