سلام دوستان. من با basic-miktex-2.9.6236-x64 و ویرایشگر TeXworks- win-setup-0.6.1-201605010903-git_3614278 نمیتونم یک متن فارسی بنویسم و همش error زیر میاد.
خود متن این هست :
\documentclass{book}
\usepackage{xepersian}
\settextfont{Yas}
\begin{document}
سلام
\end{document}
پیغام در قسمت :console output
This is XeTeX, Version 3.14159265-2.6-0.99996 (MiKTeX 2.9.6210 64-bit)
entering extended mode
(untitled-1.tex
LaTeX2e <2017/01/01> patch level 1
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\book.cls"
Document Class: book 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\bk10.clo"))
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xepersian\xepersian.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\expl3.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\expl3-code.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3xdvipdfmx.def"))
("C:\Program Files\MiKTeX 2.9\tex\latex\l3packages\xparse\xparse.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec-xetex.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\base\fontenc.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\base\tuenc.def"))
("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec.cfg")))
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xepersian\xepersian-persiancal.sty")
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xepersian\xepersian-mathsdigitspec.st
y") ("C:\Program Files\MiKTeX 2.9\tex\xelatex\bidi\bidi.sty"
****************************************************
*
* bidi package (Bidirectional typesetting in
* plain TeX and LaTeX, using XeTeX engine)
*
* Description: A convenient interface for
* typesetting bidirectional texts in plain TeX
* and LaTeX. The package includes adaptations
* for use with many other commonly-used packages.
*
* Copyright (c) 2009--2017 Vafa Khalighi
*
* 2017/01/16, v20.7
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
*
* Location on CTAN: /macros/xetex/latex/bidi
*
* Issue tracker: https://github.com/tex-xet/bidi/issues
*
* Support: persian-tex@tug.org
****************************************************
("C:\Program Files\MiKTeX 2.9\tex\latex\iftex\iftex.sty")
("C:\Program Files\MiKTeX 2.9\tex\xelatex\bidi\biditools.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\zref-abspage.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\zref-base.sty"
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty")
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty")
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvsetkeys.sty"
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty"
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty")))
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvdefinekeys.sty")
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdftexcmds.sty"
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"))
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\auxhook.sty"))
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\atbegshi.sty"))
("C:\Program Files\MiKTeX 2.9\tex\latex\xkeyval\xkeyval.sty"
("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\xkeyval.tex"
("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\xkvutils.tex"
("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\keyval.tex"))))
("C:\Program Files\MiKTeX 2.9\tex\xelatex\bidi\latex-xetex-bidi.def"
("C:\Program Files\MiKTeX 2.9\tex\xelatex\bidi\footnote-xetex-bidi.def")
("C:\Program Files\MiKTeX 2.9\tex\xelatex\bidi\book-xetex-bidi.def"))
("C:\Program Files\MiKTeX 2.9\tex\xelatex\bidi\loadingorder-xetex-bidi.def"))
****************************************************
*
* xepersian package (Persian for LaTeX, using XeTeX engine)
*
* Description: The package supports Persian
* typesetting, using fonts provided in the
* distribution.
*
* Copyright (c) 2008--2017 Vafa Khalighi
*
* v17.7, 2017/02/20
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
*
* Location on CTAN: /macros/xetex/latex/xepersian
*
* Issue tracker: https://github.com/tex-xet/xepersian/issues
*
* Support: persian-tex@tug.org
****************************************************
! LaTeX Error: \bidi@font@@outputpage undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.360 \renewcommand*{\bidi@font@@outputpage}
{\if@RTLmain\setpersianfont\else...
?
پیغام در قسمت errors,warnings and badboxes
xepersian.sty
360
LaTeX Error: \bidi@font@@outputpage undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.360 \renewcommand*{\bidi@font@@outputpage}
{\if@RTLmain\setpersianfont\else...
ممنون از کمکتون