[xep-support] Re: Supporting mutilanguage in a single document using hyphenation

Renuka D Arumugam renukadevi.a at in.ibm.com
Mon Dec 5 20:59:30 PST 2011


Hi Michael,

                  Thank you for the response.

                 With respect to our xsl code implementation the input 
text can be any language text (say english,French,German,Russian.....) as 
its the single xsl code which supports nearly 20 different languages.This 
language code will be an input parameter  based on the language that has 
to support a document.

So,in this case we actually cant explicitly make it to english(en),which 
will make other language text to not hyphenate as required.

Could you please suggest some other way to solve this.


Regards,
Renuka Devi A

***************************************************************
IBM INDIA Pvt Ltd
 DLF IT Park,Nandambakkam Post,Ramapuram
Chennai-600089
Ph No. +91- 044-22721747
Email:  renukadevi.a at in.ibm.com

"Work joyfully and peacefully, knowing that the right thoughts
and right efforts will inevitably bring about right results."




From:   Michael Sulyaev <msulyaev at renderx.com>
To:     RenderX Community Support List <xep-support at renderx.com>
Date:   05/12/2011 16:29
Subject:        [xep-support] Re: Supporting mutilanguage in a single 
document using hyphenation
Sent by:        xep-support-bounces at renderx.com



On 12/02/2011 11:11 AM, Renuka D Arumugam wrote:
> Long descriptions of english text in a russian document is not getting
> hyphenated ,though we have enabled the hyphenation for Russian language
> in the xep.xml using the dictionary file hyph-ru.tex.

Hello Renuka,

 From your screenshots I see that hyphenation for Russian works in 
general.

I suppose the reason is that you set language="ru" on the whole 
document, and this property is inherited down to the header line 
"DS3524SINCTRLSASPORTS1GCACHE", but this is not Russian! You are trying 
to hyphenate English text using Russian hyphenation rules, so 
character-based hyphenation algorithm does not find any points to break 
the line.

Assuming the header line contains a title which must never be 
translated, I would suggest to explicitly add language="en" on such 
titles.

Regards,
Michael Sulyaev
RenderX
_______________________________________________
(*) To unsubscribe, please visit 
http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service 
http://w
ww.renderx.com/terms-of-service.html




!DSPAM:87,4edda16e63731035598950!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20111206/c43c50a0/attachment.html>


More information about the Xep-support mailing list