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 wEo/OFp2p2HCGgEAgWs5BA (envelope-from ) for ; Wed, 01 Dec 2021 14:19:22 +0100 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 yIXJM1p2p2E7fwAAbx9fmQ (envelope-from ) for ; Wed, 01 Dec 2021 13:19:22 +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 519AD769C for ; Wed, 1 Dec 2021 14:19:22 +0100 (CET) Received: from localhost ([::1]:42126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msPW4-000845-Ev for larch@yhetil.org; Wed, 01 Dec 2021 08:19:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msPTW-00081e-T7 for emacs-orgmode@gnu.org; Wed, 01 Dec 2021 08:16:43 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:33295) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msPTS-0000EZ-9f for emacs-orgmode@gnu.org; Wed, 01 Dec 2021 08:16:41 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 62F8F20000F; Wed, 1 Dec 2021 13:16:35 +0000 (UTC) From: Nicolas Goaziou To: Timothy Subject: Re: Formal syntax for org-cite References: <871r2xr1tr.fsf@gmail.com> Date: Wed, 01 Dec 2021 14:16:34 +0100 In-Reply-To: <871r2xr1tr.fsf@gmail.com> (Timothy's message of "Wed, 01 Dec 2021 01:21:30 +0800") Message-ID: <87y254zcr1.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.178.232; envelope-from=mail@nicolasgoaziou.fr; helo=relay12.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_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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638364762; 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; bh=W3b3YvcnnNnfHUy7VtWU8KvEcM/6R5JwFOMyGgfTWrc=; b=VWmHf+VoCRb2VtWd9vjroaghMEeHxTCTNsqdoIhOHH24eW8YqI9Gv+tFpfQ1RJ/wJUoQ+C CbPCi2sLrxxO2c0rAzudqI4FYQ/A625U835Dg1hf/Np1egzg+kqD5mCi9DbFzDPwg0imIG xTCV4+7xlVelY982Je+pYTmlvl1211v25YKP6c5GAlMKeuP4WXHVrOqZc5ykvlmcGNq3Lo 5PV/u+FXfBP8dY5y5AicPTRKkXE+K8U3Kw8WryQXiyfbREv5PgH4HN03wZC/b6scqC1YBC SIQqwhQ7TkSByDOnh0jzGagX1bgkm9RBbOm7E3tlHYhy0/0pAsgC+ruAqLPPTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638364762; a=rsa-sha256; cv=none; b=D2ytxXn9DaD023m8lpWeML4BKmub3ixGO5TxPvWBN8h1OuaUZy85B1Dn7k1ZSjYRgyzPR0 k8K8gKVjtS/L3P/qbEUbs8PMJYgYDq1vmhLqFq8lzzn73w40qP4fHAR1PpQwY7WhfogfW3 pPPDaSmpqjx1D7zjCbjNefpJncbAG8rh6qHuZ3ERhCqYkyIzztIS5InlTC7KyQsLgksZFd skGeC9YgVUrNjnyzUNYjC6PbxI/Pcm2iJlQ+Cwf0EkC2e+yuuvl2b4x0aiwboCzUrW2fYM aPkQSO32FGf5OPlvkDvBEREex89VqEV9gNCEvVlQ3//4BFfJW+/W9vpwkHp4hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 519AD769C X-Spam-Score: -3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: w1fkFi8gmhti Hello, Timothy writes: > Looking at https://orgmode.org/worg/dev/org-syntax.html, there isn't, Yup, I forgot to update it. > I have not yet confirmed what =3DKEYPREFIX=3D and =3DKEYSUFFIX=3D may con= tain, > but as a starting point, any of the characters allowed in =3DKEY=3D except > =3D@=3D plus whitespace would seem fairly safe. =3DKEYSUFFIX=3D must star= t with > a whitespace character to be able to be differentiated from =3DKEY=3D. KEYPREFIX may not contain a semicolon nor any combination forming a key (at-sign followed by a word character or some symbols). Square brackets are allowed only if they form a symmetric pair. Any other character is allowed. KEYSUFFIX has the same restrictions, minus the limitation about the key. > =3DCITESTYLE=3D consists of a main =3DSTYLE=3D and any number of =3DVARIA= NT=3D=E2=80=8Bs > (including zero), prefixed by forwards slashes in the following pattern > > #+begin_example > /STYLE/VARIANT/VARIANT/VARIANT > #+end_example Nope. This is only /STYLE/VARIANT, however VARIANT can contain "/" characte= r. > =3DSTYLE=3D and =3DVARIANT=3D can be made of any alphanumeric character, = =3D_=3D, or =3D-=3D. > > =3DGLOBALPREFIX=3D and =3DGLOBALSUFFIX=3D can contain the same characters= as > =3DKEYPREFIX=3D and =3DKEYSUFFIX=3D, however =3DGLOBALPREFIX=3D must end = with a > semicolon, and =3DGLOBALSUFFIX=3D must start with a semicolon. Note the semicolons do not belong to affixes. > "cite" and =3DCITESTYLE=3D, =3DKEYCITES=3D and =3DGLOBALSUFFIX=3D are /no= t/ > separated by whitespace. Neither are =3DKEYPREFIX=3D, =3D@KEY=3D, or =3DK= EYSUFFIX=3D > separated by whitespace. Addendum: whitespaces are not significant after the leading colon, and before the closing square bracket. They are significant in any other case. HTH, Regards, --=20 Nicolas Goaziou