git.iko.soy/typeable/pandoc
on master help sign in
Allow non-plain math methods in epub.
commitb9ba3847be2a98cf3bf1e1c834aa644c16e19b86 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 29 Apr 2011, 10:49 (16 years ago) parentb42c48e
1 file changed+1−2
src/Text/Pandoc/Writers/EPUB.hs+1−2
src/Text/Pandoc/Writers/EPUB.hs+1−2
@@ -102,8 +102,7 @@ writeEPUB mbStylesheet opts doc@(Pandoc meta _) = do
102102 let chunks = splitByIndices h1Indices blocks
103103 let titleize (Header 1 xs : ys) = Pandoc meta{docTitle = xs} ys
104104 titleize xs = Pandoc meta xs
105− let chapToHtml = writeHtmlString opts'{ writerTemplate = pageTemplate
106− , writerHTMLMathMethod = PlainMath }
105+ let chapToHtml = writeHtmlString opts'{ writerTemplate = pageTemplate }
107106 let chapters = map titleize chunks
108107 let chapterToEntry :: Int -> Pandoc -> Entry
109108 chapterToEntry num chap = mkEntry ("ch" ++ show num ++ ".xhtml") $