[xep-support] Re: retrieve-marker examples

From: Alexander Peshkov (peshkov@renderx.com)
Date: Tue May 25 2004 - 07:34:23 PDT

  • Next message: Alexander Peshkov: "Re: [xep-support] Helvetica not found"

    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-item-label end-indent="label-end()">
                    <fo:retrieve-marker ...
                <fo:list-item-body start-indent="body-start()">
                    <fo:retrieve-marker ...

    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

    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

    This archive was generated by hypermail 2.1.5 : Tue May 25 2004 - 07:48:58 PDT