# Transliteration problem with arabxetex package

The following code is not producing properly formatted transliteration of the arabic text. I have no trouble producing proper arabic characters with the [voc] option, but the [trans] option is not functioning:

\documentclass[]{article}
\def\latexmode{memoir}
\usepackage{arabxetex}
\begin{document}
\begin{arab}[trans] fI qulUbi-him wa-jawAri.hi-him
\end{arab}
inline:  (\textarab[trans]{fI qulUbi-him wa-jawAri.hi-him})
\end{document}


Output:

fI qulUbi-him wa-jawAri.hi-him

inline: (fI qulUbi-him wa-jawAri.hi-him)

Should be something like:

fī qulūbi-him wa-jawāriḥi-him

• Welcome to the TeX.SX! Could you please make it a full minimal (working) example starting with \documentclass... and ending with \end{document}? It would help the solvers a lot. – Malipivo Apr 9 '14 at 17:43
• I would highly recommend to type Arabic characters and their transliteration directly with unicode (كتاب and kitāb) and to avoid using that package which -- IMHO -- now became somewhat obsolete. – ClintEastwood Apr 10 '14 at 5:25
• Yes, but then I can't switch between transliterated text and arabic script. If I use unicode, this is what I get with (\textarab[voc]{fī qulūbi-him wa-jawāriḥi-him}): ( رِحِهِم بِهِم وَجَو قُل ف). With (\textarab[voc]{fI qulUbi-him wa-jawAri.hi-him}) I get: ( فِي قُلُوبِهِم وَجَوَارِحِهِم ) I want to be able to switch between standard transliteration and arabic characters depending on the situation. – JohnW Apr 10 '14 at 15:37
• Are there any news here? – TeXnician Aug 9 '18 at 7:42