1

I have a problem with Arabic transliteration in arabxetex.

When I run the code below I get the transliteration as shown in the attached image. The transliteration is just the italicized version of the input text.

\documentclass{minimal}
\usepackage{arabxetex}         

\newfontfamily\arabicfont[Script=Arabic, Scale=1.5]{Scheherazade}

\begin{document}

\begin{arab}[trans]
^gu.hA wa-.hamIruhu al-`a^saraTu
i^starY ^gu.hA `a^saraTa .hamIriN.
\end{arab}

\begin{arab}[voc]
^gu.hA wa-.hamIruhu al-`a^saraTu
i^starY ^gu.hA `a^saraTa .hamIriN.
\end{arab}

\end{document}

enter image description here

2
  • What did you you expect for the transliteration? It is the italic version of the input. You can change it to upshape with \SetTranslitStyle{\upshape}
    – user2478
    Aug 6, 2014 at 19:35
  • My question is related to the transliteration actually. If you see the output text, it is not transliterated. If everything runs well, then the text will be transliterated according to Library of Congress standard.
    – user60321
    Aug 6, 2014 at 21:07

1 Answer 1

1

you have to define a main font with \setmainfont:

\documentclass{article}
\usepackage{fontspec}
\usepackage{arabxetex}         
\newfontfamily\arabicfont[Script=Arabic, Scale=1.5]{Scheherazade}
\setmainfont{Linux Libertine O}
%\SetTranslitConvention{dmg}
\begin{document}
...

enter image description here

1
  • Thanks a lot that solved the problem. Its a pity this is not mentioned in Arabxetex manual.
    – user60321
    Aug 7, 2014 at 18:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .