This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Including a Glossary in an Appendix
- To: docbook at lists dot oasis-open dot org
- Subject: DOCBOOK: Including a Glossary in an Appendix
- From: Holger Rauch <Holger dot Rauch at heitec dot de>
- Date: Mon, 18 Jun 2001 19:46:09 +0200 (CEST)
- Reply-to: Holger Rauch <Holger dot Rauch at heitec dot de>
Hi!
When including a glossary in an appendix, I got the problem, that the
glossary heading ("Glossar" in a German document) shows up twice in the
HTML output. So, my table of contents looks like this:
A. Anhang (correct)
A.1. Glossar (correct)
Glossar (one entry too many)
I tried to include a glossary in an appendix the following way (as part
of a German document):
<appendix>
<title>Anhang</title>
&glossar;
</appendix>
("glossar" is an entity pointing to the actual glossary file. It is
defined as follows:)
<!ENTITY glossar SYSTEM "glossar.xml">
In "glossary.xml" I have the following:
<sect1 id="glossar">
<title>Glossar</title>
<glossary>
<!-- lots of glossentries -->
</glossary>
<para></para>
</sect1>
The "<para></para>" is just a hack to get a valid XML document.
Now, my question is: How can I include a glossary correctly (meaning that
the glossary heading shows up only once)?
Thanks for any suggestions!
Greetings,
Holger