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]

[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

Attachment: titlepage.jpg
Description: JPEG image

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org

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