emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [org-cite] Testing on macOS, XML file missing


From: Bruce D'Arcus
Subject: Re: [org-cite] Testing on macOS, XML file missing
Date: Fri, 1 Oct 2021 08:33:48 -0400

It looks like that /etc/csl directory isn't included in the emacs source tree.

On Fri, Oct 1, 2021 at 4:57 AM Rudolf Adamkovič <salutis@me.com> wrote:
>
> Hi there,
>
> I compiled Emacs from "master" (2e92f90a5d) to try the new
> citations.
>
> > ./configure --with-json
> > make
> > make install
>
> (per usual, no errors)
>
> When I try to export HTML with APA/CSL citations (C-c C-e h o),
> Emacs says:
>
> > The default CSL locale file
> > /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/etc/csl/locales-en-US.xml
> > doesn’t exist or is unreadable
>
> (I checked, and no 'etc' directory exists in 'lisp/org'.)
>
> Expected: HTML with APA citations
>
> Emacs configuration:
>
> > (setq-default org-cite-global-bibliography (my/bibtex-files) ;;
> > (tons of .bib files)
> >               org-cite-csl-styles-dir "~/")
> >
> > (require 'oc-csl)
>
> Org document:
>
> > #+title: Testing citations #+cite_export: csl apa.csl
> > [cite:@manning-2009]
>
> Notes:
>
> - I also installed the 'citeproc' package, per "July 2021
>   Introducing citations!".
> - When I remove "#+cite_export: csl apa.csl", exporting works but
>   results in no CSL/APA.
>
> R+
>
> --
> "Contrariwise," continued Tweedledee, "if it was so, it might be;
> and if it were so, it would be; but as it isn't, it ain't. That's
> logic." -- Lewis Carroll, Through the Looking Glass  Rudolf
> Adamkovič <salutis@me.com> Studenohorská 25 84103 Bratislava
> Slovakia  [he/him]
>



reply via email to

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