OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] fo output, docbook 5,


On 10/10/2011 04:04 PM, Bob Stayton wrote:
Hi Dave,

I do think if justification is set to on, that text-align-last should be set
to left? Looks horrible stretched out to justify?

I completely agree, as did the authors of the XSL-FO spec. The spec says the default value for text-align-last is 'relative', which they describe as:

"If text-align is justify, then the alignment of the last line, and of any line ending in U+000A, will be start. If text-align is not justify, text-align-last will use the value of text-align."

Since the DocBook stylesheet does not set a root value for text-align-last, this statement applies.



Regarding the ulinks, you *must* also set the 'ulink.hyphenate' param, as described here:

http://www.sagehill.net/docbookxsl/Ulinks.html#BreakLongUrls

Your mail did not mention that param, but it is necessary to achieve the effect.

Which was my problem in this case Bob. Many thanks.

Leaves me with an itch.
Three parameters. Set one, to have it work you must set at least one more:
    Possibly two.
I've had this before...

Does anyone have any more 'inter-related' params?
At least they can go into the documentation.

Note: If you set this param you should set that param.


regards





regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]