I'm writing a book which will include error messages and codes from a strange computer system. What I need to do is this:
Maintain a list of error message codes:
ABC0000T
For each code, have a sample message text:
ABC0000T Badgers detected - codexx
And a descriptive text:
If the current daily badger access code doesn't match xx, badger access control has failed and you should call out support immediately.
If the code is 99, then these are zombie badgers and you should fly for your life.
The way I see this working is this: at some point in the book (probably an appendix), all this stuff is printed, probably in alphabetical order of message code (though I may need to split things into two or three sections/groups. In the body of the book, I write turgid stuff like:
If any problems occur with badger access, message
ABC0000Tis issued and the system halts.
where the message text is also a hyperlink into the messages appendix.
Here's the question: I think the glossaries package is probably up to this, but before I start investing time, can you provide better suggestions?
Improvements to the title and the tagging (or indeed, anywhere) are cordially invited.



\foreachcan iterate thru these and generate the Appendix. This also allows for easy extraction if you want to repeat any of the content in your document, and could easily be adapted to also use glossaries or some similar package. – Peter Grill Jun 12 '12 at 20:53