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 iH0YAMv78WCdRAAAgWs5BA (envelope-from ) for ; Fri, 16 Jul 2021 23:36:11 +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 gDtsN8r78WCfTAAA1q6Kng (envelope-from ) for ; Fri, 16 Jul 2021 21:36:10 +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 47645D627 for ; Fri, 16 Jul 2021 23:36:10 +0200 (CEST) Received: from localhost ([::1]:39242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4VVA-0000FP-7E for larch@yhetil.org; Fri, 16 Jul 2021 17:36:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4VUB-0000F8-Vr for emacs-orgmode@gnu.org; Fri, 16 Jul 2021 17:35:10 -0400 Received: from mail-vs1-xe2f.google.com ([2607:f8b0:4864:20::e2f]:44946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4VU9-0003J1-QS for emacs-orgmode@gnu.org; Fri, 16 Jul 2021 17:35:07 -0400 Received: by mail-vs1-xe2f.google.com with SMTP id f4so5857504vsh.11 for ; Fri, 16 Jul 2021 14:35: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 :cc; bh=dqqZrNNozlu3jJsmRqE6T7INKZHXuqdEQkpgS6sb/kc=; b=GVI+A+wxJ03lbrDGcbLNWrO7Qo+I49vQ2qYIBVlKwfvBTZh7IO6hnxfsdBKzURrVIE wd8P3PJ5YqB9aK0GucPTdnXF56YMNNLt2Mzmonh57BUhgIFe1F5HbvUw9w1DnrlYygcK WfpMFlN3Vlmhw++IzYD8to4GZvlMMfDqN3QUuuhmcN+KHaiKt8j192O1ungNlolDnhPK JaID0zU4wLyZV+p/VrLfQFpFxjyzRXwMX5f3qCOCXwFIHWYeNMWFygwSfMdKL/5T5mqP aZJh0Z2XdUD1KoWQMH3KY7oBCCzdCbzfJEbdE8Orp0ZdfIlAoB9VYedlzwQevGhB93hO 8NUA== 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:cc; bh=dqqZrNNozlu3jJsmRqE6T7INKZHXuqdEQkpgS6sb/kc=; b=I76hpbrmHx3fNb5MvqgUBC+9u4UaLTrjLa01ICnAhT7xPYqCU6pvERcLPq5A0K2vU6 3CCCSHz4u4Rmmsj1PzxwOe8FhoEiVfJM6J2tJ/01bzOUSVNrohBKNf4tCbHT4KXBNKTA iprUeWDu6ZV+bC4J/LiurMAUJGjP434xNX+PVi9sGueqahnUJJa/bAoMgPYVB+Je7Twu vXzfYI5x1jmtDsd8dusCVBM8GNkq132CKNYsVGkeJjwN5NxNKwYANWGP5icwHdu5/3yZ neD18n4LyUQijWGz7xxX/QHUJw5ZXQCRpNCovQbszNVGZnOEBKb1y7U5A+h8oD21T5/z KjGw== X-Gm-Message-State: AOAM5320MPSFtGthKRoyWSFCDXwgFS4/0gou5Z0iJV8iuS/GF0p9FH2O uuM4K5Ns5x4zes7HFETrPYXXwk1w8Qk0QS6i2iU= X-Google-Smtp-Source: ABdhPJysUyYwzz9glB1tvuz+PgJu/r0KdErgNKhH7KK2Hhtf+DGNyX0d5Ve+haNDjlX2k7Gv2XW6fwjqYB+IavK/A1g= X-Received: by 2002:a67:8013:: with SMTP id b19mr15151866vsd.33.1626471304469; Fri, 16 Jul 2021 14:35:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Matt Price Date: Fri, 16 Jul 2021 17:34:53 -0400 Message-ID: Subject: Re: oc-csl/citeproc: suffixes in cite links To: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Content-Type: multipart/alternative; boundary="000000000000571f7405c7445cd5" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2f; envelope-from=moptop99@gmail.com; helo=mail-vs1-xe2f.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_05=-0.5, 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: , Cc: Org Mode 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=1626471370; 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=dqqZrNNozlu3jJsmRqE6T7INKZHXuqdEQkpgS6sb/kc=; b=YMkhn9sAp/FoSnDTFfuriaGwwDPNokEOpOxzWlJguamXV2MfhXwLhR32+dPy6+A0r35AZQ ZqTIZhrhwZytnAMzz6JP/YNdTRY+8Lr+orU+O5GXl/URPylarBU6GNhwem+VSFWQY9gCmJ 7t9hFa86/Ci3SbXu0/T1U0gfcWAqn17WHbQK+S8SQHq0tV5kh/FMSb1Q5Ut+s+8cSGm1vd VvMh3Gyf5nRlWmvuVvbeyUN81GYoz0wPd8UJnuBy2eWDo16uj5GhKhDAabFb7gN4mfnbQE XkVM8gLPk2TfM6S1vrg527Tn8ra89SIYcBV1oZXW+QevLYtAyxGk8GqblmoU2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626471370; a=rsa-sha256; cv=none; b=T+MlDlfVMEAuQzIfL2QrILvZWyh8nChPXNpnVcaa9wQNt99lk1WA26O7sg2auPYGHLud9p 0B2TlHiAs/hGFTq62QOJE+yDEGVmXQx7NoDA8YhqQAPfnBYhZvuznnTR5edcL6s4Ghd7vp P1s1gbmtEOMgYCnRnWk/3YhChceRbGu/yh5b15jkiBDM0WOVe82hsNOKrD2Vf8h8MfbaPj 5TMj1V598F70lmH+r7kPrOq6QQR7bkP0EQQa8I8V+Bz97D2PQrKZc0jsSKgKC+booXaBSf Dmi9F4D7d2x+bT2lgYJJFaZTQwoWm13hxe4dVhTG30h84LjNARJC5v244APN4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=GVI+A+wx; 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.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=GVI+A+wx; 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: 47645D627 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9Q99RuPb28Gb --000000000000571f7405c7445cd5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ah, that's so immensely helpful. Thank you, this will be very good to know. On Fri, Jul 16, 2021 at 5:21 PM Andr=C3=A1s Simonyi wrote: > Dear Matt, > > yes, oc-csl has to extract the locator information from the suffix > because CSL processors like citeproc-el work with structured locator > data. To help this extraction, ocl-csl (similarly to citeproc-org and > I think pandoc) defines a list of locator expressions to be used in > the suffix (see the commentary of oc-csl or the citeproc-org README), > for chapter one can currently use "chap.", "chaps." or "chapter" -- > hopefully replacing the citation with > [cite:@GentilcoreTastetomatoItaly2009 chap. 4] will fix the rendering, > > best regards, > Andr=C3=A1s > > On Fri, 16 Jul 2021 at 22:40, Matt Price wrote: > > > > (cc:ing Andras in case this issue maybe comes from citeproc) > > > > I'm having some trouble with suffixes in cite: links when the oc-csl > exporter is enabled, e.g. with something like this: > > > > #+cite_export: csl "/home/matt/src/styles/apa.csl" > > > > this cite: > > [cite:@GentilcoreTastetomatoItaly2009 ch4] > > > > is rendered as: > > > > (ch Gentilcore, 2009, p. 4) > > > > > > on export to HTML (in a document with no print_bibliography directive). > > > > BY contrast, ob-basic gives: > > > > (Gentilcore, David, 2009 ch4) > > > > Is oc-csl doing some extra work to process suffix, or is this likely an > issue with citeproc, or alternatively am I just not really understanding > what ought to be happening? > > > > > > Also, are other people seeing this same issue? I don't have a testing > setup that would allow me to easily run emacs -Q (given how much has to b= e > imported) so ... well, so, my apologies for not having done that. > > > > > > THanks, > > > > Matt > > > > > --000000000000571f7405c7445cd5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Ah, that's so immensely helpful. Thank = you, this will be very good to know.

On Fri, Jul 16, 2021 at 5:21 PM And= r=C3=A1s Simonyi <andras.sim= onyi@gmail.com> wrote:
Dear Matt,

yes, oc-csl has to extract the locator information from the suffix
because CSL processors like citeproc-el work with structured locator
data. To help this extraction, ocl-csl (similarly to citeproc-org and
I think pandoc) defines a list of locator expressions to be used in
the suffix (see the commentary of oc-csl or the citeproc-org README),
for chapter one can currently use "chap.",=C2=A0 "chaps.&quo= t; or "chapter" --
hopefully replacing the citation with
[cite:@GentilcoreTastetomatoItaly2009 chap. 4] will fix the rendering,

best regards,
Andr=C3=A1s

On Fri, 16 Jul 2021 at 22:40, Matt Price <moptop99@gmail.com> wrote:
>
> (cc:ing Andras in case this issue maybe comes from citeproc)
>
> I'm having some trouble with suffixes in cite: links when the oc-c= sl exporter is enabled, e.g. with something like this:
>
> #+cite_export: csl "/home/matt/src/styles/apa.csl"
>
> this cite:
> [cite:@GentilcoreTastetomatoItaly2009 ch4]
>
> is rendered as:
>
> (ch Gentilcore, 2009, p. 4)
>
>
> on export to HTML (in a document with no print_bibliography directive)= .
>
> BY contrast, ob-basic gives:
>
> (Gentilcore, David, 2009 ch4)
>
> Is oc-csl doing some extra work to process suffix, or is this likely a= n issue with citeproc, or alternatively am I just not really understanding = what ought to be happening?
>
>
> Also, are other people seeing this same issue? I don't have a test= ing setup that would allow me to easily run emacs -Q (given how much has to= be imported) so ... well, so, my apologies for not having done that.
>
>
> THanks,
>
> Matt
>
>
--000000000000571f7405c7445cd5--