← Prev in month ← Prev in thread

Trouble with title pages

From
"Lenneth Kohansson"
Date
2003-04-03T13:07:19+00:00
ID
Thread
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鞿ing	Phone:	+46 13 23 52 00
SWEDEN			Web:	http://www.sectra.se
← Prev in month ← Prev in thread