docs: Fix #10416

Authored by austin.


docs: Fix Trac #10416

Apparently this was broken by b30c6012c7552c874281050d40e5a59012b2c5e7,
but I can't reproduce the issue described there at all.

Signed-off-by: Austin Seipp <>

Test Plan: Use my eyes to read the resulting user manual.

Reviewers: hvr, thomie

Reviewed By: thomie

Subscribers: bgamari, thomie

Differential Revision:

GHC Trac Issues: Trac #10416


austinJun 5 2015, 3:43 PM
Differential Revision
D958: docs: Fix #10416
rGHC61b96a86c534: Fix #10489
Reverted By
rGHC7944a68f0a91: Revert "docs: Fix #10416"
Build Status
Buildable 4298
Build 4333: GHC Continuous Integration (amd64/Linux)
thomie added a subscriber: thomie.Jun 6 2015, 9:31 AM

I'm seeing the error when trying to build the documentation:

latex failed
users_guide.tex:15604: Cannot determine size of graphic in /home/thomas/ghc-master/sdistprep/ghc/ghc-7.11.20150606/docs/users_guide//prof_scc.png (no BoundingBox).
users_guide.tex:15604: leading text: ...width=645pt,height=428pt]{prof_scc.png}
Unexpected error occured
Error: latex compilation failed

Here's the versions of some stuff I have installed.

dblatex version 0.3.4-3
ii  docbook-utils  0.6.14-3ubun all          Convert DocBook files to other for
ii  docbook-xml    4.5-7.2      all          standard XML documentation system 
ii  docbook-xsl    1.78.1+dfsg- all          stylesheets for processing DocBook
$ pdflatex --version
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
kpathsea version 6.1.1
Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.49; using libpng 1.2.50
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.24.5
thomie raised a concern with this commit.Jun 6 2015, 9:31 AM
thomie added a comment.Jun 7 2015, 6:24 AM

You can see some nightly builders choking on this change as well:

thomie resigned from this audit.Jun 9 2015, 6:54 AM