From 7de9a6ef5fd89c0aded82acc7f037d9a98e243be Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 24 Mar 2017 09:35:30 +0100 Subject: PDF via groff ms: use -t and -KUTF-8 options to pdfroff. --- src/Text/Pandoc/PDF.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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" -- cgit v1.2.3