[oXygen-user] How to add full text to the abbreviations IN THE INDEX

Bernhard Kleine bernhard.kleine at gmx.net
Thu May 10 12:24:37 CDT 2018


It works!

Thanks again
Bernhard

Am 10.05.2018 um 19:01 schrieb Bernhard Kleine:
> I would prefer to use an entity like
>
> <!ENTITY primATP "<primary sortas='ATP'>ATP,
> (Adenosin-Tri-Phosphat)</primary>" >
>
> But I get the idea. I was not aware if the "sortas" attribute, therefore
> the question.
>
> Thanks a lot.
>
> Bernhard
>
>
> Am 10.05.2018 um 18:49 schrieb Imsieke, Gerrit, le-tex:
>> 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
>>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kleine at gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20180510/e817819d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20180510/e817819d/attachment.sig>


More information about the oXygen-user mailing list