org-odt.el: Embed links to mathml files as ODF formula
commitbe69dd2d50e7d7aa5c93af1f2d7a0872e3244a51
authorJambunathan K <kjambunathan@gmail.com>
Thu, 8 Sep 2011 15:11:27 +0000 (8 20:41 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Thu, 8 Sep 2011 15:44:11 +0000 (8 21:14 +0530)
treee1d07276b6bea1b357aa0340336fb5a7b4242ba7
parent5b98dfb6441d59f21b910324148de082eeba4c69
org-odt.el: Embed links to mathml files as ODF formula

* contrib/lisp/org-odt.el
(org-odt-embedded-formulas-count):New variable.
(org-odt-init-outfile): Reset above variable.
(org-odt-is-formula-link-p, org-odt-format-inline-formula)
(org-odt-copy-formula-file, org-export-odt-format-formula)
(org-export-odt-do-format-formula)
(org-export-odt-do-format-numbered-formula): New functions for
formatting mathml file links as embedded ODF formulae.
(org-odt-format-org-link): Add check for links to mathml files
and call `org-odt-format-inline-formula'.
(org-export-odt-format-image): Update function signature.  Use
`org-latex-src' property to identify latex dvipng images.  Use
the (to be committed) `org-latex-src-embed-type' to identify
whether the equation image should be inlined or displayed.
(org-odt-format-textbox): Modified to accomodate correct
formatting of captioned formula.
(org-odt-format-inlinetask): Modified to accomodate changes to
the previous function.
(org-export-odt-do-format-image): Minor change.
(org-export-odt-do-preprocess-latex-fragments): When LaTeX
fragment option is set to `t' or `mathjax' check for
availability of latex to mathml converter using (to be
committed) `org-format-latex-mathml-available-p'.  If such a
converter is available and configured, use it.  Otherwise
default to the earlier behaviour.

Refer the following post for more information:
http://article.gmane.org/gmane.emacs.orgmode/46712
contrib/lisp/org-odt.el