[GHC] #10416: GHC 7.10.1 User Guide profiling section 5.4 missing images

GHC ghc-devs at haskell.org
Wed Jun 10 21:44:39 UTC 2015


#10416: GHC 7.10.1 User Guide profiling section 5.4 missing images
-------------------------------------+-------------------------------------
        Reporter:  alanz             |                   Owner:
            Type:  bug               |                  Status:  patch
        Priority:  normal            |               Milestone:  7.10.2
       Component:  Documentation     |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:  Phab:D958,
                                     |  Phab:D970
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"ca39b96ee783e124909a89ea3ad366bf99defa7b/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ca39b96ee783e124909a89ea3ad366bf99defa7b"
 docs: Fix #10416

 This commit fixes #10416 by using an EPS-based file-format for embedding
 images in the users guide, as opposed to a png. This is because 'latex'
 in some distributions is actually 'pdflatex', which supports reading the
 size of PNGs in DVI mode, while traditional latex does not.

 Rather than fiddle with the build a whole bunch, it's easy and simple to
 just convert the png into a eps file and embed that instead.

 But apparently we already had an EPS file, added in
 1cce2f51656cfbd8c7933a914a4bd981792aa1e6! But it was quite large, so
 instead I used `convert` to shrink it down from 1.7MB to about 20kb, the
 same size as the original PDF (by using level3 postscript, which is not
 as wasteful.)

 Signed-off-by: Austin Seipp <austin at well-typed.com>

 Differential Revision: https://phabricator.haskell.org/D970

 GHC Trac Issues: #10416
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10416#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list