[Tex/LaTex] How to write Quran via Latex


I get this message when I compile it "
! Package inputenc Error: Unicode character ٰ (U+0670)
(inputenc) not set up for use with LaTeX. "


Best Answer

The quran package is for preparing files compiled with xelatex (or, as Davislor notes, lualatex). That is, it uses latex macros with the xetex (or luatex) binary, which handles unicode natively. By contrast, arabtex uses latex macros with the pdftex binary, which works with older and more limited encodings. That’s why arabtex requires you to specify fontenc and inputenc — both things you should never do when using xetex or luatex.

Here’s a small example of the usage of quran. But be sure to read its manual, because it offers many options and commands.



Related Question