git.iko.soy/typeable/pandoc
on master help sign in
OpenDocument writer: don't use font-face-decls variable.
commitd76a6e23720f4acb292d3384ee020dfb072a120c authorJohn MacFarlane <jgm@berkeley.edu> dateTue 24 Sep 2013, 18:41 (13 years ago) parentfba2ef4
2 files changed+1−8
data/templates+1−1 src/Text/Pandoc/Writers/OpenDocument.hs−7
data/templates+1−1

Submodule changed.

src/Text/Pandoc/Writers/OpenDocument.hs−7
@@ -192,15 +192,8 @@ writeOpenDocument opts (Pandoc meta blocks) =
192192 listStyles = map listStyle (stListStyles s)
193193 automaticStyles = inTagsIndented "office:automatic-styles" $ vcat $
194194 reverse $ styles ++ listStyles
195− fontFaceDecls = inTagsIndented "office:font-face-decls" $ vcat $
196− [selfClosingTag "style:font-face" [
197− ("style:name", "Courier New")
198− , ("style:font-family-generic", "modern")
199− , ("style:font-pitch", "fixed")
200− , ("svg:font-family", "'Courier New'")]]
201195 context = defField "body" body
202196 $ defField "automatic-styles" (render' automaticStyles)
203− $ defField "font-face-decls" (render' fontFaceDecls)
204197 $ metadata
205198 in if writerStandalone opts
206199 then renderTemplate' (writerTemplate opts) context