Hi Lex,

Quick suggestion (and therefore without thought :) did you try this 
> with each list item separated by a blank line?  If they are joined 
> together then they are one paragraph and the id before the first item 
> applies to all I think. 
>

Thank you for your suggestions. :) Ok, here is what I've tried:

1. First created an AsciiDoc configuration file with just the lines you've 
suggested before:

[listtags-glossary]
list=
entry=<glossentry{id? id="{id}"}>|</glossentry>
label=
term=<glossterm>|</glossterm>
item=<glossdef>|</glossdef>
text=<simpara>|</simpara>

2. Separated each line like this:

[glossary]
[[glossary]]
= Glossary =
[glossary]

[[foo_term]]
Foo::
  This is a foo term
  
[[bar_term]]
Bar::
  This is a bar term

3. Called AsciiDoc:

asciidoc -f docbook45.conf -b docbook glossary.txt

When I checked the result XML file, I do get an id attribute in glossentry. 
Howeveer, it's the same (foo_term) for both entries.

I even tried this notation:

Bar::
[[bar_term]]
This is a bar term

But that is also wrong and gave me this:

<glossentry id="foo_term">
  <glossterm>Bar</glossterm>
  <glossdef></glossdef>
</glossentry>
<simpara id="bar_term">This is a bar term</simpara>

Which is -- of course -- not correct. Any other idea what I did wrong? Can 
this be considered a bug in AsciiDoc?


Thanks,
  Tom

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/asciidoc/-/2kbgIWd3ntIJ.
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.

Reply via email to