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]

Re: [docbook-apps] images and imageobject


Regarding the first question, the answer is no. The current version of FOP
does not support keep-together or keep-with-next.  Some people resort to
inserting a literallayout element with blank lines before the figure to push
the title to the next page.  But if the document is repaginated, those could
all be wrong.

Regarding the second question, the answer is yes. You can put multiple
imageobjects inside a mediaobject and select one by role, using the
'preferred.mediaobject.role' stylesheet parameter to select one.  See this
reference:

http://www.sagehill.net/docbookxsl/GraphicSelection.html#SelectByRole

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: <fluzio@ellebit.it>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, March 02, 2005 9:24 AM
Subject: [docbook-apps] images and imageobject


> >
> >Hi everybody,
> >
> ><First_question>
> >I need  a formal figure with title and body together in a pdf page.
> >Example with
> >
> >   <figure>
> >          <title>Lista Clienti fornitori</title>
> >          <mediaobject>
> >            <imageobject>
> >              <imagedata align="center"
fileref="im_ch_2/001_clii_for.jpg"
> >                         width="12cm" />
> >            </imageobject>
> >          </mediaobject>
> >        </figure>
> >
> >a lot of times the pdf produced have the <title> in one page and the
> ><imageobject> in the next page. I use the FOP processor.
> >There is a way to bring together title and figure?
> >
> ></First_question>
> >
> ><second_question>
> >
> >I have a single manual and two sources of images , one for windows
> >and another one for macintosh.
> >Can I use the role of mediaobject to select the two images when needed?
> >
> ></second_question>
> >
> >Merci' beaucoup
> >--
> >F. Luzio
>
> -- 
> F. Luzio
>
>



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