emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Bruce D'Arcus" <bdarcus@gmail.com>
To: "Rudolf Adamkovič" <salutis@me.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: [org-cite] Testing on macOS, XML file missing
Date: Fri, 1 Oct 2021 08:33:48 -0400	[thread overview]
Message-ID: <CAF-FPGPsXURSk69A+Htx3wA9r8Jzkz0poLoW5Kb2E7-EUWyYyw@mail.gmail.com> (raw)
In-Reply-To: <m2czopnmwk.fsf@me.com>

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	other threads:[~2021-10-01 12:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01  8:56 [org-cite] Testing on macOS, XML file missing Rudolf Adamkovič
2021-10-01 12:33 ` Bruce D'Arcus [this message]
2021-10-01 12:37   ` Bruce D'Arcus
2021-10-02  5:46     ` Kyle Meyer
2021-10-02 12:52       ` Bruce D'Arcus
2021-10-02 16:01         ` Kyle Meyer
2021-10-02  5:24 ` Kyle Meyer
2021-10-02 12:50   ` Bruce D'Arcus
2021-10-02 15:34     ` Kyle Meyer
2021-10-02 18:52   ` Kyle Meyer
2021-10-03  9:25     ` Rudolf Adamkovič

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF-FPGPsXURSk69A+Htx3wA9r8Jzkz0poLoW5Kb2E7-EUWyYyw@mail.gmail.com \
    --to=bdarcus@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=salutis@me.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).