all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Non-underscore way of specifying subscripts in org-mode
@ 2007-09-02 17:51 Nordlöw
  2007-09-03  7:24 ` carsten.dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Nordlöw @ 2007-09-02 17:51 UTC (permalink / raw)
  To: help-gnu-emacs

How do I prevent org-mode from interpreting my underscores as
subscript formatting? How can I instead choose another way of
specifying them. I really think underscores only is a bad way to
represent subscripts  since I want to specify indentifiers as they are
so that I can grep and search/replace them inside my project just as I
do with code.

Thanks in advance,
Nordlöw

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Non-underscore way of specifying subscripts in org-mode
  2007-09-02 17:51 Non-underscore way of specifying subscripts in org-mode Nordlöw
@ 2007-09-03  7:24 ` carsten.dominik
  2007-09-03 10:35   ` Nordlöw
  0 siblings, 1 reply; 3+ messages in thread
From: carsten.dominik @ 2007-09-03  7:24 UTC (permalink / raw)
  To: help-gnu-emacs

On Sep 2, 7:51 pm, Nordlöw <per.nord...@gmail.com> wrote:
> How do I preventorg-modefrom interpreting my underscores as
> subscript formatting? How can I instead choose another way of
> specifying them. I really think underscores only is a bad way to
> represent subscripts  since I want to specify indentifiers as they are
> so that I can grep and search/replace them inside my project just as I
> do with code.
>
> Thanks in advance,
> Nordlöw

       (setq org-export-with-sub-superscripts nil)

will turn this off completely.


With

    (setq org-export-with-sub-superscripts '{})

M_{star} will still  be a subscript, but M_star not.

Hope this helps.

- Carsten

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Non-underscore way of specifying subscripts in org-mode
  2007-09-03  7:24 ` carsten.dominik
@ 2007-09-03 10:35   ` Nordlöw
  0 siblings, 0 replies; 3+ messages in thread
From: Nordlöw @ 2007-09-03 10:35 UTC (permalink / raw)
  To: help-gnu-emacs

On 3 Sep, 09:24, carsten.domi...@gmail.com wrote:
> On Sep 2, 7:51 pm, Nordlöw <per.nord...@gmail.com> wrote:
>
> > How do I preventorg-modefrom interpreting my underscores as
> > subscript formatting? How can I instead choose another way of
> > specifying them. I really think underscores only is a bad way to
> > represent subscripts  since I want to specify indentifiers as they are
> > so that I can grep and search/replace them inside my project just as I
> > do with code.
>
> > Thanks in advance,
> > Nordlöw
>
>        (setq org-export-with-sub-superscripts nil)
>
> will turn this off completely.
>
> With
>
>     (setq org-export-with-sub-superscripts '{})
>
> M_{star} will still  be a subscript, but M_star not.
>
> Hope this helps.
>
> - Carsten

Brilliant!

Thanks.

/Nordlöw

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-03 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-02 17:51 Non-underscore way of specifying subscripts in org-mode Nordlöw
2007-09-03  7:24 ` carsten.dominik
2007-09-03 10:35   ` Nordlöw

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.