diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-07-02 20:12:14 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-07-05 00:06:26 -0700 |
commit | ff4d94e054ae4ff0fbe80920193b99eb325fd8df (patch) | |
tree | 01317fedc2273632850429238ea205113a6a722e /src/Text/Pandoc/Templates.hs | |
parent | ee51124412b38be7905f3d5a4c37ebf0526115cf (diff) | |
download | pandoc-ff4d94e054ae4ff0fbe80920193b99eb325fd8df.tar.gz |
Made a proper ODT writer.
+ Transformed the old Text.Pandoc.ODT module into a proper
writer module, Text.Pandoc.Writers.ODT.
+ Instead of saveOpenDocumentAsODT, we now have writeODT, which
takes a Pandoc document and produces a bytestring.
saveOpenDocumentAsODT has been removed.
+ To extract the images and insert them into the ODT, we now use
processPandocM on the Pandoc document rather than a custom XML parser.
+ Handle the case where the image is remote (or not found) by
converting the Image element into an Emph with the label.
+ Plumbing in pandoc.hs changed slightly to accomodate this, and to
allow other writers that live in the IO monad.
Diffstat (limited to 'src/Text/Pandoc/Templates.hs')
0 files changed, 0 insertions, 0 deletions