From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KFoXDCoH6WLoAAAAbAwnHQ (envelope-from ) for ; Tue, 02 Aug 2022 13:14:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UGQ2CyoH6WI8dgAAG6o9tA (envelope-from ) for ; Tue, 02 Aug 2022 13:14:50 +0200 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 B0596F899 for ; Tue, 2 Aug 2022 13:14:49 +0200 (CEST) Received: from localhost ([::1]:40690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIprK-0003Jw-OH for larch@yhetil.org; Tue, 02 Aug 2022 07:14:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIpqt-0003Gx-Dd for emacs-orgmode@gnu.org; Tue, 02 Aug 2022 07:14:19 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:44896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIpqr-00031h-Mh for emacs-orgmode@gnu.org; Tue, 02 Aug 2022 07:14:19 -0400 Received: by mail-ej1-x62c.google.com with SMTP id ss3so25269657ejc.11 for ; Tue, 02 Aug 2022 04:14:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=YWKHrLehNEkscZsmQpQodk3ZBK53/wg5Ekw88zNIBK0=; b=KALooZulISRGHC+xXuNs0KIhrunmhFOHj47tPeAtQ4jbGcsqbRjbbCkG4Ut0aIWhBU gYrNzGzrRWe6jSwQKStm+20FxFv5lplW89Ee6534S0gvp9VhufMacNf5wXo3VTk8Oult z6KDGOF6Jz3EHLT/Wt/AEjZP7SiVoNdzJm3L/ebjkowh/kNlWSa9b6FJSvMV9DkVlwhD ZDKuaC2WWpYGfqxiwLPI2809IZNqSP99fz/++gnbpjZGBlkaBv0aXjSemoJdQbw9cJNc FwpQOfDf0FcdUCHswMxboQlltRWk+bqPwhkYmhoQcJ4icGipmYuHMqQuuTF2NxXvNQYA gmzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=YWKHrLehNEkscZsmQpQodk3ZBK53/wg5Ekw88zNIBK0=; b=zGmF39UsZiH4RXVdhQ5jxYBD19dsvpZ4rjvRfdbxa8IelAxoq049cxDGqq8S/MI8jt jGYJnTwqRC1SdyEDdegdTzj6yaIes+xUuIR4DfGw5/of2HWBdo9pi3vIHIxxavyuS7wV jR6ZH92vWtpebFJlt0xoRXqsBXzaGcaMTXKbtuA6CBX3tCb+oDYBAPPIdcyMG38sefxz 7dlxRjjg6InErX89zRho3isP7gBqi104H0/xKaa2tT9qlW2J2P+klqyJd6jG2dzvOHi/ PmZDvJLHbmRQdRN2xs2AklNLfgp2FH/QzFdF9VfasLj60dFTrv+q0nGqFZENCVvgflWk CGWQ== X-Gm-Message-State: AJIora+ulpZ61SY9GhoWyO2EvETKXy5sZVgXG5OTN+O1buhpMciq5Rtm BrqIp52ZQiIqiH0IiRy3P/BIMh5ZVTiBYg3lODEbpKn293I= X-Google-Smtp-Source: AGRyM1uXfK/yW4Bzki7QIFZQ7b0IMRhFJNg9frir8uj+B6ASqm0iVHr6fjFonTHsX8n/UZC7WG+BWvK4EE3RNCpLOtM= X-Received: by 2002:a17:907:1b1b:b0:72f:4445:3c11 with SMTP id mp27-20020a1709071b1b00b0072f44453c11mr15953797ejc.714.1659438855109; Tue, 02 Aug 2022 04:14:15 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Tue, 2 Aug 2022 13:14:03 +0200 Message-ID: Subject: [RFC PATCH] oc-csl: Add support for title, locators and bibentry styles To: emacs-orgmode list Content-Type: multipart/mixed; boundary="0000000000007ca63905e540371e" Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=andras.simonyi@gmail.com; helo=mail-ej1-x62c.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, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659438889; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YWKHrLehNEkscZsmQpQodk3ZBK53/wg5Ekw88zNIBK0=; b=Zw6KETZL2aK0qP1FwfKd65v+G78qVbz3I+7u7i9krtBAPrjqZe0VkKF8EysgSEzqV1XIw7 cHLHb5n7x3OuCDVA90CYg7kBJwNmwJmVkp9keIEuRwHiixWmW/+/nriBHtpXZD3lwNeFvX 7lfg3aaB4rDuvxJFjkAUz56Q/l4PmPbbF4uvhwnXsutAUMjEMOPHMQu4KYoVkwoGuN0OHa bT7YCmKLq9ljyNmShe6MdotDGq1g/D9JnncQ7N4RIOFVLbIB6xaW3CDacpXjBo4fdvc+Q7 6Sa0W/o6yMRTYDOWV4NIVzYp2HLiPHwL3/EEVJyVaBmEZ0OXEJDTWGkw1aaV6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659438889; a=rsa-sha256; cv=none; b=kmPuyBTqnM+ePBmT4NdUKmn506+mkINX4ZXmi9MBwt1MXycG7+1aHbHzZMEzVGRKdFDKC8 cIEfFYzUeUWObG/GZAtT8a5BDIqUidNgAO+79zFqIuxk+/NpIlcLR+qD5nhaYmkcFvnsI9 zxlEGpTvXJwcLswp/oMhOOfSHiEgOxKZx0K1GYOP+qN29sJKpzu5cZUEZWNIZRplibUQb6 7oK17HijI+51TqqNpbKJzSv8BDojJEmDMuXK08H/G7vviFQLXfE7LgWBl3ufDmQfsNhouT ob24xfrnNFVgiMTWZQJdsbBM7Bu+XTxRd415KMtzo0nkeNZAqA7OwiTKl0Smag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KALooZul; dmarc=pass (policy=none) header.from=gmail.com; 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: -7.82 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KALooZul; dmarc=pass (policy=none) header.from=gmail.com; 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: B0596F899 X-Spam-Score: -7.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: QJFXY1/Jdhe9 --0000000000007ca63905e540371e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear All, the attached patch adds support for three new citation styles which recently got supported by citeproc-el: - cite/title or cite/ti to cite only the title of an item, - cite/locators or cite/l to cite only the locators, and - cite/bibentry or cite/b to cite the full bibliography entry. I put "RFC" in the subject because I'm not entirely sure about naming the "bibentry" style, since "bibentry" is natbib terminology, I think, and biblatex's corresponding command is \fullcite, but I find "bibentry" slightly more adequate. Also, do we need the "ti" abbreviation for the "title" style? thanks and best wishes, Andr=C3=A1s --0000000000007ca63905e540371e Content-Type: text/x-patch; charset="US-ASCII"; name="0001-oc-csl-Add-support-for-title-locators-and-bibentry-c.patch" Content-Disposition: attachment; filename="0001-oc-csl-Add-support-for-title-locators-and-bibentry-c.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_l6c2zggo0 RnJvbSAwOWIzNjE5NjkzY2Y0OTc5MjEyZDgyOGEwNDUyNzQxZTAwZmNhOGE0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/QW5kcj1DMz1BMXM9MjBTaW1vbnlpPz0gPGFu ZHJhcy5zaW1vbnlpQGdtYWlsLmNvbT4KRGF0ZTogVHVlLCAyIEF1ZyAyMDIyIDExOjMyOjE3ICsw MjAwClN1YmplY3Q6IFtQQVRDSF0gb2MtY3NsOiBBZGQgc3VwcG9ydCBmb3IgdGl0bGUsIGxvY2F0 b3JzIGFuZCBiaWJlbnRyeSBjaXRhdGlvbgogc3R5bGVzCgotLS0KIGxpc3Avb2MtY3NsLmVsIHwg MjUgKysrKysrKysrKysrKysrKysrKysrKystLQogMSBmaWxlIGNo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LDIxIEBAIGEgcHJvcGVydHkgbGlz dC4iCiAgICAgICAgKHBjYXNlIHZhcmlhbnQKIAkgKChvciAiYmFyZSIgImIiKSAnKDptb2RlIHll YXItb25seSA6c3VwcHJlc3MtYWZmaXhlcyB0KSkKIAkgKF8gJyg6bW9kZSB5ZWFyLW9ubHkpKSkp CisgICAgICA7OyAiYmliZW50cnkiIHN0eWxlCisgICAgICAoYCgsKG9yICJiaWJlbnRyeSIgImIi KSAuICx2YXJpYW50KQorICAgICAgIChwY2FzZSB2YXJpYW50CisJICgob3IgImJhcmUiICJiIikg Jyg6bW9kZSBiaWItZW50cnkgOnN1cHByZXNzLWFmZml4ZXMgdCkpCisJIChfICcoOm1vZGUgYmli LWVudHJ5KSkpKQorICAgICAgOzsgImxvY2F0b3JzIiBzdHlsZQorICAgICAgKGAoLChvciAibG9j YXRvcnMiICJsIikgLiAsdmFyaWFudCkKKyAgICAgICAocGNhc2UgdmFyaWFudAorCSAoKG9yICJi YXJlIiAiYiIpICcoOm1vZGUgbG9jYXRvci1vbmx5IDpzdXBwcmVzcy1hZmZpeGVzIHQpKQorCSAo XyAnKDptb2RlIGxvY2F0b3Itb25seSkpKSkKKyAgICAgIDs7ICJ0aXRsZSIgc3R5bGUKKyAgICAg IChgKCwob3IgInRpdGxlIiAidGkiKSAuICx2YXJpYW50KQorICAgICAgIChwY2FzZSB2YXJpYW50 CisJICgob3IgImJhcmUiICJiIikgJyg6bW9kZSB0aXRsZS1vbmx5IDpzdXBwcmVzcy1hZmZpeGVz IHQpKQorCSAoXyAnKDptb2RlIHRpdGxlLW9ubHkpKSkpCiAgICAgICA7OyAidGV4dCIgc3R5bGUu CiAgICAgICAoYCgsKG9yICJ0ZXh0IiAidCIpIC4gLHZhcmlhbnQpCiAgICAgICAgKHBjYXNlIHZh cmlhbnQKQEAgLTczMCw3ICs3NDgsMTAgQEAgcHJvcGVydHkgbGlzdC4iCiAgICAgKCgieWVhciIg InkiKSAoImJhcmUiICJiIikpCiAgICAgKCgidGV4dCIgInQiKSAoImNhcHMiICJjIikgKCJmdWxs IiAiZiIpICgiY2Fwcy1mdWxsIiAiY2YiKSkKICAgICAoKCJuaWwiKSAoImJhcmUiICJiIikgKCJj YXBzIiAiYyIpICgiYmFyZS1jYXBzIiAiYmMiKSkKLSAgICAoKCJub2NpdGUiICJuIikpKSkKKyAg ICAoKCJub2NpdGUiICJuIikpCisgICAgKCgidGl0bGUiICJ0aSIpICgiYmFyZSIgImIiKSkKKyAg ICAoKCJiaWJlbnRyeSIgImIiKSAoImJhcmUiICJiIikpCisgICAgKCgibG9jYXRvcnMiICJsIikg KCJiYXJlIiAiYiIpKSkpCiAKIChwcm92aWRlICdvYy1jc2wpCiA7Ozsgb2MtY3NsLmVsIGVuZHMg aGVyZQotLSAKMi4yNS4xCgo= --0000000000007ca63905e540371e--