diff options
author | Alex Vong <alexvong1995@gmail.com> | 2015-09-19 19:12:35 +0800 |
---|---|---|
committer | Alex Vong <alexvong1995@gmail.com> | 2015-10-01 02:24:34 +0800 |
commit | f5e33e0dce8a4f08e23a59a8b270d3dad94601e0 (patch) | |
tree | d2eadb58a66222bd207766e098990ab59d557401 | |
parent | 4443af4d8d9d1ac847460c8edd77b4e9d0d9b273 (diff) | |
download | pandoc-f5e33e0dce8a4f08e23a59a8b270d3dad94601e0.tar.gz |
Set the template variable $hyphenate$ to true by default
* src/Text/Pandoc/Writers/Man.hs: Set $hyphenate$ to be true.
-rw-r--r-- | src/Text/Pandoc/Writers/Man.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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 |