aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-07-16 22:04:59 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2013-07-16 22:04:59 -0700
commitb2385d0e9bf13f2fc152a3983893c47f2ab5d4c0 (patch)
tree5db30348228092c2244913832900adc8e4f0fba0 /src/Text/Pandoc/Writers
parent94c9825468692a343af7ef1686b1c92e1ec71adf (diff)
downloadpandoc-b2385d0e9bf13f2fc152a3983893c47f2ab5d4c0.tar.gz
Text.Pandoc.ImageSize: Handle EPS.
Closes #903. This change will make EPS images properly sized on conversion to Word.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/Docx.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs
index d579d4fa6..1ed8c2fa5 100644
--- a/src/Text/Pandoc/Writers/Docx.hs
+++ b/src/Text/Pandoc/Writers/Docx.hs
@@ -776,6 +776,7 @@ inlineToOpenXML opts (Image alt (src, tit)) = do
Just Jpeg -> ".jpeg"
Just Gif -> ".gif"
Just Pdf -> ".pdf"
+ Just Eps -> ".eps"
Nothing -> takeExtension src
if null imgext
then -- without an extension there is no rule for content type