emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bo Grimes <vcg3rd@fastmail.com>
To: emacs-orgmode@gnu.org
Subject: Superscript and non-blank character
Date: Fri, 10 Jul 2020 20:33:04 -0400	[thread overview]
Message-ID: <5049c130-4383-25b6-bb90-71d152a49a2b@fastmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]

Emacs 26.3, Org-mode 9.1.9, Kubuntu 20.04, 5.4.0-39-generic

Hi,

I've tried my hardest to find an answer in the manuals (print book and 
on-line), this list, Reddit, and Stack Exchange with no luck.  I use 
Emacs for org-mode, and I don't code or know Elisp. I have no use for or 
interest in learning LaTeX.  I never use subscript, and I only use 
superscript in poetry/prose (mostly quotes, not original), and I don't 
foresee (but admit I may) a need to export.

I understand that:

> ^2H is not recognized as superscript _on purpose_. Per Org syntax, you 
> have to add a non-blank character before the caret. Otherwise, there 
> would be ambiguity between underline (e.g., _under_) and subscript 
> (_under). And superscript syntax follows subscript's. [1]

That makes sense to me as a default [2], given that so many org-mode 
users use both in math, science, and literate coding context, so I 
wouldn't think to suggest it to be changed.  All I want to know is how I 
can change it for *me*.

I would like to org-toggle-pretty-entities in a buffer and see 
superscript before, say, a poetry line or Bible verse I'm quoting in a 
note or journal entry, and not see the non-blank character.

Can this be done via customize or with an Elisp snippet in init.el?

Thanks!

[1] https://lists.gnu.org/archive/html/emacs-orgmode/2014-06/msg01022.html

[2] Though I wish it were made explicit in the manuals 
https://orgmode.org/manual/Subscripts-and-Superscripts.html#Subscripts-and-Superscripts 
(Org Mode 9 Reference Manual p 132). It took me a while to figure out 
why it wasn't working at all.




[-- Attachment #2: Type: text/html, Size: 2295 bytes --]

             reply	other threads:[~2020-07-11  0:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-11  0:33 Bo Grimes [this message]
2020-07-14 11:51 ` Superscript and non-blank character ian martins
2020-07-15 23:40   ` Bo Grimes

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=5049c130-4383-25b6-bb90-71d152a49a2b@fastmail.com \
    --to=vcg3rd@fastmail.com \
    --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).