emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX-export: letters after $..$ turn off math-mode
@ 2012-02-06 18:32 Daniel Schoepe
  2012-02-06 19:23 ` Achim Gratz
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Schoepe @ 2012-02-06 18:32 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi,

I have the following issue: If I write something like `$n$th' in an org
file and then export it to LaTeX, it will produce `\$n\$th', whereas I
would like it to export this as `$n$th'. Is there some way I can disable
escaping of dollar signs entirely (Leaving it to me to escape them, when
I don't use them as math-mode delimiters)?

I did not find any option to that end in the documentation, but it's of
course possible that I just overlooked it.

Cheers,
Daniel


[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: LaTeX-export: letters after $..$ turn off math-mode
@ 2013-02-04 11:51 Greg Minshall
  2013-02-15 22:04 ` Bastien
  0 siblings, 1 reply; 10+ messages in thread
From: Greg Minshall @ 2013-02-04 11:51 UTC (permalink / raw)
  To: emacs-orgmode

hi.  this was on the list a year ago (see below).

i'd like to plead the case of allowing the user to suppress dollar-sign
behavior (or, force dollar-signs to mean math-mode).

the main reason is convenience: when trying to quickly write up
thoughts, typing "$ a = b^2 $" is just that much more convenient/easier
than typing "\( a = b^2 \)".  (maybe because the former uses half the
number of "off-home-row" keys?  maybe just because my fingers are
programmed to do this?)

second, (this is rhetoric) why privilege the dollar currency?  third
(more rhetoric), there are certainly many communities that believe that
$..$ is equivalent to \(..\), so new users will continually show up thus
programmed.

so, if there were a way of disabling the current dollar sign processing,
that would be great!

cheers, Greg
----
http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00269.html
----
> Daniel Schoepe <address@hidden> writes:
>> I have the following issue: If I write something like `$n$th' in an
>> org file and then export it to LaTeX, it will produce `\$n\$th',
>> whereas I would like it to export this as `$n$th'. Is there some way
>> I can disable escaping of dollar signs entirely (Leaving it to me to
>> escape them, when I don't use them as math-mode delimiters)?

> Using proper LaTeX math delimiters instead of that TeXism works
> nicely: \(n\)th (the other TeXism, $n${}th also doesn't work).  In an
> UTF-8 document, a zero-width space would probably work too, but that's
> devious.

> HTH,
> Achim.

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

end of thread, other threads:[~2013-02-16 16:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-06 18:32 LaTeX-export: letters after $..$ turn off math-mode Daniel Schoepe
2012-02-06 19:23 ` Achim Gratz
  -- strict thread matches above, loose matches on Subject: below --
2013-02-04 11:51 Greg Minshall
2013-02-15 22:04 ` Bastien
2013-02-16  7:25   ` Nicolas Goaziou
2013-02-16 11:48     ` Nicolas Goaziou
2013-02-16 16:33       ` Nick Dokos
2013-02-16 16:45         ` Nick Dokos
2013-02-16 14:32     ` Bastien
2013-02-16 15:26       ` Rasmus

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).