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

Michael Sulyaev msulyaev at renderx.com
Mon Dec 5 02:59:37 PST 2011


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


More information about the Xep-support mailing list