Use pagestyle for standard page headings.
[ibg.git] / index.rst
index 5dcfe67e102e036856e9e463d6074aec4681ac3b..f2b668af7b7c47ede62ee0910b4240119250f323 100644 (file)
--- a/index.rst
+++ b/index.rst
@@ -2,31 +2,43 @@
  The Inform Beginner's Guide
 =============================
 
-Contents:
+.. only:: html
+
+   .. toctree::
+      :maxdepth: 2
+
+      copyright
+      history
+      todo
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
 
-   copyright
-   history
    foreword
    about
 
+.. raw:: latex
+
+   \startchapters
+
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
+   :numbered: 1
    :glob:
-   :numbered:
 
    chapters/*
 
-Indices:
+.. raw:: latex
 
-* :ref:`genindex`
-* :ref:`search`
-
-End notes:
+   \startappendices
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
+   :glob:
+
+   appendices/*
+
+.. only:: html
 
-   endnotes
+   * :ref:`genindex`
+   * :ref:`search`