You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by gabor <ga...@realtime.sk> on 2002/06/13 08:01:24 UTC

list problems

hi,

i've just migrated from 0.20.1 to 0.20.3, and now my lists aren't 
working well :-((

before for bulleted-list i used something like this:
(xslt):
--------------------------------------------------------------
<fo:list-item>

         <fo:list-item-label start-indent="{$nestinglevel} * 6mm">
         <fo:block>
   		<fo:inline font-size="15pt" 			    	   		font-family="Symbol">&#183;</fo:inline>
	</fo:block>
     	</fo:list-item-label>

     <fo:list-item-body start-indent="(0.7+{$nestinglevel}) * 6mm">
         <fo:block>
               <xsl:apply-templates/>
          </fo:block>
     </fo:list-item-body>
</fo:list-item>
---------------------------------------------------------------

the important is the fo:list-item-label...

in 0.20.1 it created bullets and now it creates '#' :-(

actually i can put anything in the place of &#183;... fop will draw as 
many #s as long that string is

any ideas where the problem could lie?

thanks,
gabor


Re: list problems

Posted by Jeremias Maerki <je...@outline.ch>.
The reason is probably that you have to use the Unicode value now, not
the 8-bit value from the encoding. Look into docs/examples/fo/fonts.fo
which values you can use. You can also look up the correct values in
Unicode tables.

> i've just migrated from 0.20.1 to 0.20.3, and now my lists aren't 
> working well :-((
> 
> before for bulleted-list i used something like this:
> (xslt):
> --------------------------------------------------------------
> <fo:list-item>
> 
>          <fo:list-item-label start-indent="{$nestinglevel} * 6mm">
>          <fo:block>
>    		<fo:inline font-size="15pt" 			    	   		font-family="Symbol">&#183;</fo:inline>
> 	</fo:block>
>      	</fo:list-item-label>
> 
>      <fo:list-item-body start-indent="(0.7+{$nestinglevel}) * 6mm">
>          <fo:block>
>                <xsl:apply-templates/>
>           </fo:block>
>      </fo:list-item-body>
> </fo:list-item>
> ---------------------------------------------------------------
> 
> the important is the fo:list-item-label...
> 
> in 0.20.1 it created bullets and now it creates '#' :-(
> 
> actually i can put anything in the place of &#183;... fop will draw as 
> many #s as long that string is
> 
> any ideas where the problem could lie?

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch