diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-04-29 10:49:45 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-04-29 10:49:45 -0700 |
commit | b9ba3847be2a98cf3bf1e1c834aa644c16e19b86 (patch) | |
tree | cf22196b32911cc6fc53eb22e562d2d791c14653 /src/Text/Pandoc | |
parent | b42c48e91918388e6b8eaaba36f4521441128a00 (diff) | |
download | pandoc-b9ba3847be2a98cf3bf1e1c834aa644c16e19b86.tar.gz |
Allow non-plain math methods in epub.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/EPUB.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/EPUB.hs b/src/Text/Pandoc/Writers/EPUB.hs index 5654bb004..fc0cb5912 100644 --- a/src/Text/Pandoc/Writers/EPUB.hs +++ b/src/Text/Pandoc/Writers/EPUB.hs @@ -102,8 +102,7 @@ writeEPUB mbStylesheet opts doc@(Pandoc meta _) = do let chunks = splitByIndices h1Indices blocks let titleize (Header 1 xs : ys) = Pandoc meta{docTitle = xs} ys titleize xs = Pandoc meta xs - let chapToHtml = writeHtmlString opts'{ writerTemplate = pageTemplate - , writerHTMLMathMethod = PlainMath } + let chapToHtml = writeHtmlString opts'{ writerTemplate = pageTemplate } let chapters = map titleize chunks let chapterToEntry :: Int -> Pandoc -> Entry chapterToEntry num chap = mkEntry ("ch" ++ show num ++ ".xhtml") $ |