I found this previous post and followed the first answer. I made this script:
\documentclass{article}
\usepackage[novoc]{arabluatex}
\linespread{1.25}
\begin{document}
\newfontfamily\arabicfont[Script=Arabic]{Aref Ruqaa}
السلام عليكم
\end{document}
But I am getting these errors:
Package arabluatex Error: lualatex needed. ... of `arabluatex' for further information.}
Unknown option `novoc' for package `arabluatex'. \linespread
Undefined control sequence. \newfontfamily
Undefined control sequence. \newfontfamily\arabicfont
Although I have manually downloaded the package zip file from its page and copied and pasted these files into the same directory where my latex main file is located:
- `arabluatex.sty`
- `arabluatex-patch.sty`
- `arabluatex.lua`
- `arabluatex_voc.lua`
- `arabluatex_fullvoc.lua`
- `arabluatex_novoc.lua`
- `arabluatex_trans.lua`
But this did not solve the problem. Can you please help me compile arabic text and be able to use Arabic fonts similar to the script I posted?
I also prefer to not manually paste the package files. Is there any way I can install them within Latex? I use TexStudio
as editor and it uses pdflatex
as compiler.