I'm not sure what you mean by "select: nnnn", because the 'select' style uses
keywords. In the olink chapter, I mention that olinks add two more possible
keywords: docname and docnamelong. So this should work:
<olink role="select: docname" ...
----- Original Message -----
From: Tim Casling
Sent: Thursday, April 21, 2005 6:00 AM
Subject: [docbook-apps] book title in olink xref
Using olinking Ive got <xsl:param name="olink.doctitle" select="yes"/> set
because when Im referring to chapters or sections I want the xref text to
indicate the name of the book in which the chapter or section lives.
However, this means that when I olink to a book id it gives a reference of
the form: Installation Guide in Installation Guide. My first thought is
that I want to suppress the in Installation Guide, but if all book
titles are being italicized then I guess it is the first bit that I want to
suppress and just have in Installation Guide.
Seems to me that this behaviour should be the default. What is the easiest
way to fix this?
Im using Docbook 4.2, so Ive set use.role.as.xrefstyle on and tried to
use a select: nnnn attribute to indicate precisely the cross-reference
style I want. It didnt work, so I thought Id ask before delving any