Hello
I was wondering if it is possible to pass an "id" attribute to a
glossary list. This would enable crosslinking glossary entries through
the text to take place.
At the moment, I've resorted to using anchors and links, but that's
pretty horrid. I'd rather have something like
[glossary]
["foo"] Foo::
This is an interesting thing.
["bar"] Bar::
This is where we go for a drink.
to produce
<glossentry id="foo">
<glossterm>Foo</glossterm>
<glossdef>
<simpara>
This is an interesting thing.
</simpara>
</glossdef>
</glossentry>
<glossentry id="bar">
<glossterm>Bar</glossterm>
<glossdef>
<simpara>
This is where we go for a drink.
</simpara>
</glossdef>
</glossentry>
This would references to be propery cross linked in the text.
<simpara>
The <glosstern linkend="foo">Foo</glossterm> widget is used to pay for
items at the <glossterm linkend="bar">Bar</glossterm>.
</simpara>
In AsciiDoc I'd define a macro to do that, of course :) But puting ids
into list attributes looks a bit more tricky.
--
Patrick J Cherry Bytemark Hosting Support
http://www.bytemark.co.uk/
tel: +44 (0) 1904 890 890
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.