#+TITLE: improvements.org #+AUTHOR: Jambunathan K #+EMAIL: address@hidden #+DATE: 2011-11-09 Wed #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: * Improvements to LaTeX->MathML handling in ODF exporter Firstly, I felt a need for some support infrastructure for working with LaTeX fragments in the ODT exporter. I am listing few things that I have added since our last interaction: 1. Dvipng images & Math formulae created from LaTeX fragments will now have the LaTeX fragment as metadata. i.e., In LibreOffice you can see the LaTeX source by Image/Equation->Right Click->Description 2. New interactive commands - M-x org-export-as-odf and M-x org-export-as-odf-and-open. With these commands you can mark a latex fragment and export it as a odf - OpenDocument formula - document. The MathML source will be available as part of kill ring after the export. (See the docstrings) 3. Embed OpenDocument formula within the exported document by providing a link to *.mathml or *.odf file as below. #+CAPTION: cases with MathJaX [[./mathjax-cases.odf]] A link with neither caption or nor label will formatted inline type while one either or both of these attributes will be formatted as display.