git.iko.soy/typeable/pandoc
on master help sign in
Added fields to WriterOptions.
cd19d45John MacFarlane
src/Text/Pandoc/Shared.hs+8
@@ -523,6 +523,10 @@ data WriterOptions = WriterOptions
523 , writerHighlightStyle :: Style -- ^ Style to use for highlighting
523 , writerHighlightStyle :: Style -- ^ Style to use for highlighting
524 , writerSetextHeaders :: Bool -- ^ Use setext headers for levels 1-2 in markdown
524 , writerSetextHeaders :: Bool -- ^ Use setext headers for levels 1-2 in markdown
525 , writerTeXLigatures :: Bool -- ^ Use tex ligatures quotes, dashes in latex
525 , writerTeXLigatures :: Bool -- ^ Use tex ligatures quotes, dashes in latex
526+ , writerEpubStylesheet :: Maybe String -- ^ EPUB stylesheet specified at command line
527+ , writerEpubFonts :: [FilePath] -- ^ Paths to fonts to embed
528+ , writerReferenceODT :: Maybe FilePath -- ^ Path to reference ODT if specified
529+ , writerReferenceDocx :: Maybe FilePath -- ^ Ptah to reference DOCX if specified
526 } deriving Show
530 } deriving Show
527
531
528instance Default WriterOptions where
532instance Default WriterOptions where
@@ -565,6 +569,10 @@ defaultWriterOptions =
565 , writerHighlightStyle = pygments
569 , writerHighlightStyle = pygments
566 , writerSetextHeaders = True
570 , writerSetextHeaders = True
567 , writerTeXLigatures = True
571 , writerTeXLigatures = True
572+ , writerEpubStylesheet = Nothing
573+ , writerEpubFonts = []
574+ , writerReferenceODT = Nothing
575+ , writerReferenceDocx = Nothing
568 }
576 }
569
577
570--
578--