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 iEH8L9XBqGHhYwEAgWs5BA (envelope-from ) for ; Thu, 02 Dec 2021 13:53:41 +0100 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 8HauK9XBqGFmEgAA1q6Kng (envelope-from ) for ; Thu, 02 Dec 2021 12:53:41 +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 5F9FA1D64F for ; Thu, 2 Dec 2021 13:53:37 +0100 (CET) Received: from localhost ([::1]:54258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mslai-0006zA-GA for larch@yhetil.org; Thu, 02 Dec 2021 07:53:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mslWT-0003oU-9Y for emacs-orgmode@gnu.org; Thu, 02 Dec 2021 07:49:14 -0500 Received: from [2607:f8b0:4864:20::529] (port=41484 helo=mail-pg1-x529.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mslWR-0001E4-VV for emacs-orgmode@gnu.org; Thu, 02 Dec 2021 07:49:13 -0500 Received: by mail-pg1-x529.google.com with SMTP id k4so16787882pgb.8 for ; Thu, 02 Dec 2021 04:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=ezSm6C+PqeTh7sVVhDby2AV6UeromiCvWfl9Ggv48Ls=; b=pytgoGntNzIOOU1Z9Tdv9XEmstogHiEzTKWayYIxM+rTGLJg2WUvqy2GWd/wBeLkPJ I1wZDZHSR6p6ASvidQZ/f99Xfp/A32zi1qb9ZuesGUrqpngyTDrnfNoSSzhKOzIz0BtQ RVPALQEQbVN9MzMefy2OX6IZoSf3i8/iXwp1WCsNWwgTCIcjKzhNlHvNMVERHBXYsHdQ C+QMChs+ez0AGlTfbVsEwniSqRh+RSnndEJBZFJYGIgQHtscdvTfn0SC/wqoNnvXDuHL 4fE3pwCox/xzNmAHqbg8hiUZ1HkHgcbA3PFY+RAEoxJe962mbPYjF5EmzaSpXjhSYUoe lxNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=ezSm6C+PqeTh7sVVhDby2AV6UeromiCvWfl9Ggv48Ls=; b=VGjEsHOGtalM1rXHWI2xNbry35SrJSulkWzHq7fn+TnR7pLq3yDZjY7sxsOggeTrvj P8TnmBa+qic0MsMJ82e4jEd+2a+6dOblWezusQL7DYpLjest+dcf54q7v01f8wEroKo0 9L+vdLHVlktouNIfJzw0fobwtV0SOcwY+aXG62t3ckmeNlVauKY6Ex0NPPp1GJjQsO2R uocNpYpJuOxUPJxZjYWBaBYPuAVb7+s2DuLHDbduhrgwS9ZJ+/h2OsHKMlcSpMAQGmI5 yc0DsW1x1ap43Kq61puq00J5Axe4vpFx1BzO+KYXKiGPFzJMsXDi7/AwqxRMcrFXgOYo Trog== X-Gm-Message-State: AOAM532OdHj1IzzyWyn0xG822SoS5OeR9nZDPZXsm+W9P2C5PrpiqzmJ HR1U2DBfGO5TCjH3MbJQqd8= X-Google-Smtp-Source: ABdhPJwQ+aEv7N2htmZtkGqcE3GwSbVkmclbWDF+lC2kIpWnpc4l0masHCxlKkqTQma/rKHenoln7Q== X-Received: by 2002:a63:531d:: with SMTP id h29mr9218475pgb.583.1638449350747; Thu, 02 Dec 2021 04:49:10 -0800 (PST) Received: from localhost ([103.125.234.161]) by smtp.gmail.com with ESMTPSA id 66sm2708633pgg.63.2021.12.02.04.49.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 04:49:10 -0800 (PST) From: Ihor Radchenko To: Timothy Subject: Re: Formal syntax for org-cite In-Reply-To: <87czmfp5i4.fsf@gmail.com> References: <871r2xr1tr.fsf@gmail.com> <87y254zcr1.fsf@nicolasgoaziou.fr> <87r1avplaa.fsf@gmail.com> <87czmfp5i4.fsf@gmail.com> Date: Thu, 02 Dec 2021 20:50:31 +0800 Message-ID: <8735nbi31k.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::529 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=yantar92@gmail.com; helo=mail-pg1-x529.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: Tom Gillespie , emacs-orgmode , Nicolas Goaziou 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=1638449617; 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=ezSm6C+PqeTh7sVVhDby2AV6UeromiCvWfl9Ggv48Ls=; b=lOUKGxxcTvJFsKUov95rRpZhJ2nTRtm6d6/UOuk5uAT2eA3pM3Fa7h17Maop+CPgqm7T0+ wWdMf4IHM95z3SwZt46ZAKoCYXuqWlEePrd+Q/9QksTqUQoQkrGUYjNAPeAfT2GIkffi6m KbDIlGM18lXJ6bY8Z+xzjPTHUsp5Gw0ssPbuwwyJMszTQtjHjILRr+JyE6Gl4ogX+aDM9e xQQ1Ibm66+6nogiVZg22/bUOUbwqs8JNu8UfgM4rFiOz+wBpaRI29gwjr0J3YLk0jZi51z Pop7mW9quT9YWicwYbbjgNb2ww9ZPy5RwYXgw1czxMJ3Vmv9R1hAyRtyHMgy/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638449617; a=rsa-sha256; cv=none; b=PbKmxOa8QnyaWhJprifZ5guCysjuXTRsNvYKP24CevUbC1lFjdtpFrE/NjXhlGiEkkOrTz W+A+n/V7l/L5e1BScNLqzA/8+wo/MTebzu92hpY2ZQQjfjfUUQCZBz52DiRD2fgvrl2avQ 3pCBllMDE+ybbdgUtQZBueqNzxLZ3h0fRIYaNPk1r/B7/idIW9JYMSZ8+5IGtS6vxZFGcm WpNMPgOwGa6YVjf6G4u/TNyooaz3ZnzqEQXNCVsdm68yi/jb3bmDSxoYsZbp4VXmUH1t+/ Gc/p9YqQ6wqY9FJx4cCbBnMxVGvszLZa/gP3p23MuddsFmV//Qd6lqwgmHQBqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pytgoGnt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pytgoGnt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 5F9FA1D64F X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: zn35tlVlt18T Timothy writes: > Let=E2=80=99s look at a strange citation. > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 [cite: @key *bold* text @@org:hey@@ and /italic/ and {{{macro()= }}} and [fn:3] and > =E2=94=82 <> <2021-12-02 Thu> \latex and \alpha and a statscookie= [3/7] src_lang{hi} > =E2=94=82 s^{up} and s_{ub}] > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > Examining the interpretation of this citation with `org-element', the fol= lowing > inline elements / objects are recognised. > =E2=81=83 bold/italic/etc. (text markup elements) > =E2=81=83 latex fragment > =E2=81=83 super/subscript > but most of the non-markup elements are not. > =E2=81=83 Export snippet > =E2=81=83 macro > =E2=81=83 footnote > =E2=81=83 target > =E2=81=83 timestamp > =E2=81=83 statistics cookie > =E2=81=83 inline source code This is all defined in org-element-object-restrictions together with other restrictions on what kinds of objects can be placed inside other elements and objects: (minimal-set '(bold code entity italic latex-fragment strike-through subscript superscript underline verbatim)) (citation-reference ,@minimal-set) Best, Ihor