[commit: ghc] master: docs: Unbreak the PS/PDF builds for the User's Guide (#10509) (440d1bc)

git at git.haskell.org git at git.haskell.org
Fri Jun 19 21:41:16 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/440d1bc1f5fa4d31f1f7bc45f3f3485733509313/ghc

>---------------------------------------------------------------

commit 440d1bc1f5fa4d31f1f7bc45f3f3485733509313
Author: Gabor Pali <pali.gabor at gmail.com>
Date:   Fri Jun 19 23:19:30 2015 +0200

    docs: Unbreak the PS/PDF builds for the User's Guide (#10509)
    
    dblatex can only translate the Unicode glyphs introduced in #10509 for LaTeX
    if the `latex.unicode.use=1` flag is set, otherwise it will just fail.
    However, note that adding this flag is not going to fully solve the problem as
    those symbols are not known by LaTeX, so the corresponding character codes
    will be added instead to the resulting PS/PDF files.  Hence it is considered
    an interim solution only, not a true fix, until a better one is found.


>---------------------------------------------------------------

440d1bc1f5fa4d31f1f7bc45f3f3485733509313
 mk/config.mk.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index d6831c9..cad5c71 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -731,7 +731,7 @@ BUILD_DOCBOOK_PS         = @BUILD_DOCBOOK_PS@
 BUILD_DOCBOOK_PDF        = @BUILD_DOCBOOK_PDF@
 DBLATEX                  = @DblatexCmd@
 # filename.as.url=0 is needed with dblatex 0.3.4 (#7486)
-DBLATEX_OPTS             = -P 'filename.as.url=0'
+DBLATEX_OPTS             = -P 'filename.as.url=0' -P 'latex.unicode.use=1'
 XSLTPROC                 = @XsltprocCmd@
 XMLLINT                  = @XmllintCmd@
 HAVE_DOCBOOK_XSL	 = @HAVE_DOCBOOK_XSL@



More information about the ghc-commits mailing list