How do i run this program ; because in texmaker it gives error.
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\urdufont[Script=Arabic,Scale=1.4]{Jameel Noori Nastaleeq}
\begin{document}
\setRTL
\urdufont
j j k i l a d
\end{document}
I get the error message:
! fatal font spec error The font spec package either requires xetex or LuaTeX to function
while running the given MWE with ???.
\usepakage{fontspec}should be corrected to\usepackage{fontspec}. – Heiko Oberdiek Sep 14 '13 at 14:24and now i tried to run it in winedt 6 and its taking forever so tell me how to run it ; i dont know a bit about xetex or how to use winedt 6 till now i have only used texmaker and all programs worked correctly
– Shaheryar Sep 16 '13 at 07:02#2: add \usepackage{bidi}
#3: should look like: \documentclass{article} \usepackage{fontspec} \usepackage{bidi} \setRTL \newfontfamily\urdufont [Script=Arabic,Scale=1.4]{Jameel Noori Nastaleeq} \begin{document} \urdufont j j k i l a d \end{document}
#4: Compile this with XeLaTeX
Works for me.
– Vairis Sep 16 '13 at 12:08