aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-12-03 10:31:27 -0500
committerGitHub <noreply@github.com>2020-12-03 10:31:27 -0500
commitef0375d6dc3d786c48067ecd6b84a58130829acd (patch)
tree52d1b381c2a0160c82f9f662915a46b78bf9a159
parent284c9a0c304faf9c186421a62da5d8b4dc73a8a2 (diff)
parentb2f1aef40cf50cf08eb28f34a9af2b1f9155c2df (diff)
Merge pull request #1257 from AndreasPK/wip/andreask/opt_dumps
Update for changes in GHC's Pretty
-rw-r--r--haddock-api/src/Haddock/Backends/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Backends/LaTeX.hs b/haddock-api/src/Haddock/Backends/LaTeX.hs
index f9480a47..52df9dc8 100644
--- a/haddock-api/src/Haddock/Backends/LaTeX.hs
+++ b/haddock-api/src/Haddock/Backends/LaTeX.hs
@@ -172,7 +172,7 @@ ppLaTeXModule _title odir iface = do
body = processExports exports
--
- writeUtf8File (odir </> moduleLaTeXFile mdl) (fullRender PageMode 80 1 txtPrinter "" tex)
+ writeUtf8File (odir </> moduleLaTeXFile mdl) (fullRender (PageMode True) 80 1 txtPrinter "" tex)
-- | Prints out an entry in a module export list.
exportListItem :: ExportItem DocNameI -> LaTeX