summaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2018-01-14 08:59:10 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2018-01-14 09:39:39 -0500
commit431f6166fa7dc6670fb5cff4a9bd5499c67e0bed (patch)
tree97f637195e04bfa56e60f98417e00da35791e586 /pandoc.cabal
parent90dcd0bc8795796583a6c895d15827b1c99cfb75 (diff)
Powerpoint writer: Refactor into separate modules.
There are two steps in the conversion: a conversion from pandoc to a Presentation datatype modeling pptx, and a conversion from Presentation to a pptx archive. The two steps were sharing the same state and environment, and the code was getting a bit spaghetti-ish. This separates the conversion into separate modules (T.P.W.Powerpoint.Presentation, which defineds the Presentation datatype and goes Pandoc->Presentation) and (T.P.W.Pandoc.Output, which goes Presentation->Archive). Text.Pandoc.Writers.Powerpoint a thin wrapper around the two modules.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal2
1 files changed, 2 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 87f85cf..c00d95e 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -527,6 +527,8 @@ library
Text.Pandoc.Readers.Org.ParserState,
Text.Pandoc.Readers.Org.Parsing,
Text.Pandoc.Readers.Org.Shared,
+ Text.Pandoc.Writers.Powerpoint.Presentation,
+ Text.Pandoc.Writers.Powerpoint.Output,
Text.Pandoc.Lua.Filter,
Text.Pandoc.Lua.Init,
Text.Pandoc.Lua.Module.MediaBag,