This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: docbook: about paragraphs, cross-references, indexes


At 10:34 12/04/01 +0100, you wrote:

>Yes; but only for entries marking a range of text. TDG also says "A single
>point is marked with an Indexterm placed in the text at the point of
>reference". This markup:
>
><INDEXTERM>
><PRIMARY>DocBook</PRIMARY>
><SECONDARY>Changes for <ACRONYM>V4.0</ACRONYM></SECONDARY>
></INDEXTERM>
>
>occurs in full over 40 times in TDG. Surely there must be a simpler way?

What about:

<!ENTITY IndexV4changes "<INDEXTERM>
     <PRIMARY>DocBook</PRIMARY>
     <SECONDARY>Changes for <ACRONYM>V4.0</ACRONYM></SECONDARY>
     </INDEXTERM>"
 >


and then just use &IndexV4changes; to generate the index entry.



Dave


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]