OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Newbie questions about DocBook Style Sheet customization


If you can't find the exact examples for what you need, I would suggest 
getting a book on XSLT to learn its syntax and understand how it works. 
Then you would be able to understand the examples and extend them to meet 
your requirements.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Julien Bolmont" <julien.bolmont@mac.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, September 12, 2006 3:08 AM
Subject: [docbook-apps] Newbie questions about DocBook Style Sheet 
customization


>
> Hi all,
>
> I've just started to work with DocBook and I'm not familiar at all with 
> the way of customizing the style sheet. For the moment, I use this style 
> sheet:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
> version="1.0">
>
>
>    <xsl:import href="....../frameworks/docbook/xsl/fo/docbook.xsl"/>
>
>    <xsl:param name="paper.type" select="'A4'"/>
>    <xsl:param name="paper.orientation" select="'portrait'"/>
>    <xsl:param name="body.start.indent" select="'10pt'"/>
>    <xsl:param name="section.autolabel" select="'1'"/>
>
> </xsl:stylesheet>
>
> My problem is that I don't know how to do things, and I don't find simple 
> enough examples on the web.
> For example, I'd like to:
> + change the color of the links (<link>)
> + change the size of titles for <sect1>
> + remove the table captions (I don't need them)
> + get the <sect1> numbered from 1 to N, with no reset at the beginning of 
> a chapter...
>
> I aleady know the great "DocBook XSL: The Complete Guide", but I don't 
> really understand how to modify the examples for my own use...
>
> Could you help me, please ?
> Thanks,
>
> Julien
>
>
>
>
>
> ---------------------------------------------------------------------
> 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]