From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OIs5Devbr2CfigAAgWs5BA (envelope-from ) for ; Thu, 27 May 2021 19:50:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +kPqCOvbr2DcJwAA1q6Kng (envelope-from ) for ; Thu, 27 May 2021 17:50:35 +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 7F3F0AE10 for ; Thu, 27 May 2021 19:50:34 +0200 (CEST) Received: from localhost ([::1]:51520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmK9Q-0003Pf-R8 for larch@yhetil.org; Thu, 27 May 2021 13:50:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmK92-0003NM-3w for emacs-orgmode@gnu.org; Thu, 27 May 2021 13:50:08 -0400 Received: from mail-vs1-xe2d.google.com ([2607:f8b0:4864:20::e2d]:42683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmK90-0006un-5G for emacs-orgmode@gnu.org; Thu, 27 May 2021 13:50:07 -0400 Received: by mail-vs1-xe2d.google.com with SMTP id j12so801310vsq.9 for ; Thu, 27 May 2021 10:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=O3MvJ0krwoCfaNX50fCqQalkLRSLNSd47JtX3+K2VKQ=; b=hVKvLKdrMLWnCeN+M2+JDI4esSUg1biV+vO218Z6pEujFcmH4I3zsMWCt6JnBFDIgG vhGmh7k2R3EKcNq/V7G8PguJKEJU0lcpl8D9ASA8RHDoqoG0TYhtAKHDXcDKpFr5EJsw 278zvTa9Nf0c49DK5MQjjMYY/8CXcZqqi+c+IzTxVU+EENgUuSORem48g845dQydKUTA BrmGBmRorDD4sCSx7zu71wpgtudHQk84dfZDt71L1lXD3CBndxo8wq1BF15eWQlMYgSS 3CrlLghvsRuH7Q2VwBHJ7RHG7ZpBVgBmFd6LDppa94a7Z2b/qmHh9XkiXQ5F4Nr34b6I kzrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=O3MvJ0krwoCfaNX50fCqQalkLRSLNSd47JtX3+K2VKQ=; b=cKSV2ud5k/hj9J+Nguh9FA/Lidw3aeDvgzt1O0xevKigMkliMde+M2xLGlXY6u9kTt JwUVaC8IKKg/mKYst0jwgfg8nOq0DsA6TUIQZsg+YmjSm3OWuQ3xqChBJJLr3kzmqxjy 4CfUtHVCSRcnHWyhvvK+qTivk3zN0mxwhIppen1XQ9jqrnXBhKcJCP1UzzX+pYZUrM9i /1SnAidofY6/KwRSfPvRrVuIm+zPvwTlGmkIrVWKAz3MAXw8YjISPV/V7cuGh9bmQSNS 5o3ytMPftI99dBJhw+kH0PjDPMFWAW7Luc/7NRwxGs4I2nn1K+o4+ivVHe8OtP7bAIWI AN/A== X-Gm-Message-State: AOAM532sQmggCWjtNSY5FfWO/i0b6jpa83bOOjtYccQhxyotKw24mvyR rfSexvh0j2CDHlwIDc49qruOnFYQnvP9LTuFjt9eG68egKFjiw== X-Google-Smtp-Source: ABdhPJyVAf17aD5rW+vuuBO2q8I2uwWAkBMZgv9qsUdvCzfSc8CyPh/siZIRh0na3471Bg7SVjQonJcy+ZkBEAZmSoQ= X-Received: by 2002:a67:d09a:: with SMTP id s26mr4144565vsi.7.1622137804346; Thu, 27 May 2021 10:50:04 -0700 (PDT) MIME-Version: 1.0 References: <87y2c1dym9.fsf@nicolasgoaziou.fr> <878s41du82.fsf@nicolasgoaziou.fr> <71d2f700-2b9b-d911-6012-30550a969b87@mailbox.org> <87k0nkcocq.fsf@nicolasgoaziou.fr> In-Reply-To: From: Matt Price Date: Thu, 27 May 2021 13:49:53 -0400 Message-ID: Subject: Re: [wip-cite-new] Initial implementation of `csl' citation processor To: Org Mode Content-Type: multipart/alternative; boundary="0000000000009ad9c905c3536336" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2d; envelope-from=moptop99@gmail.com; helo=mail-vs1-xe2d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622137834; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=O3MvJ0krwoCfaNX50fCqQalkLRSLNSd47JtX3+K2VKQ=; b=nfxm2KTDsmGfAnXEKT0tX9ktYfR5KMnmZYizWcy4I7GEGfKCUzD54gFmRW2I7UO/0FrLvu X+DjESt8AeQo4rIX1IQnh2uaQyxzg2qpE6xVPlE/Ka92J7rHsJ2topzzOjED9DujTiQ+0/ swra08+fL7mnvvWDqle4DeKn8XBZ7OoDOY0M1YdM9F29p34luquvG46zirjrtZQdDi+1OO s3ey0/iZUTwtvX7/qH7gTuB7hOdkBs8t3eUKBOGc7nBa2gd6G+398Jf0c7VAtjP3UJml4Z 26v7acSNi3X+pB/81a1oQgZpsBzpWi+yAwpB/iquh+HdKq25TOX59ZqiX6er8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622137834; a=rsa-sha256; cv=none; b=jcknEabL0QN4M1cKTG5d/QW4t+objtFsNNHO4Gwstls9Pproh3xxQGKe/golfKTyyDLvmw uBz2yiWdAnSetDz6rdjQl+gsOBHQxldxZcEow63kIG1nYzHFU4ffbdGbV829OhnL6vwoXU E3OfWtmgDx7nSCkYdlF65C0hFEBiQKoAf75huWSjsetBl40QJ8BeRsb8ErTdLaFsv5xKCl El/c+9IeZfF0Ed1PLOW4xguek3P+VN6E35U4Pxjt5iSOknKtDJpLHnN45LdnfVt+3miqfF SnYdQVc9l9ASFtkPyntsGkNHNQiJwcCYSTZllHqOPzR8Sd1LNv+nV4SatvlrYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=hVKvLKdr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=hVKvLKdr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7F3F0AE10 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: e0UZO731H+WS --0000000000009ad9c905c3536336 Content-Type: text/plain; charset="UTF-8" I'm trying to run this on a fairly recent emacs-master w/ native-comp enable, using ~emacs -Q ~/test-cites.org~, where test-cites.org is this: #+cite_export: csl "/home/matt/Zotero/styles/chicago-manual-of-style-16th-edition-inline-notes-for-syllabi.csl" #+bibliography: /home/matt/.emacs.d/zotero-refs.bib #+begin_src emacs-lisp (package-initialize) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (add-to-list 'load-path "~/src/org-mode/emacs/site-lisp/org") (org-reload) (add-to-list 'load-path "~/src/org-mode/lisp") (require 'oc) (require 'citeproc) (require 'oc-csl) #+end_src [cite:@zittrain_future_2008] trying to execute the src block gives me a segfault on org-reload, with different messages each time. Any idea how I should diagnose, or am I perhaps doing something wrong? On Thu, May 27, 2021 at 12:18 PM Bruce D'Arcus wrote: > On Thu, May 27, 2021 at 11:02 AM Bruce D'Arcus wrote: > > > One other thing I tested just now not yet accounted for: a locator > > whose values is a list; for example, that renders as (Doe 2019, pp. > > 23, 25). > > > > Is there an easy way to handle that? > > Nevermind; this works as expected. > > [cite:@latexcompanion p.23, 24] > > Bruce > > --0000000000009ad9c905c3536336 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm trying to run this on a fairly recent emacs-m= aster w/ native-comp enable, using=C2=A0 ~emacs -Q ~/test-cites.org~, where te= st-cites.org is this:

#+cite_export: csl "= ;/home/matt/Zotero/styles/chicago-manual-of-style-16th-edition-inline-notes= -for-syllabi.csl"
#+bibliography: /home/matt/.emacs.d/zotero-refs.b= ib
#+begin_src emacs-lisp
=C2=A0 (package-initialize)
=C2=A0 (add-= to-list 'package-archives
=C2=A0 =C2=A0 =C2=A0 '("melpa&q= uot; . "https://melpa.org/pack= ages/"))
=C2=A0 (add-to-list 'load-path "~/src/org-mod= e/emacs/site-lisp/org")
=C2=A0
=C2=A0 (org-reload)
=C2=A0 (ad= d-to-list 'load-path "~/src/org-mode/lisp")
=C2=A0 (requir= e 'oc)
=C2=A0 (require 'citeproc)
=C2=A0 (require 'oc-csl= )
#+end_src

[cite:@zittrain_future_2008]

=
trying to execute the src block gives me a segfault on org-reload, wit= h different messages each time. Any idea how I should diagnose, or am I per= haps doing something wrong?

On Thu, May 27, 2021 at 12:18 PM= Bruce D'Arcus <bdarcus@gmail.c= om> wrote:
bdarcus@gmail.com> wrote:

> One other thing I tested just now not yet accounted for: a locator
> whose values is a list; for example, that renders as (Doe 2019, pp. > 23, 25).
>
> Is there an easy way to handle that?

Nevermind; this works as expected.

[cite:@latexcompanion p.23, 24]

Bruce

--0000000000009ad9c905c3536336--