Tick some things off the TODO list.
[ibg.git] / appendices / c.rst
index c82f0b384045ef5a65d8cdee828f1f51206b4bba..4dfb8b3a00d4769fa6caa35be0c271791fe7840b 100644 (file)
@@ -1,24 +1,17 @@
-.. raw:: latex
-
-   \newpage
-
 ======================================
  Appendix C -- "William Tell" story
 ======================================
 
+.. highlight:: transcript
 
 .. only:: html
 
   .. image:: /images/picW.png
      :align: left
 
-.. raw:: latex
-
-    \dropcap{w}
-
-illiam Tell, our second game, is also very straightforward. See "William 
-Tell: a tale is born" on page 69, "William Tell: the early years" on 
-page 79, "William Tell: in his prime" on page 91 and "William Tell: the 
+|W|\illiam Tell, our second game, is also very straightforward. See
+"William Tell: a tale is born" on page 69, "William Tell: the early years"
+on page 79, "William Tell: in his prime" on page 91 and "William Tell: the
 end is nigh" on page 103.
 
 Transcript of play
@@ -33,6 +26,8 @@ Game source code
 .. literalinclude:: /examples/Tell.inf
    :language: inform6
 
+.. _compile-as-you-go:
+
 Compile-as-you-go
 =================
 
@@ -65,7 +60,9 @@ reached by the end of Chapter 6, you’ll get this::
        Tell.inf(47): Error: No such constant as "quiver"
        Compiled with 3 errors and 3 warnings
 
-However, by adding these lines to the end of your game file::
+However, by adding these lines to the end of your game file:
+
+.. code-block:: inform
 
        ! ===============================================================
        ! TEMPORARY DEFINITIONS NEEDED TO COMPILE AT THE END OF CHAPTER 6
@@ -104,7 +101,9 @@ so although the game compiles successfully, it still causes an error to
 be reported at run-time.
 
 The best way round this is to extend the definition of our ``Room`` 
-class, thus::
+class, thus:
+
+.. code-block:: inform
 
        Class  Room
          with description "UNDER CONSTRUCTION",
@@ -151,7 +150,9 @@ the end of Chapter 6. But once we reach the end of Chapter 7, things
 have moved on, and we now need a different set of stub objects. For a 
 test compilation at this point, remove the previous set of stubs, and 
 instead add these -- ``south_square`` and ``apple`` objects, and a dummy 
-action handler to satisfy the ``Talk`` action in Helga’s life property::
+action handler to satisfy the ``Talk`` action in Helga’s life property:
+
+.. code-block:: inform
 
        ! ===============================================================
        ! TEMPORARY DEFINITIONS NEEDED TO COMPILE AT THE END OF CHAPTER 7
@@ -162,7 +163,9 @@ action handler to satisfy the ``Talk`` action in Helga’s life property::
        [ TalkSub; ];
 
 Similarly, at the end of Chapter 8, replace the previous stubs by these 
-if you wish to check that the game compiles::
+if you wish to check that the game compiles:
+
+.. code-block:: inform
 
        ! ===============================================================
        ! TEMPORARY DEFINITIONS NEEDED TO COMPILE AT THE END OF CHAPTER 8