Latex also supports Arab characters, and not only that it also supports Jawi (Malay flavors of Arabic characters). Called Arabtex, it was developed by Prof. Klaus Lagally at the University of Stuggart.
For the character mapping on how to make the Jawi characters appear on screen, you can refer here
Say we have the following
%calling arabtex package.. you may need to install texlive-lang-arab
%initializing Jawi char map
%since Jawi does not need vocalization
%I leave it blank, except date for header
%This is Jawi mode
%Now let's see for Arab
%This will enable transliteration, automatically!
%Right to Left text will be append
bismi al-ll_ahi al-rra.hm_ani al-rra.hImi
Now let's see the output!