|
| From: | juh |
| Subject: | Re: Bibliographies on export with ox-context and ox-epub |
| Date: | Wed, 12 Jan 2022 17:38:08 +0100 |
On 12.01.22 15:53, Nicolas Goaziou wrote:
Hello, juh <juh+org-mode@mailbox.org> writes:The last step was to make a symlink. sudo ln -s /usr/share/citation-style-language/locales /usr/share/emacs/27.1/etc/org/cslThis is odd. Locales and Styles are two different things.Citations in this format now works. [cite: @bibtex_key S. 63] I define the style in the preamble: #+cite_export: csl /home/juh/csl.styles-distribution/kritische-ausgabe.csl What I can't do is to insert a citation because org-cite-insert runs foreverYou could try <M-x toggle-debug-on-quit>, then insert a citation, and quit with C-g when it freezes. It should give you a full backtrace, which you could send here. It is better if you reload Org uncompiled first, with <C-u M-x org-reload>.
Debugger entered--Lisp error: (quit)
org-cite-basic--get-entry("noauthor_nouvelle_nodate" nil)
org-cite-basic--get-field(year "noauthor_nouvelle_nodate" nil raw)
org-cite-basic--get-year("noauthor_nouvelle_nodate" nil no-suffix)
org-cite-basic--key-completion-table()
org-cite-basic--complete-key(t)
#f(compiled-function (select-key select-style arg) #<bytecode
0x1561cc164ae1>)(org-cite-basic--complete-key
org-cite-basic--complete-style nil)
#f(compiled-function (context arg) #<bytecode 0x1561cbec25fd>)(nil nil)
org-cite-insert(nil)
funcall-interactively(org-cite-insert nil)
call-interactively(org-cite-insert record nil)
command-execute(org-cite-insert record)
execute-extended-command(nil "org-cite-insert" nil)
funcall-interactively(execute-extended-command nil "org-cite-insert" nil)
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
The offending entry:
@misc{noauthor_nouvelle_nodate,
title = {Nouvelle {Vague} – {Wikipedia}},
url = {http://de.wikipedia.org/wiki/Nouvelle_Vague},
urldate = {2011-01-06},
file = {Nouvelle Vague –
Wikipedia:/home/juh/Zotero/storage/B7UGCJCN/Nouvelle_Vague.html:text/html},
}Before this entry was marked I deleted another one. So I fear that I have some entries that org-cite-insert does not like.
juh
| [Prev in Thread] | Current Thread | [Next in Thread] |