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'm trying to create an English document using pdflatex and want to insert a few cyrillic and arabic glyphs.

something like

the letter Я is cyrillic, whereas ش is arabic

I tried to follow advice found Inserting some Arabic script in an English article, but it seems that xetex and pdflatex are mutually exclusive.

my feeble attempts until now look like:

\documentclass[letterpaper, 12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T2A,LAE]{fontenc}
\usepackage[russian,USenglish,arabic]{babel}
\begin{document}
the letter Я is Cyrillic, whereas ﺵ is arabic
\end{document}

any hints how to achieve this?

share|improve this question
    
You'll be much better of using XeLaTeX or LuaLaTeX. The unicode support in pdflatex is limited. –  Martin Schröder Jan 29 '13 at 9:29
add comment

1 Answer

up vote 3 down vote accepted

You have to properly mark the parts where different scripts are used; this works, for instance:

\documentclass[letterpaper, 12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T2A,LAE,T1]{fontenc}
\usepackage[russian,arabic,USenglish]{babel}

\begin{document}
the letter \foreignlanguage{russian}{Я} is Cyrillic,
whereas \foreignlanguage{arabic}{و} is arabic

\end{document}

enter image description here

share|improve this answer
    
thanks that works great! (though i'm having troubles now with the pdf-TOC, included images, and my multi-glyph sentence being on a separate page; but this might be related to the .sty i have to use) –  umläute Jan 29 '13 at 10:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.