AnswerBun.com

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:

documentclass{article}
usepackage{xepersian}
settextfont{B Nazanin}
begin{document}
سلام
end{document}

But I got this error

! Fatal Package fontspec Error: The fontspec package requires either XeTeX or
(fontspec)                      LuaTeX.
(fontspec)  
(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

Define a command on xelatex command line

1  Asked on November 30, 2020

 

What does this warning mean? (fancyhdr and headheight)

1  Asked on November 30, 2020 by josinalvo

   

luaotfload always being invoked

1  Asked on November 30, 2020

 

Ignoring parentheticals in LawTeX citations

1  Asked on November 30, 2020 by pat-w

   

key_define option

1  Asked on November 30, 2020 by azetina

       

Omitting drawing a part of the outline of a drawing

1  Asked on November 30, 2020 by hany

 

Inserting Curly Brackets in equations

1  Asked on November 30, 2020

 

distance between formula and note

2  Asked on November 30, 2020

 

Convert a SVG draw to a symbol

1  Asked on November 30, 2020

   

4 set venn diagram in TikZ

2  Asked on November 30, 2020

     

Merged author affiliation footnotes in REVTeX

0  Asked on November 29, 2020 by d-darren

     

Other Bibliography Symbols in Beamer

0  Asked on November 29, 2020 by nico-wagner

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP