diff options
author | John MacFarlane <jgm@berkeley.edu> | 2012-11-02 17:46:22 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2012-11-02 17:46:22 -0700 |
commit | 43448d7d536889f58a1f5c50ee403f9c4534edf4 (patch) | |
tree | 5e3f126ce3d4eb4b4166dbd72fe867d7d65baf2c /src/pandoc.hs | |
parent | 7818033df954953e3b228b9c930336ba02798abc (diff) | |
download | pandoc-43448d7d536889f58a1f5c50ee403f9c4534edf4.tar.gz |
Preliminary changes for epub3 format.
* EPUB writer now exports writeEPUB2 and writeEPUB3.
* 'epub' output format is epub v2, while 'epub3'
is v3.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r-- | src/pandoc.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs index db98f41ee..7268f57f8 100644 --- a/src/pandoc.hs +++ b/src/pandoc.hs @@ -83,7 +83,7 @@ wrapWords indent c = wrap' (c - indent) (c - indent) else ", " ++ x ++ wrap' cols (remaining - (length x + 2)) xs isTextFormat :: String -> Bool -isTextFormat s = takeWhile (`notElem` "+-") s `notElem` ["odt","docx","epub"] +isTextFormat s = takeWhile (`notElem` "+-") s `notElem` ["odt","docx","epub","epub3"] -- | Data structure for command line options. data Opt = Opt |