Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I was looking for a clue on how to use cyrillics in an english text and vice versa. Finally I found a solution here: Cyrillic in (La)TeX

The solution looks like this

\documentclass[article, 12pt]{article} 

\usepackage[T1,T2A]{fontenc}
%\usepackage[cp1251]{inputenx}
\usepackage[utf8]{inputenx}
\usepackage[russian, english]{babel}
%\usepackage{cmap}

However it does not hyphenate the russian part of the text. How can I help this?

share|improve this question
    
Welcome to TeX.sx! Have you changed the language in-document with \selectlanguage{russion} or the otherlanguage environment? –  Qrrbrbirlbel Oct 19 '12 at 7:54
    
no...i am not sure it will do...i wrote an article in english, now i would like to render it in russian...so that it is not a fragment of the text that is to be in cyrillics but the whole text. however, while translating it an moving back and forth i d like to have both laguages active...but i ll try your tip about \selectlanguage thanks –  shep Oct 19 '12 at 8:12
    
well, i m answering my own question...It's the order in babel that matters. with english first, russian second the hyphenation defect has gone....I found this in the \selectlanguage discussion...Thanks, Qrrbrbirlbel! –  shep Oct 19 '12 at 8:34
    
This is a very basic part of how babel works: I doubt the question will help others, so closing. –  Joseph Wright Nov 21 '12 at 8:38
add comment

closed as too localized by Joseph Wright Nov 21 '12 at 8:37

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.