Hi,
I presume you are running the step to compile the
titlepage spec file into an XSL file. Can you show how you are including
the compiled XSL in your customization layer.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
----- Original Message -----
From:
Dishaa
To:
Sent: Wednesday, October 03, 2007 12:38
PM
Subject: [docbook-apps] Issue with
Titlepage Output
Hello All,
I have been trying to change the way the
title page for all my PDF manuals look. I have created a separate title page
spec file and I am including it in my main customization layer.
I have
tried to follow whatever has been mentioned in Bob Stayton's DocBook XSL: The
Complete Guide - 4th Editio. But I think I am missing something vital as the
desired output is not showing up.
I would appreciate if members in this
group can look at the style sheet and let me know where I am going wrong in
the spec file.
Thanks to each of you for your time and
help,
Dishaa
----Spec File-----
<!DOCTYPE t:templates
[<!ENTITY hsize0
"10pt"><!ENTITY hsize1
"12pt"><!ENTITY hsize2
"14.4pt"><!ENTITY hsize3
"17.28pt"><!ENTITY hsize4
"20.736pt"><!ENTITY hsize5
"24.8832pt"><!ENTITY hsize0space
"7.5pt"> <!-- 0.75 * hsize0 --><!ENTITY hsize1space
"9pt"> <!-- 0.75 * hsize1 --><!ENTITY hsize2space
"10.8pt"> <!-- 0.75 * hsize2 --><!ENTITY hsize3space
"12.96pt"> <!-- 0.75 * hsize3 --><!ENTITY hsize4space
"15.552pt"> <!-- 0.75 * hsize4 --><!ENTITY hsize5space
"18.6624pt"> <!-- 0.75 * hsize5 -->]><xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
version="1.0"><t:templates
xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><!--
********************************************************************
$Id: titlepage.templates.xml,v 1.23 2003/12/16 00:30:49 bobstayton Exp
$
********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
and other information.
********************************************************************
--><!--
====================================================================
--><t:titlepage
t:element="book" t:wrapper="fo:block">
<t:titlepage-content t:side="recto">
<title
named-template="division.title"
param:node="ancestor-or-self::book[1]"
text-align="right"
space-before="&hsize5space;"
font-weight="bold"
color="blue"/>
<subtitle
text-align="right"
font-size="&hsize4;"
space-before="&hsize4space;"
font-family="{$title.font.family}"/>
<corpauthor
font-size="&hsize3;"
keep-with-next="always"
space-before="2in"/><xsl:template
match="corpauthor" mode="book.titlepage.recto.mode"> <fo:inline
color="blue">
<xsl:apply-templates mode="titlepage.mode"/>
</fo:inline></xsl:template>
<authorgroup space-before="2in"/>
<author font-size="&hsize3;"
space-before="&hsize2space;"
keep-with-next="always"/>
</t:titlepage-content>
<t:titlepage-content t:side="verso">
<title
t:named-template="book.verso.title"
font-size="&hsize2;"
font-weight="bold"
font-family="{$title.font.family}"/>
<corpauthor/>
<authorgroup t:named-template="verso.authorgroup"/>
<author/>
<othercredit/>
<pubdate space-before="1em"/><revhistory
t:named-template="book.verso.revhistory"/>
<copyright/>
<abstract/>
<legalnotice font-size="9pt"/>
</t:titlepage-content>
<t:titlepage-separator>
<fo:block break-after="page"/>
</t:titlepage-separator>
<t:titlepage-before t:side="recto">
</t:titlepage-before>
<t:titlepage-before t:side="verso">
<fo:block break-after="page"/>
</t:titlepage-before></t:titlepage></t:templates></xsl:stylesheet>
Looking for a deal? Find
great prices on flights and hotels with Yahoo!
FareChase.