diff options
| author | John MacFarlane <[email protected]> | 2023-08-24 21:23:08 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-08-24 21:24:33 -0700 |
| commit | 87716265c105a53438c0ab2fd214af434afe514b (patch) | |
| tree | c07d54a5454969d258963758b3682b7851878477 | |
| parent | 3cb6130d1a6e16f34f98f02ebfdee3f30cdc20c0 (diff) | |
Man writer: don't emit `.hy`...
regardless of setting of `hyphenate` variable. See #9020.
| -rw-r--r-- | MANUAL.txt | 3 | ||||
| -rw-r--r-- | data/templates/default.man | 5 | ||||
| -rw-r--r-- | src/Text/Pandoc/Writers/Man.hs | 1 | ||||
| -rw-r--r-- | test/writer.man | 1 |
4 files changed, 0 insertions, 10 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 35eaa713c..1c2a11a3c 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -3146,9 +3146,6 @@ The `--css` option also affects the output. `header` : header in man pages -`hyphenate` -: if `true` (the default), hyphenation will be used - `section` : section number in man pages diff --git a/data/templates/default.man b/data/templates/default.man index 4365dede4..342a09e4d 100644 --- a/data/templates/default.man +++ b/data/templates/default.man @@ -23,11 +23,6 @@ $if(adjusting)$ .ad $adjusting$ $endif$ .TH "$title/nowrap$" "$section/nowrap$" "$date/nowrap$" "$footer/nowrap$" "$header/nowrap$" -$if(hyphenate)$ -.hy -$else$ -.nh -$endif$ $for(header-includes)$ $header-includes$ $endfor$ diff --git a/src/Text/Pandoc/Writers/Man.hs b/src/Text/Pandoc/Writers/Man.hs index 66aa8854b..794c5518a 100644 --- a/src/Text/Pandoc/Writers/Man.hs +++ b/src/Text/Pandoc/Writers/Man.hs @@ -75,7 +75,6 @@ pandocToMan opts (Pandoc meta blocks) = do let context = defField "body" main $ setFieldsFromTitle $ defField "has-tables" hasTables - $ defField "hyphenate" True metadata return $ render colwidth $ case writerTemplate opts of diff --git a/test/writer.man b/test/writer.man index bee7f7178..5b53a0291 100644 --- a/test/writer.man +++ b/test/writer.man @@ -13,7 +13,6 @@ . ftr VBI CBI .\} .TH "Pandoc Test Suite" "" "July 17, 2006" "" "" -.hy .PP This is a set of tests for pandoc. Most of them are adapted from John Gruber\[cq]s markdown test suite. |
