RE: [xep-support] FO Newbie: How do I indent all text in a block?

From: Ryan Graham (Ryan.Graham@apollogrp.edu)
Date: Mon Jan 26 2004 - 10:43:12 PST

  • Next message: Randolph Kahle: "Re: [xep-support] FO Newbie: How do I indent all text in a block?"

    Try start-indent property. You can also play around with the various margin
    properties to achieve a similar effect.

    Here is a good XSL-FO reference:

    http://www.zvon.org/xxl/xslfoReference/Output/

    HTH,
    RG

    >-----Original Message-----
    >From: owner-xep-support@renderx.com
    >[mailto:owner-xep-support@renderx.com] On Behalf Of Randolph Kahle
    >Sent: Monday, January 26, 2004 11:29 AM
    >To: 'xep-support@renderx.com'
    >Subject: [xep-support] FO Newbie: How do I indent all text in a block?
    >
    >
    >I am writing a style sheet that builds FO for text and code listings.
    >
    >I have the vertical (block on top of block) spacing working. I have
    >added a different background color for the code area.
    >
    >However, I cannot figure out how to have the code block indented.
    >
    >For example:
    >
    >+----------------+
    >| Text is fine. It lines |
    >| up correctly. |
    >+----------------+
    > +------------+
    > | code should |
    > | indent. |
    > +------------+
    >
    >What happens is the code block is the same width as the text block.
    >
    >I have tried adding a border, but that just pushed out to the left. I
    >tried padding-start, that pushed the starting point of the code to the
    >right, but that kept the block the same size (and therefore the
    >background color spanning the page).
    >
    >What I need is to start the block a specific distance from the left.
    >
    >How do I achieve an indented block?
    >
    >Regards,
    >
    >Randy
    >
    >
    >-------------------
    >(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    >in the body of the message to majordomo@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/tos.html
    >
    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@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/tos.html



    This archive was generated by hypermail 2.1.5 : Mon Jan 26 2004 - 10:51:47 PST