aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-24 09:35:30 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-24 09:35:30 +0100
commit7de9a6ef5fd89c0aded82acc7f037d9a98e243be (patch)
tree1a8f5baba8ed6e5202ee96ed1bd38611b5e692f5 /src
parent2251d9cb737dee44b7aad587972c8098057f99d1 (diff)
downloadpandoc-7de9a6ef5fd89c0aded82acc7f037d9a98e243be.tar.gz
PDF via groff ms: use -t and -KUTF-8 options to pdfroff.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/PDF.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/PDF.hs b/src/Text/Pandoc/PDF.hs
index f1274686d..164ab0244 100644
--- a/src/Text/Pandoc/PDF.hs
+++ b/src/Text/Pandoc/PDF.hs
@@ -110,7 +110,7 @@ makePDF "pdfroff" writer opts verbosity _mediabag doc = liftIO $ do
source <- runIOorExplode $ do
setVerbosity verbosity
writer opts doc
- let args = ["-ms", "-e", "-k", "-i"]
+ let args = ["-ms", "-e", "-t", "-k", "-KUTF-8", "-i"]
ms2pdf verbosity args source
makePDF program writer opts verbosity mediabag doc = do
let withTemp = if takeBaseName program == "context"