]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
More on indexing.
authorPetter Reinholdtsen <pere@hungry.com>
Sun, 15 Jul 2012 08:25:49 +0000 (10:25 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Sun, 15 Jul 2012 08:25:49 +0000 (10:25 +0200)
tagging.txt

index fbd8ca3015da7723ff59703d75235a2a8eee7b26..665c88940fccec8810a21199ca34028211897d94 100644 (file)
@@ -9,9 +9,24 @@ docbook source:
 This will result in the entry ABC showing up in the Index, with a
 reference to the page where it is mentioned.
 
+To get two levels in the index at the back, add entries like this to
+the docbook source:
+
+  <indexterm>
+  <primary>artists</primary>
+  <secondary>publicity rights on images of</secondary>
+  </indexterm>
+
+To index a range of paragrams/pages:
+
+  <indexterm id="idxexchap" class='startofrange'>
+    <primary>Example Chapter</primary></indexterm>
+  ...
+  <indexterm startref="idxexchap" class="endofrange"/>
+
 Docbook howtos
 --------------
 
 http://developer.gnome.org/gdp-handbook/stable/docbook.html.en
 http://www.docbook.org/tdg/en/html/docbook.html
-
+http://www.docbook.org/tdg/en/html/indexterm.html