From f5e33e0dce8a4f08e23a59a8b270d3dad94601e0 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Sat, 19 Sep 2015 19:12:35 +0800 Subject: Set the template variable $hyphenate$ to true by default * src/Text/Pandoc/Writers/Man.hs: Set $hyphenate$ to be true. --- src/Text/Pandoc/Writers/Man.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Writers/Man.hs b/src/Text/Pandoc/Writers/Man.hs index f91367eb9..08d1ee189 100644 --- a/src/Text/Pandoc/Writers/Man.hs +++ b/src/Text/Pandoc/Writers/Man.hs @@ -85,6 +85,7 @@ pandocToMan opts (Pandoc meta blocks) = do let context = defField "body" main $ setFieldsFromTitle $ defField "has-tables" hasTables + $ defField "hyphenate" True $ metadata if writerStandalone opts then return $ renderTemplate' (writerTemplate opts) context -- cgit v1.2.3