[xep-support] fo:initial-property-set

Steve Ylvisaker sylvisaker at chyconsultants.com
Sun Jun 4 12:27:34 PDT 2006


Ken - thanks. This certainly works. However, I'm not sure why my
original solution wouldn't work also. It looks to me like padding is a
legal attribute for initial-property-set. Is XEP behaving differently
from the specification or am I reading it incorrectly?

Steve 

-----Original Message-----
From: owner-xep-support at renderx.com
[mailto:owner-xep-support at renderx.com] On Behalf Of G. Ken Holman
Sent: Friday, June 02, 2006 6:31 PM
To: xep-support at renderx.com
Subject: Re: [xep-support] fo:initial-property-set

To do an hanging outdent on the first line, use a negative value for
text-indent, while using a positive value on the start-indent for the
rest of the lines:

    <block start-indent="1cm" text-indent="-1cm">
       Long paragraph here.....
    </block>

I hope this helps.

. . . . . . . . . . . . . Ken

At 2006-06-02 11:47 -0500, Steve Ylvisaker wrote:

>I am trying to use the initial-property-set to create a hanging first 
>line in a paragraph for a glossary. (extending the first line to the 
>left of the remaining paragraph/block) I am able to adjust font, font 
>color etc. in this way but padding seems to be ignored.
>In the example that follows, the result is that all of the block is 
>padded 8mm including the first line:
>
><fo:block
>     padding-left="8mm"
>     <fo:initial-property-set padding-left="1mm"/>
>     <fo:inline color="blue">
>         <xsl:value-of select="gterm"/>
>         </fo:inline>&#160;&#8211;
>         <xsl:value-of select="gdef"/>
></fo:block>
>
>
>Thanks in advance for any guidance.
>
>Steve


--
Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16
Also for XSL-FO/XSLT training:    Minneapolis, MN 2006-07-31/08-04
Also for XML/XSLT/XSL-FO/UBL training: Varo,Denmark 06-09-25/10-06
World-wide corporate, govt. & user group UBL, XSL, & XML training.
G. Ken Holman                 mailto:gkholman at CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address you
are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/terms-of-service.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list