aboutsummaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-07-02 20:12:14 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2010-07-05 00:06:26 -0700
commitff4d94e054ae4ff0fbe80920193b99eb325fd8df (patch)
tree01317fedc2273632850429238ea205113a6a722e /Setup.hs
parentee51124412b38be7905f3d5a4c37ebf0526115cf (diff)
downloadpandoc-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 'Setup.hs')
0 files changed, 0 insertions, 0 deletions