org-odt.el: Typeset display equations using tables
commit861ecb85baf0467610bb6bbdfa985a2f4adaa795
authorJambunathan K <kjambunathan@gmail.com>
Sat, 17 Sep 2011 18:39:06 +0000 (18 00:09 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Sat, 17 Sep 2011 18:44:20 +0000 (18 00:14 +0530)
treebb8118dd26a35c34131f9ea3c6872f58941d1c68
parent1e1cde7546c2dfe7e835163072aca263f6f0b7bb
org-odt.el: Typeset display equations using tables

* contrib/odt/styles/OrgOdtContentTemplate.xml: Add bottom
margin to "OrgTable".  Modify border properties of
"OrgTblCell*"s.  Add "OrgEquation" table styles for
typesetting of display equations.

* contrib/odt/styles/OrgOdtStyles.xml: Added various "graphic"
styles for formatting of inline and display equations.
Modified names of some "graphic" styles for images for reasons
of consistency.

* contrib/lisp/org-odt.el (org-export-odt-do-format-image):
Removed.  This is now folded in to
`org-export-odt-format-image'.  A part of this is extracted in
to `org-odt-format-entity'.
(org-odt-entity-frame-styles): New variable.
(org-odt-format-entity): New function.  See previous entries.
(org-export-odt-format-image): Modified.  See previous
entries.
(org-export-odt-do-format-numbered-formula)
(org-export-odt-do-format-formula): Removed.  These functions
are now folded within `org-export-odt-format-formula'.
(org-export-odt-format-formula): Modified as noted above.
Also use `org-odt-format-entity'.
(org-odt-format-frame, org-odt-format-textbox): Modified
signature to facilitate elegant introduction of
`org-odt-format-entity'.
(org-odt-format-inlinetask): Honor change in signature.
(org-odt-label-def-ref-spec): Added an entry for "Equation".

Only MathML equations are typeset using tables.  Dvipng equations are still
typeset as regular images.
contrib/lisp/org-odt.el
contrib/odt/styles/OrgOdtContentTemplate.xml
contrib/odt/styles/OrgOdtStyles.xml