Next in thread → Next in month →

Re: [docbook-apps] [SPAM] How to customize layout for title page?

From
Bob Stayton <>
Date
2006-08-25T07:22:36+00:00
ID
0b0a01c6c817$411b50b0$b663f93f@totoro
Thread
Re: [docbook-apps] [SPAM] How to customize layout for title page?
The example about importing your generated titlepage templates was 
corrected in the errata sheet for my book:

http://www.sagehill.net/book-errata3rdEdition.html

If you use xsl:import instead of xsl:include, you can add your new template 
named 'book.titlepage.recto'.

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Darya Said-Akbari" <>
To: <>
Sent: Thursday, August 24, 2006 2:27 AM
Subject: [docbook-apps] [SPAM] How to customize layout for title page?


> Hi,
>
> I need to create a specific title page layout and
> follow the descritpion at
> http://www.sagehill.net/docbookxsl/TitlePagePrint.html#TitlepageTableLayout
>
> I am little bit confused whether I should remove the
> generated title page stylesheet template (created from
> a title page spec file) from my customization layer
> XSL file or not.
>
> When I remove that line I loose all style related
> stuff. On the other hand, when I keep that line Saxon
> throws an error:
>
> Error at xsl:call-template on line 479 of
> file:.../docbookxsl/fo/titlepage.templates.xsl:
>  There are several templates named
> 'book.titlepage.recto' with the same import precedence
> Error at xsl:call-template on line 479 of
> file:t.../titlepage.spec.fo.xsl:
>  There are several templates named
> 'book.titlepage.recto' with the same import precedence
> Transformation failed: Failed to compile stylesheet. 2
> errors detected.
>
> My customization layer XSL looks like:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0"
> xmlns:fo="http://www.w3.org/1999/XSL/Format">
>
>    <xsl:import href="docbookxsl/fo/docbook.xsl"/>
>
>    <xsl:include href="titlepage.spec.fo.xsl"/>
>
> ...
>
> Any hints are welcome.
>
> Regards,
> Darya
>
>
>
> ___________________________________________________________
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →