emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Latex export: Differing behavior for symbols in headlines
@ 2010-10-21 16:09 Richard Lawrence
  2010-10-21 16:36 ` Nick Dokos
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Lawrence @ 2010-10-21 16:09 UTC (permalink / raw)
  To: emacs-orgmode

Dear Orgsters,

I am seeing differing behavior for how special symbols that appear in a
headline are exported to LaTeX, depending on whether I export an entire
Org document or just the current subtree.

I have, for example, a file that looks like this:

* Headline 1
** Headline 2, concerning $\alpha$ and $\beta$

If I export the whole document, the $'s around \alpha and \beta are
properly interpreted as math-mode delimiters, and Headline 2 becomes a
section title that looks exactly as I would expect.

If I export just Headline 2, however, the $'s are escaped, and show up
as literal '$' characters in the title of the exported document.

(I can't remove the $'s, because I am actually using some custom LaTeX
commands, not special symbols like \alpha and \beta that Org would
recognize as needing to be put in math mode.)

So, two questions:

1) Is this difference between whole-document vs. current-subtree export
the expected behavior?

2) If so, what's the right way to work around it?  If not, where should
I look to try and fix it?

(I am running the latest development version of Org.)

Thanks!

Best,
Richard

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

end of thread, other threads:[~2010-10-25  8:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-21 16:09 Latex export: Differing behavior for symbols in headlines Richard Lawrence
2010-10-21 16:36 ` Nick Dokos
2010-10-24  3:45   ` Bug: " Richard Lawrence
2010-10-24  7:30     ` Richard Lawrence
2010-10-25  8:42     ` Giovanni Ridolfi

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