I get this message when I compile it "
! Package inputenc Error: Unicode character ٰ (U+0670)
(inputenc) not set up for use with LaTeX. "
\documentclass[11pt,a4paper]{report}
\usepackage{arabtex}
\usepackage[utf8]{inputenc}
\usepackage[LFE,LAE]{fontenc}
\usepackage[arabic]{babel}
\usepackage{quran}
\begin{document}
\quransurah[94]
\end{document}
Best Answer
The
quran
package is for preparing files compiled withxelatex
(or, as Davislor notes,lualatex
). That is, it useslatex
macros with thexetex
(orluatex
) binary, which handles unicode natively. By contrast,arabtex
useslatex
macros with thepdftex
binary, which works with older and more limited encodings. That’s whyarabtex
requires you to specifyfontenc
andinputenc
— both things you should never do when usingxetex
orluatex
.Here’s a small example of the usage of
quran
. But be sure to read its manual, because it offers many options and commands.