Actually, that whole etc directory is outdated.

On Fri, Oct 1, 2021 at 8:33 AM Bruce D'Arcus <bdar...@gmail.com> wrote:
>
> 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č <salu...@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č <salu...@me.com> Studenohorská 25 84103 Bratislava
> > Slovakia  [he/him]
> >

Reply via email to