summaryrefslogtreecommitdiff
path: root/pandoc.cabal
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 /pandoc.cabal
parentee51124412b38be7905f3d5a4c37ebf0526115cf (diff)
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 'pandoc.cabal')
-rw-r--r--pandoc.cabal2
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 1c7b15333..93283b346 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -164,7 +164,6 @@ Library
Text.Pandoc.Definition,
Text.Pandoc.CharacterReferences,
Text.Pandoc.Shared,
- Text.Pandoc.ODT,
Text.Pandoc.Highlighting,
Text.Pandoc.Readers.HTML,
Text.Pandoc.Readers.LaTeX,
@@ -183,6 +182,7 @@ Library
Text.Pandoc.Writers.MediaWiki,
Text.Pandoc.Writers.RTF,
Text.Pandoc.Writers.S5,
+ Text.Pandoc.Writers.ODT,
Text.Pandoc.Templates
Other-Modules: Text.Pandoc.XML,
Text.Pandoc.UTF8,