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] [xsl stylesheets] reducing font size in formalparas?


On Tue, Nov 25, 2003 at 10:17:22PM +0100, Charles Plessy wrote:
> > Really?  It worked on the formalpara I tried it on,
> > with fop 0.20.5.
> 
> I'm using fop 0.20.5 also.
>  
> > How are you using the formalpara in your document?
> 
> here is an example :
> 
>       <figure id="enhancer-survey-strategy2">
> 	<title>
> 	  Strategy to detect enhancer conservation
> 	</title>
> 	
> 	<mediaobject>
> 	  <imageobject>
> 	    <imagedata fileref="figures/enhancer-survey-strategy2.jpg" format="JPG"/>
> 	  </imageobject>
> 
> 	  <textobject>
> 	    <phrase>figures/enhancer-survey-strategy2</phrase>
> 	  </textobject>
> 	  
> 	  <caption>
> 	    <formalpara>
> 	      <title>
> 		Strategy to detect enhancer conservation
> 	      </title>
> 	      
> 	      <para>
> 		(...)
> 	      </para>
> 	    </formalpara>
> 	  </caption>
> 	</mediaobject>
>       </figure>
> 

In your customization you have:
font-size="${toto}"

when you should have:
font-size="{$toto}"

It's different from shell variable syntax.

> BTW, Is there a way to say to fo that the figure and the caption must
> be on the same page?

FOP doesn't do keeps yet, which is the mechanism to keep
things together on the page.
 
-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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