[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bibliographies on export with ox-context and ox-epub

From: Nicolas Goaziou
Subject: Re: Bibliographies on export with ox-context and ox-epub
Date: Wed, 01 Dec 2021 16:06:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)


juh <juh+org-mode@mailbox.org> writes:

> thanks a lot.
> basic works

Good! We're getting close.

> but with csl I get:
> citeproc-style-parse: Opening input file: Datei oder Verzeichnis nicht 
> gefunden, /usr/share/emacs/27.1/etc/org/csl/chicago-author-date.csl
> File or directory not found.

That's unexpected. I am curious to know why `org-cite-csl--etc-dir' is
set to "/usr/share/emacs/27.1/etc/org/csl/chicago-author-date.csl".

If you have some time to spare, you could edebug this defconst by using
<C-u C-M-x> on its definition and move with successive <n>. In
particular, (locate-library "oc") should not point to
/usr/share/emacs/27.1/... since it was not available at that time.

> I tried to point 
> #+csl_style: ~/Projekte/csl.styles/chicago-author-date.csl
> but there is no change in the error message.

Location of the CSL style file should be the second token in the
"cite_export" keyword. So the above should be:

  #+cite_export: csl ~/Projekte/csl.styles/chicago-author-date.csl

You can also shorten this with `org-cite-csl-styles-dir' variable. E.g.,
if _all_ your style files are located in "~/Projekte/csl.styles/", you
could use:

  (setq org-cite-csl-styles-dir "~/Projekte/csl.styles/")

In that case, the second token from "cite_export" keyword would become:

  #+cite_export: csl chicago-author-date.csl

Note there is no "csl_style" keyword in Org Cite. It might be related to
Org Ref, which is a different citation system.

Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]