OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Keeping <mediaobject/> with enclosing <figure/> label


That separation should not be happening.  The attribute-set named 
formal.object.properties in fo/param.xsl includes a 
keep-together.within-column="always" attribute, which should keep them 
together. It should bump the title to the next page if the image does not 
fit.

What XSL-FO processor and version are you using?  Can you peek inside the FO 
file and see if that property is present on the fo:block containing the 
title and image reference?

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "David E Nedrow" <nedlist@grandviewtheatre.net>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, April 27, 2009 10:25 AM
Subject: [docbook-apps] Keeping <mediaobject/> with enclosing <figure/> 
label


> As I noted in an earlier message, I'm just getting back into working  with 
> DocBook and the stylesheets after a long hiatus, so I'm really  rusty.
>
> I know I've handled this in the past, but I can't find any of the  working 
> files that I used at the time.
>
> I have several charts, graphs, etc., that I'm presenting in <figure/> 
> wrappers. Basically, each element is similar to the following  fragment...
>
>         <figure>
>             <title>2011 Quarterly Profit Loss</title>
>             <mediaobject>
>                 <imageobject role="fo">
>                     <imagedata fileref="./figures/TablePL2011.pdf" 
> format="PDF" scalefit="1"
>                         width="100%" depth="100%"/>
>                 </imageobject>
>             </mediaobject>
>         </figure>
>
> I would like the figure image to appear immediately adjacent (below)  the 
> figure title. As it stands, in several cases, the title will be  printed 
> by itself on a single page, with the matching image on the  next page. I'm 
> guessing that it is an issue with my scalefit, etc.
>
> I would like the figure title and enclosed image to be presented on  the 
> same page, scaling the image up or down (hopefully automagically) 
> proportionally as needed to fit the content area (or would it be  viewport 
> area).
>
> Thanks,
>
> David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]