Re: [xep-support] FW: Hyphenation problem

From: Nikolai Grigoriev (grig@renderx.com)
Date: Wed Feb 25 2004 - 07:43:00 PST

  • Next message: Oliver Becker: "[xep-support] Bad attribute start-indent: Cannot add type Length to type Word"

    FW: Hyphenation problemPatricia,

    > ... which, to my amazement, gave me back the english hyphenation.
    > So what is going on here? Is english hyphenation hard-coded
    > to be associated with the "en" language? What do I have to do
    > to make XEP actually use dutch hyphenation rules?

    The only feasible scenario for such a behaviour is
    by configuration caching. Mapping of hyphenation
    tables to language names happens only once for the lifespan
    of the FormatterImpl object; therefore, you need to reinitialize
    the formatter in order for changes in hyphens.xml to take effect.
    Could you please provide more data about your environment?
    You are not running XEP from the command line, do you?
    Can it happen that XEP is not reinitialized after your
    configuration change?

    As an ultimate test, you could remove hyphens.xml at all :-).
    If I am correct in my assumptions, "en" will continue to work.

    Best regards,
    Nikolai Grigoriev
    RenderX

    ----- Original Message -----
    From: Piolon, mevr. P.V.M.
    To: 'XEP-support@renderx.com'
    Sent: Wednesday, February 25, 2004 4:34 PM
    Subject: [xep-support] FW: Hyphenation problem

    Hi,
    I have tried to change hyphens.xml so that XEP will use (a modified version of) nehyph.tex for dutch language files, but I'm running
    into trouble:
    First of all, I've added the following:
    <hyphen language="nl" table="nehyph.tex"/>
    to the hyphens.xml file. This does not work: not a single word is hyphenated.
    To test, I changed the page-sequence language att. in FO to "en". This resulted in hyphenation according to english rules. So I know
    the concept of hyphenation is at least working :)
    To test some more, I changed the page-sequence language attribute back to "nl" and changed the hyphens.xml file so that my original
    added line said:
    <hyphen language="nl" table="ukhyphen.tex"/>
    Result: no more hyphenation.
    Then I changed the page-sequence language attribute back to "en" and made the hyphens.xml file say:
    <hyphen language="en" table="nehyph.tex"/>
    ... which, to my amazement, gave me back the english hyphenation. So what is going on here? Is english hyphenation hard-coded to be
    associated with the "en" language? What do I have to do to make XEP actually use dutch hyphenation rules?
    Regards,
    -- Patricia
    ------------------------------------------------------------------
    This e-mail and any attachment is intended for the addressee(s) only. If you have received this e-mail by mistake please notify the
    sender by return e-mail, and delete this e-mail. Unauthorised use, disclosure or copying of this e-mail and any attachment is
    prohibited. Opinions, conclusions and other information in this message that do not relate to the official business of Air Traffic
    Control the Netherlands shall be understood as neither given nor endorsed by it. Air Traffic Control the Netherlands shall not be
    liable for the incorrect or incomplete transmission of this e-mail or any attachment, nor responsible for any delay in receipt.
    ------------------------------------------------------------------

    -------------------
    (*) 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 Feb 25 2004 - 07:54:27 PST