David Goss | 25 May 2012 20:43
Favicon

Automatic glossaries and seealso

I’m using <glossary role=”auto” /> to generate a glossary for multiple documents from the same source.

 

This works great, unless I use a glossterm in the document that contains a <glossseealso> element. When this happens, I get the “See also” reference in the generated glossary, but if the glossterm was not used in the document, the reference term isn’t in the glossary.

 

Example:

My document contains:

                <glossterm>heating</glossterm>

My glossary has <glossseealso>cooling</glossseealso>

So when I run the stylesheets, I get “See also, cooling” under the entry for heating, even though “cooling” isn’t in the generated glossary.

 

I would either like to automatically add the term to the generated glossary or remove the seealso reference for terms that are not used.

 

(Could this also be a bug? It doesn’t seem like expected behavior.)

 

DAVID GOSS | Technical Writer

P 1.800.876.9218 x 345 | F 1.800.588.9866

dgoss <at> mueller-inc.com

http://www.MuellerReports.com

 


Gmane
http://permalink.gmane.org/gmane.text.docbook.apps/26598
permalink.gmane.org
crawl=CC-MAIN-2013-20
6762
application/http; msgtype=response
sha1:7MAZTISZLK536ZQRR2KQCRY5UOPPVIH6
<urn:uuid:3f905fd4-9ec4-42b1-9fee-838817ddaa82>
2013-06-19T20:49:01Z
80.91.229.6
sha1:UKSP4LS24372H2FLI2MBIQ7CMROLTFTW
<urn:uuid:c92516a5-5135-4f60-bff5-88b06a2bea75>
http://permalink.gmane.org/gmane.text.docbook.apps/26598
response
<urn:uuid:8117282d-bc85-4316-9c6c-800456452f6f>
robots: classic
hostname: ip-10-60-113-184.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2013-20
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for Spring 2013
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf