Hello, juh <juh+org-m...@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. HTH, -- Nicolas Goaziou