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] [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


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