[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Docbook Website Navigation Graphics
On Mon, Jun 23, 2003 at 06:45:11PM +0200, jfcarvajal@soluziona.com wrote: > Hi, > I already did that and change my custom tabular.xsl file according to what > I understood reading that page. Sure I'm doing somthing wrong. I 'm > processing a website layout and have a layout.xml file ( similar to the > website example). I do obtain footer navigation by Next and Prev > navigation text links but no icons.(it works because > <xsl:param name="sequential.links">1</xsl:param> ) > I want a page with the look similar to the one you mention > http://www.sagehill.net/docbookxsl/WebsiteFormat.html#d0e25522 > > I don't know if it is enough to change the params that I have changed in my > custom tabular.xsl or I do have to make a new template ( difficult because > I don't know how to write XSL stylesheets by the moment) . Ah, I missed documenting the 'sequential.links' parameter for Website. Turns out that this feature does not support the navigation graphics. In fact, it doesn't even support other languages. The 'Next' and 'Prev' text are hardwired in the template. So you can't change it with any parameter settings. You should probably file a Feature Request on the DocBook sourceforge site to improve this situation. If you want to change it in the current version, you would need to add a customization of this template in website-common.xsl: <xsl:template name="link.to.page"> You would have to do a xsl:choose to test $linktest for 'Next' or 'Prev' and substitute a <img> element in place of the $linktext reference. Since it would need to use the relpath template to compute the relative path to the image file, it is a bit more complicated. -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs@sco.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]