Add book image to HTML output.
[ibg.git] / index.rst
index b89b1297c816652e9516e8d820612f475756df3b..d0b2057698acf60509144dd301b65c70abc858cd 100644 (file)
--- a/index.rst
+++ b/index.rst
@@ -2,26 +2,42 @@
  The Inform Beginner's Guide
 =============================
 
-Contents:
+.. only:: html
+
+   .. toctree::
+
+      copyright
+      history
+      status
 
 .. toctree::
-   :maxdepth: 2
-   :glob:
+   :maxdepth: 1
 
-   copyright
-   history
    foreword
    about
-   chapters/*
 
-Indices:
+.. raw:: latex
 
-* :ref:`genindex`
-* :ref:`search`
+   \startchapters
 
-End notes:
+.. toctree::
+   :maxdepth: 1
+   :numbered: 1
+   :glob:
+
+   chapters/*
+
+.. raw:: latex
+
+   \startappendices
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
+   :glob:
+
+   appendices/*
+
+.. only:: html
 
-   endnotes
+   * :ref:`genindex`
+   * :ref:`search`