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

Randolph Kahle randy.kahle at variantia.net
Mon Jan 26 14:18:09 PST 2004


Ryan,

Thanks for the reply. I experimented with different attributes and 
discovered that margin gave the desired results.

The link you provided points to a great resource, thank you!

Regards,

Randy


On Jan 26, 2004, at 11:43 AM, Ryan Graham wrote:

> 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 at renderx.com
>> [mailto:owner-xep-support at renderx.com] On Behalf Of Randolph Kahle
>> Sent: Monday, January 26, 2004 11:29 AM
>> To: 'xep-support at 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 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/tos.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/tos.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/tos.html



More information about the Xep-support mailing list