jkitchin / org-ref

org-mode modules for citations, cross-references, bibliographies in org-mode and useful bibtex tools to go with it.
GNU General Public License v3.0
1.36k stars 243 forks source link

Org-ref export to odt and docx fails #1089

Closed WouterSpekkink closed 1 year ago

WouterSpekkink commented 1 year ago

I am trying to export an org file with org-ref styled citations to a docx or odt file, ideally with the citations formatted.

If I use org-ref-export with either of these formats, I get the error: wrong-number-of-arguments (0 . 0) 10

Maybe my settings are incorrect? I don't really know where to start looking. I am linking my config file just in case.

Exporting to PDF works fine.

I added the debugger report below.

Debugger entered--Lisp error: (wrong-number-of-arguments (0 . 0) 10) org-export-copy-buffer(:to-buffer nil :drop-visibility nil :drop-narrowing nil :drop-contents nil :drop-locals nil) org-ref-export-to(docx nil nil nil nil nil) org-ref-export-to-docx(nil nil nil nil) org-export-dispatch(nil) funcall-interactively(org-export-dispatch nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch)

jkitchin commented 1 year ago

could you post a minimum working example of your document that shows the error?

WouterSpekkink commented 1 year ago

Okay, I feel kinda stupid now, but when I tried to make a minimum working example, I found that the export started working, also with the document where it originally didn't. I have no clue what changed in the meantime, but I guess I can close the issue. Apologies!