[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] customizing olink.doctitle gentext
That will require customizing the template with match="olink" from either fo/xref.xsl or html/xref.xsl. That template uses other templates to generate the pieces and then assembles them. You just need to rearrange the order in which they are assembled. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Gerd v. Egidy" <lists@egidy.de> To: <docbook-apps@lists.oasis-open.org> Sent: Thursday, July 28, 2005 3:25 PM Subject: [docbook-apps] customizing olink.doctitle gentext > Hi, > > I use the olink.doctitle option to make my external olinks contain the > document title of the referenced document. > > But I don't like the default style of text that is automatically generated for > the link. Currently it is something like > > Chapter 16, "Foo and bar" in Reference Manual > > I want it to look like > > Reference Manual, Chapter 16, "Foo and bar" > > I've seen the gentext templates > > <l:template name="olink.document.citation" text=" in %o"/> > <l:template name="docname" text=" in %o"/> > > but they don't help me here because they seem to imply that they are appended > to the regular olink text. How can I change that to prepend? > > I do not want to change the style on a per-olink basis but for the whole > document at once (I don't want to set a xrefstyle on every olink). > > Thanks a lot. > > Kind regards, > > Gerd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]