I downloaded Miktex2.9 but when I try to type Farsi(persian) it does not recognize the xepersian package and give an error instead. I need to add the xepersian or other packages to my Miktex please tell me how to do it.


Apparently you installed MikTeX basic, which does not have xepersian included. One way to install xepersian is using mikTeX on-the-fly package install, but not recommended. There might be dependencies you miss.

The best solution I recommend is installing Texlive 2013 and update it. Installing miktex (complete) is another solution, but you must make sure it contains latest xetex binaries. Older versions of miktex was shipped with old xetex binaries and caused some bugs in RTL typesetting.

  • The missing dependencies are detected, and the needed packages are installed, as well, at least in these cases when it happened here. Other than in TeX Live also the binaries are frequently updated, but, yes, back in past this did for some time not happen for XeTeX (and also LuaTeX). – Speravir Feb 23 '14 at 0:13

Open the MiKTeX Package Manager as Administrator; you'll see he whole list of packages in MiKTeX distribution. Right click on the xepersian package (you may type "xepersian" in the small Name window at the top and filter the packages list) . A small menu will popup; choose "install". That's all. Any additional package can be installed in the same way.

  • Well,in case of several users, to be sure that each of them can use the package. Thanks for pointing the typo. – Bernard Feb 23 '14 at 0:41

You can use the portable xepersian. This is very user frindly and no needs to instalation. The size of it is about !G.

  • 3
    Can you explain a little bit more? You mean 1G instead of !G? BTW: Welcome to TeX.SE! – Mensch Oct 27 '14 at 10:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.