Man writer: don't emit .hy...

regardless of setting of `hyphenate` variable.  See #9020.
This commit is contained in:
John MacFarlane committed 2023-08-24 21:24:33 -07:00
1 parent 3cb6130d1a
commit 87716265c1
4 files changed
-10

No files matched your search

-3
View File
@@ -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
-5
View File
@@ -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$
-1
View File
@@ -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
-1
View File
@@ -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.