Change implemented Glk spec to 0.7.3.
[projects/chimara/chimara.git] / docs / reference / chimara-docs.sgml
index 43dbffa4e85f88ed3964e7d437194c9c02650544..6c9e7c10b9fa7181674ffbac1f03704c08d0b3d1 100644 (file)
@@ -4,26 +4,29 @@
 <!ENTITY version SYSTEM "version.xml">
 ]>
 <book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
+
+  <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
+
   <bookinfo>
     <title>Chimara Reference Manual</title>
     <releaseinfo>for Chimara &version;</releaseinfo>
   </bookinfo>
 
-  <reference>
+  <reference id="chimara-api-reference">
     <title>Chimara API Reference</title>
     <xi:include href="xml/chimara-glk.xml"/>
     <xi:include href="xml/chimara-if.xml"/>
   </reference>
   
-  <reference>
-    <title>Glk API Specification, version 0.7.0</title>
+  <reference id="chimara-glk-api-spec">
+    <title>Glk API Specification, version 0.7.3</title>
     <xi:include href="glk-front-matter.sgml"/>
     
     <!-- Chapter 0. Introduction -->
     <xi:include href="glk-introduction.sgml"/>
     
     <!-- Chapter 1. Overall Structure -->
-    <chapter>
+    <chapter id="chimara-glk-spec-overall-structure">
       <title>Overall Structure</title>
       <!-- For Gtk-Doc post-processed SGML files, look in the xml directory-->
       <xi:include href="xml/glk-main-function.sgml"/>
@@ -37,7 +40,7 @@
     </chapter>
     
     <!-- Chapter 2. Character Encoding -->
-    <chapter>
+    <chapter id="chimara-glk-spec-character-encoding">
       <title>Character Encoding</title>
       <xi:include href="glk-character-encoding.sgml"/>
       <xi:include href="xml/glk-output.sgml"/>
@@ -49,7 +52,7 @@
     </chapter>
     
     <!-- Chapter 3. Windows -->
-    <chapter>
+    <chapter id="chimara-glk-spec-windows">
       <title>Windows</title>
       <xi:include href="glk-windows.sgml"/>
       <xi:include href="xml/glk-window-arrangement.sgml"/>
@@ -62,7 +65,7 @@
     </chapter>
     
     <!-- Chapter 4. Events -->
-    <chapter>
+    <chapter id="chimara-glk-spec-events">
       <title>Events</title>
       <xi:include href="xml/glk-events.xml"/>
       <xi:include href="xml/glk-character-input-events.xml"/>
@@ -73,7 +76,7 @@
        </chapter>
        
        <!-- Chapter 5. Streams -->
-       <chapter>
+       <chapter id="chimara-glk-spec-streams">
          <title>Streams</title>
          <xi:include href="xml/glk-streams.xml"/>
          <xi:include href="xml/glk-print.xml"/>
@@ -88,7 +91,7 @@
        </chapter>
        
        <!-- Chapter 6. File References -->
-       <chapter>
+       <chapter id="chimara-glk-spec-file-references">
          <title>File References</title>
          <xi:include href="xml/glk-fileref.xml"/>
          <xi:include href="xml/glk-fileref-types.xml"/>      
@@ -96,7 +99,7 @@
     </chapter>
     
     <!-- Chapter 7. Graphics -->
-    <chapter>
+    <chapter id="chimara-glk-spec-graphics">
       <title>Graphics</title>
       <xi:include href="xml/glk-image-resources.xml"/>
       <xi:include href="xml/glk-graphics-windows.xml"/>
     </chapter>
     
     <!-- Chapter 8. Sound -->
-    <chapter>
+    <chapter id="chimara-glk-spec-sound">
       <title>Sound</title>
       <xi:include href="glk-sound-resources.sgml"/>
       <xi:include href="xml/glk-sound-channels.xml"/>
     </chapter>
     
     <!-- Chapter 9. Hyperlinks -->
-    <chapter>
+    <chapter id="chimara-glk-spec-hyperlinks">
       <title>Hyperlinks</title>
       <xi:include href="xml/glk-creating-hyperlinks.xml"/>
       <xi:include href="xml/glk-accepting-hyperlinks.xml"/>
     </chapter>
 
        <!-- Chapter 10. The System Clock -->
-       <chapter>
+       <chapter id="chimara-glk-spec-the-system-clock">
          <title>The System Clock</title>
          <xi:include href="xml/glk-clock.xml"/>
          <xi:include href="xml/glk-clock-conversions.xml"/>
     <xi:include href="glk-porting.sgml"/>
    
     <!-- Appendices -->
-    <appendix>
+    <appendix id="chimara-glk-spec-the-dispatch-layer">
       <title>The Dispatch Layer</title>
       <xi:include href="dispatch.sgml"/>
       <xi:include href="xml/dispatch-interrogating.xml"/>
       <xi:include href="dispatch-selectors.sgml"/>
     </appendix>
 
-    <appendix>
+    <appendix id="chimara-glk-spec-the-blorb-layer">
       <title>The Blorb Layer</title>
       <xi:include href="blorb.sgml"/>
       <xi:include href="xml/blorb-program.xml"/>
       <xi:include href="xml/blorb-errors.xml"/>
     </appendix>
     
-    <appendix>
+    <appendix id="chimara-glk-spec-glk-extensions">
      <title>Glk Extensions</title>
      <xi:include href="xml/glkext-startup.xml"/>
      <xi:include href="xml/glkext-unix.xml"/>