This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: xsltproc -> FOP -> PDF prob?
- From: Bob Stayton <bobs at caldera dot com>
- To: ion <vnhu38f93 at subdimension dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Fri, 25 Oct 2002 11:31:36 -0700
- Subject: Re: DOCBOOK-APPS: xsltproc -> FOP -> PDF prob?
- References: <001001c27c4b$55d74d40$7250063e@nonamee94lxznt>
On Fri, Oct 25, 2002 at 06:24:10PM +0100, ion wrote:
> Here is an interesting observation made by a
> colleague about xsltproc -> FOP -> PDF:
>
> > Block images DO work, but not when they are in the <artcleinfo> section,
> > which is allowed by the DTD. I used the <graphic> tag, maybe the
> > <mediaobject> stuff is broken.
>
> Apparantly this does not occur in XHTML output, so I assume that
> the error lies with FOP or the fo produced by xsltproc, is this
> a known problem?
It isn't clear what you mean when you say they don't work.
I suspect you mean it doesn't appear in the output.
That is the case if they graphic or mediaobject
appears as a direct child of articleinfo.
It will appear if you put it inside, say, legalnotice.
That is what the stylesheets are doing, not the
processor. It applies to XHTML output as well.
The articleinfo content is processed as part of the
titlepage machinery, which is highly customizable
(which it needs to be since everyone wants their
titlepages to be different). The list of elements
and their order appear in the titlepage spec file
titlepage.templates.xml (that's .xml) in any of
the html, xhtml, or fo stylesheet directories.
The spec files don't include graphic or mediaobject directly,
since that would determine its order on the titlepage
relative to other elements. But if a graphic
or mediaobject is a child of one of the specified
elements, it will appear when that element is processed.
You can customize the titlepages all you like,
but you need some doc. Try:
http://www.sagehill.net/xml/docbookxsl/PrintCustomEx.html#TitlePagePrint
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com