ox-latex: Handle entities cluster
commit24b61d910547ee7abd7b3931c5aca8b914971e21
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 9 Nov 2013 17:26:47 +0000 (9 18:26 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 19 Dec 2013 20:59:15 +0000 (19 21:59 +0100)
tree65409e1564217a64298dff85059bf437695af1aa
parentda05ab32f1f8c0db1296979e6a9596903fc9e9d1
ox-latex: Handle entities cluster

* lisp/ox-latex.el (org-latex-pseudo-objects): New variable.
(org-latex--wrap-latex-math-block): New function.
(org-latex-table, org-latex--math-table): declare pseudo objects.

This patch provides support for constructs like:

  \alpha_b

which should be translated as

  $\alpha_{\text{b}}$

instead of

  $\alpha$$_{\text{b}}$
lisp/ox-latex.el