From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id dd3oEmn48WAMPQAAgWs5BA (envelope-from ) for ; Fri, 16 Jul 2021 23:21:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2MYCDmn48WD9fAAAB5/wlQ (envelope-from ) for ; Fri, 16 Jul 2021 21:21:45 +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 A8F15D313 for ; Fri, 16 Jul 2021 23:21:44 +0200 (CEST) Received: from localhost ([::1]:60748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4VHC-0002rx-6t for larch@yhetil.org; Fri, 16 Jul 2021 17:21:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4VGm-0002rh-Sv for emacs-orgmode@gnu.org; Fri, 16 Jul 2021 17:21:16 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:38498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4VGk-00024I-Ny for emacs-orgmode@gnu.org; Fri, 16 Jul 2021 17:21:16 -0400 Received: by mail-wr1-x42b.google.com with SMTP id g16so13571745wrw.5 for ; Fri, 16 Jul 2021 14:21:13 -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:content-transfer-encoding; bh=A5TPk8dt8MkVfatTTiRZC1XwMc+faMlMwllxobEUVDk=; b=ULn8c458FnksjfN/wrK3nuJqrRdplb6CE0Xb5M8oRyI4R4bHSmpGQsEHEBMyj/3Q9p g45COFGfEuJ8lkmJtJTcj6AISpj8YAv/+C++lKN1QduI9vZv9bMV7EFvAAIgEddbAwWV f9jnuGsigBW6TTorAAn7brFMbk/rPOc+zeSOccQZMqC4yRxhi+bP1zBitQsxcC0yvyVn iEPl37pXBbxMgOkNjdx9oiNR/3Hf90dWHw91aPajNkMjr6Ia6KWi6MYlyUMULVQsfCPA ajRLuKM26wxMc1m1Gu2gZ+3cdBByQFgcg6WFg7uZi48WwPV+QOQJcb9cM/u0YOqMMCFz 68jw== 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:content-transfer-encoding; bh=A5TPk8dt8MkVfatTTiRZC1XwMc+faMlMwllxobEUVDk=; b=QglCo0xXQXpeLBAHAEmlK9VYrZmb0apWU6pQZC1XPn3jYj5/idfgDp+LrWTS0AZkML 5uK9YftWevkABpbSJpAL8y+OkIx3sHBovMZM9NQMHK3Zz6gu+fMAgukjGjWoMYpWb/k1 2syul0Wo2/3Ma51sSKgHRn7VbyR4NGF1x/RIbM52txYn1s9E308S+hK1/ZwfpQ5oHgKT peN+ObVY+Tfqa3n6KuGwH9Up1RcBvdythPSM7IOFAzR2trAv0mPfWZq0R/YEKKq+APBB 0wbIpon9MAKk8w1paqCxLE6EGYzHxU43h5z5iPgduXPGK7etzsJN64VYsKLPmj7UuatM Xm8g== X-Gm-Message-State: AOAM5328qTyv1gSMSDO5DzNWGZPdIeCedBbbdtN5HuJ7e4xnVAiOS7/W A/4Uxp4QDuuZkl+gsxTrCKfWA5in+JDx++rUz38= X-Google-Smtp-Source: ABdhPJwz3XVKSSxDh8zi8kbri+kilXtcVHBW6FCIKgO1CcR72LWFfk8+44lqfbVB8LYc8eocY/tir+hpJC6wcm+ho4I= X-Received: by 2002:adf:f2c6:: with SMTP id d6mr15093330wrp.286.1626470472298; Fri, 16 Jul 2021 14:21:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Fri, 16 Jul 2021 23:21:00 +0200 Message-ID: Subject: Re: oc-csl/citeproc: suffixes in cite links To: Matt Price Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=andras.simonyi@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=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=1626470504; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=A5TPk8dt8MkVfatTTiRZC1XwMc+faMlMwllxobEUVDk=; b=cNxu6n3fRz4znH7GJ/oPrPAvTRF51rMnOWAN+ulCg3LlY3J+yfMBiIw/X5WUA/1DvCmhjz nxN31OobMpQnYRF8r4jFebWeaSacmeC9Bit0iv79HXfZrFkw98z/B5TTE+lPPcwUVWG23T fpaGyse/uYhErZFlNczut6ybp155ujGrlcRnMN4fmxwewyLivkL6atJqBvdM4x3wfqdrPJ tggM1StlPm/qN76AsYXWxptEt1ZoicLvzAFolEWET7ONj8DKiQNa7ES44ZzTGU/b118l7O uKQpGjejBTtkv8f35S1JTZ1mf1ac3gIiNt+ysrOAIOPpMCNu7iRRL7fANwi1mg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626470504; a=rsa-sha256; cv=none; b=WKYjNiIzHhjVn5L1/XJ0/GxGzpSAPC76gcAplktmutdsPs4I/83lbeZH9loJwmXXbyZ53k 0DfNDwLIV0F+IB93y8SvZfGBUATHVgYoQnahAJDyBzvs7Mm8hWFBPW1+wVAG9/3rBCQs0m PeU2kvhAUDJHS0w6QMrBP/x7P22bomR49USolumdr1oeTKocfsTsMn7NIDj5DZ8TNaTYNt ujUuc5A8qv+GCP2fSOF+D04vXmFlGH/X0XLHkOn9e6GPJLc0ovhNVZWQv888GGimOXBPMT czwzv/P8UDoX3vWqTbdxUm4Cc9+7v4BwQftIILd3za+NBxNosUS4xSem0pNwkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ULn8c458; 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=ULn8c458; 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: A8F15D313 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: sBtgJCZKTRl+ 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 expo= rter 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 i= ssue with citeproc, or alternatively am I just not really understanding wha= t ought to be happening? > > > Also, are other people seeing this same issue? I don't have a testing set= up that would allow me to easily run emacs -Q (given how much has to be imp= orted) so ... well, so, my apologies for not having done that. > > > THanks, > > Matt > >