emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Exponents / subscripts
Date: Tue, 21 Oct 2014 22:06:53 +0200	[thread overview]
Message-ID: <87fveh89wi.fsf@gmx.us> (raw)
In-Reply-To: <87y4s9mlef.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 21 Oct 2014 18:34:48 +0200")

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Rasmus <rasmus@gmx.us> writes:
>
>> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>>
>>> Fabrice Popineau <fabrice.popineau@supelec.fr> writes:
>>>
>>>> Given that it is only a matter of presentation, does that mean it could be
>>>> changed ?
>>>> If yes, I can try to give it a shot.
>>>
>>> If you mean that a^bc should be equivalent to a^{b}c, then I think it is
>>> superior in its current state.
>>
>> As I understand Fabrice's mail, it's only about display of scripts in
>> Org buffers (when org-pretty-entities-include-sub-superscripts is
>> non-nil).  So rather than displaying
>>
>> (+)   \(a^nb^n\)
>>
>> as
>>
>>       \(aⁿᵇⁿ\)
>>
>> it would be displayed as
>>
>> (*)   \(aⁿbⁿ\)
>>
>> Of course, it /only/ makes sense to change how it is displayed in
>> math-mode, for which (*) is the more accurate depiction of (+).
>
> If we're talking about math mode, then I think no overlay should be
> added on them, and let `org-toggle-inline-images' display them
> correctly. IOW, \(a^nb^n\) should be displayed as \(a^nb^n\).
>
> It is, IMO, a bug in the current fontification, in which sub/superscript
> handling leaks over math snippets.

I disagree.

org-toggle-inline-images and fontification of *scripts is are
complements at best.

org-toggle-inline-images is slow and inconvenient for anything but
finished documents.  Had preview-latex supported Org I'd maybe agree,
but I disagree strongly at this time.

sub/superscript works well with entities and makes it very easy to
edit math and get approximate live feedback.

IOW and IMO, the "bug", if any, is the fontification of superscript in
math.

—Rasmus

-- 
To err is human. To screw up 10⁶ times per second, you need a computer

  reply	other threads:[~2014-10-21 20:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-19 15:28 Exponents / subscripts Fabrice Popineau
2014-10-19 17:08 ` Nicolas Goaziou
2014-10-19 19:52   ` Fabrice Popineau
2014-10-20  9:43     ` Nicolas Goaziou
2014-10-20 22:23       ` Rasmus
2014-10-21 16:34         ` Nicolas Goaziou
2014-10-21 20:06           ` Rasmus [this message]
2014-10-22  9:13             ` Nicolas Goaziou
2014-10-22  9:54               ` Rasmus
2014-10-23 19:16                 ` Nicolas Goaziou
2014-10-23 21:32                   ` Rasmus
2014-10-23 21:44                     ` Nicolas Goaziou
2014-10-22 13:19               ` Fabrice Popineau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fveh89wi.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).