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

G. Ken Holman gkholman at CraneSoftwrights.com
Fri Jun 2 16:31:24 PDT 2006


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



More information about the Xep-support mailing list