[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Trouble with title pages
Hi there, I just experimented with my full page cover customization that you mention and fop and got it to work with a bitmap (jpg), but not with an eps. When I use an .eps, nothing shows up--perhaps fop doesn't support .eps? Since I don't really use fop, I can't answer that. Note: Be sure you have the jimi classes installed with fop, or none of your images show up. http://www.thingbag.net/docbook/test.pdf http://www.thingbag.net/docbook/test.fo http://www.thingbag.net/docbook/test.xml http://www.thingbag.net/docbook/covertest.xsl http://www.thingbag.net/docbook/motivecover.jpg I think to do a real full page cover, you have to have new pagemasters with 0" margins. David -----Original Message----- From: Kenneth Johansson [mailto:ke-joh@sectra.se] Sent: Thursday, April 03, 2003 7:16 AM To: DOCBOOK-APPS Subject: [docbook-apps] Trouble with title pages I've been trying to set up a title page but I've had no success when trying to add an image to it. I've generated a titlepage template: <t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0" base-stylesheet="C:/tools/lib/docbook-xsl/docbook-xsl-1.58.1/fo/docbook.xsl"> <t:variable name="section.autonumber" select="true()"/> <t:titlepage element="book" wrapper='fo:block' > <t:titlepage-content side='recto'> <title predicate="[1]"/> <subtitle predicate="[1]"/> <author/> <contrib/> <edition/> <copyright/> <pubdate/> <revision/> <mediaobject/> </t:titlepage-content> </t:titlepage> </t:templates> In my book I've this bookinfo and more: <bookinfo> <title>Installation Guide Conrad PACS interface</title> <mediaobject> <textobject> <para>foo</para> </textobject> <imageobject> <imagedata fileref="218.jpg" format="JPEG"></imagedata> </imageobject> </mediaobject> . . . </bookinfo> The JPEG-file is located in the same directory as the XML-file. Is this correct? I haven't found any good examples on this and I am not very experienced yet. What I really want to do is something similar to what David Cramer suggested in: http://www.dpawson.co.uk/docbook/styling/titlepage.html#d1466e176 but I haven't got it working either. My title page should look something like my attachment but nicer. Any ideas? Thanks, /Kenneth -------------------------------------------------------- Kenneth Johansson Technical Documentation Manager Sectra Imtec AB Teknikringen 2 E-mail: ke-joh AT sectra DOT se SE-583 30 Linköping Phone: +46 13 23 52 00 SWEDEN Web: http://www.sectra.se
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]