← Prev in month ← Prev in thread

different gentext for olinks and xref

From
natk <>
Date
2014-04-02T04:23:27+00:00
ID
CALzHNWg2wpSXu6gggUDD1zSfzzOj4SMp=
Thread
different gentext for olinks and xref
Is it possible to have different gentext for olinks and xrefs?

e.g. 

<book id="bookId"><title>Book Title</title>

...

<section id="sectionId"><title>Section Title</title>

For <olink targetdoc="bookId" targetptr="sectionId"/> I would like to see something like:

Section x.y "Section Title" in Book Title

For <xref linkend="sectionId"> I would like to see:

Section Title (which will be hyperlinked to the appropriate internal section)

At the moment, if I customise the section template in the xref-number-and-title context, they both change.

Nat
← Prev in month ← Prev in thread