I have used MiKTeX for many works in last year. I didn't have a problem installing it. But now I am trying to install it on my new laptop. It's killing me with an ocean of errors. it has been two weeks, after tackling hundreds of errors finally I have been able to make it recognize Persian text. For example:
\documentclass{book}
\usepackage{xepersian}
\begin{document}
سلام
\end{document}
and it successfully prints the pdf file when typeset by XeLaTeX. But when I add a simple formula like the following:
\documentclass{book}
\usepackage{xepersian}
\begin{document}
سلام
\[e^{i\pi}+1=0\]
\end{document}
it will not give any output, instead the following error shows up:
! Undefined control sequence.
\SetMathCode #1#2#3#4->\Umathcode
#1="\mathchar@type #2 \csname sym#3\endcsn...
l.5 \[
e^{i\pi}+1=0\]
?
What should I do? I am tired of examining various unhelpful solutions. I already installed and uninstalled MiKTeX many times. I downloaded Persian modern installed and put them in my windows. and many many many many other things I have done that I dont want to bore you with..... Many forums suggested to use TeX Live instead but I don't want to use that. It seems like another kind of problem that cant be solved by just changing the software. I want to know what is the problem with this software?
\listfilesas the first command in the test document? Add what goes from**File List**to the end of the list. – egreg May 01 '13 at 09:20