Allow non-plain math methods in epub.
This commit is contained in:
parent
b42c48e919
commit
b9ba3847be
1 changed files with 1 additions and 2 deletions
|
@ -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") $
|
||||
|
|
Loading…
Reference in a new issue