From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UErzCDZsSGGcVwAAgWs5BA (envelope-from ) for ; Mon, 20 Sep 2021 13:10:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ULZ8BDZsSGE/aAAAbx9fmQ (envelope-from ) for ; Mon, 20 Sep 2021 11:10:46 +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 817B943EB for ; Mon, 20 Sep 2021 13:10:45 +0200 (CEST) Received: from localhost ([::1]:51162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSHC8-0006Gw-6F for larch@yhetil.org; Mon, 20 Sep 2021 07:10:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSHAI-0004XH-3F for emacs-orgmode@gnu.org; Mon, 20 Sep 2021 07:08:50 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:35052) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mSHAF-0004Ue-TJ for emacs-orgmode@gnu.org; Mon, 20 Sep 2021 07:08:49 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:105:465:1:3:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4HChd91KM7zQkh6; Mon, 20 Sep 2021 13:08:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:date:date:message-id:references:from:from:subject :subject:received; s=mail20150812; t=1632136122; bh=C3YNpgb8UqEb PEec+PTAvWIoPlOOi2VJBYQ0X58Je/8=; b=Qx+fpPsxLEgSgtmgLFCdL+bUcBNZ EkwzWhWmp1w6eh2tTKoQZBdImvI9c7W5t4KrUztgGkciofSJYndHixLFQlc+qy/k yNGpHR8tbzgifSAhMEjDjYV72/K23D0Thswymq9P7XuoWh8MRTiog1d2J+MteI8Y TnO0MQlcDN7Rc5ZEL5MyGjZoI78D20oF2UARyVP85IvUXOPxcUpFkEA41WhbOKV4 0Srxb0IbKc+Lzlvdd0hFNVVrg75zFdxUxu6XQ+DXqNgdAomo2NQ1JyA/8FRpl7vf d1vlbjxkcbHC+v/KooiAyFnVrf5yJL7duZ5jJmT5Num3/RNYDpLW8uNaOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1632136123; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hgTYHUYNoq0RzN3A8nuGNVAe0AvEGuWitjwgqr18EuY=; b=hK9/iEdQCu3uz2e2z9qsQpzK0Af35Q+PiRkqoB3NcZTIP56hecuU9zbmPmfow1GJK+aKbs gZrGKKRCQcbv9otrVlEqR1S29q/1qsJML6FMyhzlHx8+fzIwKh8tdXx+qj7sKA5uzuA1Fz 8y5p6eflh/ea+uTstg8CJNJ066jlXIhAAbLBJ/8M0XrmOOO47ou1lOLM3ZSvn7zJLqlYgJ FMJ4mKDTIB/rVhIFbKp/GSzQa3X+oRbEUyPDIW8T2H3MAAm8xlYRlkVMA0m2Vc2KAtZz/4 OIPMdFRu1RKHGVYU7sMo314um2wo5Ch1jNKpURcOIIlRqVJygDRQEvCHYIBBXQ== X-Virus-Scanned: amavisd-new at heinlein-support.de Subject: Re: Suggestions for improved suffix parsing in oc-biblatex From: Denis Maier To: Org Mode List , Elias Bounatirou References: Message-ID: <2d4dab38-0eaa-82bd-fb1e-a3b19a06af4c@mailbox.org> Date: Mon, 20 Sep 2021 13:08:41 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: F103A268 Received-SPF: pass client-ip=80.241.56.172; envelope-from=denismaier@mailbox.org; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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=1632136245; 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: 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=hgTYHUYNoq0RzN3A8nuGNVAe0AvEGuWitjwgqr18EuY=; b=lRc+qEcMG9SI0nC6yJ737QqFGYR/5TOTrEo2F/iN7pYnhVApZP1G1MCvjqSfwFXdw2wUbc cGU3l/HUS39i+2iBjE1EwMp7xRvq7fa/kEevl29Fx5JTw6qYoB0exEjPm7t0aySMDF8XIa q/rBUCXWOUwT5BzgJj6M/jSlhRS1PFu6YRlYeYBJuZgNhhutv8A5XXv+EaGcLe2GAIK7Vv TkyKHNZLDyIJOVEvg0i7/M+jb/uXlwA2mDgSHTzanRYKlVIX1cxwsovjO619lZNNlLMt3v Yib+Mk/8Usi8tyb1Eu6tqMvewzGCI0XJNm7pNeGln56iUEhGFXI/4YhY8P1k5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632136245; a=rsa-sha256; cv=none; b=jzK63s5fCj/Y9ap1twHglosOVXpfzZeay6XXuTH4iWTYat+fTi58OJa/Xu+4My/e2vKjU+ 5tl8yzDoXeK7JvsOVqMo+chu/2yulsuUnqMKqRsAke2mCr4dOei50LiqZXDRMU4gYHKZF5 +7oSPB3IGeqKQBmzDbB8g7A+SeoBAdbWgHWIrWbut2b9yXEJa/5bWLkTwBfBxSfnR15ai7 J1f9ke8p8q3IxF7BpoRAQT5cLBs/fLqN5kak3zeZ3h3cK222EJBa9L2mOrijxo9usTrHcV hen+a8IY+ly78Q1MVvp+UoNvkkd1YYyC/NmV/X4kz01G5VZOpXuZu+FYS7JeBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=Qx+fpPsx; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b="hK9/iEdQ"; dmarc=pass (policy=reject) header.from=mailbox.org; 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.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=Qx+fpPsx; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b="hK9/iEdQ"; dmarc=pass (policy=reject) header.from=mailbox.org; 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: 817B943EB X-Spam-Score: -3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: rVSvmkMB9bC7 Bump Am 08.09.2021 um 15:37 schrieb Denis Maier: > Hi, > > I think the suffix parsing in oc-biblatex could be improved. Consider > this example: > > ==================================== > #+cite_export: biblatex authoryear > > [cite:@doe 4] > > [cite:@doe 4, with some more text] > ===================================== > > This gives us > ===================================== > \autocite[4]{doe} > > \autocite[4, with some more text]{doe} > ===================================== > > The problem isĀ  that biblatex will add a label if the suffix consists > only of a number, a range of numbers, or a list of numbers. So > \autocite[4]{doe} will result (Doe 2021, p. 4). However, \autocite[4, > with some more text]{doe} results in (Doe 2021, 4, with some more text). > In this special case you'd have to help biblatex: > \autocite[\pnfmt{4}, with some more text]{doe} > => (Doe 2021, p. 4, with some more text) > > FWIW, pandoc's citeproc already has some support for this. There you can > use braces to specify a locator in a complex suffix. Like so: > [cite:@doe {4}, with some more text] > > I don't know how complex that is, but that would be a great addition. > > Denis > >