emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: "Rudolf Adamkovič" <salutis@me.com>
Cc: Bastien <bzg@gnu.org>,
	emacs-orgmode@gnu.org, Bruce D'Arcus <bdarcus@gmail.com>,
	Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: [org-cite] Testing on macOS, XML file missing
Date: Sat, 02 Oct 2021 01:24:33 -0400	[thread overview]
Message-ID: <87pmsovw1a.fsf@kyleam.com> (raw)
In-Reply-To: <m2czopnmwk.fsf@me.com>

Rudolf Adamkovič writes:

> I compiled Emacs from "master" (2e92f90a5d) to try the new 
> citations.
>
[...]
>
> 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'.)

Thanks for the report.  Indeed I didn't check for new files outside of
lisp/, and etc/csl/ wasn't synced to Emacs.  Though even if those files
were present, you would have seen the same failure due to the way things
are written on our end.

I've pushed a set of commits to the Org repo (60b178e59, 0f11a44e0, and
9cc7f8bd1) that should prepare things on our end.  And I've done a local
sync to Emacs and verified that org-cite-csl--etc-dir looks to point to
the right place when running from Emacs and when installed to the
system.

Before we sync these etc/csl/ files to the Emacs repo (which hopefully
won't be a point of contention), I have a question about these files.
After a bit of digging, I traced their origin.  As I say in 9cc7f8bd1
(etc/csl: Add a README in preparation for Emacs sync):

  I did not add these files, but I have verified that
  
   - etc/csl/chicago-author-date.csl is identical to
     9821a884d2cbf919a064426999b05aa78e98da8d:chicago-author-date.csl
     from https://github.com/citation-style-language/styles
  
   - etc/csl/locales-en-US.xml is identical to
     a2b76b20ee120979ec66cfdcfa798b36fc5a7f0b:locales-en-US.xml from
     https://github.com/citation-style-language/locales

However, both of those files have newer versions.

  $ git log --oneline --format="%ch | %h %s" 9821a88.. -- chicago-author-date.csl
  Sun Sep 19 03:19 | ccb71844f Update chicago-author-date.csl (#5605)
  Apr 26 2020 | a78997329 Chicago: Uppercase "Presentated at" if no `genre` (#4729)
  Aug 13 2019 | d9852a293 Update chicago-author-date.csl and other author date variants (#4250)
  Jan 3 2019 | 246ce5fdf Chicago: Correct dictionary/encyclopedia entries
  May 21 2018 | 9296c8c15 Fix redundant terms (#3517)
  May 13 2018 | e4db3699d update chicago-author-date.csl; close issue #3386 (#3455)
  Jan 25 2018 | f601d1af5 Fix missing space before locators. (#3288)
  Dec 6 2017 | 04cbd1787 Reindent/reorder

  ---

  $ git log --oneline --format="%ch | %h %s" a2b76b2.. -- locales-en-US.xml 
  Dec 29 2017 | 9a4eb48 Replace some usernames by real names
  Dec 29 2017 | f01d92a Drop email addresses from translator tags
  Dec 29 2017 | f6fa898 Add translators from git log to the locale files.

Is there a reason to avoid updating to the latest version?


  parent reply	other threads:[~2021-10-02  5:25 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
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 [this message]
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=87pmsovw1a.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=bdarcus@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --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).