This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX) (preloaded format=pdftex 2015.4.21) 21 APR 2015 14:04 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **salam.tex (./salam.tex ! Undefined control sequence. l.1 \documentclass {article} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.2 \usepackage {xepersian} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.4 \settextfont {XB Niloofar} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.5 \begin {document} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Missing character: There is no Ø in font cmr10! Missing character: There is no ³ in font cmr10! Missing character: There is no Ù in font cmr10! Missing character: There is no „ in font cmr10! Missing character: There is no Ø in font cmr10! Missing character: There is no § in font cmr10! Missing character: There is no Ù in font cmr10! Missing character: There is no … in font cmr10! [1{d:/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] ) Output written on salam.pdf (1 page, 14472 bytes). PDF statistics: 12 PDF objects out of 1000 (max. 8388607) 7 compressed objects within 1 object stream 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000)