emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* new(ish) behaviour wrt to {s & }s
@ 2014-02-02  1:35 Benjamin Slade
  2014-02-02  7:55 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Slade @ 2014-02-02  1:35 UTC (permalink / raw)
  To: emacs-orgmode

At some point orgmode has started escaping {s and }s which I don't want
to be escaped on conversion to LaTeX. For example when I put in orgmode
\textsubscript{some subscript}, I get out in the .tex file
\textsubscript\{some subsubscript}. Likewise with a user-defined
function like \Bracketed{...}.

Is there a flag/option I can use to tell orgmode to *never* escape my {s
and }s on export to LaTeX?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr Benjamin Slade
pgp fingerprint: 21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{sent by mu4e on Emacs running under GNU/Linux}
(Choose Linux, Choose Freedom)

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

* Re: new(ish) behaviour wrt to {s & }s
  2014-02-02  1:35 new(ish) behaviour wrt to {s & }s Benjamin Slade
@ 2014-02-02  7:55 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-02-02  7:55 UTC (permalink / raw)
  To: Benjamin Slade; +Cc: emacs-orgmode

Hello,

Benjamin Slade <slade@jnanam.net> writes:

> At some point orgmode has started escaping {s and }s which I don't want
> to be escaped on conversion to LaTeX. For example when I put in orgmode
> \textsubscript{some subscript}, I get out in the .tex file
> \textsubscript\{some subsubscript}. Likewise with a user-defined
> function like \Bracketed{...}.

Org doesn't support full LaTeX syntax. If you want to insert raw LaTeX,
you need to use specific markup, for example an export snippet:

  @@latex:\textsubscript{some subsubscript}@@

> Is there a flag/option I can use to tell orgmode to *never* escape my {s
> and }s on export to LaTeX?

No. But you could write a filter to do so, see:

  (info "(org) Advanced configuration").


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2014-02-02  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-02  1:35 new(ish) behaviour wrt to {s & }s Benjamin Slade
2014-02-02  7:55 ` Nicolas Goaziou

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