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.

My question is about adding a new language into LaTeX: the Tajik language.

There is Russian language support in LaTeX and Russian is written using a modified version of the Cyrillic alphabet. Tajik is also written in the Cyrillic alphabet and its orthography is very close to Russian.

So, how can I add Tajik language support in LaTeX? Is there any manual about adding new languages into LaTeX?

Thank you

share|improve this question
3  
The question “Cyrillic in (La)TeX” might get you started. There doesn't seem to be Tajik support in Babel, but maybe Russian with a few translation changes does the trick (\def\chaptername{...}, etc.; see pages 295/296 of the babel documentation for a list of strings to define). –  Caramdir Mar 4 '11 at 17:14
2  
I updated the top answer in the link “Cyrillic in (La)TeX”; it had some inaccuracies. XeLaTeX is definitely the way to go with this project. –  Alan Munn Mar 4 '11 at 18:03

2 Answers 2

up vote 8 down vote accepted

Basic language support is usually implemented in a language definition file for the babel (for LaTeX/LuaLaTeX) or polyglossia (for XeLaTeX) packages. You could start by looking at existing language definition files, in particular, the ones for the Russian language to see how Cyrillic font setup is handled.

You should do at least the following things to add the language support:

  • Handle font setup for the language alphabet
  • Provide word hyphenation rules for the language
  • Translate common names and titles used in LaTeX, such as \chaptername
  • Provide support for language- or country-specific punctuation and typesetting rules
share|improve this answer

And today I have found out another way to make LaTeX understand Tajik language. I achieved that using two packages: inputenc with utf8 option and fontenc with T2A(or T2B, but not T2C) option.

\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}

LaTeX is really great!

share|improve this answer

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.