I'm sure it is me, but I can't seem to get this to work.....
I want to customize my (PDF via FO) document.
I want to make the title-page a separate page, ie to insert a page-break. My
document is an <article>.
I'm using docbook-xsl-1.77.1 stylesheets, and Docbook 5.
Following the instructions in Bob's book I've taken a copy of
fo\titlepage.templates.xml.
I process it using template\titlepage.xsl and Saxon 6-5-5. I call the result
mytitlepages.xsl.
If I then compare my mytitlepages.xsl with the supplied
fo\titlepage.templates.xml I find that all the elements which are <fo:block> in
the given file are <block> in my generated one.
For example :
published: <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
font-family="{$title.fontset}">
against
generated: <block font-family="{$title.fontset}">
If I then <import> my generated file I get streams of error messages - the
first of which is :
Error at fo:block on line 342 of
file:/C:/Users/Richard/Downloads/DocBook/docbook-xsl-1.77.1/fo/refentry.xsl:
No attribute-set exists named refnamediv.titlepage.recto.style
and the others are similar.
I am assuming these are being caused by this inconsistency in the xsl.
Can anyone advise what I might be doing wrong ?
I am assuming that as the published stylesheets have been around for a while
they are right ....
And that Bob's book is accurate.
Note that at this stage my local titlepage.templates.xml is unmodified, yet is
showing this inconsistency. I would expect processing the published
titlepage.templates.xml would generate a copy of the published
titlepage.templates.xsl.
Once I've got this aspect sorted my next task will be to work out exactly what
I need to put where to get a page-break after the article recto title page.
Puzzledly,
Richard.
PS,
Once I've got the title page on a separate page I'll want to move the revision
history somewhere else, ie to near the end of the document.
Actually I want it at the end, since it would be before the Index, but there
isn't an Index.
And then I'm going to want two separate Revision Histories, one for the
document and one for the software to which it refers.
[Blue line]
Richard Kerry
BNCS Engineer
T: +44 (0)20 82259063
M: +44 (0)7812 325518
Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
[email protected]<https://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177&URL=mailto%3arichard.kerry%40atos.net>
uk.atos.net<https://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177&URL=http%3a%2f%2fuk.atos.net%2fen-uk%2f>
[Atos logo]
This e-mail and the documents attached are confidential and intended solely for
the addressee; it may also be privileged. If you receive this e-mail in error,
please notify the sender immediately and destroy it. As its integrity cannot be
secured on the Internet, the Atos group liability cannot be triggered for the
message content. Although the sender endeavours to maintain a computer
virus-free network, the sender does not warrant that this transmission is
virus-free and will not be liable for any damages resulting from any virus
transmitted.
attachment.ashx
Description: attachment.ashx
attachment.ashx
Description: attachment.ashx
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
