@@ -979,7 +979,11 @@ main = do
979979 writerHighlight = highlight,
980980 writerHighlightStyle = highlightStyle,
981981 writerSetextHeaders = setextHeaders,
982− writerTeXLigatures = texLigatures
982+ writerTeXLigatures = texLigatures,
983+ writerEpubStylesheet = epubStylesheet,
984+ writerEpubFonts = epubFonts,
985+ writerReferenceODT = referenceODT,
986+ writerReferenceDocx = referenceDocx
983987 }
984988
985989 when (writerName' `elem` nonTextFormats&& outputFile == "-") $
@@ -1043,12 +1047,12 @@ main = do
10431047 writerFn outputFile d
10441048 (Nothing, Nothing)
10451049 | writerName' == "epub" ->
1046− writeEPUB epubStylesheet epubFonts writerOptions doc2
1050+ writeEPUB writerOptions doc2
10471051 >>= writeBinary
10481052 | writerName' == "odt" ->
1049− writeODT referenceODT writerOptions doc2 >>= writeBinary
1053+ writeODT writerOptions doc2 >>= writeBinary
10501054 | writerName' == "docx" ->
1051− writeDocx referenceDocx writerOptions doc2 >>= writeBinary
1055+ writeDocx writerOptions doc2 >>= writeBinary
10521056 | otherwise -> err 9 ("Unknown writer: " ++ writerName')
10531057 (Just w, _)
10541058 | pdfOutput -> do