W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2002

Re: increasing indent

From: david aumueller <w3.org@huah.org>
Date: Mon, 25 Feb 2002 15:04:25 +0100
Message-Id: <5.1.0.14.2.20020225145651.016f6e58@pop.puretec.de>
To: www-xsl-fo@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT