From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id APsMOU5gpmGwgAEAgWs5BA (envelope-from ) for ; Tue, 30 Nov 2021 18:33:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GI/iNE5gpmHqGwAA1q6Kng (envelope-from ) for ; Tue, 30 Nov 2021 17:33:02 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F4178BAC7 for ; Tue, 30 Nov 2021 18:33:01 +0100 (CET) Received: from localhost ([::1]:56934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms6zz-0004eH-PD for larch@yhetil.org; Tue, 30 Nov 2021 12:32:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms6yq-0004bh-4K for emacs-orgmode@gnu.org; Tue, 30 Nov 2021 12:31:48 -0500 Received: from [2a00:1450:4864:20::32b] (port=46015 helo=mail-wm1-x32b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms6ym-0006CD-9k for emacs-orgmode@gnu.org; Tue, 30 Nov 2021 12:31:47 -0500 Received: by mail-wm1-x32b.google.com with SMTP id g191-20020a1c9dc8000000b0032fbf912885so15332363wme.4 for ; Tue, 30 Nov 2021 09:31:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wrgsNYNzUG/EkvfWChzypHkjqQQlTLy1sGuoZfZkgMU=; b=OdMfFvgAb9xe9pfqHlfuliQKmgtzvGA5jjt0FsJ0/h2QaFqrmnWyFX3IKeP0shc1p5 T1cA8B7EytPDVU9tltev4eUbudy+pgsS/H5FPH5KDaeQ+C5312OKNjSOG6o8SRma2lv1 2QK4NMics1pxcSTChx7shO4hBreS4+/vqwVSnZzwP1+gZai5ZwjmbT+VI8IkQX8Ea3ox bXWchCzyW4C+gAyxI+7195Oz2j0yezh4kYfZq8fjveSfBhrKQr4Jop/g4elQVg/Y6dan mn5kWzZLKa4GquSPF1F1akG89ilYXEGasDlbxYH9smHFkclJ25ilX46SLdaOeJhQKmHj oTgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wrgsNYNzUG/EkvfWChzypHkjqQQlTLy1sGuoZfZkgMU=; b=kxan6TwP5AtMAt5zARKroG4vVBk2xdEZNip6YEpHKgM/aU0hQRkSdgbJAyfYFyi2fN Dq3FaKiag7+BizwDzhTe4z6PM139w0KuCEQQXOwm1ULijMS31VDxZnV4UHJ+1Gp10Ulz q425kNmg8iMx7HzPxcUlYzAZX06RYTyjH9rc45moW19JmpsSN9DXWxJz+YTzNeWBVfdj bwpDEt3Us9ji2Tg9W0HquOwN975hJDU840iBYi1Q7xdpYwSVQ6B4fZvK0buoIpimNHS4 ARajZaC6bq95EXQwftad8aNiUVfV3E336ZhK57H6M5ily74abR7hUZDpR+4O6IASOYRd zcxg== X-Gm-Message-State: AOAM531tOa0qL5FBnHS3u2t4Pp4JVh3yrXOHb8hIo0CILpDT0WlLLcFR WEBDiUpI2zoGE1U3i+7fF92Facl+zcbTL4FdrQ4= X-Google-Smtp-Source: ABdhPJz3PHMdHU7KaRuq6RVVUv10z+HOEyUUa/K6eIg1GsLrnXJ64lqgJVlcOaDSqgvuFrcY1yAP1pkrUWaCoS+Kz10= X-Received: by 2002:a05:600c:6d2:: with SMTP id b18mr66195wmn.98.1638293493983; Tue, 30 Nov 2021 09:31:33 -0800 (PST) MIME-Version: 1.0 References: <56442351-6f41-3490-01f2-0ca5aa930c6a@vidal-rosset.net> In-Reply-To: From: John Kitchin Date: Tue, 30 Nov 2021 12:31:22 -0500 Message-ID: Subject: Re: citeproc-org and org-ref 3 To: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Content-Type: multipart/alternative; boundary="000000000000bf2cd305d204ed6c" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32b (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=johnrkitchin@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: org-mode-email , Joseph Vidal-Rosset Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638293582; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wrgsNYNzUG/EkvfWChzypHkjqQQlTLy1sGuoZfZkgMU=; b=tx67vkfHJIEIj/OgaNvjbF8xsAPX3aIhcG8kKodaeV2eHEPKfd+dHPU8hP6f1mS40g7Qa1 knwN8QT0A5GEzElV85I7VHPWKl5eZ8UuS1+oKMGdlKO/hNS85x9o9VSwleCPQ8jrUWNCl0 KznC7gdkH1f8ZhjnyDs3OjmItINyZ/zoSsvhf4cEVwUvpl4gU+zR7OTeB22SzumDirncpC 1RFMgt+pcFa8D2FFXHe9C9J5b+BTHQeogT+x1R2q5zeeoxDrs7+BbEnBGFv6ydnZr/VzjS WufKc25nwF2wqEeWCNY7dRIyEidiwWA5RBD48YEXpreMhN/0U25BnmCcDZHgKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638293582; a=rsa-sha256; cv=none; b=Q9ZKzeykxyXiLnAaL8KhvLcx31yEkV28h653gdcIySCAei2cEV38B91DvfdH44HEC12NIH XZLO8xXwPpHSmKGLr/kZWkoiC7wS55CeCW2RHFPgUVzWZiJdmayAsLUBlqehBQ9BQ32U4f k5FK5EPqHOOdx3GaoZOnlUNpStajb003WwwxgmHPtpR1LDY89jfax86vJa6Y6Ur0N4w17u CDiDp2tPqkM/O1wSPT1Cr7M20sFAA898JSBSxa3p4xxl7tJNsbGFI3N3rlZtF4yYUIJCz6 l2p4GX5Ohi9niVZPzOYed/TCdbJu1xVV6J2rSS+8NjPz/fTUqlap7zzu0YQacA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=andrew.cmu.edu header.s=google-2021 header.b=OdMfFvgA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=andrew.cmu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=andrew.cmu.edu header.s=google-2021 header.b=OdMfFvgA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=andrew.cmu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F4178BAC7 X-Spam-Score: -1.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: IVIpDGYnutMj --000000000000bf2cd305d204ed6c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable See https://www.youtube.com/watch?v=3DrRR-5NSpKyE for an overview of what t= o 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 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 On Tue, Nov 30, 2021 at 12:16 PM Andr=C3=A1s Simonyi 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=C3=A1s > > On Tue, 30 Nov 2021 at 18:00, Joseph Vidal-Rosset > 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 > > I confess that I am lost. > > > > What have I to do to not waste too much time with this problem? > > > > Best wishes, > > > > Jo. > > > --000000000000bf2cd305d204ed6c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
See=C2=A0https://www.youtube.com/watch?v=3DrRR-5NSpKyE for an ov= erview 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 setti= ngs. You may also need a locale file if you are not blogging in english.

#+csl-s= tyle: apa-5th-edition.csl

#= +csl-locale: en-US


You can find a basic example org= file for html export with CSL at=C2=A0https://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-fil=
e (org-h=
tml-export-to-html)))

John

------------------------------= -----
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Depar= tment of Chemical Engineering
Carnegie Mellon University
Pittsburgh, = PA 15213
412-268-7803


On Tue, Nov 3= 0, 2021 at 12:16 PM Andr=C3=A1s Simonyi <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=C3=A1s

On Tue, 30 Nov 2021 at 18:00, Joseph Vidal-Rosset
<joseph@vid= al-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
> I confess that I am lost.
>
> What have I to do to not waste too much time with this problem?
>
> Best wishes,
>
> Jo.
>
--000000000000bf2cd305d204ed6c--