org-mode/lisp
Richard Lawrence c579f08eee Preserve math environments in title when exporting to LaTeX
* lisp/org-latex.el (org-export-as-latex): Sent the section title
through the preprocessor.

Hi all,

This patch fixes the issue I originally described here:
http://article.gmane.org/gmane.emacs.orgmode/32281

It preserves math-mode delimiters (e.g. "$" and "\(") in the document
title when exporting to LaTeX.  (That is, it prevents them from being
escaped, by running the title through org-export-preprocess-string,
which marks them with the org-protected property.)  It should work
regardless of whether the title is pulled from a headline, from the text
before the first headline, or from an explicit #+TITLE declaration.

(This is my first time contributing a patch to a Free Software project
-- so please, let me know what you think!)

Best,
Richard
2010-11-21 09:51:52 +01:00
..
ob-C.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-R.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-asymptote.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-calc.el ob-calc: ensure the *Calculator* buffer exists before it is used 2010-11-12 17:04:53 -07:00
ob-clojure.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-comint.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-css.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-ditaa.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-dot.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-emacs-lisp.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-eval.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-exp.el passing header arguments through to called code blocks 2010-11-08 14:18:33 -07:00
ob-gnuplot.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-haskell.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-js.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-keys.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-latex.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-ledger.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-lisp.el babel: fix a number of compiler warnings 2010-11-12 17:02:24 -07:00
ob-lob.el passing header arguments through to called code blocks 2010-11-08 14:18:33 -07:00
ob-matlab.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-mscgen.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-ocaml.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-octave.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-org.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-perl.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-plantuml.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-python.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-ref.el using higher level function for checking list membership 2010-11-18 09:34:21 -07:00
ob-ruby.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-sass.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-scheme.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-screen.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-sh.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-sql.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
ob-sqlite.el ob-sqlite: pass the body to the sqlite command through a pipe 2010-11-18 09:12:55 -07:00
ob-table.el babel: Avoid addition of unnecessary ellipsis 2010-11-16 11:16:18 +00:00
ob-tangle.el org-babel-load-file can now be called interactively 2010-11-17 13:04:48 -07:00
ob.el move ob-map-src-blocks up in ob.el and autoload it 2010-11-19 01:16:29 -07:00
org-agenda.el Keep byte compiler happy 2010-11-19 20:14:37 +01:00
org-archive.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-ascii.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-attach.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-bbdb.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-beamer.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-bibtex.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-capture.el Remove the autoload for org-capture-templates 2010-11-12 16:26:48 -06:00
org-clock.el org-clock.el: fix regex to recognize indented clock tables 2010-11-20 12:26:02 +01:00
org-colview-xemacs.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-colview.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-compat.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-complete.el Fix completion for tags and TeX-like entity macros, add block arguments 2010-11-19 20:14:25 +01:00
org-crypt.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-ctags.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-datetree.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-docbook.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-docview.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-entities.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-exp-blocks.el babel: delay call to `org-export-blocks-preprocess' in export 2010-11-12 16:39:35 -07:00
org-exp.el Include an .org file and lower the level of all its headers 2010-11-15 11:15:53 +01:00
org-faces.el New option to stop level nine headline to use level 1 face 2010-11-12 13:37:38 -06:00
org-feed.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-footnote.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-freemind.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-gnus.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-habit.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-html.el Mark listitifed headings wiht custom id 2010-11-21 09:45:02 +01:00
org-icalendar.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-id.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-indent.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-info.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-inlinetask.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-irc.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-jsinfo.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-latex.el Preserve math environments in title when exporting to LaTeX 2010-11-21 09:51:52 +01:00
org-list.el Fix cycling bullet with point not at column 0 2010-11-19 23:47:02 +01:00
org-mac-message.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-macs.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-mew.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-mhe.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-mks.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-mobile.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-mouse.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-plot.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-protocol.el Normalize percent escape sequence to upper case letters 2010-11-10 21:11:17 +01:00
org-publish.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-remember.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-rmail.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-src.el Tweak condition for src buffer to inherit active region. 2010-11-19 23:32:30 +00:00
org-table.el New hook to run after orgtbl-mode has sent a table 2010-11-17 13:58:52 +01:00
org-taskjuggler.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-timer.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-vm.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-w3m.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-wl.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org-xoxo.el Set version number to 7.3 2010-11-07 14:52:14 +01:00
org.el Remove confusion of C-c C-o in footnote with cursor on link 2010-11-20 18:24:18 +01:00