Problem with compiling xepersian in LaTeX

TeX - LaTeX Asked by Seyed Parsa Javadi on September 24, 2020

I have a question about xepersian package. I’m familiar with LaTeX, but a beginner with xepersian. I tried to compile this simple code with TeX Live 2017:

settextfont{B Nazanin}

But I got this error

! Fatal Package fontspec Error: The fontspec package requires either XeTeX or
(fontspec)                      LuaTeX.
(fontspec)                      You must change your typesetting engine to,
(fontspec)                      e.g., "xelatex" or "lualatex"instead of
(fontspec)                      "latex" or "pdflatex".
Type <return> to continue.
l.45 msg_fatal:nn {fontspec} {cannot-use-pdftex}

I tried all other compilers and even updated xepersian, but anytime I received similar errors. Also, I googled my problem a lot, but didn’t find my answer. Finally, I removed TeX Live 2017 and installed TeX Live 2020. It didn’t change anything at all! I’ll be appreciated if someone help me.

Add your own answers!

Related Questions

Remove vertical space induced by substack

1  Asked on June 19, 2021 by paulprogrammernoob


How to construct a confusion matrix in LaTeX?

7  Asked on June 19, 2021 by kkudi


Labels placed incorrectly in pst-jtree

0  Asked on June 19, 2021 by justin-colley


Nodes in PGFPlots Get Cut Off

1  Asked on June 19, 2021 by arszilla


Overlap filled area plots

2  Asked on June 19, 2021


Index with dashes to show levels

1  Asked on June 19, 2021 by ol-so-n-so


How to end the supplementary part?

3  Asked on June 19, 2021 by brigitte-bruijns


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP