aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-09-24 18:41:19 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2013-09-24 18:41:43 -0700
commitd76a6e23720f4acb292d3384ee020dfb072a120c (patch)
tree116ff14193c7e838a678bed771edc6121f5fb623 /src/Text
parentfba2ef42ad4be0bda8c4ff9ef7a335bdbcd4996d (diff)
downloadpandoc-d76a6e23720f4acb292d3384ee020dfb072a120c.tar.gz
OpenDocument writer: don't use font-face-decls variable.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/OpenDocument.hs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Text/Pandoc/Writers/OpenDocument.hs b/src/Text/Pandoc/Writers/OpenDocument.hs
index 0f9044601..206be7133 100644
--- a/src/Text/Pandoc/Writers/OpenDocument.hs
+++ b/src/Text/Pandoc/Writers/OpenDocument.hs
@@ -192,15 +192,8 @@ writeOpenDocument opts (Pandoc meta blocks) =
listStyles = map listStyle (stListStyles s)
automaticStyles = inTagsIndented "office:automatic-styles" $ vcat $
reverse $ styles ++ listStyles
- fontFaceDecls = inTagsIndented "office:font-face-decls" $ vcat $
- [selfClosingTag "style:font-face" [
- ("style:name", "Courier New")
- , ("style:font-family-generic", "modern")
- , ("style:font-pitch", "fixed")
- , ("svg:font-family", "'Courier New'")]]
context = defField "body" body
$ defField "automatic-styles" (render' automaticStyles)
- $ defField "font-face-decls" (render' fontFaceDecls)
$ metadata
in if writerStandalone opts
then renderTemplate' (writerTemplate opts) context