org-ref
org-ref copied to clipboard
Org-ref-refproc symbols function definition is void
I'm trying to export into docx format using pandoc. However, each time I face the same error. My workflow is the following:
- Some org tables cross referencing and some text (with #+title attribute only) and citations no latex at all.
- Run org-ref-export/body and choose refproc.
- Same Error each time.
- Tried reinstall clean install of everything nothing changed. Any solutions?
what is the error you see? Can you post a small example that illustrates the issue?
@jkitchin please a look! my config is the following:
(use-package! org-ref
:after org
:init
;:after org-roam
;;(setq org-export-before-parsing-hook nil)
:config
(setq
bibtex-completion-bibliography '("~/dotfiles/org/bibtex/zotlib.bib")
;;bibtex-completion-bibliography '((concat bibtex_path "zotlib.bib"))
bibtex-completion-library-path '("~/dotfiles/org/literature/")
bibtex-completion-notes-path "~/dotfiles/org/notes/"
bibtex-completion-notes-template-multiple-files "* ${author-or-editor}, ${title}, ${journal}, (${year}) :${=type=}: \n\nSee [[cite:&${=key=}]]\n"
)
)
(use-package! org-roam-bibtex
:after org-roam
:init
:config
(require 'org-ref)
(setq
org-roam-directory "~/dotfiles/org/notes/"
org-cite-csl-styles-dir "~/dotfiles/org/bibtex/styles/"
)
(setq org-roam-capture-templates '(
;;
("d" "default" plain "%?"
:if-new
(file+head "%<%Y%m%d%H%M%S>-${slug}.org"
"#+title: ${title}\n#+filetags: \n\n ")
:unnarrowed t)
;;
("r" "bibliography reference" plain "%?"
:if-new:
(file+head "${citekey}.org"
"#+TITLE: ${=key=}: ${title} \n#+ROAM_KEY: cite:${=key=} \n#+ROAM_TAGS: \n
* keywords :: ${keywords} \n
* ${title}\n
:PROPERTIES:\n
:Custom_ID: ${=key=} \n
:URL: ${url} \n
:DOI: ${doi} \n
:AUTHOR: ${author-or-editor} \n
:NOTER_DOCUMENT: %(orb-process-file-field \${=key=}\) \n
:NOTER_PAGE: \n
:END: \n\n")
:unnarrowed t)
;;
("d" "definition" plain "%?"
:if-new
(file+head "${slug}.org" "#+title: ${title}\n#+filetags: definition \n\n* Definition\n\n\n* Examples\n")
:unnarrowed t)
;;
("g" "guess" plain "%?"
:if-new
(file+head "${citekey}.org"
"#+title: ${slug}: ${title}\n\n
#+filetags: reference ${keywords} \n\n
* ${title}\n\n\n
* Summary\n\n\n
* Rough note space\n")
:unnarrowed t))
)
)
@jkitchin any hint for solving this issue ?
Have a little patience. It looks like you have not loaded the org-ref-refproc
library. See if you can build the org-file at https://github.com/jkitchin/org-ref/blob/master/examples/refproc.org#html, following the directions at that link.
Have a little patience. It looks like you have not loaded the
org-ref-refproc
library. See if you can build the org-file at https://github.com/jkitchin/org-ref/blob/master/examples/refproc.org#html, following the directions at that link.
@jkitchin thank you for your reply and I did what you suggest yet the same error keep popping up !
@jkitchin any thing new?
I guess something is wrong with your installation. If you get that error when running the code block at https://github.com/jkitchin/org-ref/blob/master/examples/refproc.org#html, then something is not getting loaded right. If you look in the library org-ref-refproc
, do you see that funtion defined: https://github.com/jkitchin/org-ref/blob/master/org-ref-refproc.el#L452?
I guess something is wrong with your installation. If you get that error when running the code block at https://github.com/jkitchin/org-ref/blob/master/examples/refproc.org#html, then something is not getting loaded right. If you look in the library
org-ref-refproc
, do you see that funtion defined: https://github.com/jkitchin/org-ref/blob/master/org-ref-refproc.el#L452?
Thank you. I guess you should explain a bit some stuff like how to look into library? I think I'm missing something here because When I call functions from org-ref everything is fine.
You type M-x find-library
then at the prompt type: org-ref-refproc
that should open the library. The function you are having trouble with is at the bottom of that file. If it is there, try typing:
M-x eval-buffer
that will load everything there, and it should not have any errors.
then try your export again.