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