Re: increasing indent

Nikolai Grigoriev, 14:30 25.02.2002:
>David,
>
> > <fo:block margin-left="0.5in"> foobar-1
> >    <fo:block margin-left="0.5in"> foobar-2
> >      <fo:block margin-left="0.5in"> foobar-3
> >      </fo:block>
> >    </fo:block>
> > </fo:block>
>
>In RenderX XEP, the example above is rendered as you describe, with three 
>lines
>progressively indented. I believe there is a spec interpretation problem 
>in your
>XSL formatter. Which one are you using?

I used FOP 0.20.2, now FOP 0.20.3 -- without any change concerning this matter.

Thanx Fabio for your from-parent()-al help! ;) That looks good now!

Would be interesting though, if RenderX adds twice the amount...
What is the correct intended behaviour?


<fo:block text-indent="0.5in">line 1a
   <fo:block text-indent="from-parent(text-indent)+0.5in">line 2a
     <fo:block text-indent="from-parent(text-indent)+0.5in">line 3</fo:block>
   </fo:block>
   <fo:block text-indent="from-parent(text-indent)+0.5in">line 2b</fo:block>
</fo:block>

Regards, David

Received on Monday, 25 February 2002 09:04:03 UTC