This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [docbook-apps] no image on title page...


Just to make sure it's clear, the technique posted at http://www.dpawson.co.uk/docbook/styling/titlepage.html#d2424e176 does not use the titlepage template system to generate text that appears on the cover, tho it could be made to do that. As posted, you get a cover with full page sized image, followed by the recto and verso titlepages as defined in your titlepage templates. To alter the placement of text on the cover, you edit the cover xsl directly. The full page cover technique works fine, but if you need to support multiple page sizes, you'd might need to add some intelligence to the xsl. 

David

> -----Original Message-----
> From: Tom Peters [mailto:tom@tompth.xs4all.nl]On Behalf Of Tom Peters
> Sent: Thursday, January 29, 2004 4:01 PM
> To: docbook-apps@lists.oasis-open.org
> Subject: [docbook-apps] no image on title page...
> 
> 
> I try to put a message on the title page of a book I am writing, and I
> follow the prescriptions from the XSL FAQ's:
> 
> 	
> http://www.dpawson.co.uk/docbook/styling/titlepage.html#d2424e176
> and
> 	http://nwalsh.com/docs/articles/dbdesign/
> 
> So I have a "mytitlepage.xml" slightly modified from the
> /etc/sgml/docbook-xsl/template/testtemplate.xml, and it starts with:
> 
> 
> <t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0";
> 
> base-stylesheet="/usr/share/sgml/docbook/stylesheet/xsl/nwalsh
> /fo/docbook.xsl">
> 
> <t:titlepage element="book" wrapper="fo:block">
>   <t:titlepage-content side='recto'>
> ...
> 
> I try to process it with:
> 
> xsltproc -o mytitlepage.xsl 
> /etc/sgml/docbook-xsl/template/titlepage.xsl
> mytitlepage.xml
> 
> But that produces a "mytitlepage.xsl" with only some header 
> comments, and
> the command exits with an error message:
> 
> The @t:side attribute is required on t:titlepage-content.
> 
> (the quotation of 'recto' differers between the FAQ examples: 
> but "recto"
> does not work either).
> 
> What is wrong???
> 
> --
> #>!$!%(@^%#%*(&(#@#*$^@^$##*#@&(%)@**$!(&!^(#((#&%!)%*@)(&$($$
> %(@#)&*!^$)^@*^@)
> 
> 	Tom "thriving on chaos" Peters
> 
> 
> To unsubscribe from this list, send a post to 
> docbook-apps-unsubscribe@lists.oasis-open.org, or visit 
http://www.oasis-open.org/mlmanage/.


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]