From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kLOLOj8V/mN2XgEAbAwnHQ (envelope-from ) for ; Tue, 28 Feb 2023 15:52:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sA2QOT8V/mPceAAAG6o9tA (envelope-from ) for ; Tue, 28 Feb 2023 15:52:47 +0100 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 A05BE9853 for ; Tue, 28 Feb 2023 15:52:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pX1KK-00045L-94; Tue, 28 Feb 2023 09:51:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pX1KH-00042d-0g for emacs-orgmode@gnu.org; Tue, 28 Feb 2023 09:51:33 -0500 Received: from mail-vs1-xe31.google.com ([2607:f8b0:4864:20::e31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pX1KF-0001eM-B3 for emacs-orgmode@gnu.org; Tue, 28 Feb 2023 09:51:32 -0500 Received: by mail-vs1-xe31.google.com with SMTP id d7so16131128vsj.2 for ; Tue, 28 Feb 2023 06:51:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=owZKFdd89adItJqnTqkqAz/CfIqBP+nsWvrtHOP2cw0=; b=QCHQD3a3MA84TemE/wyoEdiDGP/ZzOx2bQq+maS2cJTi0HWCmVWWL9SjnqgQPS5xhi nGf+8cZ2JgGSp5BXYSbJSPHuJXWctG4BrRJjRn0lM6JZXaoduncHSOhb2TDEZtK1s1/7 e8h79I+ZV2ZQ2Xzpf9pvaIKcNSeqYykrCZk7VgPY6bQFXGH3og91RbiY0nN3w5Bc90KW vmxwn7Tqqu5egQVzWBYW4led0r5bInN4seirKFSXmSF1MhqxphQm45F64vkeAMpWHqH4 mQCT4w0RIRCQLoOo/NC5xfBZR5GcbuQmQDaI0iII0FsESkgOkEsnGd4sgYDx2eWF/tZ0 ke0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=owZKFdd89adItJqnTqkqAz/CfIqBP+nsWvrtHOP2cw0=; b=uzFKADzA3qC6j+4ya2XG1XErJx0KVNDWpVEIDfQNtysLQnYyPK9WoOe0UOIK08fXWn v7XJri4b60GKRR5j3n9aNQL1RUEj49SH4/u2p/QVh9m2/Rc8xItZizlc1IxRJL9kv2Eb bHZQMI72u+0EZ46Nq5c2t1Nn+8Q6Ivkpg2Q6jq2WYBR6vrg1Sa6Vig3jYqMJkdc7GCGy mVMSXednN+QO2EzmMdxvP7l/gWe0bIxEJQHvOKcJ54jBMd5PstYxOP6JBeTRgJcg0l2M A+FjCqGoBzlHSME0MC4eKxWpKsc0TDhaVQH0BMkyZ05Y5uNFv8FTE77wSME8bYc4u9aH /tWA== X-Gm-Message-State: AO0yUKXCWKMDiCKNfA/zbdsaA2mazdfqPx6cD8V14qxGYHNd6vsGBbeW spSrifimrfcT3q5laUxhseJvHb6KLQYMsKXFh6w= X-Google-Smtp-Source: AK7set/am1JvqkCTu6uNokz/ufogQ6SCuS9R3j17Lh+e9PSKpUyW24HliM/WAQG3yPn+NHBq8pKklZehxThbde7zXU8= X-Received: by 2002:a67:ab42:0:b0:414:34d3:89a with SMTP id k2-20020a67ab42000000b0041434d3089amr2148445vsh.6.1677595888631; Tue, 28 Feb 2023 06:51:28 -0800 (PST) MIME-Version: 1.0 References: <90714a18-8660-59a9-afc5-07b8c3d0a641@romeov.me> <87wn5an82j.fsf@localhost> In-Reply-To: <87wn5an82j.fsf@localhost> From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Tue, 28 Feb 2023 15:51:17 +0100 Message-ID: Subject: Re: [BUG] HTML-export citation suffix rendering with CSL [9.6 (9.6-??-bed47b437 @ /home/romeo/.emacs.d/.local/straight/build-28.2.50/org/)] To: Ihor Radchenko Cc: Romeo Valentin , emacs-orgmode@gnu.org, "Bruce D'Arcus" , Denis Maier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::e31; envelope-from=andras.simonyi@gmail.com; helo=mail-vs1-xe31.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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677595967; a=rsa-sha256; cv=none; b=gznhdzH1AzXzFWdDN6xNkGCflw/l3GfMZzPKaBxANRnextKMLp+oeS1lvD4gY84svRWqX0 mwEo4yOExixxZS8/7P/AFn1RCQdWVoMkriQ90oFKQUKQD6S/BDEKOt8rpeOSIQ5qmjO/ZH EcdI+voEdxSEQnnWjNZD8V4YjKPNAdFEfc7k0BYiCEpm48LO2OavOkAgOt53yI6HDEv14N UqQBE8ydzkM0zKQHdPs33SML6vPld+44qepnp7qV5uwz7xmjgv3pCq4OqD2zSO8USinPLN ffLIaIIBkqlAR6R/bOz5g6OQ8vRYzvmvSXodePrheLQzB/aRGeJmAv/Nj08lDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=QCHQD3a3; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677595967; 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=owZKFdd89adItJqnTqkqAz/CfIqBP+nsWvrtHOP2cw0=; b=DEWqkmaEJIjOaBt7Z3q3+b5dadkEsyc+ZMLmjs2yX8/7CeSFgiWJWVXUb1VekKS2qHe94a Fjt4naGkTQO5GTTrqIBzh2XkzNXdeyI64ndwFjy7Oiw/7s/tYyS/6IiX02agSpRUrx2aAO 1fEjdrgqykYkHYztlCuwq+V+Spo5Lrglr6mF65EXxaZ/M0XVGgYi9IPTW/tgdr7kRf/WGW W/12754woRufk6CU29CJlFeEk/9eDCeLh1BDSrXVcTkevKFrwJIKnDYLwixLsHyzYE7zaI gcR9mPbY5ZL9sV43F3QM+z6cEfvfRENXZMqQ1FfJYLuQeORzJtTGfkR55AZn3A== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.91 X-Spam-Score: -4.91 X-Migadu-Queue-Id: A05BE9853 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=QCHQD3a3; 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"; dmarc=pass (policy=none) header.from=gmail.com X-TUID: IVvElx8yj0oa Dear All, On Wed, 25 Jan 2023 at 12:53, Ihor Radchenko wrote: > Confirmed, after replacing the .bib key with abnarQuantifyingAttentionFlo= w2020a. > > Andr=C3=A1s, may you take a look? First of all, apologies for reacting that late, unfortunately, I've had way less time to work on Org-mode and citeproc related problems than I'd have wished or expected. I've managed to look into the issue now and merged two PRs (#137 and #138) into citeproc-el's main branch which should fix Problem 1. As for the second problem, this is more difficult, because in this case the behavior is along the expected lines: the org-cite suffix ", Thm. 1" is further parsed by oc-csl into the prefix ", Thm. " and the locator "1", with the implicit label "page". If the used CSL style doesn't use a rendered label for pages (like Chicago author-date) than an (admittedly ugly) workaround is to use an explicit "page" label, that is, [cite:@abnarQuantifyingAttentionFlow2020a page Thm. 1] is rendered as (Abdar et al. 2021, Thm. 1) in Chicago. We might want to change parsing to automatically parse everything as CSL suffix if the org-cite suffix starts with a comma, but before considering that I'd like to raise issue of treating Theorem/Thm. and similar terms (Lemma etc.) as valid CSL locator labels in their own right, which would be, I think, a more principled solution. I don't know whether this was considered by CSL developers (CC-ing Bruce and Denis). best wishes, Andr=C3=A1s > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at