Re: [xep-support] aligning text in two blocks or columns

From: Geoff Levner <geoff@n-generate.com>
Date: Thu Oct 05 2006 - 08:29:59 PDT

Thanks, Werner. I like the proposals you made to the XSL-FO SG. Too
bad they said no!

For now we are using a kludgy workaround which consists basically of
making the title line-height 50% bigger than the normal line-height.
If the title is broken into an even number of lines, the text remains
synchronized, so there is a 50-50 chance of it working! If not, some
user input is required...

Geoff

On 5 Oct 2006, at 16:10, Werner Donné wrote:

> Hi Geoff,
>
> I think what you are referring to is text synchronisation. This is
> not possible in XSL-FO in a declarative way. See also
> http://lists.w3.org/Archives/Public/xsl-editors/2005JulSep/0007.
>
> I do this in the style sheet by fixing the line-height and tweaking
> the top and bottom margins to make it work in all situations, taking
> into account that such margins may collapse.
>
> Regards,
>
> Werner.
>
> Geoff Levner wrote:
>> Suppose you have two columns, or two blocks side by side, containing
>> text. Now suppose that one of the two contains a title, for example,
>> in a bigger font, followed by normal text. Is there any way in
>> XSL to
>> ensure that the text remains aligned in the two columns? That
>> is, to
>> add or remove a little space before or after the title, if
>> necessary,
>> so that the lines of text following it line up with those in the
>> other
>> column?
>>
>> Thanks,
>> Geoff

-------------------
(*) 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/terms-of-service.html
Received on Thu Oct 5 08:40:24 2006

This archive was generated by hypermail 2.1.8 : Thu Oct 05 2006 - 08:40:25 PDT