Skip to content
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

Convert markdown to word: “Word experienced an error trying to open the file” #62

Open
zkwabm opened this issue Jun 17, 2021 · 5 comments · May be fixed by #64
Open

Convert markdown to word: “Word experienced an error trying to open the file” #62

zkwabm opened this issue Jun 17, 2021 · 5 comments · May be fixed by #64

Comments

@zkwabm
Copy link

zkwabm commented Jun 17, 2021

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.
output-error

@dfolch
Copy link

dfolch commented Sep 23, 2021

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

@xingyunjohn1
Copy link

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.

@mib383
Copy link

mib383 commented Oct 11, 2021

i also have te same issue

@mdekauwe
Copy link

mdekauwe commented Oct 27, 2021

Same issue on a mac

I can get it working with:

pandoc 2.11 and pandoc-eqnos 2.5 or pandoc-eqnos 2.4

nOkuda added a commit to nOkuda/pandoc-eqnos that referenced this issue Nov 3, 2021
@nOkuda nOkuda linked a pull request Nov 3, 2021 that will close this issue
@toshiakiasakura
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants