summaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-04-02 21:08:38 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2013-04-14 00:31:39 -0500
commit4fa2a947590f78160dac3197672e475f433f0e4f (patch)
tree658c4e6ec08ce1cf3dc4217d61dd1fb6c75cb656 /pandoc.cabal
parentdede39452f9488002daa1b402eed8d25aa88994f (diff)
Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.
pandoc -t data/sample.lua will load the script sample.lua and use it as a custom writer. data/sample.lua is provided as an example. Added `--print-custom-lua-writer` option to print the sample script.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal6
1 files changed, 5 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 2d2af70cc..6011c0094 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -101,6 +101,8 @@ Data-Files:
data/dzslides/template.html,
-- data for citeproc
data/default.csl,
+ -- sample lua custom writer
+ data/sample.lua
-- documentation
README, INSTALL, COPYRIGHT, BUGS, changelog
Extra-Source-Files:
@@ -253,7 +255,8 @@ Library
data-default >= 0.4 && < 0.6,
temporary >= 1.1 && < 1.2,
blaze-html >= 0.5 && < 0.7,
- blaze-markup >= 0.5.1 && < 0.6
+ blaze-markup >= 0.5.1 && < 0.6,
+ hslua >= 0.3 && < 0.4
if flag(embed_data_files)
cpp-options: -DEMBED_DATA_FILES
-- build-tools: hsb2hs
@@ -305,6 +308,7 @@ Library
Text.Pandoc.Writers.RST,
Text.Pandoc.Writers.Org,
Text.Pandoc.Writers.AsciiDoc,
+ Text.Pandoc.Writers.Custom,
Text.Pandoc.Writers.Textile,
Text.Pandoc.Writers.MediaWiki,
Text.Pandoc.Writers.RTF,