From: Henrik Ryom (Henrik_Ryom@Gyldendal.dk)
Date: Wed May 26 2004 - 00:16:59 PDT
It works!
Thanks for the help. I must have missed section 7.28.3. Anyway you saved me from an allmost furious editor.
Best regards
Henrik
>>> peshkov@renderx.com 25-05-04 16:34 >>>
Hello Henrik,
We have analyzed your files. The funny effect you observing caused
by hyphenation coupled with over-constrained layout. You format your
running headers as lists. First term appeared on the page placed in
list-label, last term - in list-body:
<fo:list-block
...
provisional-label-separation="0pt">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block
text-align="left">
<fo:retrieve-marker ...
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block
text-align="right">
<fo:retrieve-marker ...
</fo:block>
</fo:list-item-body>
However in the description of list block you have not specified
provisional-distance-between-starts property and thus it's default
value (24.0pt) is used. As a result label-end() function returns 24pt.
This means that list label is only 24pt wide (please refer to Section
7.28.3 of XSL-FO specification regarding label-end() calculation
details). So the first term is placed in 24pt wide area and then it is
longer than available space XEP tries to hyphenate it since you have
turn hyphenation on. That's why hyphen sign appears. But there is no
room for the second part of the word since you region-before is too
small. Thus the second part of the term is dropped and you ends up with
something like 'deci-' instead of 'decibel'.
In order to solve this problem you have to adjust your lists layout,
namely provide <fo:list-block>s with provisional-distance-between-starts
property. For example, provisional-distance-between-starts="50%" may be a
reasonable value.
I'm sending a copy of this message to the xep-support list so that it
will be saved in mail list archives.
Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX
P.S.: It is most appreciated when files sent to support@renderx.com
are packed in a single archive. Thank you.
HR> Hello Alexander,
HR> Here is the xml-file containing the letter 'B' for a danish medical/clinical dictionary.
HR> transform with: -xml b.xml -xsl/klinord.fo -pdf b.pdf
HR> and take a look at page 4
HR> I am looking forward to your conclution
HR> Best regards
HR> Henrik
-------------------
(*) 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 : Wed May 26 2004 - 00:34:23 PDT