From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sEB7B3rr+mX4SAEA62LTzQ:P1 (envelope-from ) for ; Wed, 20 Mar 2024 14:58:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sEB7B3rr+mX4SAEA62LTzQ (envelope-from ) for ; Wed, 20 Mar 2024 14:58:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kJLgJRKo; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710943097; a=rsa-sha256; cv=none; b=IrhY4bKh7Dmj3YkWdUgXr9UUhUv5jcKDfNIK8R8U0u2Uqq2lLmasVqEhPHFxdBwqLPUPNl Yu8ADULvrevqlf3xEtmO3oO0D4hA1Zv9g0ivgtLn9k+DE/hLg9r4FC+a56yKPPh5yqH8yn YA8A2H1NLwTg2SEFGDGtclATbbS4TmHeIFzvyCXiYNVmNb7wUY3TT9sMr6oELbYw6Vif6O +3ScDwYyK4DkpRiD6afa+M13sT7nAD0wfX36fl4ClGx0n7kbFGKx8B6JyGzfnk5zmdUArK 4yORGbvzTV/s5sU1CYV6m77DsljfaEJl+Ng07Cmz++iVdTZ+wCaH727y6FKzBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kJLgJRKo; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710943097; 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:dkim-signature; bh=0bhmnw2XXJiiTFje6dXANSt/buQ8FBpLSPaKSNmtjdo=; b=at/6TqwF9EBSsX0o9F+0s7XRE6Tarar64VWvSuARUfMPLLFylRs1Wx8acR397vT9xldUkX g1elXpy4+HeBVv7uchCiXEOLFJ4FPB632qlUKA2QEUr6MdZlLIbRS+XCqiz0zWcD3qs/jx 7N8Y6oOKTkter28gm7dgGn3NoDfNBzW+PP0oKHqTCK//8Js5nBOX5BugbXYAZgmS8KrtA1 vRwLPq+vFjxUpBbdxPId3KqY8XLZyK0oOqb6t4JRBD/JfkZmbDr/1XSz7fX5O9Y4dFH7a9 Cztq8RCKdhZ9DxSofsGymPmmQ75BNgmSMiR3c4hGo42I3B+vQZEQ70xBJSnNFQ== 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 BE68472675 for ; Wed, 20 Mar 2024 14:58:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmwRj-0000OE-9O; Wed, 20 Mar 2024 09:57:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmwRh-0000Nq-OQ for emacs-orgmode@gnu.org; Wed, 20 Mar 2024 09:57:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmwRg-0001Mi-4x for emacs-orgmode@gnu.org; Wed, 20 Mar 2024 09:57:33 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7F5F1240028 for ; Wed, 20 Mar 2024 14:57:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710943049; bh=fUKrpeBRpPKm1agGrQ+uCbY3yDSZvDrp7hYcn9NLQTk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=kJLgJRKoA/oiIC8SKbbCcWGV/xTzXq3kDiAOya9Hi3LOI9FwPYXmliHQRaBfgGZ+k EhKjAIYidnWZW5Y/ihu4TsFI+W4bqJ8FVESbXbsN2FIBPC8ftJHDdpK46HMiYht+w/ /smVqZhwg3OsMyuVP0Q8u9h/PErXNu0K5EFxKGriEIrdX98DCTnrzEW+bv9nwRPzZy sLs3FWZLwGb0o4pxGAwQX/plkgEXn7qKMSFa+pdOokcIxTATL4kEtgtL3SmjbIFvwl ixb6VydNEHWlRfbG8g2erEpEXznLtOcDN4csgR5oAcguSAnu9TiWCAsBL4Aibk0T6V c+RUZMYnIL3mA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V09Bw2h49z6twn; Wed, 20 Mar 2024 14:57:28 +0100 (CET) From: Ihor Radchenko To: "Fraga, Eric" Cc: Tom Alexander , "emacs-orgmode@gnu.org" Subject: Re: [DISCUSSION] What should we do with undocumented x^(superscript inside /round/ braces) syntax? In-Reply-To: <87wmr071dw.fsf@localhost> References: <3cb9366e-7915-481d-be74-1953a8dd5847@app.fastmail.com> <875y42zi1n.fsf@localhost> <87wmr3xk0n.fsf@localhost> <87plws1fs2.fsf@ucl.ac.uk> <87wmr071dw.fsf@localhost> Date: Wed, 20 Mar 2024 13:57:24 +0000 Message-ID: <87plvproor.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.96 X-Spam-Score: -7.96 X-Migadu-Queue-Id: BE68472675 X-TUID: NE6mks8YlbKZ Ihor Radchenko writes: > "Fraga, Eric" writes: > >> On Saturday, 17 Feb 2024 at 14:06, Ihor Radchenko wrote: >>> Inconsistent with LaTeX syntax, Org mode not only allows >>> x^{superscript}, but also x^(superscript) with round braces used for >>> grouping. >> >> Inconsistent with LaTeX is not a sufficient reason for removing this, in >> my opinion. Org has /dwim/ elements which make it easier to write some >> expressions than in LaTeX. Another example is ~x^-1~ which works as I >> want but would make no sense in LaTeX (where only the "-" would be >> superscripted, not the 1). > > Good point. > Although, do note that unlike x^word, x^(some text) is not documented. > Moreover, options like ^:{} create an impression that only curly braces > are accepted. Upon further examination, I found that ^:{} does accept _only_ curly braces: #+options: ^:{} x^word x^{word} x^(word) yields (in latex export): x\^{}word x\textsuperscript{word} x\^{}(word) So, round braces can be seen as another variant of DWIM behavior. I conclude that there is no reason to change the existing syntax. I will need to update `org-use-sub-superscripts' docstring and https://orgmode.org/worg/org-syntax.html#Subscript_and_Superscript to document this special case. Maybe also update the manual section 12.3 Subscripts and Superscripts. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at