[pypy-svn] r21298 - pypy/dist/pypy/doc

arigo at codespeak.net arigo at codespeak.net
Mon Dec 19 11:20:52 CET 2005


Author: arigo
Date: Mon Dec 19 11:20:51 2005
New Revision: 21298

Modified:
   pypy/dist/pypy/doc/dynamic-language-translation.txt
Log:
Page layout: add a "Figure N" caption to the graphviz figures, scale them down
a little bit so that two of them fit on a PDF page.


Modified: pypy/dist/pypy/doc/dynamic-language-translation.txt
==============================================================================
--- pypy/dist/pypy/doc/dynamic-language-translation.txt	(original)
+++ pypy/dist/pypy/doc/dynamic-language-translation.txt	Mon Dec 19 11:20:51 2005
@@ -819,7 +819,11 @@
 It is left as an exercise to show that this partial order makes *A* a
 lattice.
 
-Graphically:
+
+.. graphviz:: image/lattice1.dot
+   :scale: 80
+
+:Figure 1: the lattice of annotations.
 
 ..
                 ____________ Top ___________
@@ -837,10 +841,13 @@
               \        \      |  /        /
                `--------`-- Bottom ------'
 
-.. graphviz:: image/lattice1.dot
 
-Here is the part about instances and nullable instances, assuming a
-simple class hierarchy with only two direct subclasses of ``object``:
+.. graphviz:: image/lattice2.dot
+   :scale: 80
+
+:Figure 2: The part about instances and nullable instances, assuming a
+           simple class hierarchy with only two direct subclasses of
+           ``object``.
 
 ..
                              Top
@@ -866,9 +873,11 @@
                       \     /  /
                         Bottom
 
-.. graphviz:: image/lattice2.dot
 
-All list terms for all variables are unordered:
+.. graphviz:: image/lattice3.dot
+   :scale: 80
+
+:Figure 3: All list terms for all variables are unordered.
 
 ..
              __________________ Top __________________
@@ -881,7 +890,8 @@
             \            \     \   /     /            /
              '------------'--- None ----'------------'
 
-.. graphviz:: image/lattice3.dot
+
+~~~~~~~~
 
 The Pbcs form a classical finite set-of-subsets lattice.  In practice,
 we consider ``None`` as a degenerated pre-built constant, so the None



More information about the Pypy-commit mailing list