From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0AkWHzXKVmFR+AAAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 10:43:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GJ3VGjXKVmELJQAA1q6Kng (envelope-from ) for ; Fri, 01 Oct 2021 08:43:33 +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 EF55014B83 for ; Fri, 1 Oct 2021 10:43:32 +0200 (CEST) Received: from localhost ([::1]:38190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWE8h-0005cz-Bm for larch@yhetil.org; Fri, 01 Oct 2021 04:43:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWE7e-0005cq-00 for emacs-orgmode@gnu.org; Fri, 01 Oct 2021 04:42:26 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:44661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWE7b-0005Cv-Tx; Fri, 01 Oct 2021 04:42:25 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 1F6F624000C; Fri, 1 Oct 2021 08:42:17 +0000 (UTC) From: Nicolas Goaziou To: Denis Maier Subject: Re: Suggestions for improved suffix parsing in oc-biblatex References: <87lf3ja8up.fsf@gnu.org> <8735pp0vwt.fsf@nicolasgoaziou.fr> <87y27fyju0.fsf@nicolasgoaziou.fr> <878rzele7d.fsf@nicolasgoaziou.fr> Date: Fri, 01 Oct 2021 10:42:16 +0200 In-Reply-To: (Denis Maier's message of "Thu, 30 Sep 2021 18:14:01 +0200") Message-ID: <87h7e16srb.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.193; envelope-from=mail@nicolasgoaziou.fr; helo=relay1-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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: , Cc: Bastien , Org Mode List , Bruce D'Arcus , Elias Bounatirou 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=1633077813; 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; bh=NvEqhQeCa5GaR5mRhS1NDKHZXd2XrQWuo1GEQPbEoqQ=; b=ck738QAkztlltX3h1qSdTY2eM7uxLY4vORZ79D0LKO20Bla5vDuJbXGLqOAbIGcvOZi6gz lTcOf31oDoKYBjNFClZ6W9xEz8pEeTiOembehrCxPr37lBsJvVMPp8q9uIk3dNxjI6aC7T sKWjwl3oTDhuQe26jeH/RrzvdSErdkt9HCIqIKaZvZTFCknNTU2gGCUYDer6Ue0c8kcMUz /DKieRysgDWL+uyV3QJ0SnNLpCGzggY47cr86kZ1CzbLN+BiO8VSDVkOmhAWLju6QNNWjP nouej8QKuVLKfRrFZubkq+XF2XKtoaw56mxjcgbDa2Gn6cqkKru9cdDOPsUQYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633077813; a=rsa-sha256; cv=none; b=KkWNykGeBNzxkLntor0SPxPUDXsSV38Vhuh681p9U2/5BUv7Eoeghkv3vfnJMfgqaZnAQ0 iyhdgUglhJhY7yEMD+F6UFBgJU4Fdb5la1ReLqOcXXMjMSoxnHjV6gTuLGhjPaptGVGmbR xI5KipvCL9HIypYKeSlU+W80fFeYmuFmlVJu4CD1fzoiaGv9RFf+3l3KvxJs1dSqRjop6s 8u8vN0hf8rEkS4yFBSjdqZGkKk7R16dp+2my2fWf4JyBCkJFFgxw/IYncTbACGQzrOw0VX mCNqzcVLqAEBdWFpqklO0Hi8j588IpDHB8pg3xyZ6wm78oSyBClbYDSGBOXSoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: 0.60 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: EF55014B83 X-Spam-Score: 0.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: XN3r/XMXC21Q Hello, Denis Maier writes: > So, you're suggesting that locator parsing algorithm should be ported > to oc-biblatex instead? That's a possibility. It can be factored out from oc-csl.el and become a generic tool living in oc.el, if deemed useful. The algorithm can trip over locators involving letters, tho (e.g., "chap. xiv, xv and xvi"). I don't know if that's common. Moreover this is but one side of the problem. Naively, I thought that BibLaTeX would take care of parsing the locator. Since that's not the case, oc-biblatex needs additional code to properly deal with it. Regards, -- Nicolas Goaziou