How can I produce a document with Gujarati language in LaTeX? [closed]

I have tried the itrans package, but was unsuccessful to achieve producing document with indian language (especially gujarati). The documentation of itrans is not clear, at least to me.

Can anyone help me in this problem?

-

closed as not a real question by Joseph Wright♦Oct 11 '12 at 16:18

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

This is very, very open ended; Could you specify exactly what you are having trouble with? –  Canageek Oct 7 '12 at 18:28
Have you tried XeTeX support of Unicode? I was having no trouble with XeTeX and CJK, and, I think, you won't have troubles with gujarati also. –  m0nhawk Oct 7 '12 at 18:40
As it stands, this is 'Not A Real Question' as it's very open. If it can be made a bit more focussed then it can be reopened. –  Joseph Wright Oct 11 '12 at 16:19

You can use any ttf font in TeX using xetex. First you download and install any gujarathi font (for example -- Saumil_guj2, here you will find instructions on how to type those fonts also, check the bottom of the page).

Then write a tex file like this.

\documentclass[11pt]{article}
\usepackage{ifxetex}
\ifxetex
\usepackage{fontspec}
\usepackage{xunicode,fixltx2e}
\usepackage{xltxtra}
%  \defaultfontfeatures{Mapping=tex-text} % To support LaTeX quoting style
\setmainfont[Mapping=tex-text]{Saumil_guj2}
%\setmainfont[Mapping=tex-text]{Arial}
\else
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathpazo}
\fi
\begin{document}
\section{Unicode support}

\subsection{English}
All human beings are born free and equal in dignity and rights. All
human beings are born free and equal in dignity and rights.

maaro gau J ra tal saaOimala

\end{document}


Compile this with xelatex.

-