Fix PS file generation
authorSimon Marlow <marlowsd@gmail.com>
Tue, 1 Dec 2009 15:42:54 +0000 (15:42 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 1 Dec 2009 15:42:54 +0000 (15:42 +0000)
(the image doesn't work, but at least db2latex doesn't fall over)

docs/users_guide/profiling.xml

index 4d6e835..7d33ee8 100644 (file)
@@ -280,7 +280,12 @@ main = do let xs = {-# SCC "X" #-} [1..1000000]
 
       <para>which gives this heap profile when run:</para>
 
-      <imagedata fileref="prof_scc.png"/>
+      <!-- contentwidth/contentheight don't appear to have any effect
+           other than making the PS file generation work, rather than
+           falling over.  The result seems to be broken PS on the page
+           with the image. -->
+      <imagedata fileref="prof_scc" contentwidth="645px"
+      contentdepth="428px"/>
 
     </sect2>