[oXygen-user] How to add full text to the abbreviations IN THE INDEX
Imsieke, Gerrit, le-tex
gerrit.imsieke at le-tex.de
Thu May 10 11:49:00 CDT 2018
Using a pure markup language, rather than a Turing-complete
macro-expanding programming language, has its merits and its drawbacks.
Why don’t you use the established internal subset mechanism for
centralizing these indexterm definitions?
Example:
<!ENTITY idx_ATP "<indexterm><primary sortas='ATP'>ATP,
(Adenosin-Tri-Phosphat)</primary></indexterm>" >
You can think of other methods for avoiding repetition, for example,
(mis-) using <xref> for pointing to the first occurrence of an indexterm
with a certain content:
<indexterm xml:id="idx_ATP"><primary sortas='ATP'>ATP,
(Adenosin-Tri-Phosphat)</primary></indexterm>
…
<xref linkend="idx_ATP"/>
but then you can’t use DocBook XSL’s rendering out of the box.
Gerrit
On 10.05.2018 17:02, Bernhard Kleine wrote:
> Am 10.05.2018 um 16:26 schrieb Jirka Kosek:
>> On 10.5.2018 16:15, Bernhard Kleine wrote:
>>> Is this possible in XML with Oxygin 20? I would be very interested.
>> oXygen is "just" generic XML editor. It depends on vocabulary you are
>> editing inside oXygen. For example if you are using DocBook you can use
>> indexterm with nested see or seealso elements to get similar effect:
>>
>> https://tdg.docbook.org/tdg/5.1/indexterm.singular.html
>>
>> Jirka
> What is in this link I know; however it is not helpful what you said: I
> would like to add brackets and some text immediately after the
> indexentry, using see or seealso would put the comment in a separate line.
>
> Bernhard
>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
--
Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit.imsieke at le-tex.de, http://www.le-tex.de
Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930
Geschäftsführer / Managing Directors:
Gerrit Imsieke, Svea Jelonek, Thomas Schmidt
More information about the oXygen-user
mailing list