This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] Trouble with title pages
- From: "Kenneth Johansson" <ke-joh at sectra dot se>
- To: "Jens Stavnstrup" <js at ddre dot dk>
- Cc: "DOCBOOK-APPS" <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 9 Apr 2003 10:11:41 +0200
- Subject: RE: [docbook-apps] Trouble with title pages
It was a snippet from a XSLT stylesheet.
/Kenneth
> -----Original Message-----
> From: Jens Stavnstrup [mailto:js at ddre dot dk]
> Sent: Wednesday, April 09, 2003 10:10
> To: Kenneth Johansson
> Cc: DOCBOOK-APPS
> Subject: RE: [docbook-apps] Trouble with title pages
>
>
> Kenneth,
>
> Well it works, if this snippet was extracted from a XSLT
> stylesheet. However if this is part f the generated fo code then it
> doesn't works.
>
> Regards,
>
> Jens
>
>
> On Wed, 9 Apr 2003, Kenneth Johansson wrote:
>
> > But this code worked perfectly without <fo:block-container>.
> >
> > > > <fo:block
> > > > margin-top="3in"
> > > > margin-left="{$page.margin.inner}"
> > > > margin-right="{$page.margin.outer}"
> > > > text-align="center"
> > > > color="black"
> > > > font-weight="bold"
> > > > font-family="{$title.font.family}"
> > > > font-size="30pt">
> > > > <xsl:value-of select="$title"/>
> > > > </fo:block>
> >
> > Why shouldn't it work now?
> >
> > /Kenneth
> >
> > > -----Original Message-----
> > > From: Jens Stavnstrup [mailto:js at ddre dot dk]
> > > Sent: Wednesday, April 09, 2003 09:44
> > > To: Kenneth Johansson
> > > Cc: David Cramer; DOCBOOK-APPS
> > > Subject: RE: [docbook-apps] Trouble with title pages
> > >
> > >
> > > Kenneth,
> > >
> > > Not suprising, you fo code contains XSLT code as well. The
> XSLT processor
> > > was supposed to substitute the line
> > >
> > > <xsl:value-of select="$title"/>
> > >
> > > with the title of your document.
> > >
> > >
> > > Regards,
> > >
> > > Jens
> > >
> > >
> > > On Wed, 9 Apr 2003, Kenneth Johansson wrote:
> > >
> > > > Thanks alot!
> > > >
> > > > I have now a lovely image on my title page!
> > > >
> > > > However, it seems I can't persuade <fo:block-container> to show
> > > my title.
> > > >
> > > > I've tried this just to get it on the page but it just won't
> > > show up. Its in the fo-source but when I use fop it doesn't show
> > > up in the pdf-file.
> > > >
> > > > <fo:block-container absolute-position="fixed" top="240mm"
> left="100mm">
> > > > <fo:block
> > > > margin-top="3in"
> > > > margin-left="{$page.margin.inner}"
> > > > margin-right="{$page.margin.outer}"
> > > > text-align="center"
> > > > color="black"
> > > > font-weight="bold"
> > > > font-family="{$title.font.family}"
> > > > font-size="30pt">
> > > > <xsl:value-of select="$title"/>
> > > > </fo:block>
> > > > </fo:block-container>
> > > >
> > > > I've tried some variations on this but nothing works.
> > > >
> > > > Doesn't fop support <fo:block-container>?
> > > >
> > > > best regards,
> > > >
> > > > /Kenneth
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: David Cramer [mailto:dcramer at motive dot com]
> > > > > Sent: Thursday, April 03, 2003 23:43
> > > > > To: Kenneth Johansson; DOCBOOK-APPS
> > > > > 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 at sectra dot 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/do
> > > > > cbook.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
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > 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
> > > > >
> > > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > 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
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
> Regards,
>
> Jens
>
> ------------------------------------------------------------------------
> Jens Stavnstrup Phone :
> Danish Defence Research Establishment Voice : + 45 - 39 15 17 97
> Ryvangs Alle 1 - P.O. Box 2715 Fax : + 45 - 39 29 15 33
> DK - 2100 Copenhagen O. E-Mail (Internet) :
> Denmark js at ddre dot dk
> ------------------------------------------------------------------------
>
>
>
>
>
---------------------------------------------------------------------
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