[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: citeproc-org and org-ref 3
From: |
Joseph Vidal-Rosset |
Subject: |
Re: citeproc-org and org-ref 3 |
Date: |
Tue, 30 Nov 2021 18:15:50 +0000 |
Many thanks John ! I will try and I will inform all of you.
Best wishes,
Jo.
Le 30/11/2021 à 18:31, John Kitchin a écrit :
> See https://www.youtube.com/watch?v=rRR-5NSpKyE
> <https://www.youtube.com/watch?v=rRR-5NSpKyE> for an overview of what to
> do. basically you need a csl file that provides the style you want, and
> you specify it like this in the org file or in default settings. You may
> also need a locale file if you are not blogging in english.
>
> #+csl-style: apa-5th-edition.csl
>
> #+csl-locale: en-US
>
>
> You can find a basic example org file for html export with CSL at
> https://github.com/jkitchin/org-ref/blob/master/examples/basic-csl.org
> <https://github.com/jkitchin/org-ref/blob/master/examples/basic-csl.org>
>
> Here is a minimal way to export your blog file I suppose.
>
> (let ((org-export-before-parsing-hook '(org-ref-csl-preprocess-buffer)))
> (org-open-file (org-html-export-to-html)))
>
>
> John
>
> -----------------------------------
> Professor John Kitchin (he/him/his)
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu <http://kitchingroup.cheme.cmu.edu>
>
>
>
> On Tue, Nov 30, 2021 at 12:16 PM András Simonyi
> <andras.simonyi@gmail.com <mailto:andras.simonyi@gmail.com>> wrote:
>
> Dear Joseph,
>
> unfortunately, my note on the `citeproc-org` page has become kind of
> misleading and has to be updated because org-ref didn't switch to the
> new org-cite citation syntax after all, although this was the plan for
> a while. I think if you wish to use org-ref 3 then you should simply
> remove citeproc-org entirely -- if I understand correctly the latest
> version of org-ref supports the old syntax as well and is capable of
> CSL-based export (among others) on its own.
>
> best regards,
> András
>
> On Tue, 30 Nov 2021 at 18:00, Joseph Vidal-Rosset
> <joseph@vidal-rosset.net <mailto:joseph@vidal-rosset.net>> wrote:
> >
> >
> > Dear John, and dear Andras,
> >
> > Having updated my org-ref to the last version, I see that the html
> > export of bibliography does not work any longer for my blog.
> >
> > Reading Andras's note here
> > https://github.com/andras-simonyi/citeproc-org
> <https://github.com/andras-simonyi/citeproc-org>
> > I confess that I am lost.
> >
> > What have I to do to not waste too much time with this problem?
> >
> > Best wishes,
> >
> > Jo.
> >
>