summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-03 22:40:26 +0000
committerKarl Berry <karl@freefriends.org>2013-04-03 22:40:26 +0000
commit8e0e2d299fdfc0af8a7a23ba86bbbdab11dd53af (patch)
tree530fec937cdcbfb19d1be2ba2558e3cec79b7ceb
parent65adc6776381cf64641ee845fa85afcd7fa0cd20 (diff)
xepersian (3apr13)
git-svn-id: svn://tug.org/texlive/trunk@29634 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/ChangeLog15
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/README37
-rwxr-xr-xMaster/texmf-dist/doc/xelatex/xepersian/ftxe-0.12.py1045
-rwxr-xr-xMaster/texmf-dist/doc/xelatex/xepersian/img/ireland.jpgbin0 -> 18304 bytes
-rwxr-xr-xMaster/texmf-dist/doc/xelatex/xepersian/img/weather/clouds.jpgbin0 -> 13088 bytes
-rwxr-xr-xMaster/texmf-dist/doc/xelatex/xepersian/img/weather/rain.jpgbin0 -> 14616 bytes
-rwxr-xr-xMaster/texmf-dist/doc/xelatex/xepersian/img/weather/sun.jpgbin0 -> 10896 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex173
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex39
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex43
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex39
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex43
-rwxr-xr-xMaster/texmf-dist/doc/xelatex/xepersian/xepersian-logo.pdfbin0 -> 12525 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian-logo.tex705
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdfbin0 -> 264191 bytes
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map66
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.tecbin0 -> 530 bytes
-rwxr-xr-xMaster/texmf-dist/source/xelatex/xepersian/xepersian.dtx8566
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.ins115
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def33
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def32
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def78
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def80
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def35
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def35
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def35
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def35
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def49
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def30
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def31
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def98
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def40
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def40
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def41
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def37
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def69
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/color-localise.def38
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def973
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def89
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/empheq-xepersian.def32
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def46
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def72
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def40
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def35
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def41
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def33
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def36
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def58
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def121
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def41
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def56
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def159
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def73
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def32
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def56
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def109
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def41
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/messages-localise.def30
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def39
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/misc-localise-xepersian.def397
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def244
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def177
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def36
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def36
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def37
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def37
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def58
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def63
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def59
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def49
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def40
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls898
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty237
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty166
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty200
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty621
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-xetex.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/xepersian.tlpsrc0
79 files changed, 17291 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/ChangeLog b/Master/texmf-dist/doc/xelatex/xepersian/ChangeLog
new file mode 100644
index 00000000000..0c35e126cc2
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/ChangeLog
@@ -0,0 +1,15 @@
+2013/04/01 version 12.1 Persian TeX Group
+ * Version 12.1 released.
+ * `\prg_stepwise_inline:nnnn' in `xepersian-mathsdigitspec.sty' is changed to
+ `\int_step_inline:nnnn'
+ * `\XeTeXmathcode' and `\XeTeXmathchardef' in `xepersian-mathsdigitspec.sty'
+ are changed to `\Umathcode' and `\Umathchardef', respectively.
+ * On page 44, line 5 of the documentation, the extra repetition of `syntax' is removed.
+ * On the last line of page 39 of the documentation,`\Junicode' is changed to `\junicode'.
+ * On page 39, section 2.7.2 of the documentation, `In this example, we define \Nastaliq
+ to stand for Nastaliq font' is changed to `In this example, we define \Nastaliq to stand
+ for IranNastaliq font'.
+ * Fixed `\AutoMathsDigits' in `\lr'.
+ * Lines 30-36 of `parsidigits.map' removed.
+ * Fixed the issue of `latin' environment not changing the font of `\caption' to latin.
+
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README
new file mode 100644
index 00000000000..4bde5eddc98
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/README
@@ -0,0 +1,37 @@
+____________________
+The XePersian package
+v12.1
+
+XePersian is a package written for XeLaTeX that allows users to typeset
+Persian easily.
+
+The XePersian package is independent of any operating system, meaning it
+will work on all operating systems.
+
+This version fixes bugs and adds new features; for more details please see
+the ChangeLog.
+
+If you want to report any bugs or typos and corrections in the documentation,
+or ask for any new features, or suggest any improvements, or ask any questions
+about the package, then please do not send any direct emails to us; we will not
+answer any direct emails. Instead please use the issue tracker:
+ <https://github.com/persian-tex/xepersian/issues>
+In doing so, please always explain your issue well enough, always include
+a minimal working examples showing the issue, and always choose the appropriate
+label for your query (i.e. if you are reporting any bugs, choose `bug' label).
+
+Current version release date: 2013/04/04
+Expected next version release date: 2013/05/20
+______________
+Persian TeX Group
+persiantexdev@gmail.com
+
+Copyright © 2008–2013
+Distributed under the LaTeX Project Public License
+It may be distributed and/or modified under the LaTeX Project Public License,
+version 1.3c or higher (your choice). The latest version of
+this license is at: http://www.latex-project.org/lppl.txt
+
+This work is “maintained” (as per LPPL maintenance status)
+by Persian TeX Group.
+
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/ftxe-0.12.py b/Master/texmf-dist/doc/xelatex/xepersian/ftxe-0.12.py
new file mode 100755
index 00000000000..ce70ceab27c
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/ftxe-0.12.py
@@ -0,0 +1,1045 @@
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses>
+
+##################################################
+# Author: Mostafa Vahedi #
+# Date: 19 August 2011 #
+# Version: 0-12 #
+# Application: FarsiTeX to XePersian converter #
+##################################################
+
+import codecs
+
+import sys
+import os
+
+ft_numerical = [
+chr(0xB9), # Arabic Thoushads Seperator
+chr(0xBC) # ARABIC DECIMAL SEPARATOR
+]
+
+
+ft_vowels = [
+chr(0xB0), # ARABIC FATHA
+chr(0xB1), # ARABIC KASRA
+chr(0xB2), # ARABIC DAMMA
+chr(0xB3), # ARABIC FATHATAN
+chr(0xB4), # ARABIC SHADDA
+chr(0xBA), # ARABIC LETTER SUPERSCRIPT ALEF
+chr(0xBB), # ARABIC HAMZA ABOVE
+chr(0xC4) # ARABIC SUKUN
+]
+
+ft_non_joiners = [
+chr(0x8F) # ARABIC LETTER HAMZA
+]
+
+ft_bidi_joiners_initial = [
+chr(0xE4), # ARABIC LETTER AIN, initial form
+chr(0xE8), # ARABIC LETTER GHAIN, initial form
+chr(0xFB) # ARABIC LETTER HEH, initial form
+]
+
+ft_bidi_joiners_medial = [
+chr(0xE3), # ARABIC LETTER AIN, medial form
+chr(0xE7), # ARABIC LETTER GHAIN, medial form
+chr(0xFA) # ARABIC LETTER HEH, medial form
+]
+
+ft_bidi_joiners_final = [
+chr(0xE2), # ARABIC LETTER AIN, final form
+chr(0xE6), # ARABIC LETTER GHAIN, final form
+chr(0xFC) # ARABIC LETTER FARSI YEH, final form
+]
+
+ft_bidi_joiners_isolated = [
+chr(0xE1), # ARABIC LETTER AIN, isolated form
+chr(0xE5), # ARABIC LETTER GHAIN, isolated form
+chr(0xFD) # ARABIC LETTER FARSI YEH, isolated form
+]
+
+ft_bidi_joiners_initial_medial = [
+chr(0x8B), # ARABIC TATWEEL
+chr(0x8E), # ARABIC LETTER YEH WITH HAMZA ABOVE, initial-medial form
+chr(0x93), # ARABIC LETTER BEH, initial-medial form
+chr(0x95), # ARABIC LETTER PEH, initial-medial form
+chr(0x97), # ARABIC LETTER TEH, initial-medial form
+chr(0x99), # ARABIC LETTER THEH, initial-medial form
+chr(0x9B), # ARABIC LETTER JEEM, initial-medial form
+chr(0x9D), # ARABIC LETTER TCHEH, initial-medial form
+chr(0x9F), # ARABIC LETTER HAH, initial-medial form
+chr(0xA1), # ARABIC LETTER KHAH, initial-medial form
+chr(0xA8), # ARABIC LETTER SEEN, initial-medial form
+chr(0xAA), # ARABIC LETTER SHEEN, initial-medial form
+chr(0xAC), # ARABIC LETTER SAD, initial-medial form
+chr(0xAE), # ARABIC LETTER DAD, initial-medial form
+chr(0xAF), # ARABIC LETTER TAH, initial-medial form
+chr(0xE0), # ARABIC LETTER ZAH, initial-medial form
+chr(0xEA), # ARABIC LETTER FEH, initial-medial form
+chr(0xEC), # ARABIC LETTER QAF, initial-medial form
+chr(0xEE), # ARABIC LETTER KEHEH, initial-medial form
+chr(0xF0), # ARABIC LETTER GAF, initial-medial form
+chr(0xF3), # ARABIC LETTER LAM, initial-medial form
+chr(0xF5), # ARABIC LETTER MEEM, initial-medial form
+chr(0xF7), # ARABIC LETTER NOON, initial-medial form
+chr(0xFE) # ARABIC LETTER FARSI YEH, initial-medial form
+]
+
+ft_bidi_joiners_final_isolated = [
+chr(0x92), # ARABIC LETTER BEH, final-isolated form
+chr(0x94), # ARABIC LETTER PEH, final-isolated form
+chr(0x96), # ARABIC LETTER TEH, final-isolated form
+chr(0x98), # ARABIC LETTER THEH, final-isolated form
+chr(0x9A), # ARABIC LETTER JEEM, final-isolated form
+chr(0x9C), # ARABIC LETTER TCHEH, final-isolated form
+chr(0x9E), # ARABIC LETTER HAH, final-isolated form
+chr(0xA0), # ARABIC LETTER KHAH, final-isolated form
+chr(0xA7), # ARABIC LETTER SEEN, final-isolated form
+chr(0xA9), # ARABIC LETTER SHEEN, final-isolated form
+chr(0xAB), # ARABIC LETTER SAD, final-isolated form
+chr(0xAD), # ARABIC LETTER DAD, final-isolated form
+chr(0xC1), # ARABIC LETTER TAH, final-isolated form
+chr(0xC2), # ARABIC LETTER ZAH, final-isolated form
+chr(0xE9), # ARABIC LETTER FEH, final-isolated form
+chr(0xEB), # ARABIC LETTER QAF, final-isolated form
+chr(0xED), # ARABIC LETTER KEHEH, final-isolated form
+chr(0xEF), # ARABIC LETTER GAF, final-isolated form
+chr(0xF1), # ARABIC LETTER LAM, final-isolated form
+chr(0xF4), # ARABIC LETTER MEEM, final-isolated form
+chr(0xF6), # ARABIC LETTER NOON, final-isolated form
+chr(0xF9) # ARABIC LETTER HEH, final-isolated form
+]
+
+ft_right_joiners_final = [
+chr(0x91) # ARABIC LETTER ALEF, final form
+]
+
+ft_right_joiners_isolated = [
+chr(0x8D), # ARABIC LETTER ALEF WITH MADDA ABOVE, isolated form
+chr(0x90) # ARABIC LETTER ALEF, isolated form
+]
+
+ft_right_joiners_final_isolated = [
+chr(0xA2), # ARABIC LETTER DAL
+chr(0xA3), # ARABIC LETTER THAL
+chr(0xA4), # ARABIC LETTER REH
+chr(0xA5), # ARABIC LETTER ZAIN
+chr(0xA6), # ARABIC LETTER JEH
+chr(0xBF), # ARABIC LETTER TEH MARBUTAH
+chr(0xF2), # ARABIC LIGATURE LAM WITH ALEF
+chr(0xF8) # ARABIC LETTER WAW
+]
+
+
+table_FT_UN = {
+chr(0x80) : [u'\u06F0'], # EXTENDED ARABIC-INDIC DIGIT ZERO
+chr(0x81) : [u'\u06F1'], # EXTENDED ARABIC-INDIC DIGIT ONE
+chr(0x82) : [u'\u06F2'], # EXTENDED ARABIC-INDIC DIGIT TWO
+chr(0x83) : [u'\u06F3'], # EXTENDED ARABIC-INDIC DIGIT THREE
+chr(0x84) : [u'\u06F4'], # EXTENDED ARABIC-INDIC DIGIT FOUR
+chr(0x85) : [u'\u06F5'], # EXTENDED ARABIC-INDIC DIGIT FIVE
+chr(0x86) : [u'\u06F6'], # EXTENDED ARABIC-INDIC DIGIT SIX
+chr(0x87) : [u'\u06F7'], # EXTENDED ARABIC-INDIC DIGIT SEVEN
+chr(0x88) : [u'\u06F8'], # EXTENDED ARABIC-INDIC DIGIT EIGHT
+chr(0x89) : [u'\u06F9'], # EXTENDED ARABIC-INDIC DIGIT NINE
+chr(0x8A) : [u'\u060C'], # ARABIC COMMA
+chr(0x8B) : [u'\u0640'], # ARABIC TATWEEL
+chr(0x8C) : [u'\u061F'], # ARABIC QUESTION MARK
+chr(0x8D) : [u'\u0622'], # ARABIC LETTER ALEF WITH MADDA ABOVE, isolated form
+chr(0x8E) : [u'\u0626'], # ARABIC LETTER YEH WITH HAMZA ABOVE, initial-medial form
+chr(0x8F) : [u'\u0621'], # ARABIC LETTER HAMZA
+chr(0x90) : [u'\u0627'], # ARABIC LETTER ALEF, isolated form
+chr(0x91) : [u'\u0627'], # ARABIC LETTER ALEF, final form
+chr(0x92) : [u'\u0628'], # ARABIC LETTER BEH, final-isolated form
+chr(0x93) : [u'\u0628'], # ARABIC LETTER BEH, initial-medial form
+chr(0x94) : [u'\u067E'], # ARABIC LETTER PEH, final-isolated form
+chr(0x95) : [u'\u067E'], # ARABIC LETTER PEH, initial-medial form
+chr(0x96) : [u'\u062A'], # ARABIC LETTER TEH, final-isolated form
+chr(0x97) : [u'\u062A'], # ARABIC LETTER TEH, initial-medial form
+chr(0x98) : [u'\u062B'], # ARABIC LETTER THEH, final-isolated form
+chr(0x99) : [u'\u062B'], # ARABIC LETTER THEH, initial-medial form
+chr(0x9A) : [u'\u062C'], # ARABIC LETTER JEEM, final-isolated form
+chr(0x9B) : [u'\u062C'], # ARABIC LETTER JEEM, initial-medial form
+chr(0x9C) : [u'\u0686'], # ARABIC LETTER TCHEH, final-isolated form
+chr(0x9D) : [u'\u0686'], # ARABIC LETTER TCHEH, initial-medial form
+chr(0x9E) : [u'\u062D'], # ARABIC LETTER HAH, final-isolated form
+chr(0x9F) : [u'\u062D'], # ARABIC LETTER HAH, initial-medial form
+chr(0xA0) : [u'\u062E'], # ARABIC LETTER KHAH, final-isolated form
+chr(0xA1) : [u'\u062E'], # ARABIC LETTER KHAH, initial-medial form
+chr(0xA2) : [u'\u062F'], # ARABIC LETTER DAL
+chr(0xA3) : [u'\u0630'], # ARABIC LETTER THAL
+chr(0xA4) : [u'\u0631'], # ARABIC LETTER REH
+chr(0xA5) : [u'\u0632'], # ARABIC LETTER ZAIN
+chr(0xA6) : [u'\u0698'], # ARABIC LETTER JEH
+chr(0xA7) : [u'\u0633'], # ARABIC LETTER SEEN, final-isolated form
+chr(0xA8) : [u'\u0633'], # ARABIC LETTER SEEN, initial-medial form
+chr(0xA9) : [u'\u0634'], # ARABIC LETTER SHEEN, final-isolated form
+chr(0xAA) : [u'\u0634'], # ARABIC LETTER SHEEN, initial-medial form
+chr(0xAB) : [u'\u0635'], # ARABIC LETTER SAD, final-isolated form
+chr(0xAC) : [u'\u0635'], # ARABIC LETTER SAD, initial-medial form
+chr(0xAD) : [u'\u0636'], # ARABIC LETTER DAD, final-isolated form
+chr(0xAE) : [u'\u0636'], # ARABIC LETTER DAD, initial-medial form
+chr(0xAF) : [u'\u0637'], # ARABIC LETTER TAH, initial-medial form
+chr(0xB0) : [u'\u064E'], # ARABIC FATHA
+chr(0xB1) : [u'\u0650'], # ARABIC KASRA
+chr(0xB2) : [u'\u064F'], # ARABIC DAMMA
+chr(0xB3) : [u'\u064B'], # ARABIC FATHATAN
+chr(0xB4) : [u'\u0651'], # ARABIC SHADDA
+chr(0xB5) : [u'\u0023'], # * #
+chr(0xB6) : [u'\u0024'], # * $
+chr(0xB7) : [u'\u0025'], # * %
+chr(0xB8) : [u'\u0026'], # * &
+chr(0xB9) : [u'\u066C'], # Arabic Thoushads Seperator
+chr(0xBA) : [u'\u0670'], # ARABIC LETTER SUPERSCRIPT ALEF
+chr(0xBB) : [u'\u0654'], # ARABIC HAMZA ABOVE
+chr(0xBC) : [u'\u066B'], # ARABIC DECIMAL SEPARATOR
+chr(0xBD) : [u'\u0029'], # * RIGHT PARENTHESIS
+chr(0xBE) : [u'\u0028'], # * LEFT PARENTHESIS
+chr(0xBF) : [u'\u0629'], # ARABIC LETTER TEH MARBUTAH
+chr(0xC0) : [u'\u00BB'], # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+chr(0xC1) : [u'\u0637'], # ARABIC LETTER TAH, final-isolated form
+chr(0xC2) : [u'\u0638'], # ARABIC LETTER ZAH, final-isolated form
+chr(0xC3) : [u'\u00AB'], # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+chr(0xC4) : [u'\u0652'], # ARABIC SUKUN
+chr(0xC5) : [u'\u002D'], # * -
+chr(0xC6) : [u'\u002E'], # * FULL STOP
+chr(0xC7) : [u'\u002F'], # * /
+chr(0xC8) : [u'\u002A'], # * *
+chr(0xC9) : [u'\u007E'], # * ~
+chr(0xCA) : [u'\u003A'], # * COLON
+chr(0xCB) : [u'\u061B'], # ARABIC SEMICOLON
+chr(0xCC) : [u'\u003E'], # * GREATER-THAN SIGN
+chr(0xCD) : [u'\u002B'], # * +
+chr(0xCE) : [u'\u003D'], # * =
+chr(0xCF) : [u'\u003C'], # * LESS-THAN SIGN
+# chr(0xD0) : [u'\u0040'], # * @
+chr(0xD0) : [u''], # * @
+chr(0xD1) : [u'\u005D'], # * [
+chr(0xD2) : [u'\u005C'], # * \
+chr(0xD3) : [u'\u005B'], # * ]
+chr(0xD4) : [u'\u005E'], # * ^
+chr(0xD5) : [u'\u005F'], # * _
+chr(0xD6) : [u'\u0060'], # * `
+chr(0xD7) : [u'\u007D'], # * {
+chr(0xD8) : [u'\u007C'], # * |
+chr(0xDA) : [u'\u0020'], # * SPACE
+chr(0xDD) : [u'\u0021'], # * EXCLAMATION MARK
+chr(0xDE) : [u'\u007B'], # * }
+chr(0xE0) : [u'\u0638'], # ARABIC LETTER ZAH, initial-medial form
+chr(0xE1) : [u'\u0639'], # ARABIC LETTER AIN, isolated form
+chr(0xE2) : [u'\u0639'], # ARABIC LETTER AIN, final form
+chr(0xE3) : [u'\u0639'], # ARABIC LETTER AIN, medial form
+chr(0xE4) : [u'\u0639'], # ARABIC LETTER AIN, initial form
+chr(0xE5) : [u'\u063A'], # ARABIC LETTER GHAIN, isolated form
+chr(0xE6) : [u'\u063A'], # ARABIC LETTER GHAIN, final form
+chr(0xE7) : [u'\u063A'], # ARABIC LETTER GHAIN, medial form
+chr(0xE8) : [u'\u063A'], # ARABIC LETTER GHAIN, initial form
+chr(0xE9) : [u'\u0641'], # ARABIC LETTER FEH, final-isolated form
+chr(0xEA) : [u'\u0641'], # ARABIC LETTER FEH, initial-medial form
+chr(0xEB) : [u'\u0642'], # ARABIC LETTER QAF, final-isolated form
+chr(0xEC) : [u'\u0642'], # ARABIC LETTER QAF, initial-medial form
+chr(0xED) : [u'\u06A9'], # ARABIC LETTER KEHEH, final-isolated form
+chr(0xEE) : [u'\u06A9'], # ARABIC LETTER KEHEH, initial-medial form
+chr(0xEF) : [u'\u06AF'], # ARABIC LETTER GAF, final-isolated form
+chr(0xF0) : [u'\u06AF'], # ARABIC LETTER GAF, initial-medial form
+chr(0xF1) : [u'\u0644'], # ARABIC LETTER LAM, final-isolated form
+chr(0xF2) : [u'\u0644\u0627'], # ARABIC LIGATURE LAM WITH ALEF
+chr(0xF3) : [u'\u0644'], # ARABIC LETTER LAM, initial-medial form
+chr(0xF4) : [u'\u0645'], # ARABIC LETTER MEEM, final-isolated form
+chr(0xF5) : [u'\u0645'], # ARABIC LETTER MEEM, initial-medial form
+chr(0xF6) : [u'\u0646'], # ARABIC LETTER NOON, final-isolated form
+chr(0xF7) : [u'\u0646'], # ARABIC LETTER NOON, initial-medial form
+chr(0xF8) : [u'\u0648'], # ARABIC LETTER WAW
+chr(0xF9) : [u'\u0647'], # ARABIC LETTER HEH, final-isolated form
+chr(0xFA) : [u'\u0647'], # ARABIC LETTER HEH, medial form
+chr(0xFB) : [u'\u0647'], # ARABIC LETTER HEH, initial form
+chr(0xFC) : [u'\u06CC'], # ARABIC LETTER FARSI YEH, final form
+chr(0xFD) : [u'\u06CC'], # ARABIC LETTER FARSI YEH, isolated form
+chr(0xFE) : [u'\u06CC'] # ARABIC LETTER FARSI YEH, initial-medial form
+}
+
+F_PERCENT_SIGN = chr(0xB7)
+F_AT_SIGN = chr(0xD0)
+F_SLASH = chr(0xD2)
+F_SPACE = chr(0xDA)
+F_PRNT_OPEN = chr(0xDE)
+F_PRNT_CLOSE = chr(0xD7)
+
+# latex and farsitex commands whose first parameter does not need \lr{...}
+commands = [
+"begin", "end",
+"input", "include", "includeonly",
+"hspace", "vspace", "hspace*", "vspace*",
+"label", "ref", "cite", "bibitem",
+"bibliographystyle",
+"parbox",
+"newenvironment", "newtheorem",
+"persianmathdigitsfamily",
+"fontfamily", "fontseries", "fontshape",
+"rmdefault", "sfdefault", "ttdefault",
+"bfdefault", "itdefault", "sldefault", "scdefault",
+"pagenumbering", "pagestyle", "thispagestyle",
+"setcounter", "stepcounter", "setlength", "addtolength"
+]
+
+def ft_is_all_persian_space(next_part):
+ l = len(next_part)
+ i = 0
+ while (i < l):
+ if (next_part[i] != F_SPACE):
+ return 0
+ i += 1
+ return 1
+
+def ft_is_numeric(ch):
+ if ((ch in ft_numerical) or
+ ((ch >= chr(0x80)) and (ch <= chr(0x89))) ):
+ return 1
+ return 0
+
+def ft_can_join_left(ch):
+ if ((ch in ft_bidi_joiners_initial) or
+ (ch in ft_bidi_joiners_medial) or
+ (ch in ft_bidi_joiners_final) or
+ (ch in ft_bidi_joiners_isolated) or
+ (ch in ft_bidi_joiners_initial_medial) or
+ (ch in ft_bidi_joiners_final_isolated)):
+ return 1
+ return 0
+
+def ft_can_join_right(ch):
+ if (ft_can_join_left(ch) or
+ (ch in ft_right_joiners_final) or
+ (ch in ft_right_joiners_isolated) or
+ (ch in ft_right_joiners_final_isolated)):
+ return 1
+ return 0
+
+def ft_joining_left(ch):
+ if ((ch in ft_bidi_joiners_initial) or
+ (ch in ft_bidi_joiners_medial) or
+ (ch in ft_bidi_joiners_initial_medial)):
+ return 1
+ return 0
+
+
+def ft_joining_right(ch):
+ if ((ch in ft_right_joiners_final) or
+ (ch in ft_bidi_joiners_medial) or
+ (ch in ft_bidi_joiners_final)):
+ return 1
+ return 0
+
+def ft_not_right_joined(ch):
+ if ((ch in ft_bidi_joiners_initial) or
+ (ch in ft_right_joiners_isolated) or
+ (ch in ft_bidi_joiners_isolated)):
+ return 1
+ return 0
+
+def ft_adjust_shaping(text, i):
+ current = text[i]
+ u = u''
+ try:
+ u = table_FT_UN[current][0]
+ except KeyError:
+ return u''
+
+ #if you don't want shaping remove the following comment
+ #return u
+
+ if ((current in ft_vowels) or (ft_is_numeric(current))):
+ return u
+
+ #find next non-vowel character on the left
+ text_len = len(text)
+ next_index = i+1
+ while ((next_index < text_len) and (text[next_index] in ft_vowels)):
+ next_index += 1
+
+ if (next_index == text_len):
+ next = ''
+ else:
+ next = text[next_index]
+
+ # if current letter is joining from left but next letter is or can not joining
+ if (ft_joining_left(current)):
+ if (not ft_can_join_right(next)):
+ u += u'\u200D' #ZWJ
+ elif (ft_not_right_joined(next)):
+ u += u'\u200D\u200C' #ZWJ+ZWNJ
+ # if current letter can join but next letter is joining from right
+ elif (ft_can_join_left(current)):
+ if (ft_joining_right(next)):
+ u += u'\u200C\u200D' #ZWNJ+ZWJ
+ elif (ft_can_join_right(next)):
+ u += u'\u200C' #ZWNJ
+ return u
+
+def ft_adjust_number(text):
+ result = u''
+ i = len(text)-1
+ while (i >= 0):
+ result += ft_adjust_shaping(text, i)
+ i -= 1
+ return result
+
+
+def map_ft_unicode(text):
+ mapped_text = u''
+
+ i = 0
+ while (i < len(text)):
+ if (ft_is_numeric(text[i])):
+ next_index = i
+ while ((next_index+1 < len(text)) and
+ (ft_is_numeric(text[next_index+1]))):
+ next_index += 1
+ mapped_text += ft_adjust_number(text[i:next_index+1])
+ i = next_index+1
+ continue
+
+ mapped_text += ft_adjust_shaping(text, i)
+ i += 1
+ return mapped_text
+
+# Finds next token all of the same language
+def ft_next_part(line, i, line_len):
+ global global_state
+ global recursive
+ global filenames
+
+ j = i
+ language_flag = (line[j]<chr(0x80))
+ while ((j<line_len) and ((line[j]<chr(0x80)) == language_flag) ):
+ if ( (global_state == 0) and ( (line[j] == '%') or (line[j] == F_PERCENT_SIGN) ) and (line[j-1] != '\\') and (line[j-1] != F_SLASH) ):
+ global_state = 1
+ elif ((global_state == 0) and ((line[j:j+16] == '\\begin{verbatim}') or (line[j:j+17] == '\\begin{verbatim*}'))):
+ global_state = 2
+ elif ((global_state == 2) and ((line[j:j+14] == '\\end{verbatim}') or (line[j:j+15] == '\\end{verbatim*}'))):
+ global_state = 0
+ elif ((global_state == 0) and (line[j:j+6] == '\\verb*')):
+ next_index = line.find(line[j+6], j+7)
+ j = next_index
+ elif ((global_state == 0) and (line[j:j+5] == '\\verb')):
+ next_index = line.find(line[j+5], j+6)
+ j = next_index
+ elif (recursive == 1):
+ if ((global_state == 0) and (line[j:j+9] == '\\include{')):
+ next_index = line.find('}', j+9)
+ filename = line[j+10:next_index-1] + '.ftx'
+ if (os.path.exists(filename) and not filename in filenames):
+ filenames.append(filename)
+ elif ((global_state == 0) and (line[j:j+7] == '\\input{')):
+ next_index = line.find('}', j+7)
+ filename = line[j+8:next_index-1] + '.ftx'
+ if (os.path.exists(filename) and not filename in filenames):
+ filenames.append(filename)
+ elif ((global_state == 0) and (line[j:j+9] == F_SLASH + 'include' + F_PRNT_OPEN)):
+ next_index = line.find(F_PRNT_CLOSE, j+9)
+ if (line[j+9]!=F_AT_SIGN):
+ filename = line[j+9:next_index] + '.ftx'
+ else:
+ filename = line[j+10:next_index-1] + '.ftx'
+ if (os.path.exists(filename) and not filename in filenames):
+ filenames.append(filename)
+ elif ((global_state == 0) and (line[j:j+7] == F_SLASH + 'input' + F_PRNT_OPEN)):
+ next_index = line.find(F_PRNT_CLOSE, j+7)
+ if (line[j+7]!=F_AT_SIGN):
+ filename = line[j+7:next_index] + '.ftx'
+ else:
+ filename = line[j+8:next_index-1] + '.ftx'
+ if (os.path.exists(filename) and not filename in filenames):
+ filenames.append(filename)
+ j += 1
+ return j
+
+###############################################
+# from here all functions are used to translate
+# farsitex commands to xepersian commands
+###############################################
+
+def read_size(input,index,last_index):
+ dim_index = -1
+ inch_index = input.find(u'in', index)
+ if (inch_index != -1):
+ dim_index = inch_index
+ mm_index = input.find(u'mm', index)
+ if (mm_index != -1):
+ if (dim_index == -1 or mm_index < index):
+ dim_index = mm_index
+ cm_index = input.find(u'cm', index)
+ if (cm_index != -1):
+ if (dim_index == -1 or cm_index < dim_index):
+ dim_index = cm_index
+ pt_index = input.find(u'pt', index)
+ if (pt_index != -1):
+ if (dim_index == -1 or pt_index < dim_index):
+ dim_index = pt_index
+ next_cmd = input.find(u'\\', index)
+ if (next_cmd == -1 and dim_index == -1):
+ print "Error in parsing \epsfxsize command at " + str(line_number) + "\n"
+ return -1
+ elif (next_cmd == -1 or (dim_index != -1 and next_cmd > dim_index)):
+ epsfxsize = input[index:dim_index+2]
+ return dim_index+2
+ elif (next_cmd != -1):
+ end_cmd = next_cmd+1
+ while (end_cmd < last_index and input[end_cmd].isalpha()):
+ end_cmd += 1
+ return end_cmd
+ else:
+ print "Error in parsing \epsfxsize command at " + str(line_number) + "\n"
+ return -1
+
+
+latex_options=[u'a4paper', u'a5paper', u'b5paper',
+ u'letterpaper', u'legalpaper', u'executivepaper',
+ u'landscape', u'10pt', u'11pt', u'12pt',
+ u'oneside', u'twoside', u'draft',
+ u'final', u'titlepage', u'notitlepage',
+ u'onecolumn', u'twocolumn',
+ u'leqno', u'fleqn']
+
+table_eq_packages = {
+u'poem' : u'persianpoem',
+u'fmakeidx' : u'makeidx',
+u'ffancyhe' : u'fancyhdr',
+u'fmultico' : u'multicol'
+}
+
+farsitex_ignore_options = [u'persian', u'farsi', u'epsf', u'fgraphix', u'lotusfont']
+
+xepersian_packages = u'\n\\usepackage{url}\n%\\usepackage{fancyvrb}\n\\usepackage{setspace}\\doublespacing\n\\usepackage{graphicx} \n\\usepackage{amssymb}\n'
+
+xepersian_preamble = u'\\settextfont[Scale=1.2]{XB Zar}\n\\setlatintextfont[Scale=1.1]{Times New Roman}\n\\setdigitfont{XB Zar}\n\\setpookfont{XB Kayhan Pook}\n\\setsayehfont{XB Kayhan Sayeh}\n\\defpersianfont\\lotoos[Scale=1.2]{XB Roya}\n\\defpersianfont\elmi[Scale=1.2]{XB Roya} \n\\def\\nazok{\\normalfont\\normalsize}\n\\let\\iranic\\it\n\\let\\siah\\bf\n\\let\\khabide\\sl\n\\def\\siahir{\\siah\\iranic} \n\\def\\siahkh{\\siah\\khabide}\n\\let\\tookhali\\pookfamily\n\\let\\sayedar\\sayehfamily\n\\def\\farsi{\\end{latin}}\n\\def\\english{\\begin{latin}}\n\\let\\farmbox\\mbox\n\\newcommand{\\ftxepmatrix}[1]{\\begin{pmatrix}#1\\end{pmatrix}}\n\\newcommand{\\ftxematrix}[1]{\\begin{matrix}#1\\end{matrix}} \n\\def\\FarsiTeX{\\lr{FarsiTeX}}\n\\def\\فارسی‌تک{\\rl{فارسی‌‌تک}}\n\\def\\InE{\\begingroup\\beginL\\latinfont}\n\\def\\EnE{\\endL\\endgroup} \n\\def\\InF{\\begingroup\\beginR\\persianfont}\n\\def\\EnF{\\endR\\endgroup}\n\\newcommand{\\IE}[1]{\\lr{#1}}\n\\newcommand{\\IP}[1]{\\rl{#1}} \n\\newcommand{\\IF}[1]{\\rl{#1}}\n\\def\\persiandash{\\rl{-}} \n\\def\\DeclareRobustBiCommand#1#2#3#4{\\DeclareRobustCommand#1{\\if@rl{}#4\\else{}#3\\fi}\\let#2=#1} \n\\catcode`\\﷼=3\n\\catcode`‌=11\n\\newcommand\\dotsectionseparator{\\SepMark{.}}\n\\newcommand\\dashsectionseparator{\\SepMark{-}}\n'
+
+thesis_preamble = u'\\university{\\lr{UniversityName}}\n\\city{\\lr{CityName}}\n\\latinuniversity{UniversityName}\n\\latincity{CityName} \n\\let\\englishtitle\\latintitle\n\\let\\englishauthor\\latinauthor\n\\let\\englishdegree\\latindegree\n\\let\\englishthesisdate\\latinthesisdate \n\\let\\englishsupervisor\\latinsupervisor\n\\let\\englishdepartment\\latindepartment\n\\let\\makeenglishtitle\\makelatintitle \n\\let\\englishkeywords\\latinkeywords\n\\newenvironment{englishabstract}{\\begin{latinabstract}}{\\end{latinabstract}}\n'
+
+def is_alpha_numeric_space(input):
+ input_len = len(input)
+ i = 0
+ while (i<input_len):
+ if (not (input[i].isalpha() or input[i].isdigit() or input[i]==u'.' or input[i]==u' ') ):
+ return 0
+ i+=1
+ return 1
+
+def is_alpha_numeric(input):
+ input_len = len(input)
+ i = 0
+ while (i<input_len):
+ if (not (input[i].isalpha() or input[i].isdigit() or input[i]=='.') ):
+ return 0
+ i+=1
+ return 1
+
+def find_eq_cmd(keyword):
+ try:
+ eq_cmd = table_eq_packages[keyword]
+ except KeyError:
+ eq_cmd = u''
+ return eq_cmd
+
+def convert_persian_to_english(num):
+ result = u''
+ num_len = len(num)
+ index = 0
+ while (index < num_len):
+ if (ord(num[index]) >= ord(u'۰') and ord(num[index]) <= ord(u'۹')):
+ result += unichr(ord(num[index]) - ord(u'۰') + ord(u'0'))
+ else:
+ result += num[index]
+ index += 1
+ return result
+
+def generate_farsitex_cmds_file(helper_filename,preamble):
+ try:
+ of = codecs.open(helper_filename, encoding='utf-8', mode='w')
+ except IOError:
+ print "Can not open the output file: " + helper_filename
+ exit(0)
+ of.write(preamble)
+ of.close
+
+
+# \verb|| -> \item[\verb||] or \section{\verb||}
+# \kasre{} \alef{} ...
+def translate_cmds(output_line):
+ global last_epsfxsize
+ global last_epsfxsize_line
+ global last_epsfysize
+ global last_epsfysize_line
+ global state
+ global filename
+
+ result = u''
+ line_len = len(output_line)
+ index = 0
+ if (state == 1): #\begin{verbatim}
+ end_verbatim = output_line.find('\\end{verbatim}')
+ if (end_verbatim == -1):
+ return output_line
+ result += output_line[0:end_verbatim+14]
+ index = end_verbatim+14
+ state = 0
+ elif (state == 2): #\begin{verbatim*}
+ end_verbatim = output_line.find('\\end{verbatim*}')
+ if (end_verbatim == -1):
+ return output_line
+ result += output_line[0:end_verbatim+15]
+ index = end_verbatim+15
+ state = 0
+ elif (output_line[0:14] == "\\documentstyle"):
+ result += u'\\documentclass'
+ #process options
+ last_index = output_line.find(u']')
+ index = 15
+ first_option = 1
+ preamble = xepersian_preamble
+ packages = xepersian_packages
+ xe_document_class = u''
+ while (index < last_index):
+ next_comma = output_line.find(u',',index,last_index)
+ if (next_comma == -1):
+ next_comma = last_index
+ first_of_option = index
+ while (output_line[first_of_option] == u' '):
+ first_of_option += 1
+ end_of_option = next_comma
+ while (output_line[end_of_option-1] == u' '):
+ end_of_option -= 1
+ option = output_line[first_of_option:end_of_option]
+ index = next_comma+1
+ eq_cmd = find_eq_cmd(option)
+ if (eq_cmd != u''):
+ packages += u'\\usepackage{' + eq_cmd + u'}\n'
+ continue
+ elif (option in farsitex_ignore_options):
+ continue
+ elif (option == u'sharifth'):
+ xe_document_class = u'xepersian-thesis'
+ preamble += thesis_preamble
+ continue
+ elif (not option in latex_options):
+ packages += u'\\usepackage{' + option + u'}\n'
+ continue
+
+ if (first_option):
+ result += u'['
+ else:
+ result += u','
+ result += option
+ first_option = 0
+ #end while
+ if (not first_option):
+ result += u']'
+ # process document style into document class
+ index = output_line.find(u'}',last_index)
+ document_class = output_line[last_index+2:index]
+ if (xe_document_class != u''):
+ result += u'{' + xe_document_class + u'}'
+ elif (document_class == u'oldarticle'):
+ result += u'{article}'
+ elif (document_class == u'oldbook'):
+ result += u'{book}'
+ elif (document_class == u'oldreport'):
+ result += u'{report}'
+ else:
+ result += u'{' + document_class + u'}'
+ # I assume that nothing important is after
+ # \documentstyle[...]{...}, otherwise it may conflict
+ # with our preamble
+ if (index != -1):
+ result += output_line[index+1:]
+ result += packages + u'\\usepackage{xepersian}\n'
+ helper_filename = filename + '_farsitex_cmds_xepersian.tex'
+ generate_farsitex_cmds_file(helper_filename,preamble)
+ result += '\\input{' + helper_filename + '}\n'
+ return result
+ #end elif "documentstyle"
+
+ while (index < line_len):
+ next_index = output_line.find(u'\\', index)
+ comment_index = output_line.find(u'%', index)
+ if (next_index == -1):
+ result += output_line[index:]
+ break
+ elif (state == 1):
+ if (output_line[next_index:next_index+14] == u'\\end{verbatim}'):
+ result += output_line[index:next_index+14]
+ index = next_index+14
+ state = 0
+ else:
+ result += output_line[index:next_index+1]
+ index = next_index+1
+ elif (state == 2):
+ if (output_line[next_index:next_index+15] == u'\\end{verbatim*}'):
+ result += output_line[index:next_index+15]
+ index = next_index+15
+ state = 0
+ else:
+ result += output_line[index:next_index+1]
+ index = next_index+1
+ elif (comment_index != -1 and comment_index < next_index):
+ result += output_line[index:]
+ break
+ elif (output_line[next_index:next_index+14] == u"\\input{amssym}"):
+ result += u'\\usepackage{amssymb}'
+ index = next_index+14
+ elif (output_line[next_index:next_index+12] == u"\\input{epsf}"):
+ index = next_index+12
+ elif (output_line[next_index:next_index+15] == u"\\includeepspdf{"):
+ result += u'\\includegraphics{'
+ index = next_index+15
+ elif (output_line[next_index:next_index+16] == u"\\begin{verbatim}"):
+ result += output_line[index:next_index+16]
+ index = next_index+16
+ state = 1
+ elif (output_line[next_index:next_index+17] == u"\\begin{verbatim*}"):
+ result += output_line[index:next_index+17]
+ index = next_index+17
+ state = 2
+ elif (output_line[next_index:next_index+26] == u'\\setlength{\\headrulewidth}'):
+ end_cmd = output_line.find('}', next_index+26)
+ result += u'\\renewcommand{\\headrulewidth}' + output_line[next_index+26:end_cmd+1]
+ index = end_cmd+1
+ elif (output_line[next_index:next_index+26] == u'\\setlength{\\footrulewidth}'):
+ end_cmd = output_line.find('}', next_index+26)
+ result += u'\\renewcommand{\\footrulewidth}' + output_line[next_index+26:end_cmd+1]
+ index = end_cmd+1
+ elif (output_line[next_index:next_index+10] == u"\\epsffile{"):
+ result += output_line[index:next_index]
+ result += u'\\includegraphics'
+ size_options = u''
+ if (line_number - last_epsfxsize_line <= 3):
+ size_options = u'width=' + last_epsfxsize
+ if (line_number - last_epsfysize_line <= 3):
+ if (size_options != u''):
+ size_options += u','
+ size_options += u'height=' + last_epsfysize
+ if (size_options != u''):
+ result += u'[' + size_options + u']'
+ end_prn = output_line.find(u'.eps}', next_index+9)
+
+ if (end_prn != -1):
+ result += output_line[next_index+9:end_prn] + u'}'
+ index = end_prn+5
+ else:
+ end_prn = output_line.find(u'.ps}', next_index+9)
+ if (end_prn != -1):
+ result += output_line[next_index+9:end_prn] + u'}'
+ index = end_prn+4
+ else:
+ end_prn = output_line.find(u'}', next_index+9)
+ result += output_line[next_index+9:end_prn+1]
+ index = end_prn+1
+ # I assume all the parameter of \epsfxsize comes in one line
+ elif (output_line[next_index:next_index+11] == u"\\epsfxsize="):
+ end_size = read_size(output_line, next_index+11, line_len)
+ if (end_size != -1):
+ last_epsfxsize = output_line[next_index+11:end_size]
+ index = end_size
+ else:
+ index = next_index+11
+ last_epsfxsize_line = line_number
+ # I assume all the parameter of \epsfysize comes in one line
+ elif (output_line[next_index:next_index+11] == u"\\epsfysize="):
+ end_size = read_size(output_line, next_index+11, line_len)
+ if (end_size != -1):
+ last_epsfysize = output_line[next_index+11:end_size]
+ index = end_size
+ else:
+ index = next_index+11
+ last_epsfysize_line = line_number
+ elif (output_line[next_index:next_index+10] == u"\\LR{\\verb*"):
+ end_verb = output_line.find(output_line[next_index+10], next_index+11)
+ verb_param = output_line[next_index+11:end_verb]
+ if (is_alpha_numeric(verb_param)):
+ result += output_line[index:next_index]
+ result += u'\\lr{\\tt{}' + verb_param
+ else:
+ result += output_line[index:end_verb+1]
+ index = end_verb+1
+ elif (output_line[next_index:next_index+9] == u"\\LR{\\verb"):
+ end_verb = output_line.find(output_line[next_index+9], next_index+10)
+ verb_param = output_line[next_index+10:end_verb]
+ if (is_alpha_numeric_space(verb_param)):
+ result += output_line[index:next_index]
+ result += u'\\lr{\\tt{}' + verb_param
+ else:
+ result += output_line[index:end_verb+1]
+ index = end_verb+1
+ elif (output_line[next_index:next_index+6] == u"\\verb*"):
+ end_verb = output_line.find(output_line[next_index+6], next_index+7)
+ result += output_line[index:end_verb+1]
+ index = end_verb+1
+ elif (output_line[next_index:next_index+5] == u"\\verb"):
+ end_verb = output_line.find(output_line[next_index+5], next_index+6)
+ result += output_line[index:end_verb+1]
+ index = end_verb+1
+ elif (output_line[next_index:next_index+9] == u"\\pmatrix{"):
+ result += u'\\ftxepmatrix{'
+ index = next_index+9
+ elif (output_line[next_index:next_index+8] == u"\\matrix{"):
+ result += u'\\ftxematrix{'
+ index = next_index+8
+ elif (output_line[next_index:next_index+16] == u"\\begin{document}"):
+ result += u'\\begin{document}\n%\\VerbatimFootnotes'
+ index = next_index+16
+ elif (output_line[next_index:next_index+8] == u'\\label {'):
+ begin_param = next_index+8
+ end_param = output_line.find(u'}', begin_param)
+ param = convert_persian_to_english(output_line[begin_param:end_param])
+ result += output_line[index:begin_param-2]
+ result += u'{' + param + u'}'
+ index = end_param+1
+ elif (output_line[next_index:next_index+6] == u'\\ref {'):
+ begin_param = next_index+6
+ end_param = output_line.find(u'}', begin_param)
+ param = convert_persian_to_english(output_line[begin_param:end_param])
+ result += output_line[index:begin_param-2]
+ result += u'{' + param + u'}'
+ index = end_param+1
+ elif (output_line[next_index:next_index+7] == u'\\label{'):
+ begin_param = next_index+7
+ end_param = output_line.find(u'}', begin_param)
+ param = convert_persian_to_english(output_line[begin_param:end_param])
+ result += output_line[index:begin_param]
+ result += param + u'}'
+ index = end_param+1
+ elif (output_line[next_index:next_index+5] == u'\\ref{'):
+ begin_param = next_index+5
+ end_param = output_line.find(u'}', begin_param)
+ param = convert_persian_to_english(output_line[begin_param:end_param])
+ result += output_line[index:begin_param]
+ result += param + u'}'
+ index = end_param+1
+ elif (output_line[next_index:next_index+13] == u'\\multicolumn{'):
+ begin_param = next_index+13
+ end_param = output_line.find(u'}', begin_param)
+ param = convert_persian_to_english(output_line[begin_param:end_param])
+ result += output_line[index:begin_param]
+ result += param + u'}'
+ index = end_param+1
+ elif (output_line[next_index:next_index+12] == u'\\setcounter{'):
+ begin_num = output_line.find(u'{', next_index+12)
+ end_num = output_line.find(u'}', begin_num)
+ num = convert_persian_to_english(output_line[begin_num+1:end_num])
+ result += output_line[index:begin_num+1]
+ result += num + u'}'
+ index = end_num+1
+ elif (output_line[next_index:next_index+14] == u'\\addtocounter{'):
+ begin_num = output_line.find(u'{', next_index+14)
+ end_num = output_line.find(u'}', begin_num)
+ num = convert_persian_to_english(output_line[begin_num+1:end_num])
+ result += output_line[index:begin_num+1]
+ result += num + u'}'
+ index = end_num+1
+ else:
+ result += output_line[index:next_index+2]
+ index = next_index+2
+ #end while
+ return result
+
+###############################################
+# from here all functions are mainly used to
+# convert farsitex format to unicode
+###############################################
+
+def convert_file(f, of, convert_cmds):
+ global state
+ global line_number
+ global last_epsfysize_line
+ global last_epsfxsize_line
+ global last_epsfxsize
+ global last_epsfysize
+ global global_state
+
+ state = 0
+ line_number = 0
+ last_epsfysize_line = 0
+ last_epsfxsize_line = 0
+ last_epsfxsize = u''
+ last_epsfysize = u''
+
+ for line in f:
+ line_number += 1
+ print line_number,
+ output_line = u''
+ line_len = len(line)
+
+ # remove new-line characters from end of line
+ if (line_len>1 and line[line_len-1] == '\n'):
+ line_len-=1
+ if (line_len>1 and line[line_len-1] == '\r'):
+ line_len-=1
+
+ # check line-direction character
+ line_direction_rtl = (line[0] == '<')
+ if (line[0] != '>') and (line[0] != '<'):
+ print "FORMAT ERROR AT LINE: " + str(line_number)
+ exit(0)
+
+ i = 1
+
+ while (i<line_len):
+ next_part_index = ft_next_part(line, i, line_len)
+ next_part = line[i:next_part_index]
+ next_part_latin = (line[i]<chr(0x80))
+
+ # see if we should put \lr{...} for the current english expression
+ if (global_state == 0):
+ if line_direction_rtl and next_part_latin:
+ is_command_rtl = (next_part_latin and (i>1) and (line[i-1]==F_SLASH) )
+ is_parameter_rtl = (next_part_latin and (i>1) and (next_part_index<line_len) and (line[i-1]==F_AT_SIGN) and (line[next_part_index]==F_AT_SIGN) )
+ is_math_rtl = (next_part_latin and (line[i]=="$") and (line[next_part_index-1]=="$") )
+ is_verb_parameter = ( (line[i-6:i] == F_SLASH+"verb") and not isalpha(line[i]))
+ is_verb = (next_part_latin and (line[i:i+5]=='\\verb' or line[i:i+6]==' \\verb'))
+ is_english = (next_part_latin and (line[i:i+8]=='\\english'))
+
+ cmd_index = 0
+ while cmd_index < len(commands):
+ len_cmd = len(commands[cmd_index])+2
+ if ( (i > len_cmd) and (line[i-len_cmd:i] == F_SLASH+commands[cmd_index]+F_PRNT_OPEN) ):
+ break
+ elif ( (i > len_cmd+1) and (line[i-len_cmd-1:i] == F_SLASH+commands[cmd_index]+F_SPACE+F_PRNT_OPEN) ):
+ break
+ cmd_index += 1
+ is_commands_group = cmd_index < len(commands)
+ is_documentstyle_cmd = (line_len > 15) and (line[1:15] == F_SLASH+"documentstyle")
+
+ if next_part_latin:
+ if (global_state == 0):
+ # whether we should put a \lr{ command
+ if ( line_direction_rtl and not (is_command_rtl or is_parameter_rtl or is_math_rtl or is_commands_group or is_documentstyle_cmd or is_verb_parameter or is_verb or is_english) ):
+ output_line += u'\\lr{'
+ if ( line_direction_rtl and is_verb):
+ output_line += u'\\LR{'
+
+ # here is the main place that converting happens
+ output_line += next_part.encode( 'utf-8' )
+
+ if (global_state == 0):
+ # check whether we already used a \lr command: then end it
+ if ( line_direction_rtl and not (is_command_rtl or is_parameter_rtl or is_math_rtl or is_commands_group or is_documentstyle_cmd or is_verb_parameter or is_verb or is_english) ):
+ output_line += u'}'
+ if ( line_direction_rtl and is_verb):
+ output_line += u'}'
+ else:
+ if (global_state == 0):
+ # whether we should put a \rl{} command
+ if ( not line_direction_rtl and not ft_is_all_persian_space(next_part)):
+ output_line += u'\\rl{'
+
+ # here is the main place that converting happens
+ output_line += map_ft_unicode(next_part)
+
+ if (global_state == 0):
+ # check whether we already used a \rl command: then end it
+ if (not line_direction_rtl and not ft_is_all_persian_space(next_part)):
+ output_line += u'}'
+
+ i = next_part_index
+ # end of while
+
+ #if there was a % commenting then we can return to normal situation
+ if (global_state == 1):
+ global_state = 0
+
+ # convert some of the FarsiTeX commands to XePersian commands
+ # only if it is requested
+ if (convert_cmds):
+ result = translate_cmds(output_line)
+ else:
+ result = output_line
+ output_line = result + u'\n'
+ # write the processed line
+ of.write(output_line)
+ # end of line processing
+ # end of file processing
+
+def print_usage():
+ print 'usage: python ftxe-0-11 [-r] [-s] [-x] [-u] in_filename1 in_filename2'
+ print '-r: (DEFAULT) recursively consider files included in the given files'
+ print '-s: do not recursively consider files'
+ print '-x: (DEFAULT) insert xepersian related commands'
+ print '-u: only convert to unicode'
+
+###################################
+# Begin of main body of the program
+###################################
+
+# global variables
+line_number = 0
+last_epsfxsize = u''
+last_epsfxsize_line = 0
+last_epsfysize = u''
+last_epsfysize_line = 0
+state = 0
+global_state = 0
+recursive = 1
+convert_xepersian = 1
+filename = ''
+
+if len(sys.argv) <= 1:
+ print_usage()
+ exit(0)
+
+#find options
+options_index = 1
+while (options_index < len(sys.argv) and sys.argv[options_index][0]=='-'):
+ if (sys.argv[options_index]=='-s'):
+ recursive = 0
+ elif (sys.argv[options_index]=='-u'):
+ convert_xepersian = 0
+ options_index += 1
+
+filenames = []
+while (options_index < len(sys.argv)):
+ filenames.append(sys.argv[options_index])
+ options_index += 1
+
+if (len(filenames) == 0):
+ print 'error: no input filename is specified!'
+ print_usage()
+ exit(0)
+
+index = 0
+while (index < len(filenames)):
+ filename = filenames[index]
+ index += 1
+
+ outfile = ''
+ if (filename[-4:] != '.tex'):
+ outfile = filename[0:-3] + 'tex'
+ else:
+ outfile = filename + '.tex'
+
+ print '\n\nConverting "' + filename + '" into "' + outfile + '"'
+ try:
+ f = open(filename, 'r')
+ except IOError:
+ print "Can not open the input file: " + filename
+ exit(0)
+
+ try:
+ of = codecs.open(outfile, encoding='utf-8', mode='w')
+ except IOError:
+ print "Can not open the output file: " + outfile
+ exit(0)
+
+ convert_file(f, of, convert_xepersian)
+
+ of.close()
+ f.close()
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/img/ireland.jpg b/Master/texmf-dist/doc/xelatex/xepersian/img/ireland.jpg
new file mode 100755
index 00000000000..bacd5b97700
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/img/ireland.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/img/weather/clouds.jpg b/Master/texmf-dist/doc/xelatex/xepersian/img/weather/clouds.jpg
new file mode 100755
index 00000000000..b4073a07231
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/img/weather/clouds.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/img/weather/rain.jpg b/Master/texmf-dist/doc/xelatex/xepersian/img/weather/rain.jpg
new file mode 100755
index 00000000000..f33b75e7a0c
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/img/weather/rain.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/img/weather/sun.jpg b/Master/texmf-dist/doc/xelatex/xepersian/img/weather/sun.jpg
new file mode 100755
index 00000000000..1e823100386
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/img/weather/sun.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex b/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
new file mode 100644
index 00000000000..c77537951e5
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
@@ -0,0 +1,173 @@
+
+\documentclass[12pt,twoside]{xepersian-magazine}
+\usepackage{graphicx}
+\usepackage{xltxtra}
+\usepackage{amsmath}
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}
+\setlatintextfont[Scale=1]{Junicode}
+\setdigitfont{XB Zar}
+\pagestyle{fancy}
+\title{مجلهٔ زی‌پرشین}
+\author{وفا خلیقی}
+\edition{جلد اول}
+\customlogo{مجلهٔ زی‌پرشین}
+\customminilogo{مجلهٔ زی‌پرشین}
+\custommagazinename{مجلهٔ زی‌پرشین}
+\customwwwTxt{http://google.com}
+\begin{document}
+\begin{frontpage}
+\firstimage{img/ireland.jpg}{این زیرنویس تصویر اصلی در صفحهٔ اول است.}
+\firstarticle{این تیتر مقالهٔ اول است.}
+{خوب این قسمت کوچکی از مقالهٔ اول است که ما در حال نوشتن آن هستم. باید یک مقدار بنویسیم تا مقداری این قسمت پر شود تا بتوانیم چیز قشنگی داشته باشیم. دقت کنیم که بصورت انتخابی حتی می‌توانیم زمان را هم درج کنیم که در سمت راست قرار می‌گیرد.}%
+{۱۲:۳۴}
+\secondarticle{این هم سر تیتر مقالهٔ دوم است.}%
+{این هم زیر تیتر مقالهٔ دوم است که آن را در اینجا می‌نویسیم.}%
+{خوب این قسمت کوچکی از مقالهٔ اول است که ما در حال نوشتن آن هستم. باید یک مقدار بنویسیم تا مقداری این قسمت پر شود تا بتوانیم چیز قشنگی داشته باشیم. دقت کنیم که بصورت انتخابی حتی می‌توانیم زمان را هم درج کنیم که در سمت راست قرار می‌گیرد.}%
+{قسمت الف}%
+{۱۰:۲۳}
+
+\thirdarticle{این سرتیتر مقالهٔ سوم است.}%
+{این هم زیرتیتر مقالهٔ سوم است که ما آن را در اینجا قرار می‌دهیم.}%
+{خوب این قسمت کوچکی از مقالهٔ اول است که ما در حال نوشتن آن هستم. باید یک مقدار بنویسیم تا مقداری این قسمت پر شود تا بتوانیم چیز قشنگی داشته باشیم. دقت کنیم که بصورت انتخابی حتی می‌توانیم زمان را هم درج کنیم که در سمت راست قرار می‌گیرد. و همانطور که می‌بینید من مطلبی برای گفتن ندارم فقط متن علکی می‌نویسم تا کمی صفحه را پر کرده باشم. اما در قسمتهای بعدی مقداری از سهراب سپهری خواهم نوشت.}%
+
+{قسمت ب}%
+{۱۰:۰۲}
+
+\begin{indexblock}{نمایه (فهرست مطالب) اصلی}
+\indexitem{۱- مقاله اول}{1}
+
+\indexitem{۲- مقاله دوم}{3}
+
+\indexitem{۳- مقاله سوم}{3}
+
+\indexitem{۴- مقاله چهارم}{5}
+\end{indexblock}
+
+\begin{weatherblock}{وضع آب و هوا}
+\weatheritem{img/weather/rain.jpg}{امروز}{13}{9}{}
+\weatheritem{img/weather/sun.jpg}{فردا}{15}{1}{}
+\weatheritem{img/weather/clouds.jpg}{جمعه}{12}{6}{}
+\end{weatherblock}
+
+\begin{authorblock}
+\textbf{ویرایشگران}
+
+وفا خلیقی، مهدی امیدعلی و مصطفی واحدی
+
+\texttt{persiantexdev@gmail.com\\[5pt]
+http://google.com}\\
+\end{authorblock}
+\end{frontpage}
+\newsection{قسمت الف}
+\begin{article}{2}
+{این تیتر این مقاله است.}
+{این هم زیرتیتر این مقاله هست.}
+{قسمت الف}
+{1}
+\authorandplace{نام نویسنده}{مکان}
+
+\noindent\timestamp{۸:۲۵}
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+\footnote{این یک زیرنویس فارسی است.}\LTRfootnote{This is an English footnote.}
+\begin{equation}
+(a+b)^3=a^3+3a^2b+3ab^2+b^3\label{eq-1}
+\end{equation}
+این معادلهٔ \eqref{eq-1} است.
+\columntitle{lines}{این را برای مهم یا نشان دادن حرفی مهم در این مجله انجام می‌دهیم.}
+
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+\end{article}
+
+\articlesep
+
+\begin{article}{2}
+{این تیتر این مقاله است.}
+{این هم زیرتیتر این مقاله هست.}
+{قسمت الف}
+{1}
+\authorandplace{نام نویسنده}{مکان}
+
+\noindent\timestamp{08:25}
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+\LTRfootnote{This is an English footnote.}\footnote{این یک زیرنویس فارسی است.}
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+
+\expandedtitle{doublebox}{این هم مطلی است مهم یا چیزی که از خلاصهٔ این مقاله ما متوجه شده‌ایم و این برای ما و خوانندگان خیلی مهم است.}
+
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+\end{article}
+
+\articlesep
+
+\newsection{قسمت ب}
+
+\begin{article}{2}
+{این یک تیتر کوتاه است.وفا خلیقی}
+{این هم مثل همیشه زیرتیتر است که ما آن را در اینجا قرار می‌دهیم.}
+{قسمت ب}
+{3}
+
+\authorandplace{نام نویسنده}{مکان}
+
+\noindent\timestamp{08:25} et ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+
+\expandedtitle{lines}{این هم دوباره مطلب مهمی است که ما آن را از لابلای این مقاله برای خواننده درست کرده‌ایم.}
+
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+\end{article}
+
+\articlesep
+
+\begin{editorial}{1}{این یک مثال از مقاله‌ای از طرف ویرایشگر است.}{نام و نام خانوادگی}{4}
+يژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+\end{editorial}
+
+\articlesep
+
+\begin{shortarticle}{4}{محیط مقالهٔ کوتاه}{محیط مقالهٔ کوتاه داخل مجلهٔ زی‌پرشین}{5}
+\shortarticleitem{این یک تیتر کوتاه است}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\shortarticleitem{یک تیتر کوتاه دیگر}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\shortarticleitem{یک تیتر کوتاه دیگر}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\shortarticleitem{یک تیتر کوتاه دیگر}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\shortarticleitem{یک تیتر کوتاه دیگر}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\shortarticleitem{یک تیتر کوتاه دیگر}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\end{shortarticle}
+
+\articlesep
+
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex b/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex
new file mode 100644
index 00000000000..cf4790ad118
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex
@@ -0,0 +1,39 @@
+
+\documentclass{article}
+\usepackage[correction]{xepersian-multiplechoice}
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}
+\setdigitfont[Scale=1]{XB Zar}
+\begin{document}
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\false $\{(3,2),(3,3)\} $
+\true $\{(2,2),(2,3)\} $
+\false $\{(2,3),(3,3)\} $
+\false $\{(2,2),(3,2)\} $
+\end{question}
+
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\true $x$
+\false $y$
+\false $z$
+\false $t$
+\end{question}
+
+\begin{question}{مجموعه‎ $(B-A^{'})^{'}$ ‎برابر است با:}
+\false $B^{'}\bigcap A$
+\false $B'\bigcup A' $
+\true $A$
+\false هیچکدام.
+\end{question}
+
+\begin{question}{صورت متعارفی عدد مختلط ‎$\frac{7+i}{1-i}$‎ کدام است.}
+\false $4+4i$
+\false $4-3i$
+\false $3+4i$
+\true $3-3i$
+\end{question}
+\begin{correction}
+جواب درست یکی از اینها است.
+\end{correction}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex b/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex
new file mode 100644
index 00000000000..0ec62255d52
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex
@@ -0,0 +1,43 @@
+
+\documentclass{article}
+\usepackage{xepersian-multiplechoice}
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}
+\setdigitfont[Scale=1]{XB Zar}
+\begin{document}
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\false $\{(3,2),(3,3)\} $
+\true $\{(2,2),(2,3)\} $
+\false $\{(2,3),(3,3)\} $
+\false $\{(2,2),(3,2)\} $
+\end{question}
+
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\true $x$
+\false $y$
+\false $z$
+\false $t$
+\end{question}
+
+\begin{question}{مجموعه‎ $(B-A^{'})^{'}$ ‎برابر است با:}
+\false $B^{'}\bigcap A$
+\false $B'\bigcup A' $
+\true $A$
+\false هیچکدام.
+\end{question}
+
+\begin{question}{صورت متعارفی عدد مختلط ‎$\frac{7+i}{1-i}$‎ کدام است.}
+\false $4+4i$
+\false $4-3i$
+\false $3+4i$
+\true $3-3i$
+\end{question}
+\begin{correction}
+جواب درست یکی از اینها است.
+\end{correction}
+\bigskip
+
+\begin{center}
+\makeform
+\end{center}
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex b/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex
new file mode 100644
index 00000000000..7731c4253f9
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex
@@ -0,0 +1,39 @@
+
+\documentclass{article}
+\usepackage{xepersian-multiplechoice}
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}
+\setdigitfont[Scale=1]{XB Zar}
+\begin{document}
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\false $\{(3,2),(3,3)\} $
+\true $\{(2,2),(2,3)\} $
+\false $\{(2,3),(3,3)\} $
+\false $\{(2,2),(3,2)\} $
+\end{question}
+
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\true $x$
+\false $y$
+\false $z$
+\false $t$
+\end{question}
+
+\begin{question}{مجموعه‎ $(B-A^{'})^{'}$ ‎برابر است با:}
+\false $B^{'}\bigcap A$
+\false $B'\bigcup A' $
+\true $A$
+\false هیچکدام.
+\end{question}
+
+\begin{question}{صورت متعارفی عدد مختلط ‎$\frac{7+i}{1-i}$‎ کدام است.}
+\false $4+4i$
+\false $4-3i$
+\false $3+4i$
+\true $3-3i$
+\end{question}
+\begin{correction}
+جواب درست یکی از اینها است.
+\end{correction}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex b/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex
new file mode 100644
index 00000000000..ff8cb694c9e
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex
@@ -0,0 +1,43 @@
+
+\documentclass{article}
+\usepackage{xepersian-multiplechoice}
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}
+\setdigitfont[Scale=1]{XB Zar}
+\begin{document}
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\false $\{(3,2),(3,3)\} $
+\true $\{(2,2),(2,3)\} $
+\false $\{(2,3),(3,3)\} $
+\false $\{(2,2),(3,2)\} $
+\end{question}
+
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\true $x$
+\false $y$
+\false $z$
+\false $t$
+\end{question}
+
+\begin{question}{مجموعه‎ $(B-A^{'})^{'}$ ‎برابر است با:}
+\false $B^{'}\bigcap A$
+\false $B'\bigcup A' $
+\true $A$
+\false هیچکدام.
+\end{question}
+
+\begin{question}{صورت متعارفی عدد مختلط ‎$\frac{7+i}{1-i}$‎ کدام است.}
+\false $4+4i$
+\false $4-3i$
+\false $3+4i$
+\true $3-3i$
+\end{question}
+\begin{correction}
+جواب درست یکی از اینها است.
+\end{correction}
+
+\bigskip
+\begin{center}
+\makemask
+\end{center}
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-logo.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-logo.pdf
new file mode 100755
index 00000000000..700321cee9a
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-logo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-logo.tex b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-logo.tex
new file mode 100644
index 00000000000..2eaf556506c
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-logo.tex
@@ -0,0 +1,705 @@
+
+\documentclass{article}
+\usepackage{pstricks}
+\pagestyle{empty}
+\begin{document}
+\psset{xunit=.5pt,yunit=.5pt,runit=.5pt}
+\begin{pspicture}(644,645)
+{
+\newrgbcolor{curcolor}{0.13725491 0.12156863 0.1254902}
+\pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
+{
+\newpath
+\moveto(279.26972,573.224136)
+\curveto(292.82326,550.186122)(301.06715,519.27798)(301.06715,486.79581)
+\curveto(301.06715,480.6428)(300.7877,474.48979)(300.08907,468.33678)
+\curveto(311.68642,456.17386)(321.04814,442.86618)(327.61532,432.42037)
+\curveto(329.85095,444.29711)(330.96876,456.74622)(330.96876,469.05224)
+\curveto(330.96876,521.28128)(312.10561,574.511975)(282.34373,600.268762)
+\curveto(268.92991,604.418465)(258.86957,601.699694)(255.51611,600.554948)
+\curveto(264.59837,593.972658)(272.56282,584.528503)(279.26972,573.224136)
+\closepath
+\moveto(294.63971,612.431688)
+\curveto(318.67278,610.714569)(343.82366,597.120709)(362.96628,572.222483)
+\curveto(382.1089,547.324257)(395.38298,512.69569)(395.38298,473.48814)
+\curveto(395.38298,430.56016)(379.45409,385.05651)(338.23458,338.5512)
+\curveto(347.17712,337.97882)(355.70047,334.54459)(361.84847,329.39323)
+\curveto(363.38546,329.67941)(364.92246,329.82251)(366.45946,329.82251)
+\lineto(367.43755,329.82251)
+\curveto(407.67897,367.88532)(423.46813,414.39062)(423.46813,459.3219)
+\curveto(423.46813,501.39132)(409.49542,541.88671)(388.39662,571.793203)
+\curveto(367.43755,601.699694)(339.63185,620.731097)(312.38506,620.588004)
+\curveto(302.88361,620.588004)(284.57936,615.865926)(275.35736,610.857662)
+\curveto(276.056,610.714569)(283.60126,613.147154)(294.63971,612.431688)
+\closepath
+\moveto(392.86789,574.798161)
+\curveto(414.52559,544.033112)(428.77777,502.53607)(428.91749,459.3219)
+\curveto(428.91749,414.39062)(413.40778,367.45603)(374.28417,328.96395)
+\curveto(382.6678,327.10373)(390.07335,322.52475)(394.54462,316.51483)
+\curveto(395.10352,315.65628)(395.66243,314.79772)(396.08162,313.93915)
+\curveto(440.79429,353.57599)(458.26019,401.94151)(458.26019,449.30538)
+\curveto(458.26019,496.52616)(440.65457,542.60218)(414.80505,576.801467)
+\curveto(389.09525,611.000755)(355.28129,633.037117)(323.4235,632.894024)
+\curveto(308.61243,632.894024)(293.94107,628.171946)(280.52727,617.439952)
+\curveto(290.86708,623.163682)(301.62607,625.882454)(312.38506,625.882454)
+\curveto(342.14693,625.739361)(371.21018,605.420119)(392.86789,574.798161)
+\closepath
+\moveto(267.11347,620.731097)
+\curveto(259.14902,621.589657)(250.90511,621.446564)(242.66121,620.158724)
+\curveto(249.64758,620.158724)(256.35448,618.870884)(262.78193,616.438299)
+\curveto(264.03946,617.869232)(265.43674,619.443258)(267.11347,620.731097)
+\closepath
+\moveto(233.57895,569.503711)
+\curveto(241.82285,555.337479)(246.7133,537.16464)(246.7133,519.99345)
+\curveto(246.7133,515.55755)(246.43385,511.12166)(245.73522,506.97196)
+\curveto(252.58184,503.8239)(260.26683,499.81729)(268.65046,494.37975)
+\curveto(268.92991,497.81399)(269.06965,501.24822)(269.06965,504.82556)
+\curveto(269.06965,527.14811)(263.06138,551.044682)(252.8613,569.217525)
+\curveto(242.66121,587.533462)(228.54878,599.696389)(212.61988,599.696389)
+\curveto(205.77325,599.696389)(198.50744,597.406897)(190.82244,592.398633)
+\curveto(193.89645,593.400285)(196.97044,593.829565)(199.90471,593.829565)
+\curveto(213.7377,593.829565)(225.47477,583.669944)(233.57895,569.503711)
+\closepath
+\moveto(255.93529,570.934644)
+\curveto(266.41482,552.046334)(272.56282,527.72048)(272.56282,504.82556)
+\curveto(272.56282,500.53277)(272.28337,496.38306)(271.86419,492.23335)
+\curveto(276.75464,488.9422)(281.92455,485.07869)(287.23417,480.78589)
+\curveto(290.72736,477.92403)(293.94107,474.91907)(297.01508,471.77102)
+\curveto(297.43426,476.77928)(297.71371,481.93064)(297.71371,486.9389)
+\curveto(297.71371,518.7056)(289.60953,549.184469)(276.33546,571.507017)
+\curveto(263.06138,593.829565)(245.03657,607.995797)(225.19532,607.995797)
+\curveto(217.65006,607.995797)(209.68561,605.992491)(201.58143,601.413507)
+\curveto(205.35407,602.558254)(209.1267,603.130627)(212.7596,603.130627)
+\curveto(230.50496,603.130627)(245.45576,589.67986)(255.93529,570.934644)
+\closepath
+\moveto(217.92951,516.98848)
+\curveto(223.23914,515.27137)(231.7625,512.98187)(242.38176,508.40289)
+\curveto(242.94066,512.12332)(243.22013,515.98683)(243.22013,519.99345)
+\curveto(243.22013,536.44917)(238.4694,554.192733)(230.64468,567.786592)
+\curveto(222.81996,581.380452)(211.92124,590.395327)(199.90471,590.252234)
+\curveto(193.05808,590.252234)(185.51282,587.390368)(177.54837,580.235706)
+\curveto(201.44171,591.110793)(229.38714,561.490489)(217.92951,516.98848)
+\closepath
+\moveto(254.81748,601.270414)
+\curveto(255.51611,603.416813)(257.19284,608.425077)(260.54629,613.433341)
+\curveto(254.81748,615.436646)(248.80921,616.581392)(242.52149,616.581392)
+\curveto(234.27758,616.581392)(225.6145,614.72118)(216.53224,610.571476)
+\curveto(219.4665,611.143849)(222.40078,611.430035)(225.19532,611.430035)
+\curveto(235.81458,611.430035)(245.73522,607.709611)(254.81748,601.270414)
+\closepath
+\moveto(471.11508,572.93795)
+\curveto(474.18909,569.360618)(476.56445,566.35566)(479.35899,562.492141)
+\curveto(480.61653,566.784939)(483.41107,571.220831)(483.41107,575.370534)
+\curveto(489.00016,571.65011)(498.22215,569.932991)(503.25233,563.923074)
+\lineto(503.53178,563.923074)
+\curveto(513.45241,578.2324)(538.18412,565.210913)(532.87448,550.758494)
+\lineto(531.19775,547.610443)
+\curveto(528.40321,543.46074)(524.91003,541.88671)(521.69631,541.74362)
+\curveto(517.36477,541.88671)(513.87159,544.605485)(513.87159,549.613749)
+\curveto(513.87159,551.760148)(514.57023,553.62036)(515.40859,555.051292)
+\curveto(516.38668,556.339132)(517.5045,557.054598)(518.48258,557.054598)
+\curveto(519.32095,557.054598)(520.15931,556.768412)(521.13741,555.623665)
+\curveto(522.25522,554.478919)(522.53467,553.62036)(522.53467,553.047986)
+\curveto(522.53467,552.475614)(522.25522,551.760148)(521.69631,551.330868)
+\curveto(521.13741,550.901589)(520.43876,550.615401)(520.15931,550.615401)
+\lineto(520.01958,550.615401)
+\curveto(519.18123,550.329215)(518.0634,550.758494)(517.64422,549.899935)
+\curveto(517.22505,549.041376)(517.5045,547.896629)(518.34286,547.46735)
+\lineto(518.34286,547.46735)
+\curveto(518.90177,547.181163)(519.46068,547.03807)(520.01958,547.03807)
+\curveto(522.6744,547.181163)(525.7484,549.327562)(525.88813,553.047986)
+\curveto(525.88813,554.765106)(525.04976,556.482225)(523.51277,558.05625)
+\curveto(521.97577,559.630277)(520.15931,560.488836)(518.34286,560.488836)
+\curveto(513.45241,560.345743)(510.23869,555.194385)(510.23869,549.613749)
+\curveto(510.23869,546.17951)(511.49623,543.17455)(513.73186,541.17125)
+\curveto(515.82777,539.16794)(518.62232,538.16629)(521.69631,538.16629)
+\lineto(521.69631,538.16629)
+\curveto(525.46895,538.16629)(529.52104,540.0265)(532.73476,543.74693)
+\curveto(549.08284,522.56913)(548.52392,496.23996)(542.65539,484.36322)
+\curveto(609.44496,556.768412)(518.76205,609.283636)(471.11508,572.93795)
+\closepath
+\moveto(462.03282,238.95829)
+\curveto(488.30152,268.00622)(515.12914,307.64306)(522.53467,367.16985)
+\curveto(523.79222,377.47256)(524.35113,387.48909)(524.35113,397.50562)
+\curveto(524.35113,410.5271)(523.37304,423.2624)(521.41686,435.71152)
+\lineto(521.41686,431.41872)
+\curveto(521.41686,365.30964)(491.93443,303.63644)(441.63266,263.99961)
+\lineto(441.63266,262.28249)
+\curveto(441.63266,261.28083)(441.63266,260.27918)(441.49294,259.42063)
+\curveto(448.19984,253.26761)(453.09029,243.53727)(453.09029,231.94672)
+\curveto(453.09029,231.08816)(453.09029,230.2296)(452.95056,229.37104)
+\curveto(456.02455,232.376)(458.95883,235.52405)(462.03282,238.95829)
+\closepath
+\moveto(490.81662,567.214219)
+\curveto(489.27962,568.072778)(487.60289,568.645152)(485.92616,569.503711)
+\curveto(485.50698,567.357312)(484.94808,566.641846)(484.24944,564.495447)
+\curveto(483.5508,562.635235)(482.99189,560.488836)(482.57272,558.771717)
+\curveto(486.6248,553.62036)(489.27962,549.756842)(491.51525,546.17951)
+\curveto(492.49334,544.319298)(496.26597,536.87845)(500.59751,528.43595)
+\curveto(505.48796,518.7056)(511.07705,507.54433)(513.31268,502.24988)
+\curveto(513.59214,501.53442)(514.29077,501.24822)(514.84968,501.24822)
+\curveto(515.12914,501.24822)(515.26886,501.24822)(515.54832,501.39132)
+\curveto(516.38668,501.8206)(516.80587,502.82225)(516.38668,503.68082)
+\curveto(512.75378,512.26641)(501.43588,534.44586)(496.54542,543.89002)
+\curveto(496.68515,550.329215)(498.08243,556.052946)(500.31806,560.631929)
+\curveto(497.66325,563.350702)(494.30979,565.497101)(490.81662,567.214219)
+\closepath
+\moveto(447.92039,580.235706)
+\curveto(475.86581,544.462392)(495.98652,497.67089)(495.98652,447.01589)
+\curveto(495.98652,396.07468)(475.44662,341.41306)(422.49004,290.90114)
+\curveto(422.7695,290.18568)(422.90922,289.6133)(423.18868,288.89783)
+\curveto(429.61613,286.46525)(434.22712,282.31554)(437.1614,277.87966)
+\curveto(438.97784,275.16088)(440.09566,272.29902)(440.79429,269.72334)
+\curveto(491.09607,307.92924)(516.38668,365.882)(516.38668,431.56181)
+\curveto(516.38668,446.30042)(514.84968,461.18212)(511.77568,476.06382)
+\curveto(499.89888,512.12332)(480.61653,544.176205)(457.56155,570.219177)
+\curveto(454.34783,573.653416)(451.1341,576.94456)(447.92039,580.235706)
+\closepath
+\moveto(527.00594,317.65958)
+\curveto(525.88813,317.65958)(524.7703,317.65958)(523.65249,317.80268)
+\curveto(520.15931,307.35687)(515.9675,297.48343)(511.3565,288.46856)
+\curveto(533.9923,296.91106)(556.34864,306.78449)(571.15972,325.8159)
+\curveto(598.96542,361.44612)(599.80378,437.28555)(532.87448,440.43359)
+\curveto(533.85258,434.70987)(534.55121,428.98614)(535.11012,423.11931)
+\lineto(535.11012,423.11931)
+\curveto(535.11012,423.11931)(535.94849,416.39393)(536.08821,411.52876)
+\curveto(538.18412,407.37905)(539.02248,403.65862)(539.02248,400.22439)
+\curveto(539.02248,395.9316)(537.6252,391.92498)(535.38957,388.20456)
+\lineto(535.38957,382.19463)
+\curveto(539.44166,387.34599)(542.51566,393.21282)(542.51566,400.22439)
+\curveto(542.51566,404.66027)(540.69921,410.09783)(537.76493,415.24918)
+\curveto(537.76493,415.24918)(537.6252,415.67846)(537.90465,416.10774)
+\curveto(544.47184,424.26406)(551.59792,427.41211)(562.35691,426.98283)
+\curveto(565.01172,422.40385)(565.15145,411.81494)(565.01172,405.23265)
+\curveto(551.59792,400.08129)(547.96501,389.63549)(548.10474,379.18968)
+\curveto(548.10474,369.45933)(550.75955,359.29971)(550.75955,351.00031)
+\curveto(550.75955,345.84896)(549.78147,341.69925)(546.98693,338.83738)
+\curveto(546.28828,338.12192)(546.28828,336.97717)(546.98693,336.40479)
+\curveto(547.26638,336.11861)(547.82529,335.83242)(548.24447,335.83242)
+\curveto(548.66364,335.83242)(549.08284,335.97552)(549.50201,336.40479)
+\curveto(553.27465,340.26832)(554.39246,345.56276)(554.39246,351.00031)
+\curveto(554.39246,359.87209)(551.73765,370.03171)(551.73765,379.18968)
+\curveto(551.87737,389.49239)(553.27465,398.22108)(566.68845,402.94316)
+\curveto(566.96791,403.08626)(568.92409,403.08626)(569.48299,403.08626)
+\curveto(578.56525,402.80007)(585.9708,392.92663)(585.9708,392.92663)
+\curveto(559.84182,395.35922)(592.81743,317.65958)(527.00594,317.65958)
+\closepath
+\moveto(152.39748,502.39297)
+\lineto(152.39748,499.53111)
+\lineto(152.39748,499.24492)
+\lineto(152.39748,498.95874)
+\curveto(152.39748,498.81564)(152.25775,498.10017)(151.9783,496.95543)
+\curveto(158.82493,498.38636)(166.50993,499.10184)(175.03328,499.10184)
+\curveto(221.14323,499.10184)(287.65335,475.49144)(319.93032,397.21943)
+\curveto(323.56323,401.79841)(327.0564,406.3774)(330.27013,411.24257)
+\lineto(329.85095,411.67185)
+\curveto(324.40159,421.68838)(306.51652,453.31198)(281.92455,473.63122)
+\curveto(268.09155,485.07869)(255.51611,492.51953)(244.89685,497.52781)
+\curveto(214.2966,511.12166)(181.74018,514.98518)(151.69885,513.55425)
+\curveto(152.39748,509.97691)(152.39748,506.39958)(152.39748,502.39297)
+\closepath
+\moveto(418.99686,579.806425)
+\curveto(445.40529,544.748578)(463.4301,497.67089)(463.4301,449.16228)
+\curveto(463.4301,401.22604)(445.68475,351.71577)(401.25152,311.36347)
+\curveto(406.28169,309.64636)(410.75296,306.49831)(414.24614,303.06406)
+\curveto(416.48178,300.77458)(418.43796,298.34199)(419.97496,295.76631)
+\curveto(471.25481,345.13348)(490.67689,397.7918)(490.67689,446.87279)
+\curveto(490.67689,500.24657)(467.62191,549.470656)(436.60248,585.530156)
+\curveto(428.07912,595.403591)(418.99686,604.275372)(409.63515,611.859316)
+\curveto(382.6678,629.745972)(354.58265,639.7625)(330.27013,639.7625)
+\curveto(319.93032,639.7625)(310.42888,638.0453809)(301.62607,634.4680495)
+\curveto(308.75215,636.7575417)(316.15769,637.9022876)(323.56323,637.9022876)
+\curveto(357.79638,638.0453809)(392.58844,614.864274)(418.99686,579.806425)
+\closepath
+\moveto(273.68064,329.25013)
+\curveto(276.89436,330.25178)(279.96837,330.82416)(283.04236,330.82416)
+\curveto(284.29991,330.82416)(285.55744,330.68106)(286.67527,330.53798)
+\curveto(288.9109,332.97056)(291.84517,334.68768)(294.77943,335.97552)
+\curveto(299.39044,337.83573)(304.56034,338.83738)(309.73024,338.83738)
+\curveto(314.62069,338.69429)(319.37142,338.12192)(323.56323,335.83242)
+\curveto(327.0564,337.54954)(330.82904,338.4081)(334.60167,338.69429)
+\curveto(375.12254,384.91341)(390.3528,431.99109)(390.3528,473.63122)
+\curveto(390.3528,511.69404)(377.4979,545.177858)(359.05392,569.074432)
+\curveto(343.96339,588.678208)(317.69469,607.280331)(293.52189,607.566518)
+\curveto(305.11924,603.416813)(318.95224,601.413507)(338.37431,574.082695)
+\curveto(355.00183,550.472308)(367.717,516.98848)(367.717,484.50632)
+\curveto(367.717,471.05555)(365.48137,457.31859)(360.59092,443.86784)
+\curveto(346.75794,406.52049)(323.28378,381.0499)(299.53016,356.43785)
+\curveto(290.72736,347.42298)(282.06427,338.5512)(273.68064,329.25013)
+\closepath
+\moveto(352.06756,457.89097)
+\curveto(364.36356,530.29616)(320.20977,578.518587)(296.59589,593.686471)
+\curveto(294.77943,594.831218)(292.96299,595.83287)(291.14653,596.834523)
+\curveto(318.11387,568.358966)(334.32222,518.41942)(334.46195,469.19534)
+\curveto(334.46195,455.31529)(333.2044,441.43524)(330.40986,428.12758)
+\curveto(332.36604,424.83643)(334.04277,421.97457)(335.3003,419.68507)
+\curveto(340.60994,428.41376)(345.22094,437.85791)(348.99357,448.16063)
+\curveto(350.25111,451.30868)(351.22921,454.59983)(352.06756,457.89097)
+\closepath
+\moveto(234.97623,274.30233)
+\lineto(234.97623,274.30233)
+\lineto(234.97623,274.30233)
+\lineto(234.97623,274.30233)
+\closepath
+\moveto(425.42431,202.18332)
+\curveto(428.77777,205.47447)(429.75585,207.33468)(433.66821,211.77057)
+\lineto(436.32303,215.77718)
+\lineto(437.02167,217.20812)
+\curveto(439.95594,222.50256)(440.93402,227.36774)(440.93402,231.94672)
+\curveto(441.07375,241.10469)(436.04357,248.68863)(431.43258,251.69359)
+\lineto(427.10104,254.55546)
+\lineto(429.19695,259.42063)
+\lineto(429.19695,259.56372)
+\curveto(429.19695,259.70681)(429.33667,259.8499)(429.33667,260.1361)
+\curveto(429.4764,260.70846)(429.4764,261.42393)(429.4764,262.28249)
+\curveto(429.4764,264.85817)(428.77777,268.14932)(426.96131,271.01118)
+\curveto(425.00513,273.87305)(422.07087,276.59181)(416.20232,278.16584)
+\lineto(411.73106,279.31059)
+\lineto(411.73106,284.03267)
+\curveto(411.87078,285.4636)(409.9146,290.47186)(406.00224,294.04919)
+\curveto(402.08988,297.91272)(397.0597,300.4884)(392.02953,300.4884)
+\lineto(386.02126,300.4884)
+\lineto(386.02126,306.78449)
+\curveto(386.02126,306.78449)(385.88153,307.64306)(385.04316,308.7878)
+\curveto(384.20481,309.93254)(382.6678,311.50657)(380.71162,312.7944)
+\curveto(376.79927,315.37008)(371.34991,317.37339)(366.73892,317.37339)
+\curveto(365.06219,317.37339)(363.52519,317.08721)(362.12792,316.65793)
+\lineto(358.63474,315.51318)
+\lineto(356.11965,318.08886)
+\curveto(352.20729,322.23857)(343.82366,326.10208)(336.55785,326.10208)
+\curveto(332.78522,326.10208)(329.43177,325.24352)(326.77695,323.24022)
+\lineto(322.58513,320.23526)
+\lineto(318.95224,323.95569)
+\curveto(318.25359,324.95734)(314.34124,326.38827)(309.73024,326.38827)
+\curveto(306.09734,326.38827)(302.18498,325.6728)(299.39044,324.52805)
+\curveto(296.45616,323.38331)(295.0589,321.66619)(295.0589,321.38001)
+\lineto(292.82326,315.51318)
+\lineto(287.09445,317.80268)
+\curveto(286.11635,318.23196)(284.71909,318.51814)(283.04236,318.51814)
+\curveto(277.59299,318.51814)(270.46691,315.65628)(266.69428,308.50161)
+\lineto(265.01756,305.35356)
+\lineto(254.11884,305.35356)
+\curveto(247.13248,295.90941)(240.70503,285.60669)(235.11595,274.30233)
+\lineto(235.11595,274.30233)
+\lineto(235.11595,274.30233)
+\curveto(235.11595,274.30233)(232.60087,270.72499)(229.52686,263.71343)
+\curveto(244.19821,288.18237)(268.92991,308.50161)(307.4946,308.64471)
+\curveto(319.79059,308.64471)(333.34412,306.64139)(348.43465,301.91933)
+\curveto(395.80215,287.4669)(407.95842,259.27753)(407.95842,232.376)
+\curveto(407.95842,207.0485)(397.47888,182.72264)(396.36107,171.70446)
+\curveto(396.22135,170.27353)(396.08162,168.98569)(396.08162,167.69785)
+\curveto(396.08162,152.81615)(405.30361,145.94767)(413.82696,145.94767)
+\curveto(419.41604,145.94767)(424.58595,148.80954)(427.24077,154.39018)
+\curveto(426.96131,154.10399)(426.68186,153.9609)(426.40241,153.67471)
+\curveto(424.16677,152.10068)(421.51195,151.38522)(418.71741,151.38522)
+\curveto(415.64342,151.38522)(412.15023,152.38687)(409.49542,154.96255)
+\curveto(406.70087,157.53823)(402.2296,163.40505)(404.04606,173.13539)
+\curveto(405.86251,182.72264)(415.0845,191.88061)(425.42431,202.18332)
+\closepath
+\moveto(171.5401,182.29336)
+\curveto(178.66619,177.142)(186.77036,172.70611)(193.61698,171.13209)
+\curveto(184.53472,184.58286)(177.12919,201.18167)(173.49628,221.35782)
+\curveto(170.0031,222.35948)(166.78938,223.07494)(163.99484,223.64731)
+\lineto(163.43592,224.21969)
+\curveto(163.57565,223.36113)(163.57565,222.50256)(163.57565,221.64401)
+\curveto(163.57565,215.491)(161.34001,205.90375)(153.09612,200.18002)
+\curveto(155.47148,196.17341)(162.87702,188.58947)(171.5401,182.29336)
+\closepath
+\moveto(237.07213,80.98333)
+\curveto(248.11058,86.13469)(248.94893,100.15783)(248.94893,106.45394)
+\curveto(248.94893,108.88652)(247.41193,112.32076)(244.61739,115.03953)
+\curveto(242.80094,116.89974)(240.42558,118.47377)(237.91049,119.33232)
+\curveto(235.3954,119.61852)(232.88032,120.04779)(230.50496,120.62017)
+\curveto(227.57068,121.33563)(224.91587,121.62182)(222.40078,121.62182)
+\curveto(211.22261,121.62182)(204.79516,114.61025)(197.8088,107.88487)
+\curveto(197.11017,105.59537)(196.55126,102.73351)(196.55126,99.58546)
+\curveto(196.55126,93.71864)(198.08826,87.13634)(201.86089,82.12808)
+\curveto(204.79516,78.40766)(208.84725,75.40269)(214.71578,74.11486)
+\curveto(219.74597,73.54248)(229.24741,75.97507)(237.07213,80.55405)
+\lineto(237.07213,80.98333)
+\closepath
+\moveto(199.20607,80.12477)
+\curveto(194.73481,85.9916)(193.05808,93.28935)(193.05808,99.72855)
+\curveto(193.05808,101.15948)(193.1978,102.59041)(193.33753,103.87826)
+\curveto(188.30736,99.44236)(182.57854,95.72194)(174.33464,95.00647)
+\curveto(170.14283,94.72029)(165.81129,94.5772)(161.47975,94.5772)
+\curveto(157.84684,94.5772)(154.21393,94.5772)(150.58102,94.72029)
+\curveto(146.94813,94.72029)(143.45494,94.86338)(139.96177,94.86338)
+\curveto(120.95888,94.86338)(105.16971,92.71699)(105.02998,77.11982)
+\curveto(105.16971,69.96515)(108.38344,60.09171)(115.92869,46.49786)
+\curveto(115.92869,46.49786)(117.04652,44.63765)(119.14243,41.91888)
+\curveto(117.18624,46.78404)(116.06842,51.79231)(116.06842,56.94367)
+\curveto(116.06842,61.95193)(117.18624,66.9602)(119.70133,71.39608)
+\curveto(121.79724,75.11651)(125.15069,77.406)(128.92332,78.55075)
+\curveto(132.69595,79.6955)(136.74804,79.98168)(141.07958,79.98168)
+\curveto(146.66867,79.98168)(152.53721,79.5524)(158.1263,79.5524)
+\curveto(166.64965,79.5524)(174.19491,80.69715)(178.80592,85.56232)
+\lineto(178.80592,85.56232)
+\curveto(179.784,86.56398)(181.46073,86.56398)(182.43881,85.56232)
+\curveto(183.41691,84.56066)(183.41691,82.84355)(182.43881,81.8419)
+\curveto(176.01137,75.25961)(166.9291,74.25796)(157.98657,74.25796)
+\curveto(152.11803,74.25796)(146.24948,74.83033)(140.93986,74.68723)
+\curveto(136.88777,74.68723)(133.11513,74.40104)(130.32059,73.39939)
+\curveto(127.38633,72.39774)(125.43015,71.1099)(124.03287,68.67732)
+\curveto(122.07669,65.24307)(121.09861,61.23646)(121.09861,56.94367)
+\curveto(121.09861,49.78901)(123.75342,42.06197)(128.08496,35.90896)
+\curveto(132.4165,29.75595)(138.14532,25.60625)(144.15358,24.74769)
+\curveto(145.41112,24.60459)(146.66867,24.4615)(147.64676,24.4615)
+\curveto(154.07421,24.60459)(157.14821,27.03718)(159.52357,31.18688)
+\curveto(161.89893,35.33659)(162.87702,41.4896)(163.71539,47.35642)
+\curveto(163.85511,48.07189)(164.27429,48.78736)(164.97292,49.21664)
+\curveto(180.34291,58.94698)(181.74018,66.10164)(186.35118,70.82371)
+\curveto(187.32927,71.82536)(189.00599,71.82536)(189.98409,70.82371)
+\curveto(190.96217,69.82206)(190.96217,68.10495)(189.98409,67.10329)
+\curveto(187.04981,64.24142)(183.97582,55.22655)(168.74556,45.35311)
+\curveto(167.9072,39.62938)(166.9291,33.61946)(164.13456,28.46811)
+\curveto(161.61948,23.74604)(157.28794,20.02561)(150.86049,19.16705)
+\curveto(156.03039,17.87921)(161.61948,17.59303)(167.62774,18.59468)
+\curveto(190.82244,29.61285)(205.35407,57.80223)(211.36234,71.253)
+\curveto(206.19243,73.2563)(202.00061,76.40435)(199.20607,80.12477)
+\closepath
+\moveto(121.37806,182.29336)
+\curveto(126.68768,176.85582)(139.54258,174.9956)(145.8303,181.29171)
+\curveto(148.76458,173.85086)(168.32638,124.48368)(250.62566,125.62843)
+\curveto(241.5434,128.49029)(228.54878,134.50022)(214.71578,146.80624)
+\curveto(208.84725,152.10068)(203.11844,158.1106)(197.8088,165.26526)
+\curveto(188.30736,165.69455)(177.68809,171.41827)(168.46611,178.00056)
+\curveto(159.94275,184.29666)(152.81666,191.16515)(149.32349,196.3165)
+\curveto(145.55085,195.31485)(142.05767,194.88556)(138.98368,194.88556)
+\curveto(131.15895,194.88556)(125.01097,197.74743)(120.95888,202.18332)
+\curveto(116.90679,206.61921)(115.09034,212.34294)(115.09034,217.78049)
+\curveto(115.09034,220.92854)(115.64924,223.93349)(116.90679,226.65227)
+\curveto(111.45743,223.07494)(107.12589,218.92523)(105.02998,216.06337)
+\curveto(59.059754,221.93019)(34.467771,218.49595)(25.245783,210.62583)
+\curveto(17.979976,195.60103)(11.83198,166.41001)(58.500849,152.52996)
+\curveto(56.684394,154.39018)(56.963847,156.25039)(58.081658,157.96751)
+\curveto(52.352853,159.39844)(47.322668,161.68793)(43.130865,164.6929)
+\curveto(35.166415,170.41662)(30.555421,178.85912)(30.555421,188.87565)
+\curveto(30.555421,189.59112)(30.555421,190.30658)(30.695147,191.02205)
+\curveto(30.9746,196.45959)(33.489686,200.4662)(37.262322,202.6126)
+\curveto(41.034958,204.759)(45.645952,205.33138)(50.676125,205.33138)
+\curveto(60.317303,205.33138)(72.054378,203.18497)(82.533915,203.18497)
+\curveto(93.572357,203.18497)(102.65462,205.33138)(107.6848,213.34459)
+\lineto(107.6848,213.34459)
+\curveto(108.52316,214.63244)(110.06016,214.91862)(111.3177,214.06007)
+\curveto(112.57525,213.20151)(112.8547,211.62748)(112.01634,210.33964)
+\curveto(105.44916,200.03692)(93.991536,197.74743)(82.533915,197.74743)
+\curveto(71.355746,197.74743)(59.61866,199.89384)(50.676125,199.89384)
+\curveto(46.065131,199.89384)(42.152769,199.32146)(39.777408,197.89052)
+\curveto(37.402048,196.45959)(36.144499,194.74248)(35.865046,190.59277)
+\lineto(35.865046,188.73255)
+\curveto(35.865046,180.43315)(39.358229,173.85086)(46.204857,168.84259)
+\curveto(52.772032,164.12052)(62.552937,161.25865)(74.988643,161.11556)
+\curveto(79.459911,165.98073)(81.555818,170.98899)(81.416092,174.42323)
+\curveto(81.416092,175.28179)(81.276366,175.99725)(81.136639,176.56963)
+\curveto(80.857186,177.57128)(81.136639,178.57293)(81.835283,179.2884)
+\curveto(83.511999,181.00553)(85.607907,181.57789)(87.564088,182.00718)
+\curveto(89.659995,182.43646)(91.895629,182.86573)(94.270989,183.58121)
+\curveto(99.021709,185.01214)(104.33135,187.44472)(109.7807,194.74248)
+\curveto(110.61907,195.88721)(112.2958,196.17341)(113.41361,195.31485)
+\curveto(114.53143,194.45628)(114.81088,192.73917)(113.97251,191.59442)
+\curveto(104.89025,179.14531)(94.270989,178.14365)(88.821637,176.85582)
+\curveto(87.84354,176.71272)(87.144909,176.42654)(86.586003,176.14035)
+\curveto(86.725729,175.56797)(86.725729,174.9956)(86.725729,174.42323)
+\curveto(86.725729,168.6995)(83.651726,162.4034)(77.922921,156.67966)
+\curveto(77.643468,156.39348)(77.224277,156.10729)(76.805098,155.96421)
+\curveto(76.805098,154.96255)(76.385919,153.9609)(75.268096,152.81615)
+\curveto(86.166824,151.8145)(100.55871,148.38025)(107.54507,155.53492)
+\curveto(114.3917,162.68958)(116.48761,177.2851)(121.37806,182.29336)
+\closepath
+\moveto(64.229654,386.34434)
+\curveto(66.046108,388.49074)(82.254462,405.66194)(92.454534,413.10278)
+\curveto(82.673641,410.6702)(66.884478,402.08461)(53.470664,391.06642)
+\curveto(56.125488,389.06311)(61.015935,386.77363)(64.229654,386.34434)
+\closepath
+\moveto(67.443384,365.16654)
+\curveto(74.569464,372.60739)(98.742257,400.51058)(97.205266,405.94812)
+\curveto(88.821637,397.64871)(81.975009,391.4957)(78.3421,387.20291)
+\curveto(72.892736,380.7637)(69.120112,375.32616)(67.443384,365.16654)
+\closepath
+\moveto(29.158145,244.39583)
+\curveto(29.158145,260.1361)(54.867939,258.13279)(59.199481,275.16088)
+\curveto(64.089927,294.19229)(44.10895,295.05084)(53.470664,309.93254)
+\curveto(39.917135,319.23361)(25.944427,314.08225)(25.944427,325.6728)
+\curveto(25.944427,337.40645)(51.793947,342.98708)(61.574841,377.32947)
+\curveto(61.574841,377.32947)(58.920028,370.03171)(51.374757,363.59252)
+\curveto(30.415694,345.84896)(6.2428949,344.56111)(5.4045319,321.09382)
+\curveto(4.4264414,295.62322)(32.511602,278.88131)(22.451244,268.57859)
+\curveto(12.670339,258.56207)(24.267698,249.4041)(29.158145,244.39583)
+\closepath
+\moveto(139.68231,483.64776)
+\curveto(147.64676,473.63122)(167.20856,446.44352)(167.20856,419.68507)
+\curveto(167.20856,409.09617)(163.99484,398.36418)(155.61121,389.3493)
+\curveto(215.55415,362.16159)(171.5401,311.93585)(178.38673,223.93349)
+\curveto(184.11554,190.0204)(200.8828,166.41001)(218.20897,150.81285)
+\curveto(234.8365,135.78805)(249.7873,126.48699)(262.22301,126.48699)
+\curveto(262.50246,126.48699)(263.89974,126.77318)(264.17919,126.91628)
+\curveto(245.31602,133.92784)(227.98986,151.24213)(219.88569,167.69785)
+\curveto(215.97333,175.71107)(212.61988,185.58451)(211.08289,193.88391)
+\curveto(209.68561,201.75404)(209.54588,205.61756)(209.54588,215.20481)
+\curveto(209.54588,255.27092)(224.21724,279.73987)(224.21724,279.73987)
+\curveto(241.96258,315.79937)(267.25319,340.5545)(290.86708,365.02345)
+\curveto(299.66989,374.03832)(308.19325,383.1963)(316.01796,392.64045)
+\curveto(284.99854,470.62627)(219.88569,493.80738)(174.89355,493.80738)
+\curveto(165.67156,493.80738)(157.42766,492.80573)(150.4413,491.2317)
+\lineto(150.4413,491.2317)
+\curveto(150.02212,491.0886)(149.60294,491.0886)(149.18376,491.2317)
+\curveto(147.22758,488.65602)(144.29331,485.79416)(139.68231,483.64776)
+\closepath
+\moveto(362.96628,97.72525)
+\curveto(357.93611,91.28605)(348.71412,84.84685)(332.78522,79.98168)
+\curveto(314.76042,74.54414)(297.85344,71.68228)(282.90263,71.68228)
+\curveto(268.65046,71.68228)(255.93529,74.25796)(245.1763,79.26622)
+\curveto(243.91876,78.26457)(242.52149,77.26291)(240.98448,76.40435)
+\curveto(237.77076,69.67897)(233.02004,65.38617)(226.73232,62.66739)
+\curveto(283.74099,40.63104)(380.15272,56.80058)(405.44333,79.5524)
+\lineto(405.44333,81.26952)
+\curveto(405.44333,85.13304)(405.58306,88.56728)(405.86251,91.71532)
+\lineto(404.46524,91.71532)
+\curveto(386.85962,91.71532)(373.16636,94.5772)(362.96628,97.72525)
+\closepath
+\moveto(425.42431,88.56728)
+\curveto(430.17503,88.56728)(434.92576,89.42584)(439.2573,90.99986)
+\curveto(450.43547,93.28935)(460.91501,98.01143)(468.87945,102.16114)
+\curveto(444.4272,94.72029)(424.02705,92.00152)(407.12006,91.71532)
+\curveto(412.01051,89.85512)(418.01878,88.56728)(425.42431,88.56728)
+\closepath
+\moveto(451.27383,77.97837)
+\curveto(445.82448,58.51769)(478.10145,57.22985)(491.37552,60.23481)
+\curveto(489.00016,61.66574)(487.04398,63.95524)(485.92616,67.53257)
+\curveto(484.38917,72.39774)(486.06589,76.97672)(488.86044,80.12477)
+\curveto(479.9179,84.84685)(456.58347,96.86668)(451.27383,77.97837)
+\closepath
+\moveto(644.79592,393.6421)
+\curveto(641.72193,495.81068)(576.18989,609.569823)(471.11508,621.160376)
+\curveto(463.29037,612.288595)(456.44374,603.559906)(450.43547,594.974311)
+\curveto(455.88483,589.67986)(461.19446,584.242316)(466.36436,578.375493)
+\curveto(466.64381,578.089307)(466.92327,577.660026)(467.20273,577.37384)
+\curveto(468.04109,578.089307)(469.01918,578.804773)(469.85754,579.520239)
+\curveto(495.28789,597.836176)(547.12665,601.127321)(568.92409,555.337479)
+\curveto(590.44207,510.12001)(549.64174,475.77763)(549.64174,475.77763)
+\curveto(545.03075,471.62792)(536.78684,467.47821)(527.14566,465.47491)
+\curveto(528.82239,459.17881)(530.21967,452.88271)(531.47721,446.44352)
+\lineto(531.75667,446.44352)
+\curveto(559.00345,448.5899)(589.6037,431.848)(595.19279,391.4957)
+\curveto(606.0915,312.50822)(528.96212,281.45699)(503.95097,272.5852)
+\curveto(500.31806,270.86809)(499.20024,268.29241)(499.20024,268.29241)
+\curveto(505.76742,267.29076)(511.49623,261.9963)(514.98941,254.84164)
+\curveto(516.66614,251.26431)(517.36477,248.11626)(517.36477,245.2544)
+\curveto(517.36477,238.38591)(513.03323,233.23456)(507.02496,229.65722)
+\curveto(501.01669,226.07989)(493.19198,224.36278)(487.60289,224.36278)
+\curveto(485.0878,224.36278)(482.85217,224.79206)(481.59462,225.36443)
+\curveto(480.89599,225.65062)(480.47681,225.93681)(480.33708,226.22299)
+\curveto(480.47681,226.79536)(480.61653,227.51082)(480.89599,228.0832)
+\curveto(485.78643,239.24447)(512.3346,226.65227)(507.58387,251.40741)
+\curveto(506.04688,259.13444)(501.85506,262.56868)(496.12624,263.14105)
+\curveto(475.02744,231.66053)(450.01629,209.91036)(433.38876,193.45463)
+\curveto(423.18868,183.58121)(415.36396,176.9989)(413.68724,171.84756)
+\curveto(413.12832,170.13044)(411.73106,164.97908)(414.94477,161.54484)
+\curveto(415.78314,160.68627)(417.04068,159.54154)(418.29823,159.39844)
+\curveto(426.82159,157.96751)(427.79967,167.69785)(427.79967,167.69785)
+\curveto(429.19695,165.83763)(430.0353,163.69123)(430.0353,161.40175)
+\curveto(430.0353,160.82937)(429.89558,160.257)(429.89558,159.68462)
+\lineto(429.89558,159.25534)
+\curveto(428.49831,149.38192)(421.09277,144.23056)(413.40778,144.23056)
+\lineto(413.26806,144.23056)
+\curveto(408.51733,144.23056)(403.62688,146.23386)(399.85424,150.09738)
+\curveto(396.08162,154.10399)(393.70625,159.97082)(393.70625,167.84094)
+\curveto(393.70625,169.12878)(393.84598,170.55971)(393.98571,171.99064)
+\curveto(395.24325,183.58121)(405.58306,207.62086)(405.58306,232.5191)
+\curveto(405.58306,258.84825)(394.12544,285.89288)(347.31684,300.3453)
+\curveto(332.36604,304.92428)(318.95224,306.92759)(306.79597,306.92759)
+\curveto(262.6422,306.92759)(236.93241,279.73987)(223.93778,250.54884)
+\curveto(221.00351,240.96159)(218.34869,228.65557)(217.65006,213.63079)
+\curveto(217.3706,207.33468)(217.92951,199.75074)(218.62815,194.1701)
+\curveto(219.4665,188.44637)(222.95969,176.42654)(226.73232,168.41331)
+\curveto(234.8365,151.8145)(246.85303,135.93115)(262.92165,129.06267)
+\lineto(265.43674,128.06101)
+\curveto(273.68064,129.92123)(278.43136,131.63834)(287.3739,134.92949)
+\lineto(289.46981,135.64495)
+\curveto(303.72198,140.93941)(317.13578,145.94767)(330.1304,145.94767)
+\curveto(338.51403,145.94767)(345.77984,144.08746)(352.34702,139.79466)
+\curveto(353.18539,139.36538)(353.88402,138.79301)(354.58265,138.22063)
+\lineto(358.63474,134.92949)
+\lineto(358.63474,134.92949)
+\lineto(359.61283,133.92784)
+\curveto(364.64301,128.49029)(368.41564,120.62017)(367.85673,112.32076)
+\curveto(367.57727,108.88652)(366.59919,104.87991)(364.22383,100.8733)
+\curveto(374.00472,97.86833)(386.99935,95.29266)(403.7666,95.29266)
+\curveto(423.74758,95.29266)(449.31765,99.01308)(481.17544,110.31745)
+\lineto(481.31517,110.31745)
+\curveto(481.45489,110.31745)(481.45489,110.46055)(481.45489,110.46055)
+\curveto(534.83066,110.46055)(513.59214,75.11651)(507.72359,82.12808)
+\curveto(501.29614,89.56893)(486.06589,78.98002)(490.39743,66.8171)
+\curveto(496.9646,47.92879)(527.00594,64.6707)(530.21967,77.11982)
+\curveto(524.07167,35.90896)(461.47392,53.50943)(447.08202,55.51273)
+\curveto(430.17503,57.94533)(423.3284,41.91888)(425.70376,27.18027)
+\curveto(427.65994,15.01735)(420.25441,3.85608)(416.90095,0.56493)
+\curveto(440.79429,-4.15716)(452.1122,16.59137)(461.47392,23.17366)
+\curveto(470.97536,29.89905)(505.34823,26.6079)(524.7703,41.91888)
+\curveto(544.19238,57.08676)(541.67729,93.71864)(541.67729,98.01143)
+\curveto(546.14856,99.87164)(561.23909,106.16775)(561.23909,123.91131)
+\curveto(561.23909,139.36538)(550.06092,147.09242)(538.6033,145.66149)
+\curveto(525.88813,144.08746)(522.11549,128.06101)(536.50739,127.77483)
+\curveto(533.29366,131.06597)(537.0663,136.07424)(541.39784,133.64165)
+\curveto(547.96501,129.92123)(540.55948,118.75995)(527.00594,121.04945)
+\curveto(522.25522,121.908)(511.49623,123.48203)(501.29614,124.91296)
+\curveto(578.70498,166.41001)(649.12746,251.26431)(644.79592,393.6421)
+\closepath
+\moveto(480.61653,222.07328)
+\curveto(482.57272,221.21473)(485.0878,220.92854)(488.02207,220.92854)
+\curveto(494.44952,220.92854)(502.55369,222.78875)(509.26059,226.65227)
+\curveto(515.9675,230.51579)(521.41686,236.81189)(521.41686,245.2544)
+\curveto(521.41686,248.68863)(520.57849,252.40906)(518.62232,256.41567)
+\curveto(517.64422,258.41897)(516.66614,259.993)(515.40859,261.42393)
+\curveto(522.11549,256.12948)(525.46895,250.97813)(526.86621,246.39913)
+\curveto(527.14566,245.2544)(527.42513,244.10965)(527.70458,243.10799)
+\curveto(527.84431,241.96325)(527.98403,240.96159)(527.98403,239.95994)
+\curveto(527.98403,236.38261)(527.14566,233.23456)(526.16758,230.80197)
+\curveto(521.41686,217.3512)(508.98114,211.05511)(495.14816,210.91201)
+\curveto(492.91253,210.91201)(490.53715,211.05511)(488.30152,211.48439)
+\curveto(484.5289,213.63079)(481.17544,217.6374)(480.47681,222.35948)
+\curveto(480.47681,222.07328)(480.47681,222.07328)(480.61653,222.07328)
+\closepath
+\moveto(481.45489,209.19489)
+\curveto(485.92616,207.90705)(490.53715,207.33468)(495.00843,207.33468)
+\lineto(495.14816,207.33468)
+\curveto(509.8195,207.33468)(523.79222,214.34625)(529.24157,229.22795)
+\curveto(528.82239,215.92027)(522.25522,210.05346)(513.31268,205.33138)
+\curveto(504.0907,200.4662)(492.49334,197.46124)(484.10971,190.30658)
+\curveto(477.4028,184.58286)(474.60827,177.57128)(474.60827,170.55971)
+\curveto(474.60827,160.54319)(480.05763,150.52665)(487.04398,142.22725)
+\curveto(437.99975,172.9923)(459.79719,203.18497)(481.45489,209.19489)
+\closepath
+\moveto(504.50987,178.71603)
+\curveto(486.6248,172.56302)(489.41934,150.95593)(491.37552,142.37034)
+\curveto(483.83025,150.66975)(478.10145,160.97247)(478.10145,170.41662)
+\curveto(478.10145,176.42654)(480.33708,182.29336)(486.34535,187.44472)
+\curveto(493.89061,194.02701)(505.20851,197.03196)(514.84968,202.04023)
+\curveto(524.49085,207.0485)(532.73476,214.77552)(532.73476,230.0865)
+\curveto(532.73476,234.09312)(532.17585,238.52901)(531.05803,243.53727)
+\curveto(529.80049,252.12287)(523.51277,262.1394)(506.1866,271.58355)
+\curveto(520.29904,270.5819)(546.56774,264.14271)(551.17874,236.6688)
+\curveto(556.34864,206.33303)(527.00594,186.44307)(504.50987,178.71603)
+\closepath
+\moveto(265.01756,121.76492)
+\curveto(258.59011,120.19089)(252.16266,119.18924)(245.59549,119.04614)
+\curveto(246.15439,118.61686)(246.57357,118.18759)(247.13248,117.7583)
+\curveto(250.34621,114.46716)(252.44212,110.60363)(252.58184,106.59702)
+\curveto(252.58184,101.87496)(252.30239,92.2877)(246.99275,84.98995)
+\curveto(250.06676,81.8419)(265.71619,78.55075)(265.71619,78.55075)
+\curveto(267.67237,78.26457)(268.92991,78.40766)(270.32719,78.40766)
+\curveto(274.93818,78.40766)(278.29164,80.98333)(280.80672,85.13304)
+\curveto(283.18208,89.28274)(284.43963,95.00647)(284.43963,100.44401)
+\curveto(284.43963,101.87496)(284.29991,103.44897)(284.16018,104.87991)
+\curveto(282.62318,115.75499)(276.056,122.0511)(265.99565,122.0511)
+\curveto(265.57647,121.76492)(265.29701,121.76492)(265.01756,121.76492)
+\closepath
+\moveto(289.74926,129.92123)
+\curveto(284.43963,127.91793)(279.13,125.91461)(273.68064,124.1975)
+\curveto(281.36563,121.47872)(286.53554,114.46716)(287.65335,105.023)
+\curveto(287.79308,103.44897)(287.9328,101.87496)(287.9328,100.15783)
+\curveto(287.9328,94.14792)(286.53554,87.85181)(283.74099,82.98665)
+\curveto(282.48345,80.84024)(280.94645,78.98002)(279.13,77.54909)
+\curveto(289.19035,77.26291)(299.25071,78.26457)(308.75215,79.98168)
+\lineto(308.75215,79.98168)
+\curveto(320.07005,81.5557)(326.4975,95.43575)(326.4975,107.1694)
+\curveto(326.4975,108.74343)(326.35777,110.31745)(326.07832,111.74838)
+\curveto(324.40159,122.33728)(314.48097,134.07094)(301.62607,134.07094)
+\curveto(297.85344,132.92619)(293.80135,131.35216)(289.74926,129.92123)
+\closepath
+\moveto(350.39084,135.07259)
+\curveto(344.24284,139.22229)(337.67566,140.79631)(330.82904,140.79631)
+\curveto(323.98241,140.79631)(316.7166,139.22229)(309.17133,136.7897)
+\curveto(320.3495,133.21237)(328.0345,122.62347)(329.71123,112.60695)
+\curveto(329.99068,110.88983)(330.1304,109.1727)(330.1304,107.3125)
+\curveto(330.1304,98.86999)(327.0564,88.99656)(321.04814,82.84355)
+\curveto(324.68104,83.7021)(328.0345,84.70376)(331.38794,85.70541)
+\curveto(344.24284,89.56893)(362.68683,99.29928)(363.66491,112.75003)
+\lineto(363.66491,112.60695)
+\curveto(363.66491,113.17931)(363.80465,113.6086)(363.80465,114.18096)
+\curveto(363.52519,123.76822)(355.70047,131.20907)(350.39084,135.07259)
+\closepath
+\moveto(46.204857,390.20786)
+\curveto(66.465287,406.66359)(95.249085,420.25745)(100.69844,414.67681)
+\curveto(106.1478,409.09617)(84.070917,374.61069)(60.736482,350.71412)
+\curveto(80.018828,350.71412)(100.41898,354.57765)(144.15358,393.35592)
+\curveto(149.46321,401.51223)(151.55912,409.95473)(151.55912,418.39724)
+\curveto(151.69885,445.01257)(130.04114,471.34174)(121.23833,480.78589)
+\curveto(110.06016,482.50301)(106.28753,490.65933)(106.1478,491.0886)
+\lineto(106.00808,491.51788)
+\lineto(105.86835,491.94717)
+\curveto(105.86835,492.23335)(104.6108,498.67255)(105.30943,507.25815)
+\curveto(74.709191,500.24657)(51.23503,489.2284)(42.152769,481.50136)
+\curveto(42.152769,481.50136)(44.807582,478.06712)(43.689771,471.05555)
+\curveto(48.719944,468.90916)(57.103573,481.07208)(68.980386,475.92072)
+\curveto(79.180458,471.34174)(88.542184,461.89758)(98.881983,463.32852)
+\lineto(99.860079,458.89262)
+\curveto(88.68191,455.60148)(78.481826,467.04894)(68.002289,471.05555)
+\curveto(57.103573,475.34835)(48.580217,463.32852)(42.711674,466.90585)
+\curveto(42.292495,465.47491)(41.593863,463.7578)(40.755493,462.04067)
+\curveto(41.593863,455.74457)(45.506225,447.87445)(51.374757,443.15236)
+\curveto(51.514483,443.00927)(51.654209,442.72309)(51.654209,442.43691)
+\curveto(51.654209,442.15071)(51.514483,441.86453)(51.374757,441.72143)
+\curveto(46.903489,438.00101)(21.053968,418.82652)(14.347067,412.10113)
+\curveto(14.766246,411.81494)(15.185437,411.52876)(15.744342,411.24257)
+\curveto(24.96633,405.37575)(36.144499,399.65201)(43.130865,399.65201)
+\lineto(44.388402,399.65201)
+\curveto(48.021312,402.65697)(78.481826,423.4055)(96.22717,423.54858)
+\curveto(101.81626,423.54858)(106.42725,421.2591)(107.82453,415.39227)
+\curveto(107.96426,414.96299)(107.6848,414.39062)(107.26561,414.24753)
+\curveto(106.84643,414.10444)(106.28753,414.39062)(106.1478,414.81991)
+\curveto(104.89025,419.68507)(101.39708,421.54528)(96.22717,421.54528)
+\curveto(79.180458,421.68838)(46.624036,399.36583)(45.366499,397.9349)
+\curveto(45.226761,397.7918)(45.087034,397.64871)(44.807582,397.64871)
+\curveto(44.248676,397.64871)(43.689771,397.50562)(43.130865,397.50562)
+\curveto(29.158145,397.64871)(4.1469875,416.39393)(-1.0229167,420.40054)
+\curveto(2.889443,408.95308)(23.010149,393.7852)(46.204857,390.20786)
+\closepath
+\moveto(62.133746,442.29381)
+\curveto(48.999396,444.44021)(47.462406,459.465)(47.462406,459.465)
+\curveto(50.676125,467.33513)(69.259838,468.90916)(80.018828,453.88436)
+\curveto(80.018828,453.88436)(72.473557,440.57669)(62.133746,442.29381)
+\closepath
+\moveto(130.46032,233.09147)
+\curveto(124.59178,230.0865)(120.39996,224.64896)(120.39996,217.92358)
+\curveto(120.53969,209.33798)(125.98905,200.32311)(139.1234,200.18002)
+\curveto(141.91794,200.18002)(145.13167,200.6093)(148.76458,201.61095)
+\curveto(157.70712,205.90375)(160.2222,215.491)(160.2222,221.50091)
+\curveto(160.2222,222.64566)(160.08248,223.64731)(159.94275,224.36278)
+\curveto(159.6633,225.65062)(159.38384,226.93846)(158.96465,227.94011)
+\curveto(149.32349,235.09478)(139.26313,235.52405)(130.46032,233.09147)
+\closepath
+\moveto(12.810065,413.24588)
+\curveto(19.237514,419.68507)(42.991127,437.57173)(49.278849,442.43691)
+\curveto(43.829497,447.15897)(40.336314,453.45508)(39.358229,459.60809)
+\curveto(38.93905,458.74954)(38.380133,457.74788)(37.681501,456.88932)
+\curveto(29.018419,443.00927)(9.8757994,431.848)(-1.0229167,422.69003)
+\curveto(-0.04482616,421.97457)(5.5442594,417.68177)(12.670339,412.95969)
+\curveto(12.810065,413.10278)(12.810065,413.24588)(12.810065,413.24588)
+\closepath
+\moveto(163.71539,419.68507)
+\curveto(163.85511,445.44186)(143.45494,473.48814)(136.18914,482.35991)
+\curveto(135.49049,482.21683)(134.93159,481.93064)(134.23296,481.78754)
+\curveto(131.43842,481.07208)(128.78359,480.78589)(126.26851,480.6428)
+\curveto(136.18914,469.33843)(154.91257,444.72639)(155.0523,418.54032)
+\curveto(155.0523,409.81163)(152.9564,401.08295)(147.64676,392.64045)
+\curveto(149.18376,392.06807)(150.72076,391.4957)(152.11803,390.92332)
+\lineto(152.11803,390.92332)
+\curveto(160.64138,399.36583)(163.71539,409.38235)(163.71539,419.68507)
+\closepath
+\moveto(95.109359,510.12001)
+\curveto(91.895629,516.41612)(85.747633,522.28294)(68.421468,531.44091)
+\curveto(58.500849,520.13653)(57.802205,507.11505)(59.478933,497.09852)
+\curveto(69.539291,502.24988)(81.555818,506.68578)(95.109359,510.12001)
+\closepath
+\moveto(133.25486,486.08034)
+\curveto(146.94813,489.51458)(148.06594,499.6742)(148.06594,499.6742)
+\curveto(148.06594,512.12332)(150.02212,518.27633)(128.64387,540.16959)
+\curveto(103.63271,525.28789)(110.06016,493.09191)(110.06016,493.09191)
+\curveto(110.06016,493.09191)(115.23006,481.50136)(133.25486,486.08034)
+\closepath
+}
+}
+\end{pspicture}
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
new file mode 100644
index 00000000000..56dc78570db
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
Binary files differ
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
new file mode 100644
index 00000000000..ff19bde582e
--- /dev/null
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
@@ -0,0 +1,66 @@
+;;
+;; This is file `parsidigits.map',
+;; generated with the docstrip utility.
+;;
+;; The original source files were:
+;;
+;; xepersian.dtx (with options: `parsidigits.map')
+;;
+;; ______________________________________
+;; Copyright © 2008–2013 Persian TeX Group
+;;
+;; License information appended.
+;;
+;;
+
+LHSName "Digits"
+RHSName "ParsiDigits"
+
+pass(Unicode)
+U+0030 <> U+06F0 ;
+U+0031 <> U+06F1 ;
+U+0032 <> U+06F2 ;
+U+0033 <> U+06F3 ;
+U+0034 <> U+06F4 ;
+U+0035 <> U+06F5 ;
+U+0036 <> U+06F6 ;
+U+0037 <> U+06F7 ;
+U+0038 <> U+06F8 ;
+U+0039 <> U+06F9 ;
+
+U+002C <> U+060C ; comma ­> arabic comma
+U+003F <> U+061F ; question mark -> arabic qm
+U+003B <> U+061B ; semicolon -> arabic semicolon
+
+; ligatures from Knuth's original CMR fonts
+U+002D U+002D <> U+2013 ; -- -> en dash
+U+002D U+002D U+002D <> U+2014 ; --- -> em dash
+
+U+0027 <> U+2019 ; ' -> right single quote
+U+0027 U+0027 <> U+201D ; '' -> right double quote
+U+0022 > U+201D ; " -> right double quote
+
+U+0060 <> U+2018 ; ` -> left single quote
+U+0060 U+0060 <> U+201C ; `` -> left double quote
+
+U+0021 U+0060 <> U+00A1 ; !` -> inverted exclam
+U+003F U+0060 <> U+00BF ; ?` -> inverted question
+
+; additions supported in T1 encoding
+U+002C U+002C <> U+201E ; ,, -> DOUBLE LOW-9 QUOTATION MARK
+U+003C U+003C <> U+00AB ; << -> LEFT POINTING GUILLEMET
+U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
+;;
+;; Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+;;
+;; It may be distributed and/or modified under the LaTeX Project Public License,
+;; version 1.3c or higher (your choice). The latest version of
+;; this license is at: http://www.latex-project.org/lppl.txt
+;;
+;; This work is “maintained” (as per LPPL maintenance status)
+;; by Persian TeX Group.
+;;
+;;
+;;
+;;
+;; End of file `parsidigits.map'.
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.tec b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.tec
new file mode 100644
index 00000000000..27b08b195c2
--- /dev/null
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.tec
Binary files differ
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
new file mode 100755
index 00000000000..3f2c695d9a4
--- /dev/null
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
@@ -0,0 +1,8566 @@
+% \iffalse
+%<*internal>
+\iffalse
+%</internal>
+%<*readme>
+____________________
+The XePersian package
+v12.1
+
+XePersian is a package written for XeLaTeX that allows users to typeset
+Persian easily.
+
+The XePersian package is independent of any operating system, meaning it
+will work on all operating systems.
+
+
+
+This version fixes bugs and adds new features; for more details please see
+the ChangeLog.
+
+If you want to report any bugs or typos and corrections in the documentation,
+or ask for any new features, or suggest any improvements, or ask any questions
+about the package, then please do not send any direct emails to us; we will not
+answer any direct emails. Instead please use the issue tracker:
+ <https://github.com/persian-tex/xepersian/issues>
+In doing so, please always explain your issue well enough, always include
+a minimal working examples showing the issue, and always choose the appropriate
+label for your query (i.e. if you are reporting any bugs, choose `bug' label).
+
+Current version release date: 2013/04/04
+Expected next version release date: 2013/05/20
+______________
+Persian TeX Group
+persiantexdev@gmail.com
+
+Copyright © 2008–2013
+Distributed under the LaTeX Project Public License
+It may be distributed and/or modified under the LaTeX Project Public License,
+version 1.3c or higher (your choice). The latest version of
+this license is at: http://www.latex-project.org/lppl.txt
+
+This work is “maintained” (as per LPPL maintenance status)
+by Persian TeX Group.
+%</readme>
+%<*changelog>
+2013/04/01 version 12.1 Persian TeX Group
+ * Version 12.1 released.
+ * `\prg_stepwise_inline:nnnn' in `xepersian-mathsdigitspec.sty' is changed to
+ `\int_step_inline:nnnn'
+ * `\XeTeXmathcode' and `\XeTeXmathchardef' in `xepersian-mathsdigitspec.sty'
+ are changed to `\Umathcode' and `\Umathchardef', respectively.
+ * On page 44, line 5 of the documentation, the extra repetition of `syntax' is removed.
+ * On the last line of page 39 of the documentation,`\Junicode' is changed to `\junicode'.
+ * On page 39, section 2.7.2 of the documentation, `In this example, we define \Nastaliq
+ to stand for Nastaliq font' is changed to `In this example, we define \Nastaliq to stand
+ for IranNastaliq font'.
+ * Fixed `\AutoMathsDigits' in `\lr'.
+ * Lines 30-36 of `parsidigits.map' removed.
+ * Fixed the issue of `latin' environment not changing the font of `\caption' to latin.
+%</changelog>
+
+%<*internal>
+\fi
+\begingroup
+%</internal>
+%<*batchfile>
+\input docstrip.tex
+\let\MetaPrefix\relax
+\keepsilent
+\preamble
+
+ ______________________________________
+ Copyright © 2008–2013 Persian TeX Group
+
+ License information appended.
+
+
+\endpreamble
+\postamble
+
+Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+
+It may be distributed and/or modified under the LaTeX Project Public License,
+version 1.3c or higher (your choice). The latest version of
+this license is at: http://www.latex-project.org/lppl.txt
+
+This work is “maintained” (as per LPPL maintenance status)
+by Persian TeX Group.
+
+
+
+\endpostamble
+\askforoverwritefalse
+\let\MetaPrefix\DoubleperCent
+\generate{\file{algorithmic-xepersian.def}{\from{\jobname.dtx}{algorithmic-xepersian.def}}}
+\generate{\file{algorithm-xepersian.def}{\from{\jobname.dtx}{algorithm-xepersian.def}}}
+\generate{\file{amsart-xepersian.def}{\from{\jobname.dtx}{amsart-xepersian.def}}}
+\generate{\file{amsbook-xepersian.def}{\from{\jobname.dtx}{amsbook-xepersian.def}}}
+\generate{\file{article-xepersian.def}{\from{\jobname.dtx}{article-xepersian.def}}}
+\generate{\file{artikel1-xepersian.def}{\from{\jobname.dtx}{artikel1-xepersian.def}}}
+\generate{\file{artikel2-xepersian.def}{\from{\jobname.dtx}{artikel2-xepersian.def}}}
+\generate{\file{artikel3-xepersian.def}{\from{\jobname.dtx}{artikel3-xepersian.def}}}
+\generate{\file{backref-xepersian.def}{\from{\jobname.dtx}{backref-xepersian.def}}}
+\generate{\file{bidicode-xepersian.def}{\from{\jobname.dtx}{bidicode-xepersian.def}}}
+\generate{\file{bidituftesidenote-xepersian.def}{\from{\jobname.dtx}{bidituftesidenote-xepersian.def}}}
+\generate{\file{bidimoderncv-xepersian.def}{\from{\jobname.dtx}{bidimoderncv-xepersian.def}}}
+\generate{\file{boek3-xepersian.def}{\from{\jobname.dtx}{boek3-xepersian.def}}}
+\generate{\file{boek-xepersian.def}{\from{\jobname.dtx}{boek-xepersian.def}}}
+\generate{\file{bookest-xepersian.def}{\from{\jobname.dtx}{bookest-xepersian.def}}}
+\generate{\file{book-xepersian.def}{\from{\jobname.dtx}{book-xepersian.def}}}
+\generate{\file{breqn-xepersian.def}{\from{\jobname.dtx}{breqn-xepersian.def}}}
+\generate{\file{commands-ltx.def}{\from{\jobname.dtx}{commands-ltx.def}}}
+\generate{\file{color-localise.def}{\from{\jobname.dtx}{color-localise.def}}}
+\generate{\file{commands-xepersian.def}{\from{\jobname.dtx}{commands-xepersian.def}}}
+\generate{\file{empheq-xepersian.def}{\from{\jobname.dtx}{empheq-xepersian.def}}}
+\generate{\file{enumerate-xepersian.def}{\from{\jobname.dtx}{enumerate-xepersian.def}}}
+\generate{\file{environments-ltx.def}{\from{\jobname.dtx}{environments-ltx.def}}}
+\generate{\file{environments-xepersian.def}{\from{\jobname.dtx}{environments-xepersian.def}}}
+\generate{\file{extarticle-xepersian.def}{\from{\jobname.dtx}{extarticle-xepersian.def}}}
+\generate{\file{extbook-xepersian.def}{\from{\jobname.dtx}{extbook-xepersian.def}}}
+\generate{\file{extrafootnotefeatures-xepersian.def}{\from{\jobname.dtx}{extrafootnotefeatures-xepersian.def}}}
+\generate{\file{extreport-xepersian.def}{\from{\jobname.dtx}{extreport-xepersian.def}}}
+\generate{\file{flowfram-xepersian.def}{\from{\jobname.dtx}{flowfram-xepersian.def}}}
+\generate{\file{footnote-bidi-xepersian.def}{\from{\jobname.dtx}{footnote-bidi-xepersian.def}}}
+\generate{\file{framed-bidi-xepersian.def}{\from{\jobname.dtx}{framed-bidi-xepersian.def}}}
+\generate{\file{hyperref-xepersian.def}{\from{\jobname.dtx}{hyperref-xepersian.def}}}
+\generate{\file{imsproc-xepersian.def}{\from{\jobname.dtx}{imsproc-xepersian.def}}}
+\generate{\file{kashida-xepersian.def}{\from{\jobname.dtx}{kashida-xepersian.def}}}
+\generate{\file{listings-xepersian.def}{\from{\jobname.dtx}{listings-xepersian.def}}}
+\generate{\file{loadingorder-bidi-xepersian.def}{\from{\jobname.dtx}{loadingorder-bidi-xepersian.def}}}
+\generate{\file{localise-xepersian.def}{\from{\jobname.dtx}{localise-xepersian.def}}}
+\generate{\file{memoir-xepersian.def}{\from{\jobname.dtx}{memoir-xepersian.def}}}
+\generate{\file{messages-localise.def}{\from{\jobname.dtx}{messages-localise.def}}}
+\generate{\file{minitoc-xepersian.def}{\from{\jobname.dtx}{minitoc-xepersian.def}}}
+\generate{\file{misc-localise-xepersian.def}{\from{\jobname.dtx}{misc-localise-xepersian.def}}}
+\generate{\file{natbib-xepersian.def}{\from{\jobname.dtx}{natbib-xepersian.def}}}
+\generate{\file{packages-localise-xepersian.def}{\from{\jobname.dtx}{packages-localise-xepersian.def}}}
+\def\MetaPrefix{;;}
+\generate{\file{parsidigits.map}{\from{\jobname.dtx}{parsidigits.map}}}
+\let\MetaPrefix\DoubleperCent
+\generate{\file{rapport1-xepersian.def}{\from{\jobname.dtx}{rapport1-xepersian.def}}}
+\generate{\file{rapport3-xepersian.def}{\from{\jobname.dtx}{rapport3-xepersian.def}}}
+\generate{\file{refrep-xepersian.def}{\from{\jobname.dtx}{refrep-xepersian.def}}}
+\generate{\file{report-xepersian.def}{\from{\jobname.dtx}{report-xepersian.def}}}
+\generate{\file{scrartcl-xepersian.def}{\from{\jobname.dtx}{scrartcl-xepersian.def}}}
+\generate{\file{scrbook-xepersian.def}{\from{\jobname.dtx}{scrbook-xepersian.def}}}
+\generate{\file{scrreprt-xepersian.def}{\from{\jobname.dtx}{scrreprt-xepersian.def}}}
+\generate{\file{tkz-linknodes-xepersian.def}{\from{\jobname.dtx}{tkz-linknodes-xepersian.def}}}
+\generate{\file{tocloft-xepersian.def}{\from{\jobname.dtx}{tocloft-xepersian.def}}}
+\generate{\file{xepersian.sty}{\from{\jobname.dtx}{xepersian.sty}}}
+\generate{\file{xepersian-magazine.cls}{\from{\jobname.dtx}{xepersian-magazine.cls}}}
+\generate{\file{xepersian-mathsdigitspec.sty}{\from{\jobname.dtx}{xepersian-mathsdigitspec.sty}}}
+\generate{\file{xepersian-multiplechoice.sty}{\from{\jobname.dtx}{xepersian-multiplechoice.sty}}}
+\generate{\file{xepersian-persiancal.sty}{\from{\jobname.dtx}{xepersian-persiancal.sty}}}
+%</batchfile>
+%<batchfile>\endbatchfile
+%<*internal>
+\generate{\file{\jobname.ins}{\from{\jobname.dtx}{batchfile}}}
+\nopreamble\nopostamble
+\generate{\file{README.txt}{\from{\jobname.dtx}{readme}}}
+\generate{\file{ChangeLog.txt}{\from{\jobname.dtx}{changelog}}}
+\generate{\file{magazine-sample.tex}{\from{\jobname.dtx}{magazine-sample.tex}}}
+\generate{\file{test-correction.tex}{\from{\jobname.dtx}{test-correction.tex}}}
+\generate{\file{test-empty-form.tex}{\from{\jobname.dtx}{test-empty-form.tex}}}
+\generate{\file{test-question-only.tex}{\from{\jobname.dtx}{test-question-only.tex}}}
+\generate{\file{test-solution-form.tex}{\from{\jobname.dtx}{test-solution-form.tex}}}
+\generate{\file{xepersian-logo.tex}{\from{\jobname.dtx}{xepersian-logo.tex}}}
+\endgroup
+\immediate\write18{mv README.txt README}
+\immediate\write18{mv ChangeLog.txt ChangeLog}
+\immediate\write18{makeindex -s gind.ist -o \jobname.ind \jobname.idx}
+\immediate\write18{makeindex -s gglo.ist -o \jobname.gls \jobname.glo}
+%</internal>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{supertabular}
+\usepackage{fontspec}
+\usepackage{calc}
+\usepackage{pifont}
+\usepackage{bbding}
+\usepackage{bidicode}
+\definecolor{xepersianblue}{rgb}{0.1,0.2,0.8}
+\usepackage[numbered]{hypdoc}
+\definecolor{myred}{rgb}{0.65,0.04,0.07}
+\hypersetup{pdftitle={The XePersian Package (Persian for \LaTeXe{} over XeTeX)},pdfauthor={Persian TeX Group <persiantexdev@gmail.com>},linkcolor=xepersianblue,urlcolor=xepersianblue,citecolor=xepersianblue}
+\usepackage{bidi}
+\setlength\columnseprule{.4pt}
+\newfontfamily\ParsiFont[Script=Arabic]{Iranian Sans}
+\def\Pcs#1{\nxPLcs{#1}}
+\def\nxPLcs#1{\RLE{\texttt{\symbol{92}\ParsiFont#1}}}
+\def\Lenv#1{\texttt{#1}}
+\def\Penv#1{\RLE{\ParsiFont#1}}
+\let\parsitext\Penv
+\def\XeTeX{Xe\TeX}
+\def\XeLaTeX{Xe\LaTeX}
+\def\XePersian{XePersian}
+\newcommand*{\bicsintabular}[2]{\Lcs{#2}&\Pcs{#1}\\}
+\newcommand*{\biffintabular}[2]{\texttt{#1}&\Penv{#2}\\}
+\newcommand*{\biffointabular}[3]{\texttt{#1}&\texttt{#2}&\Penv{#3}\\}
+\newcommand*{\bienvintabular}[2]{\Lenv{#2}&\Penv{#1}\\}
+\makeatletter
+\renewcommand\tableofcontents{\relax
+ \begin{multicols}{2}[\section*{\contentsname}]\small
+ \@starttoc{toc}\relax
+ \end{multicols}}
+\pdfstringdefDisableCommands{%
+\renewcommand\Lcs[1]{\textbackslash#1}
+}
+\makeatother
+\newcounter{local}
+\renewcommand\theenumi{\protect\setcounter{local}%
+ {201+\the\value{enumi}}\protect\ding{\value{local}}}
+\renewcommand\labelenumi{\theenumi}
+\renewcommand\labelitemi{\HandRight}
+\renewcommand\labelitemii{\HandRightUp}
+\renewcommand\labelitemiii{\HandCuffRight}
+\renewcommand\labelitemiv{\HandPencilLeft}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\OnlyDescription
+\begin{document}
+ \DocInput{\jobname.dtx}
+ \PrintIndex
+ \PrintChanges
+\end{document}
+%</driver>
+%
+%
+% \fi
+%
+% \GetFileInfo{\jobname.sty}
+% \CheckSum{0}
+% \makeatletter
+% \title{The \textsf{\XePersian} Package\\[10pt]
+% \includegraphics[width=0.5\textwidth]{xepersian-logo}\\[10pt]
+% Persian for \LaTeXe{} over \XeTeX}
+% \author{Persian TeX Group\\
+% \url{persiantexdev@gmail.com}}
+% \date{\today\qquad Version 12.1}
+%\maketitle
+%\tableofcontents
+%\section{Introduction}
+%\XePersian\ is a package for typesetting Persian/English documents with \XeLaTeX. The package includes adaptations for use with many other commonly-used packages.
+%\subsection{Important Notes}
+%\begin{itemize}
+%\item The \textsf{\XePersian} package only works with \XeTeX\ engine.
+%\item Before reading this documentation, you should have read the documentation of the \textsf{bidi} package. The \textsf{\XePersian} package automatically loads \textsf{bidi} package with \texttt{RTLdocument} option enabled and hence any commands that \textsf{bidi} package offers, is also available in \textsf{\XePersian} package. Here, in this documentation, we will not repeat any of \textsf{bidi} package's commands.
+%\item In previous versions (\(\leq1.0.3\)) of \XePersian, a thesis class provided for typesetting thesis. As of version 1.0.4, I no longer provide this class because I am not familiar with specification of a thesis in Iran and even if I was, the specifications are different from University to University. \XePersian\ is a general package like \LaTeX\ and should not provide any class for typesetting thesis. So if you really want to have a class file for typesetting thesis, then you should ask your University/department to write one for you.
+%
+%\end{itemize}
+%\subsection{\textsf{\XePersian} Info On The Terminal and In The Log File}
+%If you use \textsf{\XePersian} package to write any input \TeX\ document, and then run \texttt{xelatex} on your document, in addition to what \textsf{bidi} package writes to the terminal and to the log file, the \XePersian\ package also writes some information about itself to the terminal and to the log file, too. The information is something like:
+%\begin{lstlisting}[numbers=none,backgroundcolor=\color{blue!30},frame=none,framexleftmargin=1mm]
+%xepersian package (Persian for LaTeX over XeTeX)
+%Description: The package supports Persian
+%typesetting, using fonts provided in the distribution.
+%Copyright © 2008-2013 Persian TeX Group
+%v12.1, 2013/04/04
+%License: LaTeX Project Public License, version 1.3c or higher (your choice)
+%Location on CTAN: /macros/xetex/latex/xepersian
+%\end{lstlisting}
+%\section{Basics\label{basics}}
+%\subsection{Loading The Package}
+%You can load the package in the ordinary way;
+%\begin{BDef}
+%\Lcs{usepackage}\OptArgs\Largb{xepersian}
+%\end{BDef}
+%Where \texttt{options} of the package are explained later in \autoref{options}.
+%
+%When loading the package, it is important to know that:
+%\begin{enumerate}
+%\item \textsf{xepersian} should be the last package that you load, because otherwise you are certainly going to overwrite \textsf{bidi} and \textsf{\XePersian} package's definitions and consequently, you will not get the expected output.
+%\item In fact, in addition to \textsf{bidi}, \textsf{\XePersian} also makes sure that some specific packages are loaded before \textsf{bidi} and \textsf{\XePersian}; these are those packages that \textsf{bidi} and \textsf{\XePersian} modifies them for bidirectional and Persian/English typesetting.
+%
+%If you load \textsf{\XePersian} before any of these packages, then you will get an error saying that you should load \textsf{\XePersian} or \textsf{bidi} as your last package. When it says that you should load \textsf{bidi} package as your last package, it really means that you should load \textsf{\XePersian} as your last package as \textsf{bidi} package is loaded automatically by \textsf{\XePersian} package.
+%
+%For instance, consider the following minimal example:
+%\begin{lstlisting}[morekeywords={settextfont}]
+%\documentclass{minimal}
+%\usepackage{xepersian}
+%\usepackage{enumerate}
+%\settextfont{XB Niloofar}
+%\begin{document}
+%*\parsitext{این فقط یک آزمایش است}*
+%\end{document}
+%\end{lstlisting}
+%Where \textsf{enumerate} is loaded after \textsf{\XePersian}. If you run \texttt{xelatex} on this document, you will get an error which looks like this:
+%\begin{lstlisting}[numbers=none,backgroundcolor=\color{blue!30},frame=none,framexleftmargin=1mm]
+%! Package xepersian Error: Oops! you have loaded package enumerate after xepersian package. Please load package enumerate before xepersian package, and then try to run xelatex on your document again.
+%
+%See the xepersian package documentation for explanation.
+%Type H <return> for immediate help.
+% ...
+%
+%l.5 \begin{document}
+%
+%?
+%
+%\end{lstlisting}
+%\end{enumerate}
+%\subsection{\textsf{\XePersian}'s Symbol}
+% As you may know lion symbolizes \TeX{} but lion does not symbolizes \textsf{\XePersian}. \textbf{Simorgh}\footnote{\textbf{Simorgh} is an Iranian benevolent, mythical flying creature which has been shown on the titlepage of this documentation. For more details see \url{http://en.wikipedia.org/wiki/Simurgh}} (shown on the first page of this documentation) symbolizes \textsf{\XePersian}.
+%\subsection{Commands for Version number, and Date of The Package}
+%\begin{BDef}
+%\Lcs{xepersianversion}\quad\Lcs{xepersiandate}
+%\end{BDef}
+%\begin{itemize}
+%\item \Lcs{xepersianversion} gives the current version of the package.
+%\item \Lcs{xepersiandate} gives the current date of the package.
+%\end{itemize}
+%\begin{lstlisting}[morekeywords={settextfont,XePersian,xepersianversion,xepersiandate}]
+%\documentclass{article}
+%\usepackage{xepersian}
+%\settextfont{XB Niloofar}
+%\begin{document}
+%\begin{latin}
+%This is typeset by \textsf{\XePersian} package,\xepersianversion,
+%\xepersiandate.
+%\end{latin}
+%\end{document}
+%\end{lstlisting}
+%\subsection{{Options of The Package\label{options}}}
+%There are four options:
+%\subsubsection{\texttt{extrafootnotefeatures} Option}
+%This is just the \texttt{extrafootnotefeatures} Option of \textsf{bidi} package. If you enable this option, you can typeset footnotes in paragraph form or in multi-columns (from two-columns to ten-columns). For more details, please read the manual of \textsf{bidi} package.
+%\subsubsection{\texttt{Kashida} Option}
+%If you pass \texttt{Kashida} option to the package, you will use Kashida for stretching words for better output quality and getting rid of underfull or overfull \Lcs{hbox} messages.
+%\marginpar{This is the font issue not \XePersian's bug}Please note that unfortunately X series fonts of IRMUG (Iranian Mac Users Group) do not have Kashida support and if you use any of these fonts with \texttt{Kashida} option enabled, the result on the PDF viewed on the monitor is not pleasant, however the print may look fine. Hence if you are going to enable \texttt{Kashida} option , then you are advised to use either ``Adobe Arabic'' or ``Scheherazade'' fonts or any other fonts that has fine Kashida support, like \textsf{Persian Modern} font (the default font of \XePersian{} package).
+%
+%Note that you can not use \texttt{Kashida} option when you are using Nastaliq-like font (well, you still can use \texttt{Kashida} option when you use any Nastaliq-like font, but I can not guarantee high quality output!).
+%
+%\bigskip
+%The following two commands are provided when you activate the \texttt{Kashida} option:
+%\begin{BDef}
+%\Lcs{KashidaOn}\quad\Lcs{KashidaOff}
+%\end{BDef}
+%\begin{itemize}
+%\item \Lcs{KashidaOn} enables Kashida and is active by default when \texttt{Kashida} option is activated.
+%\item \Lcs{KashidaOff} disables Kashida.
+%\end{itemize}
+%
+%\subsubsection{\texttt{quickindex} Option}
+%When you generally want to prepare index for your Persian documents, you need to first run \texttt{xelatex}, then \texttt{xindy}, and again \texttt{xelatex} on your document respectively, which is very time consuming. The \texttt{quickindex} option gives you the index with only and only one run of \texttt{xelatex}. To use this feature, you will need to run \texttt{xelatex --shell-escape} on your \TeX{} document; otherwise you get an error which indicates that shell scape (or write18) is not enabled.
+%\subsubsection{\texttt{localise} Option}
+%The \texttt{localise} option is now active by default; it allows you to use most frequently-used \LaTeX\ commands and environments in Persian, almost like what \TeX-e-Parsi offers. This is still work in progress and we wish to add lots more Persian equivalents of \LaTeX\ and \TeX\ commands and environments. The Persian equivalents of \LaTeX\ and \TeX\ commands are shown in \autoref{lcs}, The Persian equivalents of \XePersian\ commands are shown in \autoref{xcs}, Persian equivalents of \LaTeX\ environments are shown in \autoref{lenv} and Persian equivalents of \XePersian\ environments are shown in \autoref{xenv}
+%
+%Please note that the Persian equivalents of \LaTeX\ and \TeX\ commands and environments are only available after loading \textsf{xepersian} package. This means that you have to write all commands or environments that come before \Lcs{usepackage}\Largb{xepersian}, in its original form, i.e. \Lcs{documentclass}.
+%
+%Not only you can use Persian equivalents of \LaTeX\ and \TeX\ commands and environments, but still original \LaTeX\ and \TeX\ commands and environments work too.
+%
+%The \TeX\, \LaTeX\, and \XePersian\ commands and environments and their Persian equivalents listed in \autoref{lcs}, \autoref{xcs}, \autoref{lenv} and \autoref{xenv} is not the whole story; If any command and environment in \autoref{lcs}, \autoref{xcs}, \autoref{lenv} and \autoref{xenv} have a starred version, their starred version also work. For example in \autoref{lcs}, the Persian equivalent of \Lcs{chapter} is \Pcs{فصل}. I know that \Lcs{chapter} has a starred version, so this means \Pcs{فصل*} is also the Persian equivalent of \Lcs{chapter*}. Is that clear?
+%
+%\medskip
+%However there is more; you can localise any other commands/environments you want. You can use the following commands to localise your own commands/environments:
+%\begin{BDef}
+%\Lcs{eqcommand}\Largb{\Larga{command-name in Persian}}\Largb{\Larga{original \LaTeX{} command-name}}\\
+%\Lcs{eqenvironment}\Largb{\Larga{environment-name in Persian}}\Largb{\Larga{original \LaTeX{} environment-name}}
+%\end{BDef}
+%
+%\begin{center}
+%\tablecaption{The Equivalent \LaTeX\ and \TeX\ Commands\label{lcs}}
+%\tablehead
+% {\bfseries Command in \TeX\ or \LaTeX\ &\bfseries Equivalent Persian Command\\ \hline}
+%\tabletail
+% {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
+%\tablelasttail{\hline}
+%\begin{supertabular}{lr}
+%\bicsintabular{شمع‌جدول}{@arstrut}
+%\bicsintabular{فوق}{above}
+%\bicsintabular{فاصله‌کوتاه‌بالای‌نمایش}{abovedisplayshortskip}
+%\bicsintabular{فاصله‌بالای‌نمایش}{abovedisplayskip}
+%\bicsintabular{عنوان‌چکیده}{abstractname}
+%\bicsintabular{اکسنت}{accent}
+%\bicsintabular{فعال}{active}
+%\bicsintabular{بیفزاسطرفهرست}{addcontentsline}
+%\bicsintabular{اضافه‌برجریمه}{addpenalty}
+%\bicsintabular{نشانی}{address}
+%\bicsintabular{بیفزابه‌فهرست}{addtocontents}
+%\bicsintabular{اضافه‌برشمارنده}{addtocounter}
+%\bicsintabular{اضافه‌بربعد}{addtolength}
+%\bicsintabular{بیفزافضای‌و}{addvspace}
+%\bicsintabular{تنظیم‌بدنمایی}{adjdemerits}
+%\bicsintabular{بیفزابر}{advance}
+%\bicsintabular{بعدازانتساب}{afterassignment}
+%\bicsintabular{بعدازگروه}{aftergroup}
+%\bicsintabular{الف}{aleph}
+%\bicsintabular{خصیصه‌مستعارقلم}{aliasfontfeature}
+%\bicsintabular{انتخاب‌خصیصه‌مستعارقلم}{aliasfontfeatureoption}
+%\bicsintabular{شکستنی}{allowbreak}
+%\bicsintabular{تخصی@}{alloc@}
+%\bicsintabular{تخصیص‌یافته}{allocationnumber}
+%\bicsintabular{شکست‌نمایش‌مجاز}{allowdisplaybreaks}
+%\bicsintabular{حروف‌بزرگ}{Alph}
+%\bicsintabular{حروف‌کوچک}{alph}
+%\bicsintabular{نام‌همچنین}{alsoname}
+%\bicsintabular{و}{and}
+%\bicsintabular{زاویه}{angle}
+%\bicsintabular{عنوان‌پیوست}{appendixname}
+%\bicsintabular{تقریب}{approx}
+%\bicsintabular{عربی}{arabic}
+%\bicsintabular{آرگ}{arg}
+%\bicsintabular{رنگ‌خط‌جدول}{arrayrulecolor}
+%\bicsintabular{فاصله‌ستونهای‌آرایه}{arraycolsep}
+%\bicsintabular{ضخامت‌خط‌جدول}{arrayrulewidth}
+%\bicsintabular{کشیدگی‌آرایه}{arraystretch}
+%\bicsintabular{درآغازنوشتار}{AtBeginDocument}
+%\bicsintabular{درپایان‌نوشتار}{AtEndDocument}
+%\bicsintabular{درانتهای‌طبقه}{AtEndOfClass}
+%\bicsintabular{درانتهای‌سبک}{AtEndOfPackage}
+%\bicsintabular{نویسنده}{author}
+%\bicsintabular{مطلب‌پشت}{backmatter}
+%\bicsintabular{شکاف‌پشت}{backslash}
+%\bicsintabular{بدنمایی}{badness}
+%\bicsintabular{میله}{bar}
+%\bicsintabular{فاصله‌کرسی}{baselineskip}
+%\bicsintabular{کشش‌فاصله‌کرسی}{baselinestretch}
+%\bicsintabular{پردازش‌دسته‌ای}{batchmode}
+%\bicsintabular{شروع}{begin}
+%\bicsintabular{شروع‌چپ}{beginL}
+%\bicsintabular{شروع‌راست}{beginR}
+%\bicsintabular{شروع‌گروه}{begingroup}
+%\bicsintabular{فاصله‌کوتاه‌پایین‌نمایش}{belowdisplayshortskip}
+%\bicsintabular{فاصله‌پایین‌نمایش}{belowdisplayskip}
+%\bicsintabular{سیاه}{bf}
+%\bicsintabular{پیش‌فرض‌سیاه}{bfdefault}
+%\bicsintabular{شمایل‌سیاه}{bfseries}
+%\bicsintabular{شرگروه}{bgroup}
+%\bicsintabular{مرجوع}{bibitem}
+%\bicsintabular{کتاب‌نامه}{bibliography}
+%\bicsintabular{سبک‌کتاب‌نامه}{bibliographystyle}
+%\bicsintabular{عنوان‌کتاب‌نامه}{bibname}
+%\bicsintabular{پرش‌بلند}{bigskip}
+%\bicsintabular{مقدارپرش‌بلند}{bigskipamount}
+%\bicsintabular{خط‌پایین‌شناور}{botfigrule}
+%\bicsintabular{علامت‌پایین}{botmark}
+%\bicsintabular{کادرتاپایین}{bottompageskip}
+%\bicsintabular{نسبت‌پایین}{bottomfraction}
+%\bicsintabular{کادر}{box}
+%\bicsintabular{حداکثرعمق‌کادر}{boxmaxdepth}
+%\bicsintabular{بشکن}{break}
+%\bicsintabular{گلوله}{bullet}
+%\bicsintabular{دوپن@پنج}{@cclv}
+%\bicsintabular{دوپن@شش}{@cclvi}
+%\bicsintabular{شرح}{caption}
+%\bicsintabular{کدرده}{catcode}
+%\bicsintabular{رونوشت}{cc}
+%\bicsintabular{نام‌رونوشت}{ccname}
+%\bicsintabular{نقطه‌وسط}{cdot}
+%\bicsintabular{نقاط‌وسط}{cdots}
+%\bicsintabular{تنظیم‌ازوسط}{centering}
+%\bicsintabular{خط‌وسط}{centerline}
+%\bicsintabular{چک@ن}{ch@ck}
+%\bicsintabular{فصل}{chapter}
+%\bicsintabular{عنوان‌فصل}{chaptername}
+%\bicsintabular{نویسه}{char}
+%\bicsintabular{تعریف‌نویسه}{chardef}
+%\bicsintabular{برسی‌فرمان}{CheckCommand}
+%\bicsintabular{مرجع}{cite}
+%\bicsintabular{خطای‌طبقه}{ClassError}
+%\bicsintabular{اطلاع‌طبقه}{ClassInfo}
+%\bicsintabular{هشدارطبقه}{ClassWarning}
+%\bicsintabular{هشدارطبقه‌بی‌سطر}{ClassWarningNoLine}
+%\bicsintabular{نشانگرمرکزی}{cleaders}
+%\bicsintabular{دوصفحه‌پاک}{cleardoublepage}
+%\bicsintabular{صفحه‌پاک}{clearpage}
+%\bicsintabular{خط‌ناپر}{cline}
+%\bicsintabular{ببندورودی}{closein}
+%\bicsintabular{ببندخروجی}{closeout}
+%\bicsintabular{بستن}{closing}
+%\bicsintabular{جریمه‌سربند}{clubpenalty}
+%\bicsintabular{خاج}{clubsuit}
+%\bicsintabular{علامت‌پایین‌ستون‌اول}{colbotmark}
+%\bicsintabular{علامت‌اول‌ستون‌اول}{colfirstmark}
+%\bicsintabular{رنگ}{color}
+%\bicsintabular{کادررنگ}{colorbox}
+%\bicsintabular{علامت‌بالای‌ستون‌اول}{coltopmark}
+%\bicsintabular{رنگ‌ستون}{columncolor}
+%\bicsintabular{بین‌ستون}{columnsep}
+%\bicsintabular{پهنای‌ستون}{columnwidth}
+%\bicsintabular{خط‌بین‌ستون}{columnseprule}
+%\bicsintabular{سطرفهرست}{contentsline}
+%\bicsintabular{عنوان‌فهرست‌مطالب}{contentsname}
+%\bicsintabular{کپی}{copy}
+%\bicsintabular{حق‌تالیف}{copyright}
+%\bicsintabular{شمار}{count}
+%\bicsintabular{شمار@}{count@}
+%\bicsintabular{تعریف‌شمار}{countdef}
+%\bicsintabular{سخ}{cr}
+%\bicsintabular{سخ‌سخ}{crcr}
+%\bicsintabular{نام‌فرمان}{csname}
+%\bicsintabular{گزینه‌جاری}{CurrentOption}
+%\bicsintabular{کادربینابین}{dashbox}
+%\bicsintabular{بینابین‌ع}{dashv}
+%\bicsintabular{@تاریخ}{@date}
+%\bicsintabular{تاریخ}{date}
+%\bicsintabular{روز}{day}
+%\bicsintabular{خط‌پایین‌شناورپهن}{dblbotfigrule}
+%\bicsintabular{نسبت‌پهن‌پایین}{dblbottomfraction}
+%\bicsintabular{خط‌بالای‌شناورپهن}{dblfigrule}
+%\bicsintabular{نسبت‌صفحه‌شناورپهن}{dblfloatpagefraction}
+%\bicsintabular{فاصله‌بین‌شناورپهن}{dblfloatsep}
+%\bicsintabular{کدمکان‌غیرهمانطور}{dblfntlocatecode}
+%\bicsintabular{فاصله‌متن‌وشناورپهن}{dbltextfloatsep}
+%\bicsintabular{نسبت‌پهن‌بالا}{dbltopfraction}
+%\bicsintabular{اعلان‌قلم‌ثابت}{DeclareFixedFont}
+%\bicsintabular{اعلان‌پسوندگرافیک}{DeclareGraphicsExtensions}
+%\bicsintabular{اعلان‌دستورگرافیک}{DeclareGraphicsRule}
+%\bicsintabular{اعلان‌فرمان‌قلم‌قدیمی}{DeclareOldFontCommand}
+%\bicsintabular{اعلان‌گزینه}{DeclareOption}
+%\bicsintabular{اعلان‌فرمان‌قوی}{DeclareRobustCommand}
+%\bicsintabular{اعلان‌قلم‌علائم}{DeclareSymbolFont}
+%\bicsintabular{دوربسته}{deadcycles}
+%\bicsintabular{تر}{def}
+%\bicsintabular{تعریف@کلید}{define@key}
+%\bicsintabular{تعریف‌رنگ}{definecolor}
+%\bicsintabular{درجه}{deg}
+%\bicsintabular{کدجداساز}{delcode}
+%\bicsintabular{جداساز}{delimiter}
+%\bicsintabular{ضریب‌جداساز}{delimiterfactor}
+%\bicsintabular{گودی}{depth}
+%\bicsintabular{خشت}{diamondsuit}
+%\bicsintabular{ابعاد}{dim}
+%\bicsintabular{بعد}{dimen}
+%\bicsintabular{بعد@}{dimen@}
+%\bicsintabular{بعد@یک}{dimen@i}
+%\bicsintabular{بعد@دو}{dimen@ii}
+%\bicsintabular{تعریف‌بعد}{dimendef}
+%\bicsintabular{تیره‌گذاری}{discretionary}
+%\bicsintabular{شکست‌نمایش}{displaybreak}
+%\bicsintabular{تورفتگی‌نمایش}{displayindent}
+%\bicsintabular{سبک‌نمایش}{displaystyle}
+%\bicsintabular{عرض‌نمایش}{displaywidth}
+%\bicsintabular{تقسیم}{divide}
+%\bicsintabular{طبقه‌نوشتار}{documentclass}
+%\bicsintabular{کن}{do}
+%\bicsintabular{تعویض‌کدها}{dospecials}
+%\bicsintabular{نقطه}{dot}
+%\bicsintabular{نقطه‌مساوی}{doteq}
+%\bicsintabular{پرنقطه‌ا}{dotfill}
+%\bicsintabular{نقاط}{dots}
+%\bicsintabular{کادردولا}{doublebox}
+%\bicsintabular{رنگ‌فاصله‌دوخط‌جدول}{doublerulesepcolor}
+%\bicsintabular{فاصله‌بین‌دوخط}{doublerulesep}
+%\bicsintabular{فلش‌پایین}{downarrow}
+%\bicsintabular{عمق}{dp}
+%\bicsintabular{تخلیه}{dump}
+%\bicsintabular{ترگ}{edef}
+%\bicsintabular{پاگروه}{egroup}
+%\bicsintabular{انتهای‌فاصله}{eject}
+%\bicsintabular{گرنه}{else}
+%\bicsintabular{تاکید}{em}
+%\bicsintabular{کشش‌لاجرم}{emergencystretch}
+%\bicsintabular{موکد}{emph}
+%\bicsintabular{@پوچ}{@empty}
+%\bicsintabular{پوچ}{empty}
+%\bicsintabular{مجموعه‌پوچ}{emptyset}
+%\bicsintabular{پایان}{end}
+%\bicsintabular{پایان‌چپ}{endL}
+%\bicsintabular{پایان‌راست}{endR}
+%\bicsintabular{پایان‌نام‌فرمان}{endcsname}
+%\bicsintabular{پایان‌اولین‌سر}{endfirsthead}
+%\bicsintabular{پایان‌پا}{endfoot}
+%\bicsintabular{ته‌بند}{endgraf}
+%\bicsintabular{پایان‌گروه}{endgroup}
+%\bicsintabular{پایان‌سر}{endhead}
+%\bicsintabular{پایان‌ورودی}{endinput}
+%\bicsintabular{پایان‌آخرین‌پا}{endlastfoot}
+%\bicsintabular{گسترش‌این‌صفحه}{enlargethispage}
+%\bicsintabular{ته‌سطر}{endline}
+%\bicsintabular{نویسه‌ته‌سطر}{endlinechar}
+%\bicsintabular{ان‌دوری}{enspace}
+%\bicsintabular{ان‌فاصله}{enskip}
+%\bicsintabular{فرمان‌جانشین}{eqcommand}
+%\bicsintabular{محیط‌جانشین}{eqenvironment}
+%\bicsintabular{ارجاع‌فر}{eqref}
+%\bicsintabular{کمک‌خطا}{errhelp}
+%\bicsintabular{پیام‌خطا}{errmessage}
+%\bicsintabular{سطرمتن‌خطا}{errorcontextlines}
+%\bicsintabular{پردازش‌توقف‌خطا}{errorstopmode}
+%\bicsintabular{نویسه‌ویژه}{escapechar}
+%\bicsintabular{یورو}{euro}
+%\bicsintabular{حاشیه‌زوج}{evensidemargin}
+%\bicsintabular{هرسخ}{everycr}
+%\bicsintabular{هرنمایش}{everydisplay}
+%\bicsintabular{هرکادرا}{everyhbox}
+%\bicsintabular{هرکار}{everyjob}
+%\bicsintabular{هرریاضی}{everymath}
+%\bicsintabular{هربند}{everypar}
+%\bicsintabular{هرکادرو}{everyvbox}
+%\bicsintabular{اجرای‌گزینه‌ها}{ExecuteOptions}
+%\bicsintabular{جریمه‌اضافی‌تیره‌بندی}{exhyphenpenalty}
+%\bicsintabular{بگسترپس‌از}{expandafter}
+%\bicsintabular{فاصله‌اضافی‌بین‌ستونها}{extracolsep}
+%\bicsintabular{@اولی‌ازیک}{@firstofone}
+%\bicsintabular{@اولی‌ازدو}{@firstoftwo}
+%\bicsintabular{چ@ار}{f@ur}
+%\bicsintabular{خانواده}{fam}
+%\bicsintabular{صفحه‌تجملی}{fancypage}
+%\bicsintabular{کادربا}{fbox}
+%\bicsintabular{ضخامت‌کادربا}{fboxrule}
+%\bicsintabular{حاشیه‌کادربا}{fboxsep}
+%\bicsintabular{کادربارنگ}{fcolorbox}
+%\bicsintabular{رگ}{fi}
+%\bicsintabular{عنوان‌شکل}{figurename}
+%\bicsintabular{پرشکن}{filbreak}
+%\bicsintabular{پر}{fill}
+%\bicsintabular{علامت‌اول}{firstmark}
+%\bicsintabular{پهن}{flat}
+%\bicsintabular{نسبت‌صفحه‌شناور}{floatpagefraction}
+%\bicsintabular{جریمه‌شناور}{floatingpenalty}
+%\bicsintabular{فاصله‌بین‌شناور}{floatsep}
+%\bicsintabular{تنظیم‌ازپایین}{flushbottom}
+%\bicsintabular{شکلبندی}{fmtname}
+%\bicsintabular{رده‌شکلبندی}{fmtversion}
+%\bicsintabular{نشانه}{fnsymbol}
+%\bicsintabular{قلم}{font}
+%\bicsintabular{بعدقلم}{fontdimen}
+%\bicsintabular{رمزینه‌قلم}{fontencoding}
+%\bicsintabular{فامیل‌قلم}{fontfamily}
+%\bicsintabular{نام‌قلم}{fontname}
+%\bicsintabular{شمایل‌قلم}{fontseries}
+%\bicsintabular{شکل‌قلم}{fontshape}
+%\bicsintabular{اندازه‌قلم}{fontsize}
+%\bicsintabular{بلندای‌پایین‌صفحه}{footheight}
+%\bicsintabular{درج‌زیرنویس}{footins}
+%\bicsintabular{زیرنویس}{footnote}
+%\bicsintabular{علامت‌زیرنویس}{footnotemark}
+%\bicsintabular{خط‌زیرنویس}{footnoterule}
+%\bicsintabular{فاصله‌تازیرنویس}{footnotesep}
+%\bicsintabular{اندازه‌زیرنویس}{footnotesize}
+%\bicsintabular{متن‌زیرنویس}{footnotetext}
+%\bicsintabular{فاصله‌تاپایین‌صفحه}{footskip}
+%\bicsintabular{فریم}{frame}
+%\bicsintabular{کادرباخط}{framebox}
+%\bicsintabular{فواصل‌یکنواخت‌لاتین}{frenchspacing}
+%\bicsintabular{مطلب‌پیش}{frontmatter}
+%\bicsintabular{بعدبگذار}{futurelet}
+%\bicsintabular{@خورحریصانه}{@gobble}
+%\bicsintabular{@خورحریصانه‌دو}{@gobbletwo}
+%\bicsintabular{@خورحریصانه‌چهار}{@gobblefour}
+%\bicsintabular{@عاقت‌آ}{@gtempa}
+%\bicsintabular{@عاقت‌ب}{@gtempb}
+%\bicsintabular{ترع}{gdef}
+%\bicsintabular{الگوی‌اطلاع}{GenericInfo}
+%\bicsintabular{الگوی‌هشدار}{GenericWarning}
+%\bicsintabular{الگوی‌خطا}{GenericError}
+%\bicsintabular{عام}{global}
+%\bicsintabular{تعاریف‌عام}{globaldefs}
+%\bicsintabular{لغت‌نامه}{glossary}
+%\bicsintabular{فقره‌فرهنگ}{glossaryentry}
+%\bicsintabular{خوش‌شکن}{goodbreak}
+%\bicsintabular{کاغذگراف}{graphpaper}
+%\bicsintabular{گیومه‌چپ}{guillemotleft}
+%\bicsintabular{گیومه‌راست}{guillemotright}
+%\bicsintabular{گیومه‌تکی‌چپ}{guilsinglleft}
+%\bicsintabular{گیومه‌تکی‌راست}{guilsinglright}
+%\bicsintabular{ردیف‌ا}{halign}
+%\bicsintabular{بروتو}{hang}
+%\bicsintabular{بعدازسطر}{hangafter}
+%\bicsintabular{تورفتگی‌ثابت}{hangindent}
+%\bicsintabular{بدنمایی‌ا}{hbadness}
+%\bicsintabular{کادرا}{hbox}
+%\bicsintabular{بلندای‌سرصفحه}{headheight}
+%\bicsintabular{فاصله‌ازسرصفحه}{headsep}
+%\bicsintabular{سربه‌نام}{headtoname}
+%\bicsintabular{دل}{heartsuit}
+%\bicsintabular{بلندا}{height}
+%\bicsintabular{پرا}{hfil}
+%\bicsintabular{پررا}{hfill}
+%\bicsintabular{رفع‌پرا}{hfilneg}
+%\bicsintabular{پرزافقی}{hfuzz}
+%\bicsintabular{فاصله‌مخفی}{hideskip}
+%\bicsintabular{عرض‌پنهان}{hidewidth}
+%\bicsintabular{خط‌پر}{hline}
+%\bicsintabular{حاشیه‌ا}{hoffset}
+%\bicsintabular{حفظ‌درج}{holdinginserts}
+%\bicsintabular{فاصله‌اگرد}{hrboxsep}
+%\bicsintabular{خط‌ا}{hrule}
+%\bicsintabular{پرخط‌ا}{hrulefill}
+%\bicsintabular{طول‌سطر}{hsize}
+%\bicsintabular{فاصله‌ا}{hskip}
+%\bicsintabular{فضای‌ا}{hspace}
+%\bicsintabular{هردوا}{hss}
+%\bicsintabular{ارتفاع}{ht}
+%\bicsintabular{بزرگ}{huge}
+%\bicsintabular{بزرگ‌تر}{Huge}
+%\bicsintabular{ابرپیوند}{hyperlink}
+%\bicsintabular{بارگذاری‌ابر}{hypersetup}
+%\bicsintabular{هدف‌ابر}{hypertarget}
+%\bicsintabular{تیره‌بندی}{hyphenation}
+%\bicsintabular{نویسه‌تیره}{hyphenchar}
+%\bicsintabular{جریمه‌تیره‌بندی}{hyphenpenalty}
+%\bicsintabular{@گرکلاس‌فراخوانی‌شده}{@ifclassloaded}
+%\bicsintabular{@گرترشدنی}{@ifdefinable}
+%\bicsintabular{@گرنویسه‌بعدی}{@ifnextchar}
+%\bicsintabular{@گرسبک‌فراخوانی‌شده}{@ifpackageloaded}
+%\bicsintabular{@گرستاره}{@ifstar}
+%\bicsintabular{@گرتعریف‌نشده}{@ifundefined}
+%\bicsintabular{گر}{if}
+%\bicsintabular{گر@سواقت‌آ}{if@tempswa}
+%\bicsintabular{گرانواع}{ifcase}
+%\bicsintabular{گررده}{ifcat}
+%\bicsintabular{گرتعریف‌شده}{ifdefined}
+%\bicsintabular{گربعد}{ifdim}
+%\bicsintabular{گرته‌پرونده}{ifeof}
+%\bicsintabular{گرر}{iff}
+%\bicsintabular{گرنادرست}{iffalse}
+%\bicsintabular{گرپرونده‌موجود}{IfFileExists}
+%\bicsintabular{گرکادرا}{ifhbox}
+%\bicsintabular{گرحالت‌ا}{ifhmode}
+%\bicsintabular{گردرونی}{ifinner}
+%\bicsintabular{گرحالت‌ریاضی}{ifmmode}
+%\bicsintabular{گرعدد}{ifnum}
+%\bicsintabular{گرفرد}{ifodd}
+%\bicsintabular{گرآنگاه‌دیگر}{ifthenelse}
+%\bicsintabular{گردرست}{iftrue}
+%\bicsintabular{گرکادرو}{ifvbox}
+%\bicsintabular{گرحالت‌و}{ifvmode}
+%\bicsintabular{گرتهی}{ifvoid}
+%\bicsintabular{گرتام}{ifx}
+%\bicsintabular{فاصله‌خالی‌راندیده‌بگیر}{ignorespaces}
+%\bicsintabular{فوری}{immediate}
+%\bicsintabular{شامل}{include}
+%\bicsintabular{درج‌تصویر}{includegraphics}
+%\bicsintabular{مشمولین}{includeonly}
+%\bicsintabular{تورفتگی}{indent}
+%\bicsintabular{درنمایه}{index}
+%\bicsintabular{استعلام}{indexentry}
+%\bicsintabular{عنوان‌نمایه}{indexname}
+%\bicsintabular{فاصله‌رهنما}{indexspace}
+%\bicsintabular{ورودی}{input}
+%\bicsintabular{ورودپرونده‌گرموجود}{InputIfFileExists}
+%\bicsintabular{شماره‌سطرورودی}{inputlineno}
+%\bicsintabular{درج}{insert}
+%\bicsintabular{جریمه‌درج}{insertpenalties}
+%\bicsintabular{جریمه‌بین‌سطرهای‌زیرنویس}{interfootnotelinepenalty}
+%\bicsintabular{جریمه‌بین‌سطرهای‌نمایش}{interdisplaylinepenalty}
+%\bicsintabular{جریمه‌بین‌سطرها}{interlinepenalty}
+%\bicsintabular{متن‌داخلی}{intertext}
+%\bicsintabular{فاصله‌شناوردرمتن}{intertextsep}
+%\bicsintabular{مخفی}{invisible}
+%\bicsintabular{پیش‌فرض‌ای}{itdefault}
+%\bicsintabular{شکل‌ایتالیک}{itshape}
+%\bicsintabular{فقره}{item}
+%\bicsintabular{تورفتگی‌فقره}{itemindent}
+%\bicsintabular{فاصله‌فقره}{itemsep}
+%\bicsintabular{تکرارکن}{iterate}
+%\bicsintabular{شکل‌ای}{itshape}
+%\bicsintabular{نام‌کار}{jobname}
+%\bicsintabular{قلپ}{jot}
+%\bicsintabular{دوری}{kern}
+%\bicsintabular{الگو}{kill}
+%\bicsintabular{برچسب}{label}
+%\bicsintabular{برچسب‌شمارش‌یک}{labelenumi}
+%\bicsintabular{برچسب‌شمارش‌دو}{labelenumii}
+%\bicsintabular{برچسب‌شمارش‌سه}{labelenumiii}
+%\bicsintabular{برچسب‌شمارش‌چهار}{labelenumiv}
+%\bicsintabular{برچسب‌فقره‌یک}{labelitemi}
+%\bicsintabular{برچسب‌فقره‌دو}{labelitemii}
+%\bicsintabular{برچسب‌فقره‌سه}{labelitemiii}
+%\bicsintabular{برچسب‌فقره‌چهار}{labelitemiv}
+%\bicsintabular{فاصله‌ازبرچسب}{labelsep}
+%\bicsintabular{پهنای‌برچسب}{labelwidth}
+%\bicsintabular{زبان}{language}
+%\bicsintabular{درشت}{large}
+%\bicsintabular{درشت‌تر}{Large}
+%\bicsintabular{درشت‌درشت}{LARGE}
+%\bicsintabular{آخرین‌کادر}{lastbox}
+%\bicsintabular{آخرین‌دوری}{lastkern}
+%\bicsintabular{آخرین‌جریمه}{lastpenalty}
+%\bicsintabular{آخرین‌فاصله}{lastskip}
+%\bicsintabular{لاتک}{LaTeX}
+%\bicsintabular{لاتک‌ای}{LaTeXe}
+%\bicsintabular{کدکوچک}{lccode}
+%\bicsintabular{نقاط‌خ}{ldots}
+%\bicsintabular{نشانگر}{leaders}
+%\bicsintabular{ترک‌و}{leavevmode}
+%\bicsintabular{چپ}{left}
+%\bicsintabular{حاشیه‌چپ}{leftmargin}
+%\bicsintabular{حاشیه‌چپ‌یک}{leftmargini}
+%\bicsintabular{حاشیه‌چپ‌دو}{leftmarginii}
+%\bicsintabular{حاشیه‌چپ‌سه}{leftmarginiii}
+%\bicsintabular{حاشیه‌چپ‌چهار}{leftmarginiv}
+%\bicsintabular{حاشیه‌چپ‌پنج}{leftmarginv}
+%\bicsintabular{حاشیه‌چپ‌شش}{leftmarginvi}
+%\bicsintabular{علامت‌چپ}{leftmark}
+%\bicsintabular{کادرتاچپ}{leftpageskip}
+%\bicsintabular{فاصله‌ابتدای‌سطر}{leftskip}
+%\bicsintabular{بگذار}{let}
+%\bicsintabular{سطر}{line}
+%\bicsintabular{سطرشکن}{linebreak}
+%\bicsintabular{جریمه‌سطر}{linepenalty}
+%\bicsintabular{فاصله‌سطرها}{lineskip}
+%\bicsintabular{حدفاصله‌سطر}{lineskiplimit}
+%\bicsintabular{کشش‌فاصله‌سطر}{linespread}
+%\bicsintabular{ضخامت‌خط}{linethickness}
+%\bicsintabular{پهنای‌سطر}{linewidth}
+%\bicsintabular{عنوان‌فهرست‌اشکال}{listfigurename}
+%\bicsintabular{لیست‌پرونده‌ها}{listfiles}
+%\bicsintabular{فهرست‌اشکال}{listoffigures}
+%\bicsintabular{فهرست‌جداول}{listoftables}
+%\bicsintabular{تورفتگی‌بندلیست}{listparindent}
+%\bicsintabular{عنوان‌فهرست‌جداول}{listtablename}
+%\bicsintabular{بارکن‌طبقه}{LoadClass}
+%\bicsintabular{بارکن‌طبقه‌باگزینه}{LoadClassWithOptions}
+%\bicsintabular{مکان}{location}
+%\bicsintabular{بلند}{long}
+%\bicsintabular{حلقه}{loop}
+%\bicsintabular{گسیختگی}{looseness}
+%\bicsintabular{انتقال‌بپایین}{lower}
+%\bicsintabular{@دیگر}{@makeother}
+%\bicsintabular{@زار}{@m}
+%\bicsintabular{ده@زار}{@M}
+%\bicsintabular{ده@زاریک}{@Mi}
+%\bicsintabular{ده@زاردو}{@Mii}
+%\bicsintabular{ده@زارسه}{@Miii}
+%\bicsintabular{ده@زارچهار}{@Miv}
+%\bicsintabular{بیس@زار}{@MM}
+%\bicsintabular{من@ا}{m@ne}
+%\bicsintabular{بزرگ‌نمایی}{mag}
+%\bicsintabular{گام}{magstep}
+%\bicsintabular{نیم‌گام}{magstephalf}
+%\bicsintabular{مطلب‌اصلی}{mainmatter}
+%\bicsintabular{ات‌حرف}{makeatletter}
+%\bicsintabular{ات‌دیگر}{makeatother}
+%\bicsintabular{کادربی‌خط}{makebox}
+%\bicsintabular{ساخت‌فرهنگ}{makeglossary}
+%\bicsintabular{تهیه‌نمایه}{makeindex}
+%\bicsintabular{ساخت‌برچسب}{makelabel}
+%\bicsintabular{ساخت‌برچسب‌ها}{makelabels}
+%\bicsintabular{ساخت‌حروف‌کوچک}{MakeLowercase}
+%\bicsintabular{عنوان‌ساز}{maketitle}
+%\bicsintabular{ساخت‌حروف‌بزرگ}{MakeUppercase}
+%\bicsintabular{درحاشیه}{marginpar}
+%\bicsintabular{فاصله‌دوحاشیه}{marginparpush}
+%\bicsintabular{فاصله‌تاحاشیه}{marginparsep}
+%\bicsintabular{پهنای‌حاشیه}{marginparwidth}
+%\bicsintabular{علامت}{mark}
+%\bicsintabular{علامت‌دردوطرف}{markboth}
+%\bicsintabular{علامت‌درراست}{markright}
+%\bicsintabular{اعراب‌ریاضی}{mathaccent}
+%\bicsintabular{نویسه‌ریاضی}{mathchar}
+%\bicsintabular{تعریف‌نویسه‌ریاضی}{mathchardef}
+%\bicsintabular{کدریاضی}{mathcode}
+%\bicsintabular{ریاضی‌رومن}{mathrm}
+%\bicsintabular{حداکثرتکرار}{maxdeadcycles}
+%\bicsintabular{حداکثرعمق‌صفحه}{maxdepth}
+%\bicsintabular{بعدبیشین}{maxdimen}
+%\bicsintabular{کادربی}{mbox}
+%\bicsintabular{شمایل‌نازک}{mdseries}
+%\bicsintabular{معنا}{meaning}
+%\bicsintabular{نازک}{mediumseries}
+%\bicsintabular{فاصله‌متوسط‌ریاضی}{medmuskip}
+%\bicsintabular{پرش‌متوسط}{medskip}
+%\bicsintabular{مقدارپرش‌متوسط}{medskipamount}
+%\bicsintabular{فضای‌متوسط}{medspace}
+%\bicsintabular{پیام}{message}
+%\bicsintabular{پیام‌شکن}{MessageBreak}
+%\bicsintabular{حداقل‌فاصله‌ردیف}{minrowclearance}
+%\bicsintabular{دوری‌ریاضی}{mkern}
+%\bicsintabular{ماه}{month}
+%\bicsintabular{انتقال‌بچپ}{moveleft}
+%\bicsintabular{انتقال‌براست}{moveright}
+%\bicsintabular{فاصله‌ریاضی}{mskip}
+%\bicsintabular{ری@ضی}{m@th}
+%\bicsintabular{چندستونی}{multicolumn}
+%\bicsintabular{ضرب}{multiply}
+%\bicsintabular{چندادغام}{multispan}
+%\bicsintabular{میوفاصله}{muskip}
+%\bicsintabular{تعریف‌میوفاصله}{muskipdef}
+%\bicsintabular{@ترنام}{@namedef}
+%\bicsintabular{@کاربردنام}{@nameuse}
+%\bicsintabular{یک@}{@ne}
+%\bicsintabular{نام}{name}
+%\bicsintabular{طبیعی}{natural}
+%\bicsintabular{باریک}{nearrow}
+%\bicsintabular{باریکتر}{nearrower}
+%\bicsintabular{شکلبندی‌موردنیاز}{NeedsTeXFormat}
+%\bicsintabular{منفی}{neg}
+%\bicsintabular{فضای‌متوسط‌منفی}{negmedspace}
+%\bicsintabular{فضای‌ضخیم‌منفی}{negthickspace}
+%\bicsintabular{دوری‌کوچک‌منفی}{negthinspace}
+%\bicsintabular{بولی‌نو}{newboolean}
+%\bicsintabular{کادرجدید}{newbox}
+%\bicsintabular{فرمان‌نو}{newcommand}
+%\bicsintabular{شمارجدید}{newcount}
+%\bicsintabular{شمارنده‌جدید}{newcounter}
+%\bicsintabular{بعدجدید}{newdimen}
+%\bicsintabular{محیط‌نو}{newenvironment}
+%\bicsintabular{خانواده‌جدید}{newfam}
+%\bicsintabular{قلم‌نو}{newfont}
+%\bicsintabular{کمک‌جدید}{newhelp}
+%\bicsintabular{گرجدید}{newif}
+%\bicsintabular{درج‌جدید}{newinsert}
+%\bicsintabular{برچسب‌جدید}{newlabel}
+%\bicsintabular{تعریف‌بعدجدید}{newlength}
+%\bicsintabular{سطرجدید}{newline}
+%\bicsintabular{نویسه‌سطرجدید}{newlinechar}
+%\bicsintabular{میوفاصله‌جدید}{newmuskip}
+%\bicsintabular{صفحه‌جدید}{newpage}
+%\bicsintabular{بخوان‌جدید}{newread}
+%\bicsintabular{تعریف‌کادرجدید}{newsavebox}
+%\bicsintabular{فاصله‌جدید}{newskip}
+%\bicsintabular{قضیه‌جدید}{newtheorem}
+%\bicsintabular{جزءجدید}{newtoks}
+%\bicsintabular{بنویس‌جدید}{newwrite}
+%\bicsintabular{بی‌ردیف}{noalign}
+%\bicsintabular{نشکن}{nobreak}
+%\bicsintabular{فاصله‌نشکستنی}{nobreakspace}
+%\bicsintabular{بدون‌سند}{nocite}
+%\bicsintabular{نگستر}{noexpand}
+%\bicsintabular{بدون‌پرونده}{nofiles}
+%\bicsintabular{بدون‌تورفتگی}{noindent}
+%\bicsintabular{بی‌فاصله‌سطر}{nointerlineskip}
+%\bicsintabular{بدون‌حد}{nolimits}
+%\bicsintabular{سطرنشکن}{nolinebreak}
+%\bicsintabular{پردازش‌بدون‌توقف}{nonstopmode}
+%\bicsintabular{فواصل‌متعارف‌لاتین}{nonfrenchspacing}
+%\bicsintabular{بدون‌شماره}{nonumber}
+%\bicsintabular{صفحه‌نشکن}{nopagebreak}
+%\bicsintabular{کرسیهای‌متعارف}{normalbaselines}
+%\bicsintabular{فاصله‌کرسی‌متعارف}{normalbaselineskip}
+%\bicsintabular{رنگ‌عادی}{normalcolor}
+%\bicsintabular{قلم‌عادی}{normalfont}
+%\bicsintabular{فاصله‌سطرمتعارف}{normallineskip}
+%\bicsintabular{حدفاصله‌سطرمتعارف}{normallineskiplimit}
+%\bicsintabular{درحاشیه‌عادی}{normalmarginpar}
+%\bicsintabular{اندازه‌عادی}{normalsize}
+%\bicsintabular{بدون‌اتیکت}{notag}
+%\bicsintabular{نول}{null}
+%\bicsintabular{قلم‌تهی}{nullfont}
+%\bicsintabular{عدد}{number}
+%\bicsintabular{سطرعددی}{numberline}
+%\bicsintabular{شماره‌مطابق}{numberwithin}
+%\bicsintabular{پایین‌صفحه‌زوج}{@evenfoot}
+%\bicsintabular{بالای‌صفحه‌زوج}{@evenhead}
+%\bicsintabular{پایین‌صفحه‌فرد}{@oddfoot}
+%\bicsintabular{بالای‌صفحه‌فرد}{@oddhead}
+%\bicsintabular{شماره‌بیرون‌درست}{@outeqntrue}
+%\bicsintabular{شماره‌بیرون‌نادرست}{@outeqnfalse}
+%\bicsintabular{سطربه‌سطر}{obeylines}
+%\bicsintabular{فضافعال}{obeyspaces}
+%\bicsintabular{حاشیه‌فرد}{oddsidemargin}
+%\bicsintabular{سطوربی‌فاصله}{offinterlineskip}
+%\bicsintabular{حذف}{omit}
+%\bicsintabular{@تنهادرپیش‌درآمد}{@onlypreamble}
+%\bicsintabular{یک‌ستون}{onecolumn}
+%\bicsintabular{تنها‌یادداشت‌ها}{onlynotes}
+%\bicsintabular{تنهااسلایدها}{onlyslides}
+%\bicsintabular{بازکن‌ورودی}{openin}
+%\bicsintabular{بازکن‌خروجی}{openout}
+%\bicsintabular{گزینه‌مصرف‌نشده}{OptionNotUsed}
+%\bicsintabular{یا}{or}
+%\bicsintabular{برونی}{outer}
+%\bicsintabular{صفحه‌بندی}{output}
+%\bicsintabular{جریمه‌صفحه‌بندی}{outputpenalty}
+%\bicsintabular{علامت‌سرریز}{overfullrule}
+%\bicsintabular{@فرمان‌های‌پیش‌درآمد}{@preamblecmds}
+%\bicsintabular{@پو}{p@}
+%\bicsintabular{خطای‌سبک}{PackageError}
+%\bicsintabular{اطلاع‌سبک}{PackageInfo}
+%\bicsintabular{هشدارسبک}{PackageWarning}
+%\bicsintabular{هشدارسبک‌بی‌سطر}{PackageWarningNoLine}
+%\bicsintabular{صفحه‌شکن}{pagebreak}
+%\bicsintabular{رنگ‌صفحه}{pagecolor}
+%\bicsintabular{عمق‌صفحه}{pagedepth}
+%\bicsintabular{کشش‌پرررصفحه}{pagefilllstretch}
+%\bicsintabular{کشش‌پررصفحه}{pagefillstretch}
+%\bicsintabular{کشش‌پرصفحه}{pagefilstretch}
+%\bicsintabular{غایت‌صفحه}{pagegoal}
+%\bicsintabular{نام‌صفحه}{pagename}
+%\bicsintabular{شماره‌گذاری‌صفحه}{pagenumbering}
+%\bicsintabular{رجوع‌صفحه}{pageref}
+%\bicsintabular{ضخامت‌خط‌صفحه}{pagerulewidth}
+%\bicsintabular{فشردگی‌صفحه}{pageshrink}
+%\bicsintabular{کشش‌صفحه}{pagestretch}
+%\bicsintabular{سبک‌صفحه}{pagestyle}
+%\bicsintabular{جمع‌صفحه}{pagetotal}
+%\bicsintabular{بلندای‌کاغذ}{paperheight}
+%\bicsintabular{پهنای‌کاغذ}{paperwidth}
+%\bicsintabular{بند}{par}
+%\bicsintabular{پاراگراف}{paragraph}
+%\bicsintabular{موازی}{parallel}
+%\bicsintabular{کادرپار}{parbox}
+%\bicsintabular{فاصله‌ته‌بند}{parfillskip}
+%\bicsintabular{تورفتگی‌سربند}{parindent}
+%\bicsintabular{فاصله‌بندلیست}{parsep}
+%\bicsintabular{شکل‌بند}{parshape}
+%\bicsintabular{فاصله‌بند}{parskip}
+%\bicsintabular{بخش}{part}
+%\bicsintabular{عنوان‌بخش}{partname}
+%\bicsintabular{فاصله‌بالای‌لیست‌بند}{partopsep}
+%\bicsintabular{ارسال‌گزینه‌به‌کلاس}{PassOptionToClass}
+%\bicsintabular{ارسال‌گزینه‌به‌پکیج}{PassOptionToPackage}
+%\bicsintabular{مسیر}{path}
+%\bicsintabular{الگوها}{patterns}
+%\bicsintabular{مکث}{pausing}
+%\bicsintabular{جریمه}{penalty}
+%\bicsintabular{غیب}{phantom}
+%\bicsintabular{الگوی‌قبلی}{poptabs}
+%\bicsintabular{جریمه‌پس‌نمایش}{postdisplaypenalty}
+%\bicsintabular{جهت‌پیش‌نمایش}{predisplaydirection}
+%\bicsintabular{جریمه‌پیش‌نمایش}{predisplaypenalty}
+%\bicsintabular{اندازه‌پیش‌نمایش}{predisplaysize}
+%\bicsintabular{پیش‌حدبدنمایی}{pretolerance}
+%\bicsintabular{عمق‌قبلی}{prevdepth}
+%\bicsintabular{بندقبلی}{prevgraf}
+%\bicsintabular{نمایه‌دراینجا}{printindex}
+%\bicsintabular{پردازش‌گزینه‌ها}{ProcessOptions}
+%\bicsintabular{تامین}{protect}
+%\bicsintabular{تهیه‌فرمان}{providecommand}
+%\bicsintabular{آماده‌سازی‌طبقه}{ProvidesClass}
+%\bicsintabular{آماده‌سازی‌پرونده}{ProvidesFile}
+%\bicsintabular{آماده‌سازی‌سبک}{ProvidesPackage}
+%\bicsintabular{ثبت‌الگو}{pushtabs}
+%\bicsintabular{کواد}{quad}
+%\bicsintabular{کوکواد}{qquad}
+%\bicsintabular{@بازآیی‌خروج‌صفحه}{@outputpagerestore}
+%\bicsintabular{رادیکال}{radical}
+%\bicsintabular{پایین‌بی‌تنظیم}{raggedbottom}
+%\bicsintabular{تنظیم‌ازراست}{raggedleft}
+%\bicsintabular{تنظیم‌ازچپ}{raggedright}
+%\bicsintabular{انتقال‌ببالا}{raise}
+%\bicsintabular{بالابر}{raisebox}
+%\bicsintabular{ترفیع‌اتیکت}{raisetag}
+%\bicsintabular{زاویه‌ر}{rangle}
+%\bicsintabular{سقف‌ر}{rceil}
+%\bicsintabular{بخوان}{read}
+%\bicsintabular{رجوع}{ref}
+%\bicsintabular{کادرقرینه}{reflectbox}
+%\bicsintabular{عنوان‌مراجع}{refname}
+%\bicsintabular{گام‌شمارنده‌مرجع}{refstepcounter}
+%\bicsintabular{راحت}{relax}
+%\bicsintabular{رفع‌آخرین‌فاصله}{removelastskip}
+%\bicsintabular{فرمان‌ازنو}{renewcommand}
+%\bicsintabular{محیط‌ازنو}{renewenvironment}
+%\bicsintabular{ازنو}{repeat}
+%\bicsintabular{سبک‌موردنیاز}{RequirePackage}
+%\bicsintabular{سبک‌موردنیازباگزینه}{RequirePackageWithOptions}
+%\bicsintabular{کادرکشیده}{resizebox}
+%\bicsintabular{درحاشیه‌معکوس}{reversemarginpar}
+%\bicsintabular{کف‌ر}{rfloor}
+%\bicsintabular{راست}{right}
+%\bicsintabular{حاشیه‌راست}{rightmargin}
+%\bicsintabular{علامت‌راست}{rightmark}
+%\bicsintabular{کادرتاراست}{rightpageskip}
+%\bicsintabular{فاصله‌انتهای‌سطر}{rightskip}
+%\bicsintabular{رومن‌عادی}{rmdefault}
+%\bicsintabular{فامیل‌رومن}{rmfamily}
+%\bicsintabular{رومن‌بزرگ}{Roman}
+%\bicsintabular{رومن‌کوچک}{roman}
+%\bicsintabular{عددرومی}{romannumeral}
+%\bicsintabular{کادرچرخان}{rotatebox}
+%\bicsintabular{رنگ‌ردیف}{rowcolor}
+%\bicsintabular{خط}{rule}
+%\bicsintabular{@دومی‌ازدو}{@secondoftwo}
+%\bicsintabular{@فضاها}{@spaces}
+%\bicsintabular{همین‌صفحه}{samepage}
+%\bicsintabular{مقدارکادر}{savebox}
+%\bicsintabular{مقکادر}{sbox}
+%\bicsintabular{کادراندازه}{scalebox}
+%\bicsintabular{پیش‌فرض‌تمام‌بزرگ}{scdefault}
+%\bicsintabular{شکل‌تمام‌بزرگ}{scshape}
+%\bicsintabular{قلم‌توان}{scriptfont}
+%\bicsintabular{قلم‌توان‌توان}{scriptscriptfont}
+%\bicsintabular{سبک‌ته‌نوشت‌ته‌نوشت}{scriptscriptstyle}
+%\bicsintabular{اندازه‌پانویس}{scriptsize}
+%\bicsintabular{سبک‌ته‌نوشت}{scripstyle}
+%\bicsintabular{پردازش‌گذری}{scrollmode}
+%\bicsintabular{قسمت}{section}
+%\bicsintabular{تعریف‌قسمت}{secdef}
+%\bicsintabular{ببینید}{see}
+%\bicsintabular{نیزببینید}{seealso}
+%\bicsintabular{نام‌ببینید}{seename}
+%\bicsintabular{قلم‌بردار}{selectfont}
+%\bicsintabular{تنظیم‌بولی}{setboolean}
+%\bicsintabular{درکادر}{setbox}
+%\bicsintabular{مقدارشمارنده}{setcounter}
+%\bicsintabular{مقدارکلیدها}{setkeys}
+%\bicsintabular{مقداربعد}{setlength}
+%\bicsintabular{تنظیم‌منها}{setminus}
+%\bicsintabular{تعریف‌قلم‌علائم}{SetSymbolFont}
+%\bicsintabular{تنظیم‌به‌عمق}{settodepth}
+%\bicsintabular{تنظیم‌به‌ارتفاع}{settoheight}
+%\bicsintabular{مقداربعدبه‌اندازه}{settowidth}
+%\bicsintabular{کدضریب‌فاصله}{sfcode}
+%\bicsintabular{پیش‌فرض‌س‌ف}{sfdefault}
+%\bicsintabular{فامیل‌سن‌سریف}{sffamily}
+%\bicsintabular{کادرسایه‌دار}{shadowbox}
+%\bicsintabular{تیز}{sharp}
+%\bicsintabular{بفرست}{shipout}
+%\bicsintabular{پشته‌کوتاه}{shortstack}
+%\bicsintabular{نمایش‌بده}{show}
+%\bicsintabular{نمایش‌بده‌کادر}{showbox}
+%\bicsintabular{میزان‌نمایش‌کادر}{showboxbreadth}
+%\bicsintabular{عمق‌نمایش‌کادر}{showboxdepth}
+%\bicsintabular{نمایش‌بده‌لیستها}{showlists}
+%\bicsintabular{نمایش‌بده‌محتوای}{showthe}
+%\bicsintabular{حالت‌ساده‌قلم}{simplefontmode}
+%\bicsintabular{شانزد@}{sixt@@n}
+%\bicsintabular{نویسه‌اریب}{skewchar}
+%\bicsintabular{فاصله}{skip}
+%\bicsintabular{فاصل@}{skip@}
+%\bicsintabular{تعریف‌فاصله}{skipdef}
+%\bicsintabular{خوابیده}{sl}
+%\bicsintabular{پیش‌فرض‌خو}{sldefault}
+%\bicsintabular{شکل‌خوابیده}{slshape}
+%\bicsintabular{راحت‌چین}{sloppy}
+%\bicsintabular{شمایل‌خو}{slshape}
+%\bicsintabular{کوچک}{small}
+%\bicsintabular{پرش‌کوتاه}{smallskip}
+%\bicsintabular{مقدارپرش‌کوتاه}{smallskipamount}
+%\bicsintabular{کوب}{smash}
+%\bicsintabular{لبخند}{smile}
+%\bicsintabular{کدمکان‌همانطور}{snglfntlocatecode}
+%\bicsintabular{فضا}{space}
+%\bicsintabular{ضریب‌فاصله}{spacefactor}
+%\bicsintabular{فاصله‌کلمات}{spaceskip}
+%\bicsintabular{پیک}{spadesuit}
+%\bicsintabular{ادغام}{span}
+%\bicsintabular{ویژه}{special}
+%\bicsintabular{حداکثرعمق‌ستون}{splitmaxdepth}
+%\bicsintabular{فاصله‌بالای‌ستون}{splittopskip}
+%\bicsintabular{ستاره}{star}
+%\bicsintabular{گام‌شمارنده}{stepcounter}
+%\bicsintabular{کشی}{stretch}
+%\bicsintabular{رشته}{string}
+%\bicsintabular{شمع}{strut}
+%\bicsintabular{کادرشمع}{strutbox}
+%\bicsintabular{زیربند}{subitem}
+%\bicsintabular{زیرپاراگراف}{subparagraph}
+%\bicsintabular{زیرقسمت}{subsection}
+%\bicsintabular{زیرپشته}{substack}
+%\bicsintabular{زیرزیربند}{subsubitem}
+%\bicsintabular{زیرزیرقسمت}{subsubsection}
+%\bicsintabular{زیرمجموعه}{subset}
+%\bicsintabular{زیرمجموعه‌مس}{subseteq}
+%\bicsintabular{منتهای‌صفحه}{supereject}
+%\bicsintabular{حذف‌مکان‌شناور}{suppressfloats}
+%\bicsintabular{@موقت‌آ}{@tempa}
+%\bicsintabular{@موقت‌ب}{@tempb}
+%\bicsintabular{@موقت‌پ}{@tempc}
+%\bicsintabular{@موقت‌ت}{@tempd}
+%\bicsintabular{@موقت‌ث}{@tempe}
+%\bicsintabular{@کادرقت‌آ}{@tempboxa}
+%\bicsintabular{@شماقت‌آ}{@tempcnta}
+%\bicsintabular{@شماقت‌ب}{@tempcntb}
+%\bicsintabular{@بعدقت‌آ}{@tempdima}
+%\bicsintabular{@بعدقت‌ب}{@tempdimb}
+%\bicsintabular{@بعدقت‌پ}{@tempdimc}
+%\bicsintabular{@فاقت‌آ}{@tempskipa}
+%\bicsintabular{@فاقت‌ب}{@tempskipb}
+%\bicsintabular{@سواقت‌آنادرست}{@tempswafalse}
+%\bicsintabular{@سواقت‌آدرست}{@tempswatrue}
+%\bicsintabular{@جزقت‌آ}{@temptokena}
+%\bicsintabular{انگ‌زیرنویس}{@thefnmark}
+%\bicsintabular{@سومی‌ازسه}{@thirdofthree}
+%\bicsintabular{فاصله‌جاگذاری}{tabbingsep}
+%\bicsintabular{فاصله‌بین‌ستونها}{tabcolsep}
+%\bicsintabular{فهرست‌مطالب}{tableofcontents}
+%\bicsintabular{عنوان‌جدول}{tablename}
+%\bicsintabular{فاصله‌ستونها}{tabskip}
+%\bicsintabular{ته‌سطرجدول}{tabularnewline}
+%\bicsintabular{اتیکت}{tag}
+%\bicsintabular{تلفن}{telephone}
+%\bicsintabular{تک}{TeX}
+%\bicsintabular{متن}{text}
+%\bicsintabular{گلوله‌متنی}{textbullet}
+%\bicsintabular{قلم‌متن}{textfont}
+%\bicsintabular{ام‌دش‌متنی}{textemdash}
+%\bicsintabular{ان‌دش‌متنی}{textendash}
+%\bicsintabular{تعجب‌وارونه‌متنی}{textexclamdown}
+%\bicsintabular{نقطه‌وسط‌متنی}{textperiodcentered}
+%\bicsintabular{سوال‌وارونه‌متنی}{textquestiondown}
+%\bicsintabular{نقل‌چپ‌متنی‌دولا}{textquotedblleft}
+%\bicsintabular{نقل‌راست‌متنی‌دولا}{textquotedblright}
+%\bicsintabular{نقل‌متنی‌چپ}{textquoteleft}
+%\bicsintabular{نقل‌متنی‌راست}{textquoteright}
+%\bicsintabular{فضای‌نمایان‌متنی‌}{textvisiblespace}
+%\bicsintabular{شکافت‌پشت‌متنی}{textbackslash}
+%\bicsintabular{میله‌متنی}{textbar}
+%\bicsintabular{بزرگ‌تر‌متنی}{textgreater}
+%\bicsintabular{کمتر‌متنی}{textless}
+%\bicsintabular{متن‌سیاه}{textbf}
+%\bicsintabular{مدور‌متنی}{textcircled}
+%\bicsintabular{رنگ‌متن}{textcolor}
+%\bicsintabular{نشان‌کلمه‌مرکب‌متن}{textcompwordmark}
+%\bicsintabular{فاصله‌متن‌وشناور}{textfloatsep}
+%\bicsintabular{نسبت‌متن}{textfraction}
+%\bicsintabular{بلندای‌متن}{textheight}
+%\bicsintabular{متن‌تورفته}{textindent}
+%\bicsintabular{متن‌ایتالیک}{textit}
+%\bicsintabular{متن‌نازک}{textmd}
+%\bicsintabular{متن‌نرمال}{textnormal}
+%\bicsintabular{ثبتی‌متنی}{textregistered}
+%\bicsintabular{متن‌رومن}{textrm}
+%\bicsintabular{متن‌تمام‌بزرگ}{textsc}
+%\bicsintabular{متن‌سن‌سریف}{textsf}
+%\bicsintabular{متن‌خوابیده}{textsl}
+%\bicsintabular{سبک‌متنی}{textstyle}
+%\bicsintabular{بالانویس‌متنی}{textsuperscript}
+%\bicsintabular{علامت‌تجاری‌متنی}{texttrademark}
+%\bicsintabular{متن‌تایپ}{texttt}
+%\bicsintabular{متن‌ایستاده}{textup}
+%\bicsintabular{پهنای‌متن}{textwidth}
+%\bicsintabular{زیر‌نویس‌عنوان}{thanks}
+%\bicsintabular{محتوای}{the}
+%\bicsintabular{این‌زیرنویس}{thempfn}
+%\bicsintabular{خط‌هاضخیم}{thicklines}
+%\bicsintabular{فاصله‌زیادریاضی}{thickmuskip}
+%\bicsintabular{فاصله‌کم‌ریاضی}{thinmuskip}
+%\bicsintabular{فضاضخیم}{thickspace}
+%\bicsintabular{خط‌هانازک}{thinlines}
+%\bicsintabular{دوری‌کوچک}{thinspace}
+%\bicsintabular{این‌صفحه‌تجملی}{thisfancypage}
+%\bicsintabular{سبک‌این‌صفحه}{thispagestyle}
+%\bicsintabular{سه@}{thr@@}
+%\bicsintabular{مد}{tilde}
+%\bicsintabular{ظریف}{tiny}
+%\bicsintabular{زمان}{time}
+%\bicsintabular{ضرب‌در}{times}
+%\bicsintabular{عنوان}{title}
+%\bicsintabular{به}{to}
+%\bicsintabular{امروز}{today}
+%\bicsintabular{جزء}{toks}
+%\bicsintabular{تعریف‌جزء}{toksdef}
+%\bicsintabular{حدبدنمایی}{tolerance}
+%\bicsintabular{بالا}{top}
+%\bicsintabular{خط‌بالای‌شناور}{topfigrule}
+%\bicsintabular{نسبت‌بالا}{topfraction}
+%\bicsintabular{حاشیه‌بالا}{topmargin}
+%\bicsintabular{علامت‌بالا}{topmark}
+%\bicsintabular{کادرتابالا}{toppageskip}
+%\bicsintabular{فاصله‌بالای‌لیست}{topsep}
+%\bicsintabular{فاصله‌بالا}{topskip}
+%\bicsintabular{بلندای‌کل}{totalheight}
+%\bicsintabular{ردگیری‌کل}{tracingall}
+%\bicsintabular{ردگیری‌فرامین}{tracingcommands}
+%\bicsintabular{ردگیری‌حروف}{tracinglostchars}
+%\bicsintabular{ردگیری‌ماکروها}{tracingmacros}
+%\bicsintabular{ردگیری‌نمایشی}{tracingonline}
+%\bicsintabular{ردگیری‌صفحه‌بندی}{tracingoutput}
+%\bicsintabular{ردگیری‌صفحات}{tracingpages}
+%\bicsintabular{ردگیری‌بندها}{tracingparagraphs}
+%\bicsintabular{ردگیری‌بازگردانی}{tracingrestores}
+%\bicsintabular{ردگیری‌آمارها}{tracingstats}
+%\bicsintabular{مثلث}{triangle}
+%\bicsintabular{پیش‌فرض‌تایپ}{ttdefault}
+%\bicsintabular{فامیل‌تایپ}{ttfamily}
+%\bicsintabular{دو@}{tw@}
+%\bicsintabular{دوستون}{twocolumn}
+%\bicsintabular{درنویس}{typein}
+%\bicsintabular{برنویس}{typeout}
+%\bicsintabular{کدبزرگ}{uccode}
+%\bicsintabular{تیره‌بندی‌بزرگ}{uchyph}
+%\bicsintabular{تعریف‌نشده}{undefined}
+%\bicsintabular{زیرخط}{underline}
+%\bicsintabular{بی‌کادرا}{unhbox}
+%\bicsintabular{بی‌کپی‌ا}{unhcopy}
+%\bicsintabular{واحدطول}{unitlength}
+%\bicsintabular{برگشت‌دوری}{unkern}
+%\bicsintabular{برگشت‌جریمه}{unpenalty}
+%\bicsintabular{برگشت‌فاصله}{unskip}
+%\bicsintabular{بی‌کادرو}{unvbox}
+%\bicsintabular{بی‌کپی‌و}{unvcopy}
+%\bicsintabular{پیش‌فرض‌ایستاده}{updefault}
+%\bicsintabular{شکل‌ایستاده}{upshape}
+%\bicsintabular{ازکادر}{usebox}
+%\bicsintabular{باشمارشگر}{usecounter}
+%\bicsintabular{گزینش‌قلم}{usefont}
+%\bicsintabular{سبک‌لازم}{usepackage}
+%\bicsintabular{@فضاهای‌فعال}{@vobeyspaces}
+%\bicsintabular{@تهی}{@void}
+%\bicsintabular{تنظیم‌و}{vadjust}
+%\bicsintabular{ردیف‌و}{valign}
+%\bicsintabular{محتوای‌شمارنده}{value}
+%\bicsintabular{بدنمایی‌و}{vbadness}
+%\bicsintabular{کادرو}{vbox}
+%\bicsintabular{کادروسط}{vcenter}
+%\bicsintabular{همانطور}{verb}
+%\bicsintabular{پرو}{vfil}
+%\bicsintabular{پررو}{vfill}
+%\bicsintabular{رفع‌پرو}{vfilneg}
+%\bicsintabular{پرزعمودی}{vfuzz}
+%\bicsintabular{نمایان}{visible}
+%\bicsintabular{خط‌عمود}{vline}
+%\bicsintabular{حاشیه‌و}{voffset}
+%\bicsintabular{ک@درتهی}{voidb@x}
+%\bicsintabular{ارجاع‌صفحه‌ع}{vpageref}
+%\bicsintabular{فاصله‌وگرد}{vrboxsep}
+%\bicsintabular{ارجاع‌ع}{vref}
+%\bicsintabular{خط‌و}{vrule}
+%\bicsintabular{طول‌صفحه}{vsize}
+%\bicsintabular{فاصله‌و}{vskip}
+%\bicsintabular{فضای‌و}{vspace}
+%\bicsintabular{شکست‌و}{vsplit}
+%\bicsintabular{هردوو}{vss}
+%\bicsintabular{کادرگود}{vtop}
+%\bicsintabular{عرض}{wd}
+%\bicsintabular{مادام‌بکن}{whiledo}
+%\bicsintabular{کلاه‌پهن}{widehat}
+%\bicsintabular{مدپهن}{widetilde}
+%\bicsintabular{جریمه‌ته‌بند}{widowpenalty}
+%\bicsintabular{پهنا}{width}
+%\bicsintabular{درکارنامه}{wlog}
+%\bicsintabular{بنویس}{write}
+%\bicsintabular{@فضای‌لاتین}{@xobeysp}
+%\bicsintabular{سی@دو}{@xxxii}
+%\bicsintabular{ترگع}{xdef}
+%\bicsintabular{نشانگرگسترشی}{xleaders}
+%\bicsintabular{فاصله‌اضافی‌کلمات}{xspaceskip}
+%\bicsintabular{سال}{year}
+%\bicsintabular{@فر}{z@}
+%\bicsintabular{@فرفاصله}{z@skip}
+%\end{supertabular}
+%\end{center}
+%
+%\bigskip
+%\begin{center}
+%\tablecaption{The Equivalent \XePersian\ Commands\label{xcs}}
+%\tablehead
+% {\bfseries Command in \XePersian &\bfseries Equivalent Persian Command\\ \hline}
+%\tabletail
+% {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
+%\tablelasttail{\hline}
+%\begin{supertabular}{lr}
+%\bicsintabular{خط‌زیرنویس‌خودکار}{autofootnoterule}
+%\bicsintabular{اعدادفرمولهاخودکار}{AutoMathsDigits}
+%\bicsintabular{اعدادفرمولهالاتین}{DefaultMathsDigits}
+%\bicsintabular{تعریف‌قلم‌لاتین}{deflatinfont}
+%\bicsintabular{تعریف‌قلم‌پارسی}{defpersianfont}
+%\bicsintabular{کادراچپ}{hboxL}
+%\bicsintabular{کادراست}{hboxR}
+%\bicsintabular{معادل@کلید}{keyval@eq@alias@key}
+%\bicsintabular{مرجع‌لاتین}{Latincite}
+%\bicsintabular{قلم‌لاتین}{latinfont}
+%\bicsintabular{امروزلاتین}{latintoday}
+%\bicsintabular{خط‌زیرنویس‌چپ}{leftfootnoterule}
+%\bicsintabular{متن‌لاتین}{lr}
+%\bicsintabular{چپ‌براست}{LRE}
+%\bicsintabular{دوستونی‌چپ}{LTRdblcol}
+%\bicsintabular{پانویس}{LTRfootnote}
+%\bicsintabular{متن‌پانویس}{LTRfootnotetext}
+%\bicsintabular{پانویس‌عنوان}{LTRthanks}
+%\bicsintabular{روزپارسی}{persianday}
+%\bicsintabular{قلم‌پارسی}{persianfont}
+%\bicsintabular{اعدادفرمولهاپارسی}{PersianMathsDigits}
+%\bicsintabular{ماه‌پارسی}{persianmonth}
+%\bicsintabular{سال‌پارسی}{persianyear}
+%\bicsintabular{علامت‌چپ‌نقل‌قول‌پارسی‌}{plq}
+%\bicsintabular{علامت‌راست‌نقل‌قول‌پارسی}{prq}
+%\bicsintabular{خط‌زیرنویس‌راست}{rightfootnoterule}
+%\bicsintabular{متن‌پارسی}{rl}
+%\bicsintabular{راست‌بچپ}{RLE}
+%\bicsintabular{دوستونی‌راست}{RTLdblcol}
+%\bicsintabular{پانوشت}{RTLfootnote}
+%\bicsintabular{متن‌پانوشت}{RTLfootnotetext}
+%\bicsintabular{پانوشت‌عنوان}{RTLthanks}
+%\bicsintabular{@علامت‌بین}{@SepMark}
+%\bicsintabular{علامت‌بین}{SepMark}
+%\bicsintabular{بگذارمرجوعات‌عادی}{setdefaultbibitems}
+%\bicsintabular{بگذاردرحاشیه‌عادی}{setdefaultmarginpar}
+%\bicsintabular{گزینش‌قلم‌اعدادفرمولها}{setdigitfont}
+%\bicsintabular{بگذارزیرنویس‌چپ}{setfootnoteLR}
+%\bicsintabular{بگذارزیرنویس‌راست}{setfootnoteRL}
+%\bicsintabular{گزینش‌قلم‌لاتین‌متن}{setlatintextfont}
+%\bicsintabular{بگذارمتن‌چپ}{setLTR}
+%\bicsintabular{بگذارمرجوعات‌چپ}{setLTRbibitems}
+%\bicsintabular{بگذاردرحاشیه‌چپ}{setLTRmarginpar}
+%\bicsintabular{بگذارمتن‌راست}{setRTL}
+%\bicsintabular{بگذارمرجوعات‌راست}{setRTLbibitems}
+%\bicsintabular{بگذاردرحاشیه‌راست}{setRTLmarginpar}
+%\bicsintabular{گزینش‌قلم‌متن}{settextfont}
+%\bicsintabular{خط‌زیرنویس‌پهنای‌متن}{textwidthfootnoterule}
+%\bicsintabular{فهرست‌مطالب‌دوستونی}{twocolumnstableofcontents}
+%\bicsintabular{نگذارزیرنویس‌راست}{unsetfootnoteRL}
+%\bicsintabular{نگذارمتن‌چپ}{unsetLTR}
+%\bicsintabular{نگذارمتن‌راست}{unsetRTL}
+%\bicsintabular{کادروازچپ}{vboxL}
+%\bicsintabular{کادروازراست}{vboxR}
+%\bicsintabular{زی‌لاتک}{XeLaTeX}
+%\bicsintabular{زی‌پرشین}{XePersian}
+%\bicsintabular{گونه‌زی‌پرشین}{xepersianversion}
+%\bicsintabular{تاریخ‌گونه‌زی‌پرشین}{xepersiandate}
+%\bicsintabular{زی‌تک}{XeTeX}
+%\end{supertabular}
+%\end{center}
+%
+%\bigskip
+%\begin{center}
+%\tablecaption{The Equivalent \LaTeX\ Environments\label{lenv}}
+%\tablehead
+% {\bfseries Environment in \LaTeX\ &\bfseries Equivalent Persian Environment\\ \hline}
+%\tabletail
+% {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
+%\tablelasttail{\hline}
+%\begin{supertabular}{lr}
+%\bienvintabular{چکیده}{abstract}
+%\bienvintabular{پیوست}{appendix}
+%\bienvintabular{آرایه}{array}
+%\bienvintabular{وسط‌چین}{center}
+%\bienvintabular{توضیح}{description}
+%\bienvintabular{ریاضی‌نمایشی}{displaymath}
+%\bienvintabular{نوشتار}{document}
+%\bienvintabular{شمارش}{enumerate}
+%\bienvintabular{شکل}{figure}
+%\bienvintabular{شکل*}{figure*}
+%\bienvintabular{محتوای‌پرونده}{filecontents}
+%\bienvintabular{محتوای‌پرونده*}{filecontents*}
+%\bienvintabular{چپ‌چین}{flushleft}
+%\bienvintabular{راست‌چین}{flushright}
+%\bienvintabular{فقرات}{itemize}
+%\bienvintabular{نامه}{letter}
+%\bienvintabular{لیست}{list}
+%\bienvintabular{جدول‌دراز}{longtable}
+%\bienvintabular{کادررچ}{lrbox}
+%\bienvintabular{ریاضی}{math}
+%\bienvintabular{ماتریس}{matrix}
+%\bienvintabular{صفحه‌کوچک}{minipage}
+%\bienvintabular{چندستونی‌ها}{multicols}
+%\bienvintabular{چندخطی}{multline}
+%\bienvintabular{یادداشت}{note}
+%\bienvintabular{انباشتن}{overlay}
+%\bienvintabular{تصویر}{picture}
+%\bienvintabular{اقتباس}{quotation}
+%\bienvintabular{نقل}{quote}
+%\bienvintabular{اسلاید}{slide}
+%\bienvintabular{پارنامرتب}{sloppypar}
+%\bienvintabular{شکافتن}{split}
+%\bienvintabular{زیرآرایه}{subarray}
+%\bienvintabular{جاگذاری}{tabbing}
+%\bienvintabular{لوح}{table}
+%\bienvintabular{لوح*}{table*}
+%\bienvintabular{جدول}{tabular}
+%\bienvintabular{جدول*}{tabular*}
+%\bienvintabular{مراجع}{thebibliography}
+%\bienvintabular{محتوای‌نمایه}{theindex}
+%\bienvintabular{صفحه‌عنوان}{titlepage}
+%\bienvintabular{لیست‌بدوی}{trivlist}
+%\bienvintabular{همانطورکه‌هست}{verbatim}
+%\bienvintabular{همانطورکه‌هست*}{verbatim*}
+%\bienvintabular{شعر}{verse}
+%\end{supertabular}
+%\end{center}
+%
+%\bigskip
+%\begin{center}
+%\tablecaption{The Equivalent \XePersian\ Environments\label{xenv}}
+%\tablehead
+% {\bfseries Environment in \XePersian\ &\bfseries Equivalent Persian Environment\\ \hline}
+%\tabletail
+% {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
+%\tablelasttail{\hline}
+%\begin{supertabular}{lr}
+%\bienvintabular{لاتین}{latin}
+%\bienvintabular{متن‌چپ}{LTR}
+%\bienvintabular{دسته‌بندی‌چپ}{LTRitems}
+%\bienvintabular{پارسی}{persian}
+%\bienvintabular{متن‌راست}{RTL}
+%\bienvintabular{دسته‌بندی‌راست}{RTLitems}
+%\end{supertabular}
+%\end{center}
+%\paragraph{Localisation of postion arguments.}
+% Some environments like \texttt{tabular} and some commands like \Lcs{parbox} have an argument which specifies the position. Table \autoref{table-pos} shows their localisations.
+%\begin{center}
+%\tablecaption{The Equivalent \LaTeX{} position arguments\label{table-pos}}
+%\tablehead
+% {\bfseries Position argument in \LaTeX &\bfseries Equivalent Persian position argument\\ \hline}
+%\tabletail
+% {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
+%\tablelasttail{\hline}
+%\begin{supertabular}{cc}
+%\texttt{b}&\Penv{ز}\\
+%\texttt{c}&\Penv{و}\\
+%\texttt{C}&\Penv{س}\\
+%\texttt{h}&\Penv{ا}\\
+%\texttt{H}&\Penv{آ}\\
+%\texttt{J}&\Penv{ت}\\
+%\texttt{l}&\Penv{چ}\\
+%\texttt{L}&\Penv{ف}\\
+%\texttt{m}&\Penv{م}\\
+%\texttt{p}&\Penv{پ}\\
+%\texttt{p}&\Penv{ص}\\
+%\texttt{r}&\Penv{ر}\\
+%\texttt{R}&\Penv{ا}\\
+%\texttt{s}&\Penv{ک}\\
+%\texttt{t}&\Penv{ب}\\
+%\end{supertabular}
+%\end{center}
+%\begin{itemize}
+%\item There are two \texttt{p}s in \autoref{table-pos}, first \texttt{p} and its Persian equivalent \Penv{پ} stand for paragraph (used in \texttt{tabular} and similar environments) and the second \texttt{p} and its Persian equivalent \Penv{ص} stand for page (used in \texttt{float}-like environments).
+%\end{itemize}
+%\subsubsection{Localizations of the keys and key values of \textsf{graphicx} package}
+%The equivalent Persian keys and key values of \textsf{graphicx} package is shown in \autoref{table:key} and \autoref{table:keyvalue} respectively.
+%\begin{center}
+%\tablecaption{Persian Equivalent keys of \textsf{graphicx} package\label{table:key}}
+%\tablehead
+% {\bfseries Original Key &\bfseries Equivalent Persian Key\\ \hline}
+%\tabletail
+% {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
+%\tablelasttail{\hline}
+%\begin{supertabular}{lr}
+%\texttt{draft}&\Penv{پیش‌نویس}\\
+%\texttt{origin}&\Penv{مبدا}\\
+%\texttt{clip}&\Penv{بی‌اضافه}\\
+%\texttt{keepaspectratio}&\Penv{حفظ‌تناسب}\\
+%\texttt{natwidth}&\Penv{پهنای‌طبیعی}\\
+%\texttt{natheight}&\Penv{بلندای‌طبیعی}\\
+%\texttt{bb}&\Penv{مختصات}\\
+%\texttt{viewport}&\Penv{محدوده‌نمایش}\\
+%\texttt{trim}&\Penv{حذف‌اطراف}\\
+%\texttt{angle}&\Penv{زاویه}\\
+%\texttt{width}&\Penv{پهنا}\\
+%\texttt{height}&\Penv{بلندا}\\
+%\texttt{totalheight}&\Penv{بلندای‌کل}\\
+%\texttt{scale}&\Penv{ضریب}\\
+%\texttt{type}&\Penv{نوع}\\
+%\texttt{ext}&\Penv{پسوند}\\
+%\texttt{read}&\Penv{خواندنی}\\
+%\texttt{command}&\Penv{فرمان}\\
+%\texttt{x}&\Penv{طول}\\
+%\texttt{y}&\Penv{عرض}\\
+%\texttt{units}&\Penv{واحد}\\
+%\end{supertabular}
+%\end{center}
+%\begin{center}
+%\tablecaption{Persian Equivalent key values of \textsf{graphicx} package\label{table:keyvalue}}
+%\tablehead
+% {\bfseries Original Key value&\bfseries Equivalent Persian Key value\\ \hline}
+%\tabletail
+% {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
+%\tablelasttail{\hline}
+%\begin{supertabular}{cc}
+%\texttt{b}&\Penv{ز}\\
+%\texttt{B}&\Penv{ک}\\
+%\texttt{false}&\Penv{نادرست}\\
+%\texttt{l}&\Penv{چ}\\
+%\texttt{r}&\Penv{ر}\\
+%\texttt{t}&\Penv{ب}\\
+%\texttt{true}&\Penv{درست}\\
+%\end{supertabular}
+%\end{center}
+%\subsubsection{Localizations of font features and font feature options}
+%The equivalent Persian font features and font feature options is shown in \autoref{table:ff} and \autoref{table:ffo} respectively.
+%\begin{center}
+%\tablecaption{Persian Equivalent font features\label{table:ff}}
+%\tablehead
+% {\bfseries Original font feature &\bfseries Equivalent Persian font feature\\ \hline}
+%\tabletail
+% {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
+%\tablelasttail{\hline}
+%\begin{supertabular}{lr}
+%\biffintabular{ExternalLocation}{مکان‌خارجی}
+%\biffintabular{ExternalLocation}{مسیر}
+%\biffintabular{Renderer}{تحویل‌دهنده}
+%\biffintabular{BoldFont}{قلم‌سیاه}
+%\biffintabular{Language}{زبان}
+%\biffintabular{Script}{خط}
+%\biffintabular{UprightFont}{قلم‌عمودی}
+%\biffintabular{ItalicFont}{قلم‌ایتالیک}
+%\biffintabular{BoldItalicFont}{قلم‌ایتالیک‌سیاه}
+%\biffintabular{SlantedFont}{قلم‌خوابیده}
+%\biffintabular{BoldSlantedFont}{قلم‌خوابیده‌سیاه}
+%\biffintabular{SmallCapsFont}{قلم‌کلاه‌کوچک}
+%\biffintabular{UprightFeatures}{ویژگی‌های‌قلم‌عمودی}
+%\biffintabular{BoldFeatures}{ویژگی‌های‌قلم‌سیاه}
+%\biffintabular{ItalicFeatures}{ویژگی‌های‌قلم‌ایتالیک}
+%\biffintabular{BoldItalicFeatures}{ویژگی‌های‌قلم‌ایتالیک‌سیاه}
+%\biffintabular{SlantedFeatures}{ویژگی‌های‌قلم‌خوابیده}
+%\biffintabular{BoldSlantedFeatures}{ویژگی‌های‌قلم‌خوابیده‌سیاه}
+%\biffintabular{SmallCapsFeatures}{ویژگی‌های‌قلم‌کلاه‌کوچک}
+%\biffintabular{SizeFeatures}{ویژگی‌های‌اندازه}
+%\biffintabular{Scale}{ضریب}
+%\biffintabular{WordSpace}{فضای‌کلمه}
+%\biffintabular{PunctuationSpace}{فضای‌نقطه‌گذاری}
+%\biffintabular{FontAdjustment}{تنظیم‌قلم}
+%\biffintabular{LetterSpace}{فضای‌حرف}
+%\biffintabular{HyphenChar}{نویسه‌تیره}
+%\biffintabular{Color}{رنگ}
+%\biffintabular{Opacity}{کدری}
+%\biffintabular{Mapping}{نگاشت}
+%\biffintabular{Weight}{سنگینی}
+%\biffintabular{Width}{پهنا}
+%\biffintabular{OpticalSize}{اندازه‌چشمی}
+%\biffintabular{FakeSlant}{خوابیده‌تقلبی}
+%\biffintabular{FakeStretch}{کشش‌تقلبی}
+%\biffintabular{FakeBold}{سیاه‌تقلبی}
+%\biffintabular{AutoFakeSlant}{خوابیده‌تقلبی‌خودکار}
+%\biffintabular{AutoFakeBold}{سیاه‌تقلبی‌خودکار}
+%\biffintabular{Ligatures}{دویاچندحرف‌متصل‌به‌هم}
+%\biffintabular{Alternate}{متناوب}
+%\biffintabular{Variant}{گوناگون}
+%\biffintabular{Variant}{مجموعه‌سبکی}
+%\biffintabular{CharacterVariant}{گوناگونی‌نویسه}
+%\biffintabular{ScriptStyle}{سبک‌اسکریپت}
+%\biffintabular{ScriptScriptStyle}{سبک‌اسکریپت‌اسکریپت}
+%\biffintabular{Style}{سبک}
+%\biffintabular{Annotation}{یادداشت}
+%\biffintabular{RawFeature}{ویژگی‌های‌کال}
+%\biffintabular{CharacterWidth}{پهنای‌نویسه}
+%\biffintabular{Numbers}{ارقام}
+%\biffintabular{Contextuals}{متنی}
+%\biffintabular{Diacritics}{تفکیک‌کننده‌ها}
+%\biffintabular{Letters}{حروف}
+%\biffintabular{Kerning}{دوری}
+%\biffintabular{VerticalPosition}{موقعیت‌عمودی}
+%\biffintabular{Fractions}{کسر}
+%\end{supertabular}
+%\end{center}
+%\begin{center}
+%\tablecaption{Persian Equivalent font feature options\label{table:ffo}}
+%\tablehead
+% {\bfseries font feature&\bfseries font feature option &\bfseries Persian font feature option\\ \hline}
+%\tabletail
+% {\hline \multicolumn{3}{r}{\emph{Continued on next page}}\\}
+%\tablelasttail{\hline}
+%\begin{supertabular}{llr}
+%\biffointabular{Language}{Default}{پیش‌فرض}
+%\biffointabular{Language}{Parsi}{پارسی}
+%\biffointabular{Script}{Parsi}{پارسی}
+%\biffointabular{Script}{Latin}{لاتین}
+%\end{supertabular}
+%\end{center}
+%\subsection{A Sample Input \TeX\ File}
+%\begin{lstlisting}[morekeywords={settextfont,maketitle,tableofcontents,subsection,subsubsection,part}]
+%\documentclass{article}
+%\usepackage{xepersian}
+%\settextfont{XB Niloofar}
+%\title{*\parsitext{یک سند نمونه}*}
+%\author{*\parsitext{نام نویسنده}*}
+%\begin{document}
+%\maketitle
+%\tableofcontents
+%\part{*\parsitext{عنوان بخش}*}
+%...
+%\section{*\parsitext{عنوان قسمت}*}
+%...
+%\subsection{*\parsitext{عنوان زیرقسمت}*}
+%...
+%\subsubsection{*\parsitext{عنوان زیر زیرقسمت}*}
+%...
+%\end{document}
+%\end{lstlisting}
+%\subsection{Font Commands}
+%\subsubsection{Basic Font Commands}
+%\begin{BDef}
+%\Lcs{settextfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{setlatintextfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{setdigitfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{setmathsfdigitfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{setmathttdigitfont}\OptArgs\Largb{\Larga{font name}}
+%\end{BDef}
+%\begin{itemize}
+%\item Options in any font command in this documentation are anything that \textsf{fontspec} package provides as the option of loading fonts, except \texttt{Script} and \texttt{Mapping}.
+%\item \Lcs{settextfont} will choose the default font for Persian texts of your document. If you do not use this command at all, the \textsf{Persian Modern}\footnote{You do not need to install \textsf{Persian Modern} fonts since they are already included in your TeX distribution.} font will be used for Persian texts of your document.
+%\item \Lcs{setlatintextfont} will choose the font for Latin texts of your document. If you do not use this command at all, the default \TeX\ font (fonts used in this documentation) will be used for Latin texts of your document.
+%\item \Lcs{setdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form and if you do not use this command at all, the \textsf{Persian Modern} font for digits in math mode will be used.
+%\item \Lcs{setmathsfdigitfont} will choose the Persian font for digits in math mode inside \Lcs{mathsf}. By using this command, digits in math mode inside \Lcs{mathsf} will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode inside \Lcs{mathsf} and digits appear in their original form (Western).
+%\item \Lcs{setmathttdigitfont} will choose the Persian font for digits in math mode inside \Lcs{mathtt}. By using this command, digits in math mode inside \Lcs{mathtt} will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode inside \Lcs{mathtt} and digits appear in their original form (Western).
+%\end{itemize}
+%\subsubsection{Defining Extra Persian and Latin Fonts}
+%\begin{BDef}
+%\Lcs{defpersianfont}\Lcs{CS}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{deflatinfont}\Lcs{CS}\OptArgs\Largb{\Larga{font name}}
+%\end{BDef}
+%\begin{itemize}
+%\item With \Lcs{defpersianfont}, you can define extra Persian fonts.
+%\begin{lstlisting}[numbers=none,morekeywords={defpersianfont,Nastaliq}]
+%\defpersianfont\Nastaliq[Scale=1]{IranNastaliq}
+%\end{lstlisting}
+%In this example, we define \Lcs{Nastaliq} to stand for IranNastaliq font.
+%\item With \Lcs{deflatinfont}, you can define extra Latin fonts.
+%\begin{lstlisting}[numbers=none,morekeywords={deflatinfont,junicode}]
+%\deflatinfont\junicode[Scale=1]{Junicode}
+%\end{lstlisting}
+%In this example, we define \Lcs{junicode} to stand for Junicode font.
+%\end{itemize}
+%\subsubsection{Choosing Persian Sans Font}
+%\begin{BDef}
+%\Lcs{setpersiansansfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{persiansffamily}\quad\Lcs{textpersiansf}\Largb{\Larga{text}}
+%\end{BDef}
+%\subsubsection{Choosing Persian Mono Font}
+%\begin{BDef}
+%\Lcs{setpersianmonofont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{persianttfamily}\quad\Lcs{textpersiantt}\Largb{\Larga{text}}
+%\end{BDef}
+%\subsubsection{Choosing Persian Iranic Font}
+%\marginpar{If you do not use \Lcs{setiranicfont} command at all, the \textsf{Persian Modern} font will be used.}
+%\begin{BDef}
+%\Lcs{setiranicfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{iranicfamily}\quad\Lcs{textiranic}\Largb{\Larga{text}}
+%\end{BDef}
+%\subsubsection{Choosing Persian Navar Font}
+%\begin{BDef}
+%\Lcs{setnavarfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{navarfamily}\quad\Lcs{textnavar}\Largb{\Larga{text}}
+%\end{BDef}
+%\subsubsection{Choosing Persian Pook Font}
+%\marginpar{If you do not use \Lcs{setpookfont} command at all, the \textsf{Persian Modern} font will be used.}
+%\begin{BDef}
+%\Lcs{setpookfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{pookfamily}\quad\Lcs{textpook}\Largb{\Larga{text}}
+%\end{BDef}
+%
+%\subsubsection{Choosing Persian Sayeh Font}
+%\marginpar{If you do not use \Lcs{setsayehfont} command at all, the \textsf{Persian Modern} font will be used.}
+%\begin{BDef}
+%\Lcs{setsayehfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{sayehfamily}\quad\Lcs{textsayeh}\Largb{\Larga{text}}
+%\end{BDef}
+%
+%\subsubsection{Choosing Latin Sans Font}
+%\begin{BDef}
+%\Lcs{setlatinsansfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{sffamily}\quad\Lcs{textsf}\Largb{\Larga{text}}
+%\end{BDef}
+%\subsubsection{Choosing Latin Mono Font}
+%\begin{BDef}
+%\Lcs{setlatinmonofont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{ttfamily}\quad\Lcs{texttt}\Largb{\Larga{text}}
+%\end{BDef}
+%\section{Latin and Persian Environment}
+%\begin{BDef}
+%\LBEG{latin}\quad\Larga{text}\quad\LEND{latin}\\
+%\LBEG{persian}\quad\Larga{text}\quad\LEND{persian}
+%\end{BDef}
+%\begin{itemize}
+%\item \texttt{latin} environment both changes direction of the paragraphs to LTR and font to Latin font.
+%\item \texttt{persian} environment both changes direction of the Paragraphs to RTL and font to Persian font.
+%\end{itemize}
+%
+%\subsection{Short Latin and Persian Texts}
+%\begin{BDef}
+%\Lcs{lr}\Largb{\Larga{text}}\quad\Lcs{rl}\Largb{\Larga{text}}
+%\end{BDef}
+%\begin{itemize}
+%\item With \Lcs{lr} command, you can typeset short LTR texts.
+%\item With \Lcs{rl} command, you can typeset short RTL texts.
+%\end{itemize}
+%\subsection{Miscellaneous Commands}
+%\begin{BDef}
+%\Lcs{persianyear}\quad\Lcs{persianmonth}\quad\Lcs{persianday}\\
+%\Lcs{today}\quad\Lcs{latintoday}\quad\Lcs{twocolumnstableofcontents}\quad\Lcs{XePersian}\\
+%\Lcs{plq}\quad\Lcs{prq}
+%\end{BDef}
+%\begin{itemize}
+%\item \Lcs{persianyear} is Persian equivalent of \Lcs{year}.
+%\item \Lcs{persianmonth} is Persian equivalent of \Lcs{month}.
+%\item \Lcs{persianday} is Persian equivalent of \Lcs{day}.
+%\item \Lcs{today} typesets current Persian date and \Lcs{latintoday} typesets current Latin date.
+%\item \Lcs{twocolumnstableofcontents} typesets table of contents in two columns. This requires that you have loaded \textsf{multicol} package before \textsf{\XePersian} package, otherwise an error will be issued.
+%\item \Lcs{XePersian} typesets \XePersian's logo.
+%\item \Lcs{plq} and \Lcs{prq} typeset Persian left quote and Persian right quote respectively.
+%\end{itemize}
+%\subsection{New Commands}
+%\begin{BDef}
+%\Lcs{Latincite}
+%\end{BDef}
+%\begin{itemize}
+%\item\Lcs{Latincite} functions exactly like \Lcs{cite} command with only one difference; the reference to biblabel item is printed in Latin font in the text.
+%\end{itemize}
+%\subsection{Additional Counters}
+%\XePersian\ defines several additional counters to what already \LaTeX\ offers. These counters are \texttt{harfi}, \texttt{adadi}, and \texttt{tartibi}. In addition, the following commands are also provided:
+%
+%\begin{BDef}
+%\Lcs{harfinumeral}\Largb{\Larga{integer}}\quad\Lcs{adadinumeral}\Largb{\Larga{integer}}\quad\Lcs{tartibinumeral}\Largb{\Larga{integer}}\quad
+%\end{BDef}
+%\begin{itemize}
+%\item The range of \texttt{harfi} counter is integers between 1 and 32 (number of the Persian alphabets) and \texttt{adadi} and \texttt{tartibi} counters, are integers between 0 and 999,999,999.
+%\item For \texttt{harfi} counter, if you give an integer bigger than 32 or a negative integer (if you give integer 0, it returns nothing), then you get error and for \texttt{adadi} and \texttt{tartibi} counters, if you give an integer bigger than 999,999,999, then you get an error message.
+%\item For \texttt{adadi} and \texttt{tartibi} counters, if you give an integer less than 0 (a negative integer), then \texttt{adadi} and \texttt{tartibi} counters return \textbf{adadi} and \textbf{tartibi} form of the integer 0, respectively.
+%\item \Lcs{harfinumeral} returns the \textbf{harfi} form of \Larga{integer}, where $1\leq integer\leq32$ and \Lcs{adadinumeral}, and \Lcs{tartibinumeral} return \textbf{adadi}, and \textbf{tartibi} form of \Larga{integer} respectively, where $0\leq integer\leq 999,999,999$.
+%\end{itemize}
+%\subsection{Things To Know About \Lcs{setdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}}
+%\begin{BDef}
+%\Lcs{DefaultMathsDigits}\quad\Lcs{PersianMathsDigits}\quad\Lcs{AutoMathsDigits}
+%\end{BDef}
+%\begin{itemize}
+% \item As we discussed before, \Lcs{setdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form and if you do not use this command at all, the \textsf{Persian Modern} font for digits in math mode will be used.
+%\item As we discussed before, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont} will choose the Persian sans serif and typewriter fonts for digits in math mode. By using this command, digits in math mode will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode and digits appear in their original form (Western).
+%
+%If you use \Lcs{setdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}, then you should know that:
+%\begin{itemize}
+%\item By default, \Lcs{AutoMathsDigits} is active, which means that in Persian mode, you get Persian digits in math mode and in Latin mode, you get \TeX's default font and digits in math mode.
+%\item If you use \Lcs{PersianMathsDigits} anywhere, you will overwrite \XePersian's default behaviour and you will always get Persian digits in math mode.
+%\item If you use \Lcs{DefaultMathsDigits} anywhere, again you will overwrite \XePersian's default behaviour and you will always get \TeX's default font and digits in math mode.
+%\end{itemize}
+%\end{itemize}
+%\section{New Conditionals}
+%\subsection{Shell escape (or write18) conditional}
+%\begin{BDef}
+%\Lcs{ifwritexviii}\\
+%\qquad\textcolor{myred}{\Larga{material when Shell escape (or write18) is enabled}}\\
+%\Lcs{else}\\
+%\qquad\textcolor{myred}{\Larga{material when Shell escape (or write18) is not enabled}}\\
+%\Lcs{fi}
+%\end{BDef}
+%\section{Bilingual Captions}
+%\XePersian\ sets caption bilingually. This means if you are in RTL mode, you get Persian caption and if you are in LTR mode, you get English caption.
+%\subsection{Support For Various Packages}
+%In addition to what \textsf{bidi} package supports, \XePersian\ also support a few packages. This support is more about language aspect rather than directionality. These packages are \textsf{algorithmic}, \textsf{algorithm},\textsf{enumerate}, and \textsf{backref} packages.
+%
+%\subsubsection{Things You Should Know about Support For \textsf{enumerate} Package}
+%The \textsf{enumerate} package gives the enumerate environment an optional argument
+%which determines the style in which the counter is printed.
+%
+%An occurrence of one of the tokens \texttt{A}, \texttt{a}, \texttt{I}, \texttt{i}, or \texttt{1} produces the value
+%of the counter printed with (respectively) \Lcs{Alph}, \Lcs{alph}, \Lcs{Roman}, \Lcs{roman} or
+%\Lcs{arabic}.
+%
+%In addition with the extra support that \XePersian\ provides, an occurrence of one of the tokens \Penv{ا}, \Penv{ی}, or \Penv{ت} produces the value of the counter printed with (respectively) \Lcs{harfi}, \Lcs{adadi}, or \Lcs{tartibi}.
+%
+%These letters may be surrounded by any strings involving any other \TeX\
+%expressions, however the tokens \texttt{A}, \texttt{a}, \texttt{I}, \texttt{i}, \texttt{1}, \Penv{ا}, \Penv{ی}, \Penv{ت} must be inside a \Largb{} group if
+%they are not to be taken as special.
+%
+%To see an Example, please look at \textsf{enumerate} package documentation.
+%\subsection{Index Generation}
+%For generating index, you are advised to use \textsf{xindy} program, any other program such as \textsf{makeindex} is not recommended.
+%
+%
+%
+%\subsection{Converting Your Farsi\TeX\ Files To \XePersian\ or Unicode}
+%There is a python program written by Mostafa Vahedi that enables you to convert Farsi\TeX\ files to \XePersian\ or unicode. This program can be found in \textsf{doc} folder with the name \texttt{ftxe-0.12.py}. To convert your Farsi\TeX\ files to \XePersian, put \texttt{ftxe-0.12.py} in the same directory that your Farsi\TeX\ file is, and then open a terminal/command prompt and do the following:
+%
+%\begin{BDef}\ttfamily
+%python ftxe-0.12.py file.ftx file.tex
+%\end{BDef}
+%
+%This will convert your \texttt{file.ftx} (Farsi\TeX\ file) to \texttt{file.tex} (\XePersian\ file).
+%
+%The general syntax of using the python script is as follow:
+%\begin{BDef}\ttfamily
+%python ftxe-0.12.py [-r] [-s] [-x] [-u] input-filename1 input-filename2
+%\end{BDef}
+%Where
+%\begin{description}
+%\item[\texttt{-r}] (DEFAULT) recursively consider files included in the given files
+%\item[\texttt{-s}] do not recursively consider files
+%\item[\texttt{-x}] (DEFAULT) insert \XePersian\ related commands
+%\item[\texttt{-u}] only convert to unicode (and not to \XePersian)
+%\end{description}
+%
+%Please note that the python script will not work with versions of python later than 2.6. So you are encouraged to use version 2.6 of python to benefit from this python script.
+%
+%\section{Extra Packages And Classes}
+%\subsection{Magazine Typesetting}
+%\subsubsection{Introduction}
+%\textsf{xepersian-magazine} class allows you to create magazines, newspapers and any other types of papers. The output document has a front page and as many inner pages as desired. Articles appear one after another, telling the type, number of columns, heading, subheading, images, author and so forth. It is possible to change the aspect of (almost) everything therefore it is highly customisable. Commands to add different titles, headings and footers are also provided.
+%\subsubsection{Usage}
+%To create\footnote{For a sample file, please look at \texttt{magazine-sample.tex} in the \textsf{doc} folder} a magazine just load the class as usual\footnote{You also need to load \textsf{graphicx}, \textsf{xunicode} and \textsf{xepersian} packages respectively, after loading the document class and choose fonts for the main text, Latin text and digits in maths formulas. For more detail see \autoref{basics} of the documentation.}, with
+%\begin{BDef}
+%\Lcs{documentclass}\OptArgs\Largb{xepersian-magazine}
+%\end{BDef}
+%at the beginning of your source file. The class options are described in \autoref{s-options}.
+%
+%From this point it is possible to include packages and renew class commands described in \autoref{s-custom}.
+%\subsubsection{Front Page}
+%As every magazine, \textsf{xepersian-magazine} has its own front page. It includes main headings, an index, the magazine logo and other useful information. This environment should be the first you use within \textsf{xepersian-magazine} class but it is not mandatory.
+%
+%\begin{BDef}
+%\Lcs{firstimage}\quad\Lcs{firstarticle}
+%\end{BDef}
+%The first two commands you can use inside the \texttt{frontpage} environment are \Lcs{firstimage} and \Lcs{firstarticle} which include, respectively, the main image and the main heading in the front page. The first one takes two arguments \Larga{image} and \Larga{description}. Notice that second argument is optional and it declares the image caption; \Larga{image} defines the relative path to the image. In order to include the first piece of article use
+%\begin{BDef}
+%\Lcs{firstarticle}\Largb{\Larga{title}}\Largb{\Larga{opening}}\Largb{\Larga{time}}
+%\end{BDef}
+%first two arguments are mandatory and represent heading and the opening paragraph. Last argument is optional (you can leave it blank) and indicates the time when article happened.
+%\begin{BDef}
+%\Lcs{secondarticle}
+%\end{BDef}
+%The second piece of article is included using the command \Lcs{secondarticle} just as the first article. The main difference are that this second piece has two more arguments and it does not include an image.
+%
+%\begin{BDef}
+%\Lcs{secondarticle}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}\Largb{\Larga{opening}}\Largb{\Larga{pagesof}}\Largb{\Larga{time}}
+%\end{BDef}
+%The new arguments \Larga{subtitle} and \Larga{pagesof} define a subtitle and the name of the section for this piece of article.
+%
+%\begin{BDef}
+%\Lcs{thirdarticle}
+%\end{BDef}
+%The third piece of article is the last one in the \textsf{xepersian-magazine} front page. It works like the \Lcs{secondarticle}.
+%\begin{BDef}
+%\Lcs{thirdarticle}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}\Largb{\Larga{opening}}%
+%\Largb{\Larga{pagesof}}\Largb{\Larga{time}}
+%\end{BDef}
+%The arguments meaning is the same as \Lcs{secondarticle} command.
+%
+%The front page includes three information blocks besides the news: \texttt{indexblock} which contains the index, \texttt{authorblock} which includes information about the author and a \texttt{weatherblock} containing a weather forecast. All these three environments are mostly a frame in the front page therefore they can be redefined to fit your personal wishes but I kept them to give an example and to respec the original \textsf{xepersian-magazine} format.
+%
+%\begin{BDef}
+%\Lcs{indexitem}
+%\end{BDef}
+%The \texttt{indexblock} environment contains a manually editted index of \textsf{xepersian-magazine}. It takes one optional argument \Larga{title} and places a title over the index block. To add entries inside the index just type
+%\begin{BDef}
+%\Lcs{indexitem}\Largb{\Larga{title}}\Largb{\Larga{reference}}
+%\end{BDef}
+%inside the environment. The \Larga{title} is the index entry text and the \Larga{reference} points to a article inside \textsf{xepersian-magazine}. It will be more clear when you read \autoref{sub-1}. In order to get a correct output, it is necessary to leave a blank line between index items.
+%
+%The \texttt{authorblock} environment can include whatever you would like. I called it \texttt{authorblock} because I think it is nice to include some author reference in the front page: who you are, why are you doing this... This environment creates a frame box in the bottom right corner of the front page with your own logo at the top.
+%
+%\begin{BDef}
+%\Lcs{weatheritem}
+%\end{BDef}
+%Finally, the \texttt{weatherblock} lets you include a weather forecast. It takes one optional argument \Larga{title} that places a title over the weather block. It can
+% fit up to three weather icons with maximum and minimum temperatures,
+% description and name. To add each of the weather entries type the following
+%
+%\begin{BDef}
+%\Lcs{weatheritem}\Largb{\Larga{image}}\Largb{\Larga{day-name}}\Largb{\Larga{max}}%
+%\Largb{\Larga{min}}\Largb{\Larga{short-des}}
+%\end{BDef}
+%
+%The first argument includes the path to the weather icon (i.e. sunny or rainy), \Larga{day-name} like Monday, \Larga{max} and \Larga{min} are the highest and lowest day temperatures and \Larga{short-des} is a brief description of the weather condition: partly cloudy, sunny and windy \ldots
+%\subsubsection{Inside\label{sub-1}}
+%Once we have created the front page we should include all articles inside our magazine. \textsf{xepersian-magazine} arranges all articles one after each other, expanding headings all over the page and splitting the article text in the number of columns we wish. There are three different environments to define a piece of article: the \texttt{article} environment described in \autoref{subsub-1}, the \texttt{editorial} environment \autoref{subsub-2} for opinion articles and the \texttt{shortarticle} environment explained in \autoref{subsub-3}.
+%\subsubsection{The article environment\label{subsub-1}}
+%The main environment to include a piece of article is called \texttt{article}. It takes four arguments that set up the headings and structure of the article.
+%\begin{BDef}
+%\LBEG{article}\Largb{\Larga{num-of-columns}}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}%
+%\Largb{\Larga{pagesof}}\Largb{\Larga{label}}\\
+%\ldots\Larga{text}\ldots\\
+%\LEND{article}
+%\end{BDef}
+%
+%The first argument \Larga{num-of-columns} sets the number of columns the article will be divided whereas \Larga{label} is used when pointing an article from the index in the front page. The rest of the arguments are easy to understand.
+%
+%
+%Inside the \texttt{article} environment, besides the main text of the article, it is possible to include additional information using several class commands.
+%\begin{BDef}
+%\Lcs{authorandplace}\quad\Lcs{timestamp}
+%\end{BDef}
+%
+%The \Lcs{authorandplace}\Largb{\Larga{author}}\Largb{\Larga{place}} inserts the name of the editor and the place where the article happened in the way many magazines do. Another useful command is \Lcs{timestamp}\Largb{\Larga{time}} which includes the time and a separator just before the text. These two commands should be used before the text because they type the text as the same place they are executed.
+%
+%\begin{BDef}
+%\Lcs{image}
+%\end{BDef}
+%To include images within the text of an article, \textsf{xepersian-magazine} provides an \Lcs{image} command. Since \textsf{multicol} package does not provide any float support for its \textsf{multicols} environment, I created a macro that includes an image only if that is possible, calculating if there is enough space for the image.It is not the best solution but it works quite well and I could not find a better one. To include an image use the command and its two arguments: the relative path to the image and a short description.
+%\begin{BDef}
+%\Lcs{image}\Largb{\Larga{image}}\Largb{\Larga{description}}
+%\end{BDef}
+%
+%\begin{BDef}
+%\Lcs{columntitle}\quad\Lcs{expandedtitle}
+%\end{BDef}
+%Within the text of the article, it is possible to add column and expanded titles. The main difference between them is that the first one keeps inside the width of an article column whereas the second expands all over the width of the page, breaking all the columns. Their use is analogous, as follows
+%
+%\begin{BDef}
+%\Lcs{columntitle}\Largb{\Larga{type}}\Largb{\Larga{text}}\\
+%\Lcs{expandedtitle}\Largb{\Larga{type}}\Largb{\Larga{text}}
+%\end{BDef}
+%These two commands use \textsf{fancybox} package features. That is why there are five different types of titles which correspond mainly with fancybox ones: \textsf{shadowbox},
+%\textsf{doublebox}, \textsf{ovalbox}, \textsf{Ovalbox} and \textsf{lines}.
+%\subsubsection{The editorial environment\label{subsub-2}}
+%In addition to the editorial article environment, one can use the editorial environment to create editorial or opinion texts. The main feature is that it transforms the style
+%of the heading. Although this environment accepts all the commands article takes, it does not make any sense to use the \Lcs{authorandplace} command within it since it includes an author argument. To create an editorial text use
+%
+%\begin{BDef}
+%\LBEG{editorial}\Largb{\Larga{num-of-columns}}\Largb{\Larga{title}}\Largb{\Larga{author}}\Largb{\Larga{label}}\\
+%\ldots\Larga{text}\ldots\\
+%\LEND{editorial}
+%\end{BDef}
+%
+%All arguments have the same meaning as article environment (see \autoref{subsub-1}).
+%\subsubsection{The shortarticle environment\label{subsub-3}}
+%The shortarticle environment creates a block of short article. Althought it has its own title and subtitle, each piece of article within it may have a title. To use it just
+%type:
+%
+%\begin{BDef}
+%\LBEG{shortarticle}\Largb{\Larga{num-of-columns}}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}\Largb{\Larga{label}}\\
+%\ldots\Larga{text}\ldots\\
+%\Lcs{shortarticleitem}\Largb{\Larga{title}}\Largb{\Larga{text}}\\
+%\ldots\\
+%\LEND{shortarticle}
+%\end{BDef}
+%You can also specify the number of columns of the block like editorial and article environments. To add a piece of article inside the shortarticle use the \Lcs{shortarticleitem}, indicating a title and the text of the issue.
+%\subsubsection{Commands between articles}
+%\begin{BDef}
+%\Lcs{articlesep}\quad\Lcs{newsection}
+%\end{BDef}
+%
+%There are two commands you can use among the articles inside \textsf{xepersian-magazine}: \Lcs{articlesep} and \Lcs{newsection}. The first one does not take any parameter and just draws a line between two articles. The second changes the content of \Lcs{xepersian@section} to the new \Larga{section name}. From the point it is used, all articles which follow will be grouped within the new section.
+%
+%\begin{BDef}
+%\Lcs{newsection}\Largb{\Larga{section name}}
+%\end{BDef}
+%\subsubsection{Customization\label{s-custom}}
+%\textsf{xepersian-magazine} includes many commands which can be used to customize its aspect, from the front page to the last page. I will list them grouped so it is easy to find
+%them. Treat them as standard \LaTeX\ commands, using \Lcs{renewcommand} to change
+%their behaviour.
+%\subsubsection{Front Page}
+%
+%\begin{BDef}
+%\Lcs{customlogo}\quad\Lcs{customminilogo}\quad\Lcs{custommagazinename}
+%\end{BDef}
+%When creating a magazine, everyone wants to show its own logo instead of \textsf{xepersian-magazine} default heading. To achieve this, you need to put the following command at the preamble of your document:
+%
+%\begin{BDef}
+%\Lcs{customlogo}\Largb{\Larga{text}}\\
+%\Lcs{customminilogo}\Largb{\Larga{text}}\\
+%\Lcs{custommagazinename}\Largb{\Larga{text}}
+%\end{BDef}
+%
+%
+%\begin{BDef}
+%\Lcs{edition}\quad\Lcs{editionformat}
+%\end{BDef}
+%
+%The edition text has to be declared in the preamble of the document. One important thing to know is that \Lcs{author}, \Lcs{date} and \Lcs{title} have no effect inside \textsf{xepersian-magazine} since the magazine date is taken from \Lcs{today} command and the other two are only for the title page (if using \Lcs{maketitle}).
+%
+%\begin{BDef}
+%\Lcs{indexFormat}\quad\Lcs{indexEntryFormat}\quad\Lcs{indexEntryPageTxt}\\
+%\Lcs{indexEntryPageFormat}\quad%
+%\Lcs{indexEntrySeparator}
+%\end{BDef}
+%
+%When defining the index in the front page, there are several commands to customize the final index style. \Lcs{indexFormat} sets the format of the title; \Lcs{indexEntryFormat}, the format of each index entry; \Lcs{indexEntryPageTxt} and \Lcs{indexEntryPageFormat} lets you define which is the text that goes with the page number and its format. Finally, \textsf{xepersian-magazine} creates a thin line between index entries, you can redefine it using \Lcs{indexEntrySeparator}. To get the index with \Lcs{xepersian@indexwidth} is provided.
+%
+%\begin{BDef}
+%\Lcs{weatherFormat}\quad\Lcs{weatherTempFormat}\quad\Lcs{weatherUnits}
+%\end{BDef}
+%
+%Relating to the weather block, the title format can be changed redefining \Lcs{weatherFormat}. In order to customize the format of the temperature numbers and their units it is necessary to redefine \Lcs{weatherTempFormat} and \Lcs{weatherUnits} respectively.
+%
+%\begin{BDef}
+%\Lcs{*TitleFormat}\quad\Lcs{*SubtitleFormat}\quad\Lcs{*TextFormat}
+%\end{BDef}
+%The main article that appear in the front page can change their formats. To obtain that there are three standard commands to modify the title, subtitle and text style. You just have to replace the star (\texttt{*}) with first, second or third depending on which article you are editing. Note that first piece of article has no subtitle therefore it does not make any sense to use the non-existent command \Lcs{firstSubtitleFormat}.
+%
+%\begin{BDef}
+%\Lcs{pictureCaptionFormat}\quad\Lcs{pagesFormat}
+%\end{BDef}
+%Two other elements to configure are the picture captions and the pages or section format in the entire document. To proceed just redefine the macros \Lcs{pictureCaptionFormat} and \Lcs{pagesFormat}.
+%\subsubsection{Inside The Magazine}
+%\begin{BDef}
+%\Lcs{innerTitleFormat}\quad\Lcs{innerSubtitleFormat}\quad\Lcs{innerAuthorFormat}\\
+%\Lcs{innerPlaceFormat}
+%\end{BDef}
+%
+%The articles inside \textsf{xepersian-magazine} may have a different format from the ones in the front page. To change their title or subtitle format redefine \Lcs{innerTitleFormat} and \Lcs{innerSubtitleFormat}. The article text format matches the document general definition. When using the \Lcs{authorandplace} command, you might want to change the default style. Just renew \Lcs{innerAuthorFormat} and \Lcs{innerPlaceFormat} to get the results.
+%
+%\begin{BDef}
+%\Lcs{timestampTxt}\quad\Lcs{timestampSeparator}\quad\Lcs{timestampFormat}
+%\end{BDef}
+%
+%The \Lcs{timestamp} command described in \autoref{subsub-1} lets you introduce the time of the event before the article text. You can configure its appearance by altering
+%several commands: \Lcs{timestampTxt} which means the text after the timestamp; \Lcs{timestampSeparator} which defines the element between the actual timestamp and the beginning of the text and, finally, \Lcs{timestampFormat} to change the entire timestamp format.
+%
+%\begin{BDef}
+%\Lcs{innerTextFinalMark}
+%\end{BDef}
+%
+%\textsf{xepersian-magazine} puts a small black square at the end of the article. As I wanted to create a highly customizable \LaTeX\ class I added the macro \Lcs{innerTextFinalMark} to change this black square. This item will appear always following the last character of the text with the \texttt{\~} character.
+%
+%\begin{BDef}
+%\Lcs{minraggedcols}\quad\Lcs{raggedFormat}
+%\end{BDef}
+%
+%The \Lcs{minraggedcols} counter is used to tell \textsf{xepersian-magazine} when article text should be ragged instead of justified. The counter represents the minimum number of columns that are needed in order to use ragged texts. For example, if \Lcs{minraggedcols} is set to 3, all articles with 3 columns or more will be ragged. Articles with 1, 2 columns will have justified text. By default, \Lcs{minraggedcols} is set to 4.
+%
+%The \Lcs{raggedFormat} macro can be redefined to fit user ragged style. Default value is \Lcs{RaggedLeft}.
+%
+%\begin{BDef}
+%\Lcs{heading}\quad\Lcs{foot}
+%\end{BDef}
+%\textsf{xepersian-magazine} includes package \textsf{fancyhdr} for changing headings and footers. Although it is possible to use its own commands to modify \textsf{xepersian-magazine} style, there are two commands to change headings and foot appearance. Place them in the preamble of your \textsf{xepersian-magazine} document.
+%
+%\begin{BDef}
+%\Lcs{heading}\Largb{\Larga{left}}\Largb{\Larga{center}}\Largb{\Larga{right}}\\
+%\Lcs{foot}\Largb{\Larga{left}}\Largb{\Larga{center}}\Largb{\Larga{right}}
+%\end{BDef}
+%
+% If you still prefer to use fancyhdr macros, use them after the \texttt{frontpage} environment.
+%
+%\textsf{xepersian-magazine} by default places no headers and footers. If you want headers and foooters, then after loading \textsf{xepersian} package, you should write \Lcs{pagestyle}\Largb{fancy} at the preamble of your document.
+%
+%\subsubsection{Class Options\label{s-options}}
+%The \textsf{xepersian-magazine} class is in itself an alteration of the standard \textsf{article} class, thus it inherits most of its class options but \textsf{twoside}, \textsf{twocolumn}, \textsf{notitlepage} and \textsf{a4paper}. If you find problems when loading other article features, please let me know to fix it. There are also five own options that \textsf{xepersian-magazine} implements.
+%\begin{description}
+%\item[\textsf{a3paper}] (false) This option makes \textsf{xepersian-magazine} 297 mm width by 420 mm height. This option is implemented because the standard \textsf{article} class does not allow this document size.
+%\item[\textsf{9pt}] (false) Allows the 9pt font size that \textsf{article} class does not include (default is 10pt).
+%\item[\textsf{columnlines}] columnlines (false) Adds lines between columns in the entire \textsf{xepersian-magazine}. The default line width is 0.1pt but it is possible to change this by setting length \Lcs{columnlines} in the preamble.
+%\item[\textsf{showgrid}] (false) This option is only for developing purposes. Because the front page has a personal design using the textpos package, I created this grid to make easier the lay out.
+%\end{description}
+%
+%\subsection{Typesetting Multiple-choice Questions}
+%\subsubsection{Introduction}
+%\textsf{xepersian-multiplechoice} is a package for making multiple choices questionnaires under \LaTeX. A special environment
+%allows you to define questions and possible answers. You can specify which
+%answers are correct and which are not. \textsf{xepersian-multiplechoice} not only formats the questions
+%for you, but also generates a ``form'' (a grid that your students will have to fill
+%in), and a ``mask'' (the same grid, only with correct answers properly checked
+%in). You can then print the mask on a slide and correct the questionnaires
+%more easily by superimposing the mask on top of students' forms.
+%
+%\subsubsection{Usage}
+%Here we now explain the usage of this package, however there are four example files, namely \texttt{test-question-only.tex}, \texttt{test-solution-form.tex}, \texttt{test-empty-form.tex} and \texttt{test-correction.tex}, available in \textsf{doc} folder that you may want to look at.
+%\subsubsection{Loading The Package}
+%You can load the package as usual by:
+%\begin{BDef}
+%\Lcs{usepackage}\OptArgs\Largb{xepersian-multiplechoice}
+%\end{BDef}
+%The available options are described along the text,
+%where appropriate.
+%\subsubsection{Creating Questions}
+%Here's a simple example demonstrating how to produce a new question:
+%\begin{lstlisting}[morekeywords={false,true}]
+%\begin{question}{*\parsitext{سؤال}*}
+%\false *\parsitext{جواب ۱}*
+%\true *\parsitext{جواب ۲}*
+%\false *\parsitext{جواب ۳}*
+%\false *\parsitext{جواب ۴}*
+%\end{question}
+%\begin{correction}
+%*\parsitext{جواب واقعی و علت اینکه این جواب، جواب واقعی هست}*
+%\end{correction}
+%\end{lstlisting}
+%\subsubsection{The \texttt{question} Environment}
+%The \texttt{question} environment allows you to insert questions into your document. It
+%takes one mandatory argument which specifies the actual question's text. The
+%question will be displayed in a frame box, the size of the line.
+%\begin{BDef}
+%\Lcs{true}\quad\Lcs{false}
+%\end{BDef}
+%
+%The proposed answers are displayed below the question in a list fashion (the
+%question environment is a list-based one). Instead of using \Lcs{item} however, use
+%either \Lcs{true} or \Lcs{false} to insert a possible answer.
+%
+%\subsubsection{Question Numbers}
+%The \texttt{question} environment is associated with a \LaTeX\ counter named \texttt{question}.
+%This counter stores the number of the next (or current) question. It is initialized
+%to 1, and automatically incremented at the end of \texttt{question} environments. You
+%might want to use it to format question titles. For instance, you could decide that
+%each question belongs to a subsection in the \texttt{article} class, and use something like
+%this before each question: \Lcs{subsection*}\Largb{Question \Lcs{thequestion}}
+%
+%\subsubsection{The Form and the Mask}
+%\begin{BDef}
+%\Lcs{makeform}\quad\Lcs{makemask}
+%\end{BDef}
+%Based on the questions appearing in your document, \textsf{xepersian-multiplechoice} has the ability to
+%generate a ``form'' (a grid that your students will have to fill in), and a ``mask''
+%(the same grid, only with correct answers properly checked in). This can make
+%the correction process easier.
+%
+%To generate a form and a mask, use the macros \Lcs{makeform} and \Lcs{makemask}.
+%\textsf{xepersian-multiplechoice} uses two auxiliary files to build them. These files have respectively an
+%extension of \texttt{frm} and \texttt{msk}. If you use these macros, you will need two passes of
+%\LaTeX\ in order to get a correctly formatted document.
+%
+%\subsubsection{Typesetting corrections}
+%The ``correction'' mode allows you to automatically
+%typeset and distribute corrections to your students. These corrections
+%are slightly modified versions of your questionnaire: each possible answer is prefixed with a small symbol (a visual clue) indicating whether the answer was correct
+%or wrong. In addition, you can typeset explanations below each question.
+%
+%To activate the correction mode, use the \texttt{correction} option. It is off by
+%default.
+%
+%To typeset explanations below the questions, use the \texttt{correction} environment
+%(no argument). The contents of this environment is displayed only in correction
+%mode. In normal mode, it is simply discarded.
+%
+%In addition, note that \textsf{xepersian-multiplechoice} cancels the actions performed by \Lcs{makeform} and
+%\Lcs{makemask} in \texttt{correction} mode. This is to avoid further edition of the source
+%when typesetting a correction.
+%
+%\subsubsection{Important Note}
+%Currently, \textsf{xepersian-multiplechoice} requires that you provide a constant number of proposed answers
+%across all questions in your \textsf{xepersian-multiplechoice}. This is something natural when you want to
+%build forms, but this might me too restrictive otherwise, I'm not sure, so it is
+%possible that this restriction will be removed in future versions.
+%
+%Currently, there is a built-in mechanism for checking that the number of proposed
+%answers remains constant: when \textsf{xepersian-multiplechoice} encounters the first occurrence of the
+%\texttt{question} environment, it remembers the number of proposed answers from there.
+%Afterwards, any noticed difference in subsequent occurrences will generate an error.
+%As a consequence, you never have to tell \textsf{xepersian-multiplechoice} explicitly what that number
+%is.
+%
+%\subsection{Customising The Package}
+%\subsubsection{The \texttt{question} environment}
+%\begin{BDef}
+%\Lcs{questionspace}\quad\Lcs{answerstitlefont}\quad\Lcs{answernumberfont}
+%\end{BDef}
+%\Lcs{questionspace} is the amount of extra vertical space to put under the question,
+%before the list of proposed answers. This is a \LaTeX\ length that defaults to \texttt{0pt}.
+%
+%Before the list of possible answers, a short title is displayed (for English, it
+%reads ``Possible answers:''). The \Lcs{answerstitlefont} macro takes one mandatory
+%argument which redefines the font to use for the answers title. By default,
+%\Lcs{bfseries} is used.
+%
+%Each proposed answer in the list is numbered automatically (and alphabetically).
+%The \Lcs{answernumberfont} macro takes one mandatory argument which
+%redefines the font to use for displaying the answer number. By default, \Lcs{bfseries}
+%is used.
+%
+%\subsubsection{The Form and the Mask}
+%\begin{BDef}
+%\Lcs{headerfont}\quad\Lcs{X}
+%\end{BDef}
+%
+%The \Lcs{headerfont} macro takes one mandatory argument which redefines the font
+%to use for the headers (first line and first column) of the form and mask arrays.
+%By default, \Lcs{bfseries} is used.
+%
+%In the mask, correct answers are checked in by filling the corresponding cell
+%with an ``X'' character. If you want to change this, call the \Lcs{X} macro with one
+%(mandatory) argument.
+%
+%\subsubsection{The correction}
+%\begin{BDef}
+%\Lcs{truesymbol}\quad\Lcs{falsesymbol}
+%\end{BDef}
+%
+%In correction mode, labels in front of answers are modified to give a visual clue
+%about whether the answer was correct or wrong. By default, a cross and a small
+%arrow are used. You can change these symbols by using the \Lcs{truesymbol} and
+%
+%\Lcs{falsesymbol} macros. For instance, you could give a fancier look to your correction
+%by using the \textsf{pifont} package and issuing:
+%
+%\begin{lstlisting}[numbers=none,morekeywords={truesymbol,ding,falsesymbol}]
+%\truesymbol{\ding{'063}~}
+%\falsesymbol{\ding{'067}~}
+%\end{lstlisting}
+%
+%\begin{BDef}
+%\Lcs{correctionstyle}
+%\end{BDef}
+%The appearance of the contents of the correction environment can be adjusted
+%by using the \Lcs{correctionstyle} macro. By default, \Lcs{itshape} is used.
+%
+% \StopEventually{}
+%
+% \section{\textsf{\jobname} implementation}
+% \subsection{\textsf{algorithmic-xepersian.def}}
+%\iffalse
+%<*algorithmic-xepersian.def>
+%\fi
+%
+%
+%
+% \begin{macrocode}
+\ProvidesFile{algorithmic-xepersian.def}[2010/07/25 v0.2 adaptations for algorithmic package]
+\def\algorithmicrequire{\if@RTL\textbf{ورودی:}\else\textbf{Require:}\fi}
+\def\algorithmicensure{\if@RTL\textbf{خروجی:}\else\textbf{Ensure:}\fi}
+% \end{macrocode}
+%
+%\iffalse
+%</algorithmic-xepersian.def>
+%<*algorithm-xepersian.def>
+%\fi
+% \subsection{\textsf{algorithm-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{algorithm-xepersian.def}[2010/07/25 v0.2 adaptations for algorithm package]
+\def\ALG@name{\if@RTL الگوریتم\else Algorithm\fi}
+\def\ALGS@name{الگوریتم‌ها}
+\def\listalgorithmname{\if@RTL فهرست \ALGS@name\else List of \ALG@name s\fi}
+% \end{macrocode}
+% \iffalse
+%</algorithm-xepersian.def>
+%<*amsart-xepersian.def>
+%\fi
+% \subsection{\textsf{amsart-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{amsart-xepersian.def}[2010/07/25 v0.2 adaptations for amsart class]
+\renewcommand \thepart {\@tartibi\c@part}
+\def\appendix{\par\c@section\z@ \c@subsection\z@
+ \let\sectionname\appendixname
+ \def\thesection{\@harfi\c@section}}
+
+\long\def\@footnotetext#1{%
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
+
+
+
+
+\long\def\@RTLfootnotetext#1{%
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
+
+
+
+
+
+
+\long\def\@LTRfootnotetext#1{%
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+
+\footdir@temp\footdir@ORG@xepersian@amsart@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@amsart@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@amsart@LTRfootnotetext\@LTRfootnotetext{L}%
+
+% \end{macrocode}
+% \iffalse
+%</amsart-xepersian.def>
+%<*amsbook-xepersian.def>
+%\fi
+% \subsection{\textsf{amsbook-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{amsbook-xepersian.def}[2010/07/25 v0.3 adaptations for amsbook class]
+\def\frontmatter{\cleardoublepage\pagenumbering{harfi}}
+\renewcommand \thepart {\@tartibi\c@part}
+\def\appendix{\par
+ \c@chapter\z@ \c@section\z@
+ \let\chaptername\appendixname
+ \def\thechapter{\@harfi\c@chapter}}
+
+\long\def\@footnotetext#1{%
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
+
+
+
+
+\long\def\@RTLfootnotetext#1{%
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
+
+
+
+
+
+
+\long\def\@LTRfootnotetext#1{%
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+\footdir@temp\footdir@ORG@xepersian@amsbook@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@amsbook@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@amsbook@LTRfootnotetext\@LTRfootnotetext{L}%
+
+% \end{macrocode}
+% \iffalse
+%</amsbook-xepersian.def>
+%<*article-xepersian.def>
+%\fi
+% \subsection{\textsf{article-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{article-xepersian.def}[2010/07/25 v0.2 adaptations for standard article class]
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+% \end{macrocode}
+% \iffalse
+%</article-xepersian.def>
+%<*artikel1-xepersian.def>
+%\fi
+% \subsection{\textsf{artikel1-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{artikel1-xepersian.def}[2010/07/25 v0.1 adaptations for artikel1 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+% \end{macrocode}
+% \iffalse
+%</artikel1-xepersian.def>
+%<*artikel2-xepersian.def>
+%\fi
+% \subsection{\textsf{artikel2-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{artikel2-xepersian.def}[2010/07/25 v0.1 adaptations for artikel2 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+% \end{macrocode}
+% \iffalse
+%</artikel2-xepersian.def>
+%<*artikel3-xepersian.def>
+%\fi
+% \subsection{\textsf{artikel3-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{artikel3-xepersian.def}[2010/07/25 v0.1 adaptations for artikel3 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+% \end{macrocode}
+% \iffalse
+%</artikel3-xepersian.def>
+%<*backref-xepersian.def>
+%\fi
+% \subsection{\textsf{backref-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{backref-xepersian.def}[2010/07/25 v0.1 adaptations for backref package]
+\def\backrefpagesname{\if@RTL صفحات\else pages\fi}
+\def\BR@Latincitex[#1]#2{%
+ \BRorg@Latincitex[{#1}]{#2}%
+ \ifBR@verbose
+ \PackageInfo{backref}{back Latin cite \string`#2\string'}%
+ \fi
+ \Hy@backout{#2}%
+}
+\AtBeginDocument{%
+ \@ifundefined{NAT@parse}{%
+ \global\let\BRorg@Latincitex\@Latincitex
+ \global\let\@Latincitex\BR@Latincitex
+ }{%
+ \@ifpackageloaded{hyperref}{}{%
+ \def\hyper@natlinkstart#1{\Hy@backout{#1}}%
+ }%
+ \PackageInfo{backref}{** backref set up for natbib **}%
+ }%
+}%
+% \end{macrocode}
+% \iffalse
+%</backref-xepersian.def>
+%<*bidicode-xepersian.def>
+%\fi
+% \subsection{\textsf{bidicode-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{bidicode-xepersian.def}[2010/07/25 v0.0 Persian captions for bidicode package]
+% \end{macrocode}
+% \iffalse
+%</bidicode-xepersian.def>
+%<*bidituftesidenote-xepersian.def>
+%\fi
+% \subsection{\textsf{bidituftesidenote-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{bidituftesidenote-xepersian.def}[2011/06/18 v0.1 xepersian changes to bidituftesidenote package]
+\long\def\@LTRbidituftesidenote@sidenote[#1][#2]#3{%
+ \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
+ \gdef\@bidituftesidenote@citations{}% clear out any old citations
+ \ifthenelse{\NOT\isempty{#2}}{%
+ \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{#2}%
+ }{%
+ \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{0pt}%
+ }%
+ \ifthenelse{\isempty{#1}}{%
+ % no specific footnote number provided
+ \stepcounter\@mpfn%
+ \protected@xdef\@thefnmark{\thempfn}%
+ \@footnotemark\@LTRfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\latinfont#3}%
+ }{%
+ % specific footnote number provided
+ \begingroup%
+ \csname c@\@mpfn\endcsname #1\relax%
+ \unrestored@protected@xdef\@thefnmark{\thempfn}%
+ \endgroup%
+ \@footnotemark\@LTRfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\latinfont#3}%
+ }%
+ \@bidituftesidenote@print@citations% print any citations
+ \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
+ \unskip\ignorespaces% remove extra white space
+ \kern-\multiplefootnotemarker% remove \kern left behind by sidenote
+ \kern\multiplefootnotemarker\relax% add new \kern here to replace the one we yanked
+}
+\long\def\@RTLbidituftesidenote@sidenote[#1][#2]#3{%
+ \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
+ \gdef\@bidituftesidenote@citations{}% clear out any old citations
+ \ifthenelse{\NOT\isempty{#2}}{%
+ \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{#2}%
+ }{%
+ \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{0pt}%
+ }%
+ \ifthenelse{\isempty{#1}}{%
+ % no specific footnote number provided
+ \stepcounter\@mpfn%
+ \protected@xdef\@thefnmark{\thempfn}%
+ \@footnotemark\@RTLfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\persianfont#3}%
+ }{%
+ % specific footnote number provided
+ \begingroup%
+ \csname c@\@mpfn\endcsname #1\relax%
+ \unrestored@protected@xdef\@thefnmark{\thempfn}%
+ \endgroup%
+ \@footnotemark\@RTLfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\persianfont#3}%
+ }%
+ \@bidituftesidenote@print@citations% print any citations
+ \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
+ \unskip\ignorespaces% remove extra white space
+ \kern-\multiplefootnotemarker% remove \kern left behind by sidenote
+ \kern\multiplefootnotemarker\relax% add new \kern here to replace the one we yanked
+}
+\renewcommand\LTRmarginnote[2][0pt]{%
+ \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
+ \gdef\@bidituftesidenote@citations{}% clear out any old citations
+ \LTRbidituftesidenotemarginpar{\hbox{}\vspace*{#1}\@bidituftesidenote@marginnote@font\latinfont\@bidituftesidenote@marginnote@justification\@bidituftesidenote@margin@par\vspace*{-1\baselineskip}\noindent #2}%
+ \@bidituftesidenote@print@citations% print any citations
+ \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
+}
+\renewcommand\RTLmarginnote[2][0pt]{%
+ \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
+ \gdef\@bidituftesidenote@citations{}% clear out any old citations
+ \RTLbidituftesidenotemarginpar{\hbox{}\vspace*{#1}\@bidituftesidenote@marginnote@font\persianfont\@bidituftesidenote@marginnote@justification\@bidituftesidenote@margin@par\vspace*{-1\baselineskip}\noindent #2}%
+ \@bidituftesidenote@print@citations% print any citations
+ \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
+}
+% \end{macrocode}
+% \iffalse
+%</bidituftesidenote-xepersian.def>
+%<*bidimoderncv-xepersian.def>
+%\fi
+% \subsection{\textsf{bidimoderncv-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{bidimoderncv-xepersian.def}[2010/07/25 v0.1 adaptations for bidimoderncv class]
+\def\refname{\if@RTL تألیفات\else Publications\fi}
+% \end{macrocode}
+% \iffalse
+%</bidimoderncv-xepersian.def>
+%<*boek3-xepersian.def>
+%\fi
+% \subsection{\textsf{boek3-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{boek3-xepersian.def}[2010/07/25 v0.1 adaptations for boek3 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{harfi}}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+% \end{macrocode}
+% \iffalse
+%</boek3-xepersian.def>
+%<*boek-xepersian.def>
+%\fi
+% \subsection{\textsf{boek-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{boek-xepersian.def}[2010/07/25 v0.1 adaptations for boek class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{harfi}}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+% \end{macrocode}
+% \iffalse
+%</boek-xepersian.def>
+%<*bookest-xepersian.def>
+%\fi
+% \subsection{\textsf{bookest-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{bookest-xepersian.def}[2010/07/25 v0.1 adaptations for bookest class]
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}
+}%end appendix
+% \end{macrocode}
+% \iffalse
+%</bookest-xepersian.def>
+%<*book-xepersian.def>
+%\fi
+% \subsection{\textsf{book-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{book-xepersian.def}[2010/07/25 v0.2 adaptations for standard book class]
+\renewcommand\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{harfi}}
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}
+}%end appendix
+% \end{macrocode}
+% \iffalse
+%</book-xepersian.def>
+%<*breqn-xepersian.def>
+%\fi
+% \subsection{\textsf{breqn-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{breqn-xepersian.def}[2010/07/25 v0.1 adaptations for breqn package]
+\def\@dmath[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
+ \everydisplay\expandafter{\the\everydisplay \display@setup}%
+ \if@noskipsec \leavevmode \fi
+ \if@inlabel \leavevmode \global\@inlabelfalse \fi
+ \if\eq@group\else\eq@prelim\fi
+ \setkeys{breqn}{#1}%
+ \the\eqstyle
+ \eq@setnumber
+ \begingroup
+ \eq@setup@a
+ \eq@startup
+}
+\def\@dgroup[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
+ \let\eq@group\@True \global\let\eq@GRP@first@dmath\@True
+ \global\GRP@queue\@emptytoks \global\setbox\GRP@box\box\voidb@x
+ \global\let\GRP@label\@empty
+ \global\grp@wdL\z@\global\grp@wdR\z@\global\grp@wdT\z@
+ \global\grp@linewidth\z@\global\grp@wdNum\z@
+ \global\let\grp@eqs@numbered\@False
+ \global\let\grp@aligned\@True
+ \global\let\grp@shiftnumber\@False
+ \eq@prelim
+ \setkeys{breqn}{#1}%
+ \if\grp@hasNumber \grp@setnumber \fi
+}
+\def\@dseries[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
+ \let\display@setup\dseries@display@setup
+ % Question: should this be the default for dseries???
+ \global\eq@wdCond\z@
+ \@dmath[layout={M},#1]%
+ \mathsurround\z@\@@math \penalty\@Mi
+ \let\endmath\ends@math
+ \def\premath{%
+ \ifdim\lastskip<.3em \unskip
+ \else\ifnum\lastpenalty<\@M \dquad\fi\fi
+}%
+ \def\postmath{\unpenalty\eq@addpunct \penalty\intermath@penalty \dquad \@ignoretrue}%
+\ignorespaces
+}
+% \end{macrocode}
+% \iffalse
+%</breqn-xepersian.def>
+%<*commands-ltx.def>
+%\fi
+% \subsection{\textsf{commands-ltx.def}}
+% \begin{macrocode}
+\ProvidesFile{commands-ltx.def}[2010/07/25 v0.2 Persian localisation of LaTeX2e commands]
+\eqcommand{شمع‌جدول}{@arstrut}
+\eqcommand{فوق}{above}
+\eqcommand{فاصله‌کوتاه‌بالای‌نمایش}{abovedisplayshortskip}
+\eqcommand{فاصله‌بالای‌نمایش}{abovedisplayskip}
+\eqcommand{عنوان‌چکیده}{abstractname}
+\eqcommand{اکسنت}{accent}
+\eqcommand{فعال}{active}
+\eqcommand{بیفزاسطرفهرست}{addcontentsline}
+\eqcommand{اضافه‌برجریمه}{addpenalty}
+\eqcommand{نشانی}{address}
+\eqcommand{بیفزابه‌فهرست}{addtocontents}
+\eqcommand{اضافه‌برشمارنده}{addtocounter}
+\eqcommand{اضافه‌بربعد}{addtolength}
+\eqcommand{بیفزافضای‌و}{addvspace}
+\eqcommand{تنظیم‌بدنمایی}{adjdemerits}
+\eqcommand{بیفزابر}{advance}
+\eqcommand{بعدازانتساب}{afterassignment}
+\eqcommand{بعدازگروه}{aftergroup}
+\eqcommand{الف}{aleph}
+\eqcommand{خصیصه‌مستعارقلم}{aliasfontfeature}
+\eqcommand{انتخاب‌خصیصه‌مستعارقلم}{aliasfontfeatureoption}
+\eqcommand{شکستنی}{allowbreak}
+\eqcommand{تخصی@}{alloc@}
+\eqcommand{تخصیص‌یافته}{allocationnumber}
+\eqcommand{شکست‌نمایش‌مجاز}{allowdisplaybreaks}
+\eqcommand{حروف‌بزرگ}{Alph}
+\eqcommand{حروف‌کوچک}{alph}
+\eqcommand{نام‌همچنین}{alsoname}
+\eqcommand{و}{and}
+\eqcommand{زاویه}{angle}
+\eqcommand{عنوان‌پیوست}{appendixname}
+\eqcommand{تقریب}{approx}
+\eqcommand{عربی}{arabic}
+\eqcommand{آرگ}{arg}
+\eqcommand{رنگ‌خط‌جدول}{arrayrulecolor}
+\eqcommand{فاصله‌ستونهای‌آرایه}{arraycolsep}
+\eqcommand{ضخامت‌خط‌جدول}{arrayrulewidth}
+\eqcommand{کشیدگی‌آرایه}{arraystretch}
+\eqcommand{درآغازنوشتار}{AtBeginDocument}
+\eqcommand{درپایان‌نوشتار}{AtEndDocument}
+\eqcommand{درانتهای‌طبقه}{AtEndOfClass}
+\eqcommand{درانتهای‌سبک}{AtEndOfPackage}
+\eqcommand{نویسنده}{author}
+\eqcommand{مطلب‌پشت}{backmatter}
+\eqcommand{شکاف‌پشت}{backslash}
+\eqcommand{بدنمایی}{badness}
+\eqcommand{میله}{bar}
+\eqcommand{فاصله‌کرسی}{baselineskip}
+\eqcommand{کشش‌فاصله‌کرسی}{baselinestretch}
+\eqcommand{پردازش‌دسته‌ای}{batchmode}
+\eqcommand{شروع}{begin}
+\eqcommand{شروع‌چپ}{beginL}
+\eqcommand{شروع‌راست}{beginR}
+\eqcommand{شروع‌گروه}{begingroup}
+\eqcommand{فاصله‌کوتاه‌پایین‌نمایش}{belowdisplayshortskip}
+\eqcommand{فاصله‌پایین‌نمایش}{belowdisplayskip}
+\eqcommand{سیاه}{bf}
+\eqcommand{پیش‌فرض‌سیاه}{bfdefault}
+\eqcommand{شمایل‌سیاه}{bfseries}
+\eqcommand{شرگروه}{bgroup}
+\eqcommand{مرجوع}{bibitem}
+\eqcommand{کتاب‌نامه}{bibliography}
+\eqcommand{سبک‌کتاب‌نامه}{bibliographystyle}
+\eqcommand{عنوان‌کتاب‌نامه}{bibname}
+\eqcommand{پرش‌بلند}{bigskip}
+\eqcommand{مقدارپرش‌بلند}{bigskipamount}
+\eqcommand{خط‌پایین‌شناور}{botfigrule}
+\eqcommand{علامت‌پایین}{botmark}
+\eqcommand{کادرتاپایین}{bottompageskip}
+\eqcommand{نسبت‌پایین}{bottomfraction}
+\eqcommand{کادر}{box}
+\eqcommand{حداکثرعمق‌کادر}{boxmaxdepth}
+\eqcommand{بشکن}{break}
+\eqcommand{گلوله}{bullet}
+\eqcommand{دوپن@پنج}{@cclv}
+\eqcommand{دوپن@شش}{@cclvi}
+\eqcommand{شرح}{caption}
+\eqcommand{کدرده}{catcode}
+\eqcommand{رونوشت}{cc}
+\eqcommand{نام‌رونوشت}{ccname}
+\eqcommand{نقطه‌وسط}{cdot}
+\eqcommand{نقاط‌وسط}{cdots}
+\eqcommand{تنظیم‌ازوسط}{centering}
+\eqcommand{خط‌وسط}{centerline}
+\eqcommand{چک@ن}{ch@ck}
+\eqcommand{فصل}{chapter}
+\eqcommand{عنوان‌فصل}{chaptername}
+\eqcommand{نویسه}{char}
+\eqcommand{تعریف‌نویسه}{chardef}
+\eqcommand{برسی‌فرمان}{CheckCommand}
+\eqcommand{مرجع}{cite}
+\eqcommand{خطای‌طبقه}{ClassError}
+\eqcommand{اطلاع‌طبقه}{ClassInfo}
+\eqcommand{هشدارطبقه}{ClassWarning}
+\eqcommand{هشدارطبقه‌بی‌سطر}{ClassWarningNoLine}
+\eqcommand{نشانگرمرکزی}{cleaders}
+\eqcommand{دوصفحه‌پاک}{cleardoublepage}
+\eqcommand{صفحه‌پاک}{clearpage}
+\eqcommand{خط‌ناپر}{cline}
+\eqcommand{ببندورودی}{closein}
+\eqcommand{ببندخروجی}{closeout}
+\eqcommand{بستن}{closing}
+\eqcommand{جریمه‌سربند}{clubpenalty}
+\eqcommand{خاج}{clubsuit}
+\eqcommand{علامت‌پایین‌ستون‌اول}{colbotmark}
+\eqcommand{علامت‌اول‌ستون‌اول}{colfirstmark}
+\eqcommand{رنگ}{color}
+\eqcommand{کادررنگ}{colorbox}
+\eqcommand{علامت‌بالای‌ستون‌اول}{coltopmark}
+\eqcommand{رنگ‌ستون}{columncolor}
+\eqcommand{بین‌ستون}{columnsep}
+\eqcommand{پهنای‌ستون}{columnwidth}
+\eqcommand{خط‌بین‌ستون}{columnseprule}
+\eqcommand{سطرفهرست}{contentsline}
+\eqcommand{عنوان‌فهرست‌مطالب}{contentsname}
+\eqcommand{کپی}{copy}
+\eqcommand{حق‌تالیف}{copyright}
+\eqcommand{شمار}{count}
+\eqcommand{شمار@}{count@}
+\eqcommand{تعریف‌شمار}{countdef}
+\eqcommand{سخ}{cr}
+\eqcommand{سخ‌سخ}{crcr}
+\eqcommand{نام‌فرمان}{csname}
+\eqcommand{گزینه‌جاری}{CurrentOption}
+\eqcommand{کادربینابین}{dashbox}
+\eqcommand{بینابین‌ع}{dashv}
+\eqcommand{@تاریخ}{@date}
+\eqcommand{تاریخ}{date}
+\eqcommand{روز}{day}
+\eqcommand{خط‌پایین‌شناورپهن}{dblbotfigrule}
+\eqcommand{نسبت‌پهن‌پایین}{dblbottomfraction}
+\eqcommand{خط‌بالای‌شناورپهن}{dblfigrule}
+\eqcommand{نسبت‌صفحه‌شناورپهن}{dblfloatpagefraction}
+\eqcommand{فاصله‌بین‌شناورپهن}{dblfloatsep}
+\eqcommand{کدمکان‌غیرهمانطور}{dblfntlocatecode}
+\eqcommand{فاصله‌متن‌وشناورپهن}{dbltextfloatsep}
+\eqcommand{نسبت‌پهن‌بالا}{dbltopfraction}
+\eqcommand{اعلان‌قلم‌ثابت}{DeclareFixedFont}
+\eqcommand{اعلان‌پسوندگرافیک}{DeclareGraphicsExtensions}
+\eqcommand{اعلان‌دستورگرافیک}{DeclareGraphicsRule}
+\eqcommand{اعلان‌فرمان‌قلم‌قدیمی}{DeclareOldFontCommand}
+\eqcommand{اعلان‌گزینه}{DeclareOption}
+\eqcommand{اعلان‌فرمان‌قوی}{DeclareRobustCommand}
+\eqcommand{اعلان‌قلم‌علائم}{DeclareSymbolFont}
+\eqcommand{دوربسته}{deadcycles}
+\eqcommand{تر}{def}
+\eqcommand{تعریف@کلید}{define@key}
+\eqcommand{تعریف‌رنگ}{definecolor}
+\eqcommand{درجه}{deg}
+\eqcommand{کدجداساز}{delcode}
+\eqcommand{جداساز}{delimiter}
+\eqcommand{ضریب‌جداساز}{delimiterfactor}
+\eqcommand{گودی}{depth}
+\eqcommand{خشت}{diamondsuit}
+\eqcommand{ابعاد}{dim}
+\eqcommand{بعد}{dimen}
+\eqcommand{بعد@}{dimen@}
+\eqcommand{بعد@یک}{dimen@i}
+\eqcommand{بعد@دو}{dimen@ii}
+\eqcommand{تعریف‌بعد}{dimendef}
+\eqcommand{تیره‌گذاری}{discretionary}
+\eqcommand{شکست‌نمایش}{displaybreak}
+\eqcommand{تورفتگی‌نمایش}{displayindent}
+\eqcommand{سبک‌نمایش}{displaystyle}
+\eqcommand{عرض‌نمایش}{displaywidth}
+\eqcommand{تقسیم}{divide}
+\eqcommand{طبقه‌نوشتار}{documentclass}
+\eqcommand{کن}{do}
+\eqcommand{تعویض‌کدها}{dospecials}
+\eqcommand{نقطه}{dot}
+\eqcommand{نقطه‌مساوی}{doteq}
+\eqcommand{پرنقطه‌ا}{dotfill}
+\eqcommand{نقاط}{dots}
+\eqcommand{کادردولا}{doublebox}
+\eqcommand{رنگ‌فاصله‌دوخط‌جدول}{doublerulesepcolor}
+\eqcommand{فاصله‌بین‌دوخط}{doublerulesep}
+\eqcommand{فلش‌پایین}{downarrow}
+\eqcommand{عمق}{dp}
+\eqcommand{تخلیه}{dump}
+\eqcommand{ترگ}{edef}
+\eqcommand{پاگروه}{egroup}
+\eqcommand{انتهای‌فاصله}{eject}
+\eqcommand{گرنه}{else}
+\eqcommand{تاکید}{em}
+\eqcommand{کشش‌لاجرم}{emergencystretch}
+\eqcommand{موکد}{emph}
+\eqcommand{@پوچ}{@empty}
+\eqcommand{پوچ}{empty}
+\eqcommand{مجموعه‌پوچ}{emptyset}
+\eqcommand{پایان}{end}
+\eqcommand{پایان‌چپ}{endL}
+\eqcommand{پایان‌راست}{endR}
+\eqcommand{پایان‌نام‌فرمان}{endcsname}
+\eqcommand{پایان‌اولین‌سر}{endfirsthead}
+\eqcommand{پایان‌پا}{endfoot}
+\eqcommand{ته‌بند}{endgraf}
+\eqcommand{پایان‌گروه}{endgroup}
+\eqcommand{پایان‌سر}{endhead}
+\eqcommand{پایان‌ورودی}{endinput}
+\eqcommand{پایان‌آخرین‌پا}{endlastfoot}
+\eqcommand{گسترش‌این‌صفحه}{enlargethispage}
+\eqcommand{ته‌سطر}{endline}
+\eqcommand{نویسه‌ته‌سطر}{endlinechar}
+\eqcommand{ان‌دوری}{enspace}
+\eqcommand{ان‌فاصله}{enskip}
+\eqcommand{فرمان‌جانشین}{eqcommand}
+\eqcommand{محیط‌جانشین}{eqenvironment}
+\eqcommand{ارجاع‌فر}{eqref}
+\eqcommand{کمک‌خطا}{errhelp}
+\eqcommand{پیام‌خطا}{errmessage}
+\eqcommand{سطرمتن‌خطا}{errorcontextlines}
+\eqcommand{پردازش‌توقف‌خطا}{errorstopmode}
+\eqcommand{نویسه‌ویژه}{escapechar}
+\eqcommand{یورو}{euro}
+\eqcommand{حاشیه‌زوج}{evensidemargin}
+\eqcommand{هرسخ}{everycr}
+\eqcommand{هرنمایش}{everydisplay}
+\eqcommand{هرکادرا}{everyhbox}
+\eqcommand{هرکار}{everyjob}
+\eqcommand{هرریاضی}{everymath}
+\eqcommand{هربند}{everypar}
+\eqcommand{هرکادرو}{everyvbox}
+\eqcommand{اجرای‌گزینه‌ها}{ExecuteOptions}
+\eqcommand{جریمه‌اضافی‌تیره‌بندی}{exhyphenpenalty}
+\eqcommand{بگسترپس‌از}{expandafter}
+\eqcommand{فاصله‌اضافی‌بین‌ستونها}{extracolsep}
+\eqcommand{@اولی‌ازیک}{@firstofone}
+\eqcommand{@اولی‌ازدو}{@firstoftwo}
+\eqcommand{چ@ار}{f@ur}
+\eqcommand{خانواده}{fam}
+\eqcommand{صفحه‌تجملی}{fancypage}
+\eqcommand{کادربا}{fbox}
+\eqcommand{ضخامت‌کادربا}{fboxrule}
+\eqcommand{حاشیه‌کادربا}{fboxsep}
+\eqcommand{کادربارنگ}{fcolorbox}
+\eqcommand{رگ}{fi}
+\eqcommand{عنوان‌شکل}{figurename}
+\eqcommand{پرشکن}{filbreak}
+\eqcommand{پر}{fill}
+\eqcommand{علامت‌اول}{firstmark}
+\eqcommand{پهن}{flat}
+\eqcommand{نسبت‌صفحه‌شناور}{floatpagefraction}
+\eqcommand{جریمه‌شناور}{floatingpenalty}
+\eqcommand{فاصله‌بین‌شناور}{floatsep}
+\eqcommand{تنظیم‌ازپایین}{flushbottom}
+\eqcommand{شکلبندی}{fmtname}
+\eqcommand{رده‌شکلبندی}{fmtversion}
+\eqcommand{نشانه}{fnsymbol}
+\eqcommand{قلم}{font}
+\eqcommand{بعدقلم}{fontdimen}
+\eqcommand{رمزینه‌قلم}{fontencoding}
+\eqcommand{فامیل‌قلم}{fontfamily}
+\eqcommand{نام‌قلم}{fontname}
+\eqcommand{شمایل‌قلم}{fontseries}
+\eqcommand{شکل‌قلم}{fontshape}
+\eqcommand{اندازه‌قلم}{fontsize}
+\eqcommand{بلندای‌پایین‌صفحه}{footheight}
+\eqcommand{درج‌زیرنویس}{footins}
+\eqcommand{زیرنویس}{footnote}
+\eqcommand{علامت‌زیرنویس}{footnotemark}
+\eqcommand{خط‌زیرنویس}{footnoterule}
+\eqcommand{فاصله‌تازیرنویس}{footnotesep}
+\eqcommand{اندازه‌زیرنویس}{footnotesize}
+\eqcommand{متن‌زیرنویس}{footnotetext}
+\eqcommand{فاصله‌تاپایین‌صفحه}{footskip}
+\eqcommand{فریم}{frame}
+\eqcommand{کادرباخط}{framebox}
+\eqcommand{فواصل‌یکنواخت‌لاتین}{frenchspacing}
+\eqcommand{مطلب‌پیش}{frontmatter}
+\eqcommand{بعدبگذار}{futurelet}
+\eqcommand{@خورحریصانه}{@gobble}
+\eqcommand{@خورحریصانه‌دو}{@gobbletwo}
+\eqcommand{@خورحریصانه‌چهار}{@gobblefour}
+\eqcommand{@عاقت‌آ}{@gtempa}
+\eqcommand{@عاقت‌ب}{@gtempb}
+\eqcommand{ترع}{gdef}
+\eqcommand{الگوی‌اطلاع}{GenericInfo}
+\eqcommand{الگوی‌هشدار}{GenericWarning}
+\eqcommand{الگوی‌خطا}{GenericError}
+\eqcommand{عام}{global}
+\eqcommand{تعاریف‌عام}{globaldefs}
+\eqcommand{لغت‌نامه}{glossary}
+\eqcommand{فقره‌فرهنگ}{glossaryentry}
+\eqcommand{خوش‌شکن}{goodbreak}
+\eqcommand{کاغذگراف}{graphpaper}
+\eqcommand{گیومه‌چپ}{guillemotleft}
+\eqcommand{گیومه‌راست}{guillemotright}
+\eqcommand{گیومه‌تکی‌چپ}{guilsinglleft}
+\eqcommand{گیومه‌تکی‌راست}{guilsinglright}
+\eqcommand{ردیف‌ا}{halign}
+\eqcommand{بروتو}{hang}
+\eqcommand{بعدازسطر}{hangafter}
+\eqcommand{تورفتگی‌ثابت}{hangindent}
+\eqcommand{بدنمایی‌ا}{hbadness}
+\eqcommand{کادرا}{hbox}
+\eqcommand{بلندای‌سرصفحه}{headheight}
+\eqcommand{فاصله‌ازسرصفحه}{headsep}
+\eqcommand{سربه‌نام}{headtoname}
+\eqcommand{دل}{heartsuit}
+\eqcommand{بلندا}{height}
+\eqcommand{پرا}{hfil}
+\eqcommand{پررا}{hfill}
+\eqcommand{رفع‌پرا}{hfilneg}
+\eqcommand{پرزافقی}{hfuzz}
+\eqcommand{فاصله‌مخفی}{hideskip}
+\eqcommand{عرض‌پنهان}{hidewidth}
+\eqcommand{خط‌پر}{hline}
+\eqcommand{حاشیه‌ا}{hoffset}
+\eqcommand{حفظ‌درج}{holdinginserts}
+\eqcommand{فاصله‌اگرد}{hrboxsep}
+\eqcommand{خط‌ا}{hrule}
+\eqcommand{پرخط‌ا}{hrulefill}
+\eqcommand{طول‌سطر}{hsize}
+\eqcommand{فاصله‌ا}{hskip}
+\eqcommand{فضای‌ا}{hspace}
+\eqcommand{هردوا}{hss}
+\eqcommand{ارتفاع}{ht}
+\eqcommand{بزرگ}{huge}
+\eqcommand{بزرگ‌تر}{Huge}
+\eqcommand{ابرپیوند}{hyperlink}
+\eqcommand{بارگذاری‌ابر}{hypersetup}
+\eqcommand{هدف‌ابر}{hypertarget}
+\eqcommand{تیره‌بندی}{hyphenation}
+\eqcommand{نویسه‌تیره}{hyphenchar}
+\eqcommand{جریمه‌تیره‌بندی}{hyphenpenalty}
+\eqcommand{@گرکلاس‌فراخوانی‌شده}{@ifclassloaded}
+\eqcommand{@گرترشدنی}{@ifdefinable}
+\eqcommand{@گرنویسه‌بعدی}{@ifnextchar}
+\eqcommand{@گرسبک‌فراخوانی‌شده}{@ifpackageloaded}
+\eqcommand{@گرستاره}{@ifstar}
+\eqcommand{@گرتعریف‌نشده}{@ifundefined}
+\eqcommand{گر}{if}
+\eqcommand{گر@سواقت‌آ}{if@tempswa}
+\eqcommand{گرانواع}{ifcase}
+\eqcommand{گررده}{ifcat}
+\eqcommand{گرتعریف‌شده}{ifdefined}
+\eqcommand{گربعد}{ifdim}
+\eqcommand{گرته‌پرونده}{ifeof}
+\eqcommand{گرر}{iff}
+\eqcommand{گرنادرست}{iffalse}
+\eqcommand{گرپرونده‌موجود}{IfFileExists}
+\eqcommand{گرکادرا}{ifhbox}
+\eqcommand{گرحالت‌ا}{ifhmode}
+\eqcommand{گردرونی}{ifinner}
+\eqcommand{گرحالت‌ریاضی}{ifmmode}
+\eqcommand{گرعدد}{ifnum}
+\eqcommand{گرفرد}{ifodd}
+\eqcommand{گرآنگاه‌دیگر}{ifthenelse}
+\eqcommand{گردرست}{iftrue}
+\eqcommand{گرکادرو}{ifvbox}
+\eqcommand{گرحالت‌و}{ifvmode}
+\eqcommand{گرتهی}{ifvoid}
+\eqcommand{گرتام}{ifx}
+\eqcommand{فاصله‌خالی‌راندیده‌بگیر}{ignorespaces}
+\eqcommand{فوری}{immediate}
+\eqcommand{شامل}{include}
+\eqcommand{درج‌تصویر}{includegraphics}
+\eqcommand{مشمولین}{includeonly}
+\eqcommand{تورفتگی}{indent}
+\eqcommand{درنمایه}{index}
+\eqcommand{استعلام}{indexentry}
+\eqcommand{عنوان‌نمایه}{indexname}
+\eqcommand{فاصله‌رهنما}{indexspace}
+\eqcommand{ورودی}{input}
+\eqcommand{ورودپرونده‌گرموجود}{InputIfFileExists}
+\eqcommand{شماره‌سطرورودی}{inputlineno}
+\eqcommand{درج}{insert}
+\eqcommand{جریمه‌درج}{insertpenalties}
+\eqcommand{جریمه‌بین‌سطرهای‌زیرنویس}{interfootnotelinepenalty}
+\eqcommand{جریمه‌بین‌سطرهای‌نمایش}{interdisplaylinepenalty}
+\eqcommand{جریمه‌بین‌سطرها}{interlinepenalty}
+\eqcommand{متن‌داخلی}{intertext}
+\eqcommand{فاصله‌شناوردرمتن}{intertextsep}
+\eqcommand{مخفی}{invisible}
+\eqcommand{پیش‌فرض‌ای}{itdefault}
+\eqcommand{شکل‌ایتالیک}{itshape}
+\eqcommand{فقره}{item}
+\eqcommand{تورفتگی‌فقره}{itemindent}
+\eqcommand{فاصله‌فقره}{itemsep}
+\eqcommand{تکرارکن}{iterate}
+\eqcommand{شکل‌ای}{itshape}
+\eqcommand{نام‌کار}{jobname}
+\eqcommand{قلپ}{jot}
+\eqcommand{دوری}{kern}
+\eqcommand{الگو}{kill}
+\eqcommand{برچسب}{label}
+\eqcommand{برچسب‌شمارش‌یک}{labelenumi}
+\eqcommand{برچسب‌شمارش‌دو}{labelenumii}
+\eqcommand{برچسب‌شمارش‌سه}{labelenumiii}
+\eqcommand{برچسب‌شمارش‌چهار}{labelenumiv}
+\eqcommand{برچسب‌فقره‌یک}{labelitemi}
+\eqcommand{برچسب‌فقره‌دو}{labelitemii}
+\eqcommand{برچسب‌فقره‌سه}{labelitemiii}
+\eqcommand{برچسب‌فقره‌چهار}{labelitemiv}
+\eqcommand{فاصله‌ازبرچسب}{labelsep}
+\eqcommand{پهنای‌برچسب}{labelwidth}
+\eqcommand{زبان}{language}
+\eqcommand{درشت}{large}
+\eqcommand{درشت‌تر}{Large}
+\eqcommand{درشت‌درشت}{LARGE}
+\eqcommand{آخرین‌کادر}{lastbox}
+\eqcommand{آخرین‌دوری}{lastkern}
+\eqcommand{آخرین‌جریمه}{lastpenalty}
+\eqcommand{آخرین‌فاصله}{lastskip}
+\eqcommand{لاتک}{LaTeX}
+\eqcommand{لاتک‌ای}{LaTeXe}
+\eqcommand{کدکوچک}{lccode}
+\eqcommand{نقاط‌خ}{ldots}
+\eqcommand{نشانگر}{leaders}
+\eqcommand{ترک‌و}{leavevmode}
+\eqcommand{چپ}{left}
+\eqcommand{حاشیه‌چپ}{leftmargin}
+\eqcommand{حاشیه‌چپ‌یک}{leftmargini}
+\eqcommand{حاشیه‌چپ‌دو}{leftmarginii}
+\eqcommand{حاشیه‌چپ‌سه}{leftmarginiii}
+\eqcommand{حاشیه‌چپ‌چهار}{leftmarginiv}
+\eqcommand{حاشیه‌چپ‌پنج}{leftmarginv}
+\eqcommand{حاشیه‌چپ‌شش}{leftmarginvi}
+\eqcommand{علامت‌چپ}{leftmark}
+\eqcommand{کادرتاچپ}{leftpageskip}
+\eqcommand{فاصله‌ابتدای‌سطر}{leftskip}
+\eqcommand{بگذار}{let}
+\eqcommand{سطر}{line}
+\eqcommand{سطرشکن}{linebreak}
+\eqcommand{جریمه‌سطر}{linepenalty}
+\eqcommand{فاصله‌سطرها}{lineskip}
+\eqcommand{حدفاصله‌سطر}{lineskiplimit}
+\eqcommand{کشش‌فاصله‌سطر}{linespread}
+\eqcommand{ضخامت‌خط}{linethickness}
+\eqcommand{پهنای‌سطر}{linewidth}
+\eqcommand{عنوان‌فهرست‌اشکال}{listfigurename}
+\eqcommand{لیست‌پرونده‌ها}{listfiles}
+\eqcommand{فهرست‌اشکال}{listoffigures}
+\eqcommand{فهرست‌جداول}{listoftables}
+\eqcommand{تورفتگی‌بندلیست}{listparindent}
+\eqcommand{عنوان‌فهرست‌جداول}{listtablename}
+\eqcommand{بارکن‌طبقه}{LoadClass}
+\eqcommand{بارکن‌طبقه‌باگزینه}{LoadClassWithOptions}
+\eqcommand{مکان}{location}
+\eqcommand{بلند}{long}
+\eqcommand{گسیختگی}{looseness}
+\eqcommand{انتقال‌بپایین}{lower}
+\eqcommand{@دیگر}{@makeother}
+\eqcommand{@زار}{@m}
+\eqcommand{ده@زار}{@M}
+\eqcommand{ده@زاریک}{@Mi}
+\eqcommand{ده@زاردو}{@Mii}
+\eqcommand{ده@زارسه}{@Miii}
+\eqcommand{ده@زارچهار}{@Miv}
+\eqcommand{بیس@زار}{@MM}
+\eqcommand{من@ا}{m@ne}
+\eqcommand{بزرگ‌نمایی}{mag}
+\eqcommand{گام}{magstep}
+\eqcommand{نیم‌گام}{magstephalf}
+\eqcommand{مطلب‌اصلی}{mainmatter}
+\eqcommand{ات‌حرف}{makeatletter}
+\eqcommand{ات‌دیگر}{makeatother}
+\eqcommand{کادربی‌خط}{makebox}
+\eqcommand{ساخت‌فرهنگ}{makeglossary}
+\eqcommand{تهیه‌نمایه}{makeindex}
+\eqcommand{ساخت‌برچسب}{makelabel}
+\eqcommand{ساخت‌برچسب‌ها}{makelabels}
+\eqcommand{ساخت‌حروف‌کوچک}{MakeLowercase}
+\eqcommand{عنوان‌ساز}{maketitle}
+\eqcommand{ساخت‌حروف‌بزرگ}{MakeUppercase}
+\eqcommand{درحاشیه}{marginpar}
+\eqcommand{فاصله‌دوحاشیه}{marginparpush}
+\eqcommand{فاصله‌تاحاشیه}{marginparsep}
+\eqcommand{پهنای‌حاشیه}{marginparwidth}
+\eqcommand{علامت}{mark}
+\eqcommand{علامت‌دردوطرف}{markboth}
+\eqcommand{علامت‌درراست}{markright}
+\eqcommand{اعراب‌ریاضی}{mathaccent}
+\eqcommand{نویسه‌ریاضی}{mathchar}
+\eqcommand{تعریف‌نویسه‌ریاضی}{mathchardef}
+\eqcommand{کدریاضی}{mathcode}
+\eqcommand{ریاضی‌رومن}{mathrm}
+\eqcommand{حداکثرتکرار}{maxdeadcycles}
+\eqcommand{حداکثرعمق‌صفحه}{maxdepth}
+\eqcommand{بعدبیشین}{maxdimen}
+\eqcommand{کادربی}{mbox}
+\eqcommand{شمایل‌نازک}{mdseries}
+\eqcommand{معنا}{meaning}
+\eqcommand{نازک}{mediumseries}
+\eqcommand{فاصله‌متوسط‌ریاضی}{medmuskip}
+\eqcommand{پرش‌متوسط}{medskip}
+\eqcommand{مقدارپرش‌متوسط}{medskipamount}
+\eqcommand{فضای‌متوسط}{medspace}
+\eqcommand{پیام}{message}
+\eqcommand{پیام‌شکن}{MessageBreak}
+\eqcommand{حداقل‌فاصله‌ردیف}{minrowclearance}
+\eqcommand{دوری‌ریاضی}{mkern}
+\eqcommand{ماه}{month}
+\eqcommand{انتقال‌بچپ}{moveleft}
+\eqcommand{انتقال‌براست}{moveright}
+\eqcommand{فاصله‌ریاضی}{mskip}
+\eqcommand{ری@ضی}{m@th}
+\eqcommand{چندستونی}{multicolumn}
+\eqcommand{ضرب}{multiply}
+\eqcommand{چندادغام}{multispan}
+\eqcommand{میوفاصله}{muskip}
+\eqcommand{تعریف‌میوفاصله}{muskipdef}
+\eqcommand{@ترنام}{@namedef}
+\eqcommand{@کاربردنام}{@nameuse}
+\eqcommand{یک@}{@ne}
+\eqcommand{نام}{name}
+\eqcommand{طبیعی}{natural}
+\eqcommand{باریک}{nearrow}
+\eqcommand{باریکتر}{nearrower}
+\eqcommand{شکلبندی‌موردنیاز}{NeedsTeXFormat}
+\eqcommand{منفی}{neg}
+\eqcommand{فضای‌متوسط‌منفی}{negmedspace}
+\eqcommand{فضای‌ضخیم‌منفی}{negthickspace}
+\eqcommand{دوری‌کوچک‌منفی}{negthinspace}
+\eqcommand{بولی‌نو}{newboolean}
+\eqcommand{کادرجدید}{newbox}
+\eqcommand{فرمان‌نو}{newcommand}
+\eqcommand{شمارجدید}{newcount}
+\eqcommand{شمارنده‌جدید}{newcounter}
+\eqcommand{بعدجدید}{newdimen}
+\eqcommand{محیط‌نو}{newenvironment}
+\eqcommand{خانواده‌جدید}{newfam}
+\eqcommand{قلم‌نو}{newfont}
+\eqcommand{کمک‌جدید}{newhelp}
+\eqcommand{درج‌جدید}{newinsert}
+\eqcommand{برچسب‌جدید}{newlabel}
+\eqcommand{تعریف‌بعدجدید}{newlength}
+\eqcommand{سطرجدید}{newline}
+\eqcommand{نویسه‌سطرجدید}{newlinechar}
+\eqcommand{میوفاصله‌جدید}{newmuskip}
+\eqcommand{صفحه‌جدید}{newpage}
+\eqcommand{بخوان‌جدید}{newread}
+\eqcommand{تعریف‌کادرجدید}{newsavebox}
+\eqcommand{فاصله‌جدید}{newskip}
+\eqcommand{قضیه‌جدید}{newtheorem}
+\eqcommand{جزءجدید}{newtoks}
+\eqcommand{بنویس‌جدید}{newwrite}
+\eqcommand{بی‌ردیف}{noalign}
+\eqcommand{نشکن}{nobreak}
+\eqcommand{فاصله‌نشکستنی}{nobreakspace}
+\eqcommand{بدون‌سند}{nocite}
+\eqcommand{نگستر}{noexpand}
+\eqcommand{بدون‌پرونده}{nofiles}
+\eqcommand{بدون‌تورفتگی}{noindent}
+\eqcommand{بی‌فاصله‌سطر}{nointerlineskip}
+\eqcommand{بدون‌حد}{nolimits}
+\eqcommand{سطرنشکن}{nolinebreak}
+\eqcommand{پردازش‌بدون‌توقف}{nonstopmode}
+\eqcommand{فواصل‌متعارف‌لاتین}{nonfrenchspacing}
+\eqcommand{بدون‌شماره}{nonumber}
+\eqcommand{صفحه‌نشکن}{nopagebreak}
+\eqcommand{کرسیهای‌متعارف}{normalbaselines}
+\eqcommand{فاصله‌کرسی‌متعارف}{normalbaselineskip}
+\eqcommand{رنگ‌عادی}{normalcolor}
+\eqcommand{قلم‌عادی}{normalfont}
+\eqcommand{فاصله‌سطرمتعارف}{normallineskip}
+\eqcommand{حدفاصله‌سطرمتعارف}{normallineskiplimit}
+\eqcommand{درحاشیه‌عادی}{normalmarginpar}
+\eqcommand{اندازه‌عادی}{normalsize}
+\eqcommand{بدون‌اتیکت}{notag}
+\eqcommand{نول}{null}
+\eqcommand{قلم‌تهی}{nullfont}
+\eqcommand{عدد}{number}
+\eqcommand{سطرعددی}{numberline}
+\eqcommand{شماره‌مطابق}{numberwithin}
+\eqcommand{پایین‌صفحه‌زوج}{@evenfoot}
+\eqcommand{بالای‌صفحه‌زوج}{@evenhead}
+\eqcommand{پایین‌صفحه‌فرد}{@oddfoot}
+\eqcommand{بالای‌صفحه‌فرد}{@oddhead}
+\eqcommand{شماره‌بیرون‌درست}{@outeqntrue}
+\eqcommand{شماره‌بیرون‌نادرست}{@outeqnfalse}
+\eqcommand{سطربه‌سطر}{obeylines}
+\eqcommand{فضافعال}{obeyspaces}
+\eqcommand{حاشیه‌فرد}{oddsidemargin}
+\eqcommand{سطوربی‌فاصله}{offinterlineskip}
+\eqcommand{حذف}{omit}
+\eqcommand{@تنهادرپیش‌درآمد}{@onlypreamble}
+\eqcommand{یک‌ستون}{onecolumn}
+\eqcommand{تنها‌یادداشت‌ها}{onlynotes}
+\eqcommand{تنهااسلایدها}{onlyslides}
+\eqcommand{بازکن‌ورودی}{openin}
+\eqcommand{بازکن‌خروجی}{openout}
+\eqcommand{گزینه‌مصرف‌نشده}{OptionNotUsed}
+\eqcommand{یا}{or}
+\eqcommand{برونی}{outer}
+\eqcommand{صفحه‌بندی}{output}
+\eqcommand{جریمه‌صفحه‌بندی}{outputpenalty}
+\eqcommand{علامت‌سرریز}{overfullrule}
+\eqcommand{@فرمان‌های‌پیش‌درآمد}{@preamblecmds}
+\eqcommand{@پو}{p@}
+\eqcommand{خطای‌سبک}{PackageError}
+\eqcommand{اطلاع‌سبک}{PackageInfo}
+\eqcommand{هشدارسبک}{PackageWarning}
+\eqcommand{هشدارسبک‌بی‌سطر}{PackageWarningNoLine}
+\eqcommand{صفحه‌شکن}{pagebreak}
+\eqcommand{رنگ‌صفحه}{pagecolor}
+\eqcommand{عمق‌صفحه}{pagedepth}
+\eqcommand{کشش‌پرررصفحه}{pagefilllstretch}
+\eqcommand{کشش‌پررصفحه}{pagefillstretch}
+\eqcommand{کشش‌پرصفحه}{pagefilstretch}
+\eqcommand{غایت‌صفحه}{pagegoal}
+\eqcommand{نام‌صفحه}{pagename}
+\eqcommand{شماره‌گذاری‌صفحه}{pagenumbering}
+\eqcommand{رجوع‌صفحه}{pageref}
+\eqcommand{ضخامت‌خط‌صفحه}{pagerulewidth}
+\eqcommand{فشردگی‌صفحه}{pageshrink}
+\eqcommand{کشش‌صفحه}{pagestretch}
+\eqcommand{سبک‌صفحه}{pagestyle}
+\eqcommand{جمع‌صفحه}{pagetotal}
+\eqcommand{بلندای‌کاغذ}{paperheight}
+\eqcommand{پهنای‌کاغذ}{paperwidth}
+\bidi@csdefcs{بند}{par}% this is an exception since \par is redefined only in some circumstances
+\eqcommand{پاراگراف}{paragraph}
+\eqcommand{موازی}{parallel}
+\eqcommand{کادرپار}{parbox}
+\eqcommand{فاصله‌ته‌بند}{parfillskip}
+\eqcommand{تورفتگی‌سربند}{parindent}
+\eqcommand{فاصله‌بندلیست}{parsep}
+\eqcommand{شکل‌بند}{parshape}
+\eqcommand{فاصله‌بند}{parskip}
+\eqcommand{بخش}{part}
+\eqcommand{عنوان‌بخش}{partname}
+\eqcommand{فاصله‌بالای‌لیست‌بند}{partopsep}
+\eqcommand{ارسال‌گزینه‌به‌کلاس}{PassOptionToClass}
+\eqcommand{ارسال‌گزینه‌به‌پکیج}{PassOptionToPackage}
+\eqcommand{مسیر}{path}
+\eqcommand{الگوها}{patterns}
+\eqcommand{مکث}{pausing}
+\eqcommand{جریمه}{penalty}
+\eqcommand{غیب}{phantom}
+\eqcommand{الگوی‌قبلی}{poptabs}
+\eqcommand{جریمه‌پس‌نمایش}{postdisplaypenalty}
+\eqcommand{جهت‌پیش‌نمایش}{predisplaydirection}
+\eqcommand{جریمه‌پیش‌نمایش}{predisplaypenalty}
+\eqcommand{اندازه‌پیش‌نمایش}{predisplaysize}
+\eqcommand{پیش‌حدبدنمایی}{pretolerance}
+\eqcommand{عمق‌قبلی}{prevdepth}
+\eqcommand{بندقبلی}{prevgraf}
+\eqcommand{نمایه‌دراینجا}{printindex}
+\eqcommand{پردازش‌گزینه‌ها}{ProcessOptions}
+\eqcommand{تامین}{protect}
+\eqcommand{تهیه‌فرمان}{providecommand}
+\eqcommand{آماده‌سازی‌طبقه}{ProvidesClass}
+\eqcommand{آماده‌سازی‌پرونده}{ProvidesFile}
+\eqcommand{آماده‌سازی‌سبک}{ProvidesPackage}
+\eqcommand{ثبت‌الگو}{pushtabs}
+\eqcommand{کواد}{quad}
+\eqcommand{کوکواد}{qquad}
+\eqcommand{@بازآیی‌خروج‌صفحه}{@outputpagerestore}
+\eqcommand{رادیکال}{radical}
+\eqcommand{پایین‌بی‌تنظیم}{raggedbottom}
+\eqcommand{تنظیم‌ازراست}{raggedleft}
+\eqcommand{تنظیم‌ازچپ}{raggedright}
+\eqcommand{انتقال‌ببالا}{raise}
+\eqcommand{بالابر}{raisebox}
+\eqcommand{ترفیع‌اتیکت}{raisetag}
+\eqcommand{زاویه‌ر}{rangle}
+\eqcommand{سقف‌ر}{rceil}
+\eqcommand{بخوان}{read}
+\eqcommand{رجوع}{ref}
+\eqcommand{کادرقرینه}{reflectbox}
+\eqcommand{عنوان‌مراجع}{refname}
+\eqcommand{گام‌شمارنده‌مرجع}{refstepcounter}
+\eqcommand{راحت}{relax}
+\eqcommand{رفع‌آخرین‌فاصله}{removelastskip}
+\eqcommand{فرمان‌ازنو}{renewcommand}
+\eqcommand{محیط‌ازنو}{renewenvironment}
+\eqcommand{سبک‌موردنیاز}{RequirePackage}
+\eqcommand{سبک‌موردنیازباگزینه}{RequirePackageWithOptions}
+\eqcommand{کادرکشیده}{resizebox}
+\eqcommand{درحاشیه‌معکوس}{reversemarginpar}
+\eqcommand{کف‌ر}{rfloor}
+\eqcommand{راست}{right}
+\eqcommand{حاشیه‌راست}{rightmargin}
+\eqcommand{علامت‌راست}{rightmark}
+\eqcommand{کادرتاراست}{rightpageskip}
+\eqcommand{فاصله‌انتهای‌سطر}{rightskip}
+\eqcommand{رومن‌عادی}{rmdefault}
+\eqcommand{فامیل‌رومن}{rmfamily}
+\eqcommand{رومن‌بزرگ}{Roman}
+\eqcommand{رومن‌کوچک}{roman}
+\eqcommand{عددرومی}{romannumeral}
+\eqcommand{کادرچرخان}{rotatebox}
+\eqcommand{رنگ‌ردیف}{rowcolor}
+\eqcommand{خط}{rule}
+\eqcommand{@دومی‌ازدو}{@secondoftwo}
+\eqcommand{@فضاها}{@spaces}
+\eqcommand{همین‌صفحه}{samepage}
+\eqcommand{مقدارکادر}{savebox}
+\eqcommand{مقکادر}{sbox}
+\eqcommand{کادراندازه}{scalebox}
+\eqcommand{پیش‌فرض‌تمام‌بزرگ}{scdefault}
+\eqcommand{شکل‌تمام‌بزرگ}{scshape}
+\eqcommand{مقدارکلیدها}{setkeys}
+\eqcommand{قلم‌توان}{scriptfont}
+\eqcommand{قلم‌توان‌توان}{scriptscriptfont}
+\eqcommand{سبک‌ته‌نوشت‌ته‌نوشت}{scriptscriptstyle}
+\eqcommand{اندازه‌پانویس}{scriptsize}
+\eqcommand{سبک‌ته‌نوشت}{scripstyle}
+\eqcommand{پردازش‌گذری}{scrollmode}
+\eqcommand{قسمت}{section}
+\eqcommand{تعریف‌قسمت}{secdef}
+\eqcommand{ببینید}{see}
+\eqcommand{نیزببینید}{seealso}
+\eqcommand{نام‌ببینید}{seename}
+\eqcommand{قلم‌بردار}{selectfont}
+\eqcommand{تنظیم‌بولی}{setboolean}
+\eqcommand{درکادر}{setbox}
+\eqcommand{مقدارشمارنده}{setcounter}
+\eqcommand{مقداربعد}{setlength}
+\eqcommand{تنظیم‌منها}{setminus}
+\eqcommand{تعریف‌قلم‌علائم}{SetSymbolFont}
+\eqcommand{تنظیم‌به‌عمق}{settodepth}
+\eqcommand{تنظیم‌به‌ارتفاع}{settoheight}
+\eqcommand{مقداربعدبه‌اندازه}{settowidth}
+\eqcommand{کدضریب‌فاصله}{sfcode}
+\eqcommand{پیش‌فرض‌س‌ف}{sfdefault}
+\eqcommand{فامیل‌سن‌سریف}{sffamily}
+\eqcommand{کادرسایه‌دار}{shadowbox}
+\eqcommand{تیز}{sharp}
+\eqcommand{بفرست}{shipout}
+\eqcommand{پشته‌کوتاه}{shortstack}
+\eqcommand{نمایش‌بده}{show}
+\eqcommand{نمایش‌بده‌کادر}{showbox}
+\eqcommand{میزان‌نمایش‌کادر}{showboxbreadth}
+\eqcommand{عمق‌نمایش‌کادر}{showboxdepth}
+\eqcommand{نمایش‌بده‌لیستها}{showlists}
+\eqcommand{نمایش‌بده‌محتوای}{showthe}
+\eqcommand{حالت‌ساده‌قلم}{simplefontmode}
+\eqcommand{شانزد@}{sixt@@n}
+\eqcommand{نویسه‌اریب}{skewchar}
+\eqcommand{فاصله}{skip}
+\eqcommand{فاصل@}{skip@}
+\eqcommand{تعریف‌فاصله}{skipdef}
+\eqcommand{خوابیده}{sl}
+\eqcommand{پیش‌فرض‌خو}{sldefault}
+\eqcommand{شکل‌خوابیده}{slshape}
+\eqcommand{راحت‌چین}{sloppy}
+\eqcommand{شمایل‌خو}{slshape}
+\eqcommand{کوچک}{small}
+\eqcommand{پرش‌کوتاه}{smallskip}
+\eqcommand{مقدارپرش‌کوتاه}{smallskipamount}
+\eqcommand{کوب}{smash}
+\eqcommand{لبخند}{smile}
+\eqcommand{کدمکان‌همانطور}{snglfntlocatecode}
+\eqcommand{فضا}{space}
+\eqcommand{ضریب‌فاصله}{spacefactor}
+\eqcommand{فاصله‌کلمات}{spaceskip}
+\eqcommand{پیک}{spadesuit}
+\eqcommand{ادغام}{span}
+\eqcommand{ویژه}{special}
+\eqcommand{حداکثرعمق‌ستون}{splitmaxdepth}
+\eqcommand{فاصله‌بالای‌ستون}{splittopskip}
+\eqcommand{ستاره}{star}
+\eqcommand{گام‌شمارنده}{stepcounter}
+\eqcommand{کشی}{stretch}
+\eqcommand{رشته}{string}
+\eqcommand{شمع}{strut}
+\eqcommand{کادرشمع}{strutbox}
+\eqcommand{زیربند}{subitem}
+\eqcommand{زیرپاراگراف}{subparagraph}
+\eqcommand{زیرقسمت}{subsection}
+\eqcommand{زیرپشته}{substack}
+\eqcommand{زیرزیربند}{subsubitem}
+\eqcommand{زیرزیرقسمت}{subsubsection}
+\eqcommand{زیرمجموعه}{subset}
+\eqcommand{زیرمجموعه‌مس}{subseteq}
+\eqcommand{منتهای‌صفحه}{supereject}
+\eqcommand{حذف‌مکان‌شناور}{suppressfloats}
+\eqcommand{@موقت‌آ}{@tempa}
+\eqcommand{@موقت‌ب}{@tempb}
+\eqcommand{@موقت‌پ}{@tempc}
+\eqcommand{@موقت‌ت}{@tempd}
+\eqcommand{@موقت‌ث}{@tempe}
+\eqcommand{@کادرقت‌آ}{@tempboxa}
+\eqcommand{@شماقت‌آ}{@tempcnta}
+\eqcommand{@شماقت‌ب}{@tempcntb}
+\eqcommand{@بعدقت‌آ}{@tempdima}
+\eqcommand{@بعدقت‌ب}{@tempdimb}
+\eqcommand{@بعدقت‌پ}{@tempdimc}
+\eqcommand{@فاقت‌آ}{@tempskipa}
+\eqcommand{@فاقت‌ب}{@tempskipb}
+\eqcommand{@سواقت‌آنادرست}{@tempswafalse}
+\eqcommand{@سواقت‌آدرست}{@tempswatrue}
+\eqcommand{@جزقت‌آ}{@temptokena}
+\eqcommand{انگ‌زیرنویس}{@thefnmark}
+\eqcommand{@سومی‌ازسه}{@thirdofthree}
+\eqcommand{فاصله‌جاگذاری}{tabbingsep}
+\eqcommand{فاصله‌بین‌ستونها}{tabcolsep}
+\eqcommand{فهرست‌مطالب}{tableofcontents}
+\eqcommand{عنوان‌جدول}{tablename}
+\eqcommand{فاصله‌ستونها}{tabskip}
+\eqcommand{ته‌سطرجدول}{tabularnewline}
+\eqcommand{اتیکت}{tag}
+\eqcommand{تلفن}{telephone}
+\eqcommand{تک}{TeX}
+\eqcommand{متن}{text}
+\eqcommand{گلوله‌متنی}{textbullet}
+\eqcommand{قلم‌متن}{textfont}
+\eqcommand{ام‌دش‌متنی}{textemdash}
+\eqcommand{ان‌دش‌متنی}{textendash}
+\eqcommand{تعجب‌وارونه‌متنی}{textexclamdown}
+\eqcommand{نقطه‌وسط‌متنی}{textperiodcentered}
+\eqcommand{سوال‌وارونه‌متنی}{textquestiondown}
+\eqcommand{نقل‌چپ‌متنی‌دولا}{textquotedblleft}
+\eqcommand{نقل‌راست‌متنی‌دولا}{textquotedblright}
+\eqcommand{نقل‌متنی‌چپ}{textquoteleft}
+\eqcommand{نقل‌متنی‌راست}{textquoteright}
+\eqcommand{فضای‌نمایان‌متنی‌}{textvisiblespace}
+\eqcommand{شکافت‌پشت‌متنی}{textbackslash}
+\eqcommand{میله‌متنی}{textbar}
+\eqcommand{بزرگ‌تر‌متنی}{textgreater}
+\eqcommand{کمتر‌متنی}{textless}
+\eqcommand{متن‌سیاه}{textbf}
+\eqcommand{مدور‌متنی}{textcircled}
+\eqcommand{رنگ‌متن}{textcolor}
+\eqcommand{نشان‌کلمه‌مرکب‌متن}{textcompwordmark}
+\eqcommand{فاصله‌متن‌وشناور}{textfloatsep}
+\eqcommand{نسبت‌متن}{textfraction}
+\eqcommand{بلندای‌متن}{textheight}
+\eqcommand{متن‌تورفته}{textindent}
+\eqcommand{متن‌ایتالیک}{textit}
+\eqcommand{متن‌نازک}{textmd}
+\eqcommand{متن‌نرمال}{textnormal}
+\eqcommand{ثبتی‌متنی}{textregistered}
+\eqcommand{متن‌رومن}{textrm}
+\eqcommand{متن‌تمام‌بزرگ}{textsc}
+\eqcommand{متن‌سن‌سریف}{textsf}
+\eqcommand{متن‌خوابیده}{textsl}
+\eqcommand{سبک‌متنی}{textstyle}
+\eqcommand{بالانویس‌متنی}{textsuperscript}
+\eqcommand{علامت‌تجاری‌متنی}{texttrademark}
+\eqcommand{متن‌تایپ}{texttt}
+\eqcommand{متن‌ایستاده}{textup}
+\eqcommand{پهنای‌متن}{textwidth}
+\eqcommand{زیر‌نویس‌عنوان}{thanks}
+\eqcommand{محتوای}{the}
+\eqcommand{این‌زیرنویس}{thempfn}
+\eqcommand{خط‌هاضخیم}{thicklines}
+\eqcommand{فاصله‌زیادریاضی}{thickmuskip}
+\eqcommand{فاصله‌کم‌ریاضی}{thinmuskip}
+\eqcommand{فضاضخیم}{thickspace}
+\eqcommand{خط‌هانازک}{thinlines}
+\eqcommand{دوری‌کوچک}{thinspace}
+\eqcommand{این‌صفحه‌تجملی}{thisfancypage}
+\eqcommand{سبک‌این‌صفحه}{thispagestyle}
+\eqcommand{سه@}{thr@@}
+\eqcommand{مد}{tilde}
+\eqcommand{ظریف}{tiny}
+\eqcommand{زمان}{time}
+\eqcommand{ضرب‌در}{times}
+\eqcommand{عنوان}{title}
+\eqcommand{به}{to}
+\eqcommand{امروز}{today}
+\eqcommand{جزء}{toks}
+\eqcommand{تعریف‌جزء}{toksdef}
+\eqcommand{حدبدنمایی}{tolerance}
+\eqcommand{بالا}{top}
+\eqcommand{خط‌بالای‌شناور}{topfigrule}
+\eqcommand{نسبت‌بالا}{topfraction}
+\eqcommand{حاشیه‌بالا}{topmargin}
+\eqcommand{علامت‌بالا}{topmark}
+\eqcommand{کادرتابالا}{toppageskip}
+\eqcommand{فاصله‌بالای‌لیست}{topsep}
+\eqcommand{فاصله‌بالا}{topskip}
+\eqcommand{بلندای‌کل}{totalheight}
+\eqcommand{ردگیری‌کل}{tracingall}
+\eqcommand{ردگیری‌فرامین}{tracingcommands}
+\eqcommand{ردگیری‌حروف}{tracinglostchars}
+\eqcommand{ردگیری‌ماکروها}{tracingmacros}
+\eqcommand{ردگیری‌نمایشی}{tracingonline}
+\eqcommand{ردگیری‌صفحه‌بندی}{tracingoutput}
+\eqcommand{ردگیری‌صفحات}{tracingpages}
+\eqcommand{ردگیری‌بندها}{tracingparagraphs}
+\eqcommand{ردگیری‌بازگردانی}{tracingrestores}
+\eqcommand{ردگیری‌آمارها}{tracingstats}
+\eqcommand{مثلث}{triangle}
+\eqcommand{پیش‌فرض‌تایپ}{ttdefault}
+\eqcommand{فامیل‌تایپ}{ttfamily}
+\eqcommand{دو@}{tw@}
+\eqcommand{دوستون}{twocolumn}
+\eqcommand{درنویس}{typein}
+\eqcommand{برنویس}{typeout}
+\eqcommand{کدبزرگ}{uccode}
+\eqcommand{تیره‌بندی‌بزرگ}{uchyph}
+\eqcommand{زیرخط}{underline}
+\eqcommand{بی‌کادرا}{unhbox}
+\eqcommand{بی‌کپی‌ا}{unhcopy}
+\eqcommand{واحدطول}{unitlength}
+\eqcommand{برگشت‌دوری}{unkern}
+\eqcommand{برگشت‌جریمه}{unpenalty}
+\eqcommand{برگشت‌فاصله}{unskip}
+\eqcommand{بی‌کادرو}{unvbox}
+\eqcommand{بی‌کپی‌و}{unvcopy}
+\eqcommand{پیش‌فرض‌ایستاده}{updefault}
+\eqcommand{شکل‌ایستاده}{upshape}
+\eqcommand{ازکادر}{usebox}
+\eqcommand{باشمارشگر}{usecounter}
+\eqcommand{گزینش‌قلم}{usefont}
+\eqcommand{سبک‌لازم}{usepackage}
+\eqcommand{@فضاهای‌فعال}{@vobeyspaces}
+\eqcommand{@تهی}{@void}
+\eqcommand{تنظیم‌و}{vadjust}
+\eqcommand{ردیف‌و}{valign}
+\eqcommand{محتوای‌شمارنده}{value}
+\eqcommand{بدنمایی‌و}{vbadness}
+\eqcommand{کادرو}{vbox}
+\eqcommand{کادروسط}{vcenter}
+\eqcommand{همانطور}{verb}
+\eqcommand{پرو}{vfil}
+\eqcommand{پررو}{vfill}
+\eqcommand{رفع‌پرو}{vfilneg}
+\eqcommand{پرزعمودی}{vfuzz}
+\eqcommand{نمایان}{visible}
+\eqcommand{خط‌عمود}{vline}
+\eqcommand{حاشیه‌و}{voffset}
+\eqcommand{ک@درتهی}{voidb@x}
+\eqcommand{ارجاع‌صفحه‌ع}{vpageref}
+\eqcommand{فاصله‌وگرد}{vrboxsep}
+\eqcommand{ارجاع‌ع}{vref}
+\eqcommand{خط‌و}{vrule}
+\eqcommand{طول‌صفحه}{vsize}
+\eqcommand{فاصله‌و}{vskip}
+\eqcommand{فضای‌و}{vspace}
+\eqcommand{شکست‌و}{vsplit}
+\eqcommand{هردوو}{vss}
+\eqcommand{کادرگود}{vtop}
+\eqcommand{عرض}{wd}
+\eqcommand{مادام‌بکن}{whiledo}
+\eqcommand{کلاه‌پهن}{widehat}
+\eqcommand{مدپهن}{widetilde}
+\eqcommand{جریمه‌ته‌بند}{widowpenalty}
+\eqcommand{پهنا}{width}
+\eqcommand{درکارنامه}{wlog}
+\eqcommand{بنویس}{write}
+\eqcommand{@فضای‌لاتین}{@xobeysp}
+\eqcommand{سی@دو}{@xxxii}
+\eqcommand{ترگع}{xdef}
+\eqcommand{نشانگرگسترشی}{xleaders}
+\eqcommand{فاصله‌اضافی‌کلمات}{xspaceskip}
+\eqcommand{سال}{year}
+\eqcommand{@فر}{z@}
+\eqcommand{@فرفاصله}{z@skip}
+% \end{macrocode}
+% \iffalse
+%</commands-ltx.def>
+%<*color-localise.def>
+%\fi
+% \subsection{\textsf{color-localise.def}}
+% \begin{macrocode}
+\آماده‌سازی‌پرونده{color-localise.def}[2011/03/01 v0.1 localising color package]
+\تعریف‌رنگ{سیاه}{rgb}{0,0,0}
+\تعریف‌رنگ{سفید}{rgb}{1,1,1}
+\تعریف‌رنگ{قرمز}{rgb}{1,0,0}
+\تعریف‌رنگ{سبز}{rgb}{0,1,0}
+\تعریف‌رنگ{آبی}{rgb}{0,0,1}
+\تعریف‌رنگ{آسمانی}{cmyk}{1,0,0,0}
+\تعریف‌رنگ{بنفش}{cmyk}{0,1,0,0}
+\تعریف‌رنگ{زرد}{cmyk}{0,0,1,0}
+% \end{macrocode}
+% \iffalse
+%</color-localise.def>
+%<*commands-xepersian.def>
+%\fi
+% \subsection{\textsf{commands-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{commands-xepersian.def}[2012/07/25 v0.2 Persian localisation of XePersian commands]
+\eqcommand{خط‌زیرنویس‌خودکار}{autofootnoterule}
+\eqcommand{اعدادفرمولهاخودکار}{AutoMathsDigits}
+\eqcommand{اعدادفرمولهالاتین}{DefaultMathsDigits}
+\eqcommand{معادل@کلید}{keyval@eq@alias@key}
+\eqcommand{تعریف‌قلم‌لاتین}{deflatinfont}
+\eqcommand{تعریف‌قلم‌پارسی}{defpersianfont}
+\eqcommand{کادراچپ}{hboxL}
+\eqcommand{کادراست}{hboxR}
+\eqcommand{مرجع‌لاتین}{Latincite}
+\eqcommand{قلم‌لاتین}{latinfont}
+\eqcommand{امروزلاتین}{latintoday}
+\eqcommand{خط‌زیرنویس‌چپ}{leftfootnoterule}
+\eqcommand{متن‌لاتین}{lr}
+\eqcommand{چپ‌براست}{LRE}
+\eqcommand{دوستونی‌چپ}{LTRdblcol}
+\eqcommand{پانویس}{LTRfootnote}
+\eqcommand{متن‌پانویس}{LTRfootnotetext}
+\eqcommand{پانویس‌عنوان}{LTRthanks}
+\eqcommand{روزپارسی}{persianday}
+\eqcommand{قلم‌پارسی}{persianfont}
+\eqcommand{اعدادفرمولهاپارسی}{PersianMathsDigits}
+\eqcommand{ماه‌پارسی}{persianmonth}
+\eqcommand{سال‌پارسی}{persianyear}
+\eqcommand{علامت‌چپ‌نقل‌قول‌پارسی}{plq}
+\eqcommand{علامت‌راست‌نقل‌قول‌پارسی}{prq}
+\eqcommand{خط‌زیرنویس‌راست}{rightfootnoterule}
+\eqcommand{متن‌پارسی}{rl}
+\eqcommand{راست‌بچپ}{RLE}
+\eqcommand{دوستونی‌راست}{RTLdblcol}
+\eqcommand{پانوشت}{RTLfootnote}
+\eqcommand{متن‌پانوشت}{RTLfootnotetext}
+\eqcommand{پانوشت‌عنوان}{RTLthanks}
+\eqcommand{@علامت‌بین}{@SepMark}
+\eqcommand{علامت‌بین}{SepMark}
+\eqcommand{بگذارمرجوعات‌عادی}{setdefaultbibitems}
+\eqcommand{بگذاردرحاشیه‌عادی}{setdefaultmarginpar}
+\eqcommand{گزینش‌قلم‌اعدادفرمولها}{setdigitfont}
+\eqcommand{بگذارزیرنویس‌چپ}{setfootnoteLR}
+\eqcommand{بگذارزیرنویس‌راست}{setfootnoteRL}
+\eqcommand{گزینش‌قلم‌لاتین‌متن}{setlatintextfont}
+\eqcommand{بگذارمتن‌چپ}{setLTR}
+\eqcommand{بگذارمرجوعات‌چپ}{setLTRbibitems}
+\eqcommand{بگذاردرحاشیه‌چپ}{setLTRmarginpar}
+\eqcommand{بگذارمتن‌راست}{setRTL}
+\eqcommand{بگذارمرجوعات‌راست}{setRTLbibitems}
+\eqcommand{بگذاردرحاشیه‌راست}{setRTLmarginpar}
+\eqcommand{گزینش‌قلم‌متن}{settextfont}
+\eqcommand{خط‌زیرنویس‌پهنای‌متن}{textwidthfootnoterule}
+\eqcommand{فهرست‌مطالب‌دوستونی}{twocolumnstableofcontents}
+\eqcommand{نگذارزیرنویس‌راست}{unsetfootnoteRL}
+\eqcommand{نگذارمتن‌چپ}{unsetLTR}
+\eqcommand{نگذارمتن‌راست}{unsetRTL}
+\eqcommand{کادروازچپ}{vboxL}
+\eqcommand{کادروازراست}{vboxR}
+\eqcommand{زی‌لاتک}{XeLaTeX}
+\eqcommand{زی‌پرشین}{XePersian}
+\eqcommand{گونه‌زی‌پرشین}{xepersianversion}
+\eqcommand{تاریخ‌گونه‌زی‌پرشین}{xepersiandate}
+\eqcommand{زی‌تک}{XeTeX}
+% \end{macrocode}
+% \iffalse
+%</commands-xepersian.def>
+%<*empheq-xepersian.def>
+%\fi
+% \subsection{\textsf{empheq-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{empheq-xepersian.def}[2011/03/01 v0.1 adaptations for empheq package]
+\def\tagform@#1{\maketag@@@{\if@Latin\else\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@Latin\else\endR\fi}}
+\def\text#1{\@@text{\if@Latin\else\beginR\fi#1\if@Latin\else\endR\fi}}
+% \end{macrocode}
+% \iffalse
+%</empheq-xepersian.def>
+%<*enumerate-xepersian.def>
+%\fi
+% \subsection{\textsf{enumerate-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{enumerate-xepersian.def}[2010/07/25 v0.1 adaptations for enumerate package]
+\def\@enloop@{%
+ \ifx ا\@entemp \def\@tempa{\@enLabel\harfi }\else
+ \ifx ی\@entemp \def\@tempa{\@enLabel\adadi }\else
+ \ifx ت\@entemp \def\@tempa{\@enLabel\tartibi }\else
+ \ifx A\@entemp \def\@tempa{\@enLabel\Alph }\else
+ \ifx a\@entemp \def\@tempa{\@enLabel\alph }\else
+ \ifx i\@entemp \def\@tempa{\@enLabel\roman }\else
+ \ifx I\@entemp \def\@tempa{\@enLabel\Roman }\else
+ \ifx 1\@entemp \def\@tempa{\@enLabel\arabic}\else
+ \ifx \@sptoken\@entemp \let\@tempa\@enSpace \else
+ \ifx \bgroup\@entemp \let\@tempa\@enGroup \else
+ \ifx \@enum@\@entemp \let\@tempa\@gobble \else
+ \let\@tempa\@enOther
+ \@enhook
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \@tempa}
+% \end{macrocode}
+% \iffalse
+%</enumerate-xepersian.def>
+%<*environments-ltx.def>
+%\fi
+% \subsection{\textsf{environments-ltx.def}}
+% \begin{macrocode}
+\ProvidesFile{environments-ltx.def}[2010/07/25 v0.2 Persian localisation of LaTeX2e environments]
+\eqenvironment{چکیده}{abstract}
+\eqenvironment{پیوست}{appendix}
+\eqenvironment{آرایه}{array}
+\eqenvironment{وسط‌چین}{center}
+\eqenvironment{توضیح}{description}
+\eqenvironment{ریاضی‌نمایشی}{displaymath}
+\eqenvironment{نوشتار}{document}
+\eqenvironment{شمارش}{enumerate}
+\eqenvironment{شکل}{figure}
+\eqenvironment{شکل*}{figure*}
+\eqenvironment{محتوای‌پرونده}{filecontents}
+\eqenvironment{محتوای‌پرونده*}{filecontents*}
+\eqenvironment{چپ‌چین}{flushleft}
+\eqenvironment{راست‌چین}{flushright}
+\eqenvironment{فقرات}{itemize}
+\eqenvironment{نامه}{letter}
+\eqenvironment{لیست}{list}
+\eqenvironment{جدول‌دراز}{longtable}
+\eqenvironment{کادررچ}{lrbox}
+\eqenvironment{ریاضی}{math}
+\eqenvironment{ماتریس}{matrix}
+\eqenvironment{صفحه‌کوچک}{minipage}
+\eqenvironment{چندخطی}{multline}
+\eqenvironment{یادداشت}{note}
+\eqenvironment{انباشتن}{overlay}
+\eqenvironment{تصویر}{picture}
+\eqenvironment{اقتباس}{quotation}
+\eqenvironment{نقل}{quote}
+\eqenvironment{اسلاید}{slide}
+\eqenvironment{پارنامرتب}{sloppypar}
+\eqenvironment{شکافتن}{split}
+\eqenvironment{زیرآرایه}{subarray}
+\eqenvironment{جاگذاری}{tabbing}
+\eqenvironment{لوح}{table}
+\eqenvironment{لوح*}{table*}
+\eqenvironment{جدول}{tabular}
+\eqenvironment{جدول*}{tabular*}
+\eqenvironment{مراجع}{thebibliography}
+\eqenvironment{محتوای‌نمایه}{theindex}
+\eqenvironment{صفحه‌عنوان}{titlepage}
+\eqenvironment{لیست‌بدوی}{trivlist}
+\eqenvironment{شعر}{verse}
+% \end{macrocode}
+% \iffalse
+%</environments-ltx.def>
+%<*environments-xepersian.def>
+%\fi
+% \subsection{\textsf{environments-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{environments-xepersian.def}[2010/07/25 v0.1 Persian localisation of XePersian and bidi environments]
+\eqenvironment{لاتین}{latin}
+\eqenvironment{متن‌چپ}{LTR}
+\eqenvironment{دسته‌بندی‌چپ}{LTRitems}
+\eqenvironment{شعرنو}{modernpoem}
+\eqenvironment{شعرنو*}{modernpoem*}
+\eqenvironment{پارسی}{persian}
+\eqenvironment{متن‌راست}{RTL}
+\eqenvironment{دسته‌بندی‌راست}{RTLitems}
+\eqenvironment{شعرسنتی}{traditionalpoem}
+\eqenvironment{شعرسنتی*}{traditionalpoem*}
+% \end{macrocode}
+% \iffalse
+%</environments-xepersian.def>
+%<*extarticle-xepersian.def>
+%\fi
+% \subsection{\textsf{extarticle-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{extarticle-xepersian.def}[2010/07/25 v0.1 adaptations for extarticle class]
+\renewcommand\thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+% \end{macrocode}
+% \iffalse
+%</extarticle-xepersian.def>
+%<*extbook-xepersian.def>
+%\fi
+% \subsection{\textsf{extbook-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{extbook-xepersian.def}[2010/07/25 v0.1 adaptations for extbook class]
+\renewcommand\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{harfi}}
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}
+}%end appendix
+% \end{macrocode}
+% \iffalse
+%</extbook-xepersian.def>
+%<*extrafootnotefeatures-xepersian.def>
+%\fi
+% \subsection{\textsf{extrafootnotefeatures-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{extrafootnotefeatures-xepersian.def}[2012/01/01 v0.2 footnote macros for extrafootnotefeatures option of xepersian package]
+\renewcommand{\foottextfont}{\footnotesize\if@RTL@footnote\else\latinfont\fi}
+\renewcommand{\LTRfoottextfont}{\footnotesize\latinfont}
+\renewcommand{\RTLfoottextfont}{\footnotesize\persianfont}
+% \end{macrocode}
+% \iffalse
+%</extrafootnotefeatures-xepersian.def>
+%<*extreport-xepersian.def>
+%\fi
+% \subsection{\textsf{extreport-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{extreport-xepersian.def}[2010/07/25 v0.1 adaptations for extreport class]
+\renewcommand\thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+% \end{macrocode}
+% \iffalse
+%</extreport-xepersian.def>
+%<*flowfram-xepersian.def>
+%\fi
+% \subsection{\textsf{flowfram-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{flowfram-xepersian.def}[2010/07/25 v0.1 adaptations for flowfram package]
+\def\@outputpage{%
+\begingroup
+ \let\protect\noexpand
+ \@resetactivechars
+ \global\let\@@if@newlist\if@newlist
+ \global\@newlistfalse\@parboxrestore
+ \shipout\vbox{\set@typeset@protect
+ \aftergroup
+ \endgroup
+ \aftergroup
+ \set@typeset@protect
+ \reset@font\normalsize\normalsfcodes
+ \let\label\@gobble
+ \let\index\@gobble
+ \let\glossary\@gobble
+ \baselineskip\z@skip
+ \lineskip\z@skip
+ \lineskiplimit\z@
+ \vskip\topmargin\moveright\@themargin
+ \vbox{%
+ \vskip\headheight
+ \vskip\headsep
+ \box\@outputbox
+ }}%
+ \global\let\if@newlist\@@if@newlist
+ \stepcounter{page}%
+ \setcounter{displayedframe}{0}%
+ \let\firstmark\botmark}
+% \end{macrocode}
+% \iffalse
+%</flowfram-xepersian.def>
+%<*footnote-bidi-xepersian.def>
+%\fi
+% \subsection{\textsf{footnote-bidi-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{footnote-bidi-xepersian.def}[2010/07/25 v0.2 footnote macros for xepersian package]
+
+
+
+\long\def\@footnotetext#1{\insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \reset@font\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep
+ \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
+ \hsize\columnwidth \@parboxrestore
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+
+
+
+
+\long\def\@RTLfootnotetext#1{\insert\footins{%
+ \@RTLtrue%
+ \reset@font\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep
+ \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
+ \hsize\columnwidth \@parboxrestore
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+
+
+
+
+\long\def\@LTRfootnotetext#1{\insert\footins{%
+ \@RTLfalse%
+ \reset@font\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep
+ \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
+ \hsize\columnwidth \@parboxrestore
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+\footdir@temp\footdir@ORG@xepersian@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@LTRfootnotetext\@LTRfootnotetext{L}%
+
+
+
+\long\def\@mpfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\if@RTL@footnote\rightfootnoterule\else\leftfootnoterule\fi\fi\fi%
+ \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \unvbox\@mpfootins
+ \reset@font\footnotesize
+ \hsize\columnwidth
+ \@parboxrestore
+ \protected@edef\@currentlabel
+ {\csname p@mpfootnote\endcsname\@thefnmark}%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
+ \color@endgroup}}
+
+
+
+
+
+\long\def\@mpRTLfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\rightfootnoterule\fi\fi%
+ \global\setbox\@mpfootins\vbox{\@RTLtrue%
+ \unvbox\@mpfootins
+ \reset@font\footnotesize
+ \hsize\columnwidth
+ \@parboxrestore
+ \protected@edef\@currentlabel
+ {\csname p@mpfootnote\endcsname\@thefnmark}%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}
+
+
+\long\def\@mpLTRfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\leftfootnoterule\fi\fi%
+ \global\setbox\@mpfootins\vbox{\@RTLfalse%
+ \unvbox\@mpfootins
+ \reset@font\footnotesize
+ \hsize\columnwidth
+ \@parboxrestore
+ \protected@edef\@currentlabel
+ {\csname p@mpfootnote\endcsname\@thefnmark}%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}
+% \end{macrocode}
+% \iffalse
+%</footnote-bidi-xepersian.def>
+%<*framed-bidi-xepersian.def>
+%\fi
+% \subsection{\textsf{framed-bidi-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{framed-bidi-xepersian.def}[2012/06/05 v0.1 xepersian adaptations for framed package for XeTeX engine]
+\renewenvironment{titled-frame}[1]{%
+ \def\FrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame{\textbf{#1}}}%
+ \def\FirstFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame[$\if@RTL\blacktriangleleft\else\blacktriangleright\fi$]{\textbf{#1}}}%
+ \def\MidFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame[$\if@RTL\blacktriangleleft\else\blacktriangleright\fi$]{\textbf{#1\ (\if@RTL ادامه\else cont\fi)}}}%
+ \def\LastFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame{\textbf{#1\ (\if@RTL ادامه\else cont\fi)}}}%
+ \MakeFramed{\advance\hsize-20pt \FrameRestore}}%
+% note: 8 + 2 + 8 + 2 = 20. Don't use \width because the frame title
+% could interfere with the width measurement.
+ {\endMakeFramed}
+% \end{macrocode}
+% \iffalse
+%</framed-bidi-xepersian.def>
+%<*hyperref-xepersian.def>
+%\fi
+% \subsection{\textsf{hyperref-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{hyperref-xepersian.def}[2010/07/25 v0.3 bilingual captions for hyperref package]
+ \def\equationautorefname{\if@RTL معادله\else Equation\fi}%
+ \def\footnoteautorefname{\if@RTL زیرنویس\else footnote\fi}%
+ \def\itemautorefname{\if@RTL فقره\else item\fi}%
+ \def\figureautorefname{\if@RTL شکل\else Figure\fi}%
+ \def\tableautorefname{\if@RTL جدول\else Table\fi}%
+ \def\partautorefname{\if@RTL بخش\else Part\fi}%
+ \def\appendixautorefname{\if@RTL ضمیمه\else Appendix\fi}%
+ \def\chapterautorefname{\if@RTL فصل\else chapter\fi}%
+ \def\sectionautorefname{\if@RTL قسمت\else section\fi}%
+ \def\subsectionautorefname{\if@RTL زیرقسمت\else subsection\fi}%
+ \def\subsubsectionautorefname{\if@RTL زیرزیرقسمت\else subsubsection\fi}%
+ \def\paragraphautorefname{\if@RTL پاراگراف\else paragraph\fi}%
+ \def\subparagraphautorefname{\if@RTL زیرپاراگراف\else subparagraph\fi}%
+ \def\FancyVerbLineautorefname{\if@RTL سطر\else line\fi}%
+ \def\theoremautorefname{\if@RTL قضیه\else Theorem\fi}%
+ \def\pageautorefname{\if@RTL صفحه\else page\fi}%
+\AtBeginDocument{%
+\let\HyOrg@appendix\appendix
+\def\appendix{%
+ \ltx@IfUndefined{chapter}%
+ {\gdef\theHsection{\Alph{section}}}%
+ {\gdef\theHchapter{\Alph{chapter}}}%
+ \xdef\Hy@chapapp{\Hy@appendixstring}%
+ \HyOrg@appendix
+}
+}
+% \end{macrocode}
+% \iffalse
+%</hyperref-xepersian.def>
+%<*imsproc-xepersian.def>
+%\fi
+% \subsection{\textsf{imsproc-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{imsproc-xepersian.def}[2012/12/12 v0.1 implementation of imsproc class for xepersian package]
+\newenvironment{thebibliography}[1]{%
+ \@bibtitlestyle
+ \normalfont\bibliofont\labelsep .5em\relax
+ \renewcommand\theenumiv{\arabic{enumiv}}\let\p@enumiv\@empty
+ \if@RTL\if@LTRbibitems\@RTLfalse\else\fi\else\if@RTLbibitems\@RTLtrue\else\fi\fi
+ \list{\@biblabel{\theenumiv}}{\settowidth\labelwidth{\@biblabel{#1}}%
+ \leftmargin\labelwidth \advance\leftmargin\labelsep
+ \usecounter{enumiv}}%
+ \sloppy \clubpenalty\@M \widowpenalty\clubpenalty
+ \sfcode`\.=\@m
+}{%
+ \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist
+}
+\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
+ \columnseprule\z@ \columnsep 35\p@
+ \@indextitlestyle
+ \thispagestyle{plain}%
+ \let\item\@idxitem
+ \parindent\z@ \parskip\z@\@plus.3\p@\relax
+ \if@RTL\raggedleft\else\raggedright\fi
+ \hyphenpenalty\@M
+ \footnotesize}
+\def\@idxitem{\par\hangindent \if@RTL-\fi2em}
+\def\subitem{\par\hangindent \if@RTL-\fi2em\hspace*{1em}}
+\def\subsubitem{\par\hangindent \if@RTL-\fi3em\hspace*{2em}}
+\renewcommand \thepart {\@tartibi\c@part}
+\def\appendix{\par\c@section\z@ \c@subsection\z@
+ \let\sectionname\appendixname
+ \def\thesection{\@harfi\c@section}}
+\def\right@footnoterule{%
+ \hbox to \columnwidth
+ {\beginR \vbox{\kern-.4\p@
+ \hrule\@width 5pc\kern11\p@\kern-\footnotesep}\hfil\endR}}
+\def\left@footnoterule{\kern-.4\p@
+ \hrule\@width 5pc\kern11\p@\kern-\footnotesep}
+\def\@makefnmark{%
+ \leavevmode
+ \raise.9ex\hbox{\fontsize\sf@size\z@\normalfont\@thefnmark}%
+}
+
+
+
+\long\def\@footnotetext#1{%
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
+
+
+
+
+\long\def\@RTLfootnotetext#1{%
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
+
+
+
+
+
+
+\long\def\@LTRfootnotetext#1{%
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+\footdir@temp\footdir@ORG@xepersian@imsproc@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@imsproc@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@imsproc@LTRfootnotetext\@LTRfootnotetext{L}%
+
+\def\part{\@startsection{part}{0}%
+ \z@{\linespacing\@plus\linespacing}{.5\linespacing}%
+ {\normalfont\bfseries\if@RTL\raggedleft\else\raggedright\fi}}
+\def\@tocline#1#2#3#4#5#6#7{\relax
+ \ifnum #1>\c@tocdepth % then omit
+ \else
+ \par \addpenalty\@secpenalty\addvspace{#2}%
+ \begingroup \hyphenpenalty\@M
+ \@ifempty{#4}{%
+ \@tempdima\csname r@tocindent\number#1\endcsname\relax
+ }{%
+ \@tempdima#4\relax
+ }%
+ \parindent\z@ \if@RTL\rightskip\else\leftskip\fi#3\relax \advance\if@RTL\rightskip\else\leftskip\fi\@tempdima\relax
+ \if@RTL\leftskip\else\rightskip\fi\@pnumwidth plus4em \parfillskip-\@pnumwidth
+ #5\leavevmode\hskip-\@tempdima #6\nobreak\relax
+ \hfil\hbox to\@pnumwidth{\@tocpagenum{#7}}\par
+ \nobreak
+ \endgroup
+ \fi}
+\renewcommand\thesubsection {\thesection\@SepMark\arabic{subsection}}
+\renewcommand\thesubsubsection {\thesubsection \@SepMark\arabic{subsubsection}}
+\renewcommand\theparagraph {\thesubsubsection\@SepMark\arabic{paragraph}}
+\renewcommand\thesubparagraph {\theparagraph\@SepMark\arabic{subparagraph}}
+\def\maketitle{\par
+ \@topnum\z@ % this prevents figures from falling at the top of page 1
+ \@setcopyright
+ \thispagestyle{firstpage}% this sets first page specifications
+ \uppercasenonmath\shorttitle
+ \ifx\@empty\shortauthors \let\shortauthors\shorttitle
+ \else \andify\shortauthors
+ \fi
+ \@maketitle@hook
+ \begingroup
+ \@maketitle
+ \toks@\@xp{\shortauthors}\@temptokena\@xp{\shorttitle}%
+ \toks4{\def\\{ \ignorespaces}}% defend against questionable usage
+ \edef\@tempa{%
+ \@nx\markboth{\the\toks4
+ \@nx\MakeUppercase{\the\toks@}}{\the\@temptokena}}%
+ \@tempa
+ \endgroup
+ \c@footnote\z@
+ \@cleartopmattertags
+}
+% \end{macrocode}
+% \iffalse
+%</imsproc-xepersian.def>
+%<*kashida-xepersian.def>
+%\fi
+% \subsection{\textsf{kashida-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{kashida-xepersian.def}[2010/07/25 v0.2 implementation of Kashida for xepersian package]
+\chardef\xepersian@zwj="200D % zero-width joiner
+\chardef\xepersian@ksh="0640 % kashida
+
+\chardef\xepersian@D=10 % dual-joiner class
+\chardef\xepersian@L=11 % lam
+\chardef\xepersian@R=12 % right-joiner
+\chardef\xepersian@A=13 % alef
+\chardef\xepersian@V=256 % vowel or other combining mark (to be ignored)
+
+\def\xepersian@kashida{\xepersian@zwj\nobreak \setbox0=\hbox{\xepersian@ksh}%
+ \leaders\hrule height\ht0 \hskip0pt plus 0.5em \xepersian@zwj}
+
+\def\setclass#1#2{\def\theclass{#1}\def\charlist{#2}%
+ \expandafter\dosetclass\charlist,\end}
+\def\dosetclass#1,#2\end{%
+ \def\test{#1}\def\charlist{#2}%
+ \ifx\test\empty\let\next\finishsetclass
+ \else \XeTeXcharclass "\test = \theclass
+ \let\next\dosetclass \fi
+ \expandafter\next\charlist,,\end}
+\def\finishsetclass#1,,\end{}
+
+\setclass \xepersian@A {0622,0623,0625,0627}
+\setclass \xepersian@R {0624,0629,062F,0630,0631,0632,0648,0698}
+\setclass \xepersian@D {0626,0628,062A,062B,062C,062D,062E}
+\setclass \xepersian@D {0633,0634,0635,0636,0637,0638,0639,063A}
+\setclass \xepersian@D {0640,0641,0642,0643,0645,0646,0647,0649,064A}
+\setclass \xepersian@D {067E,0686,06A9,06AF,06CC}
+\setclass \xepersian@L {0644}
+\setclass \xepersian@V {064B,064C,064D,064E,064F,0650,0651,0652}
+
+\XeTeXinterchartoks \xepersian@D \xepersian@D = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@L \xepersian@D = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@D \xepersian@L = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@L \xepersian@L = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@D \xepersian@R = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@D \xepersian@A = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@L \xepersian@R = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@L \xepersian@A = {}
+
+\newcommand{\KashidaOn}{\XeTeXinterchartokenstate=1}
+\newcommand{\KashidaOff}{\XeTeXinterchartokenstate=0}
+\KashidaOn
+% \end{macrocode}
+% \iffalse
+%</kashida-xepersian.def>
+%<*listings-xepersian.def>
+%\fi
+% \subsection{\textsf{listings-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{listings-xepersian.def}[2010/07/25 v0.2 bilingual captions for listings package]
+\def\lstlistingname{\if@RT برنامهٔ\else Listing\fi}
+\def\lstlistlistingname{\if@RTL فهرست برنامه‌ها\else Listings\fi}
+% \end{macrocode}
+% \iffalse
+%</listings-xepersian.def>
+%<*loadingorder-bidi-xepersian.def>
+%\fi
+% \subsection{\textsf{loadingorder-bidi-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{loadingorder-bidi-xepersian.def}[2012/01/01 v0.3 making sure that xepersian is the last package loaded]
+\bidi@isloaded{algorithmic}
+\bidi@isloaded{algorithm}
+\bidi@isloaded{backref}
+\bidi@isloaded{enumerate}
+\bidi@isloaded{tocloft}
+\bidi@isloaded{url}
+\AtBeginDocument{
+ \if@bidi@algorithmicloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithmic after xepersian package. Please load package algorithmic before xepersian package, and then try to run xelatex on your document again}{}]{algorithmic}
+ \fi%
+ \if@bidi@algorithmloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithm after xepersian package. Please load package algorithm before xepersian package, and then try to run xelatex on your document again}{}]{algorithm}
+ \fi%
+ \if@bidi@backrefloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package backref after xepersian package. Please load package backref before xepersian package, and then try to run xelatex on your document again}{}]{backref}
+ \fi%
+ \if@bidi@enumerateloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package enumerate after xepersian package. Please load package enumerate before xepersian package, and then try to run xelatex on your document again}{}]{enumerate}
+ \fi%
+ \if@bidi@tocloftloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package tocloft after xepersian package. Please load package tocloft before xepersian package, and then try to run xelatex on your document again}{}]{tocloft}
+ \fi%
+ \if@bidi@urlloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package url after xepersian package. Please load package url before xepersian package, and then try to run xelatex on your document again}{}]{url}
+ \fi%
+}
+% \end{macrocode}
+% \iffalse
+%</loadingorder-bidi-xepersian.def>
+%<*localise-xepersian.def>
+%\fi
+% \subsection{\textsf{localise-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{localise-xepersian.def}[2010/07/25 v0.2a Persian localisation of LaTeX2e]
+\newcommand{\makezwnjletter}{\catcode`‌=11\relax}
+\makezwnjletter
+\newcommand*{\eqcommand}[2]{\if@bidi@csprimitive{#2}{\bidi@csletcs{#1}{#2}}{\bidi@csdefcs{#1}{#2}}}
+\newcommand*{\eqenvironment}[2]{\newenvironment{#1}{\csname#2\endcsname}{\csname end#2\endcsname}}
+\@ifpackageloaded{keyval}{%
+\newcommand*\keyval@eq@alias@key[4][KV]{%
+ \bidi@csletcs{#1@#2@#3}{#1@#2@#4}%
+ \bidi@csletcs{#1@#2@#3@default}{#1@#2@#4@default}}%
+}{\@ifpackageloaded{xkeyval}{%
+\newcommand*\keyval@eq@alias@key[4][KV]{%
+ \bidi@csletcs{#1@#2@#3}{#1@#2@#4}%
+ \bidi@csletcs{#1@#2@#3@default}{#1@#2@#4@default}}%
+}{}}
+\input{commands-ltx.def}
+\input{commands-xepersian.def}
+\input{environments-ltx.def}
+\input{environments-xepersian.def}
+\input{messages-localise.def}
+\input{misc-localise-xepersian.def}
+\input{packages-localise-xepersian.def}
+\aliasfontfeature{ExternalLocation}{مکان‌خارجی}
+\aliasfontfeature{ExternalLocation}{مسیر}
+\aliasfontfeature{Renderer}{تحویل‌دهنده}
+\aliasfontfeature{BoldFont}{قلم‌سیاه}
+\aliasfontfeature{Language}{زبان}
+\aliasfontfeature{Script}{خط}
+\aliasfontfeature{UprightFont}{قلم‌عمودی}
+\aliasfontfeature{ItalicFont}{قلم‌ایتالیک}
+\aliasfontfeature{BoldItalicFont}{قلم‌ایتالیک‌سیاه}
+\aliasfontfeature{SlantedFont}{قلم‌خوابیده}
+\aliasfontfeature{BoldSlantedFont}{قلم‌خوابیده‌سیاه}
+\aliasfontfeature{SmallCapsFont}{قلم‌کلاه‌کوچک}
+\aliasfontfeature{UprightFeatures}{ویژگی‌های‌قلم‌عمودی}
+\aliasfontfeature{BoldFeatures}{ویژگی‌های‌قلم‌سیاه}
+\aliasfontfeature{ItalicFeatures}{ویژگی‌های‌قلم‌ایتالیک}
+\aliasfontfeature{BoldItalicFeatures}{ویژگی‌های‌قلم‌ایتالیک‌سیاه}
+\aliasfontfeature{SlantedFeatures}{ویژگی‌های‌قلم‌خوابیده}
+\aliasfontfeature{BoldSlantedFeatures}{ویژگی‌های‌قلم‌خوابیده‌سیاه}
+\aliasfontfeature{SmallCapsFeatures}{ویژگی‌های‌قلم‌کلاه‌کوچک}
+\aliasfontfeature{SizeFeatures}{ویژگی‌های‌اندازه}
+\aliasfontfeature{Scale}{ضریب}
+\aliasfontfeature{WordSpace}{فضای‌کلمه}
+\aliasfontfeature{PunctuationSpace}{فضای‌نقطه‌گذاری}
+\aliasfontfeature{FontAdjustment}{تنظیم‌قلم}
+\aliasfontfeature{LetterSpace}{فضای‌حرف}
+\aliasfontfeature{HyphenChar}{نویسه‌تیره}
+\aliasfontfeature{Color}{رنگ}
+\aliasfontfeature{Opacity}{کدری}
+\aliasfontfeature{Mapping}{نگاشت}
+\aliasfontfeature{Weight}{سنگینی}
+\aliasfontfeature{Width}{پهنا}
+\aliasfontfeature{OpticalSize}{اندازه‌چشمی}
+\aliasfontfeature{FakeSlant}{خوابیده‌تقلبی}
+\aliasfontfeature{FakeStretch}{کشش‌تقلبی}
+\aliasfontfeature{FakeBold}{سیاه‌تقلبی}
+\aliasfontfeature{AutoFakeSlant}{خوابیده‌تقلبی‌خودکار}
+\aliasfontfeature{AutoFakeBold}{سیاه‌تقلبی‌خودکار}
+\aliasfontfeature{Ligatures}{دویاچندحرف‌متصل‌به‌هم}
+\aliasfontfeature{Alternate}{متناوب}
+\aliasfontfeature{Variant}{گوناگون}
+\aliasfontfeature{Variant}{مجموعه‌سبکی}
+\aliasfontfeature{CharacterVariant}{گوناگونی‌نویسه}
+\aliasfontfeature{ScriptStyle}{سبک‌اسکریپت}
+\aliasfontfeature{ScriptScriptStyle}{سبک‌اسکریپت‌اسکریپت}
+\aliasfontfeature{Style}{سبک}
+\aliasfontfeature{Annotation}{یادداشت}
+\aliasfontfeature{RawFeature}{ویژگی‌های‌کال}
+\aliasfontfeature{CharacterWidth}{پهنای‌نویسه}
+\aliasfontfeature{Numbers}{ارقام}
+\aliasfontfeature{Contextuals}{متنی}
+\aliasfontfeature{Diacritics}{تفکیک‌کننده‌ها}
+\aliasfontfeature{Letters}{حروف}
+\aliasfontfeature{Kerning}{دوری}
+\aliasfontfeature{VerticalPosition}{موقعیت‌عمودی}
+\aliasfontfeature{Fractions}{کسر}
+\aliasfontfeatureoption{Language}{Default}{پیش‌فرض}
+\aliasfontfeatureoption{Language}{Parsi}{پارسی}
+\aliasfontfeatureoption{Script}{Parsi}{پارسی}
+\aliasfontfeatureoption{Script}{Latin}{لاتین}
+% \end{macrocode}
+% \iffalse
+%</localise-xepersian.def>
+%<*memoir-xepersian.def>
+%\fi
+% \subsection{\textsf{memoir-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{memoir-xepersian.def}[2010/07/25 v0.1 adaptations for memoir class]
+\renewcommand{\@memfront}{%
+ \@smemfront\pagenumbering{harfi}}
+\renewcommand{\setthesection}{\thechapter\@SepMark\harfi{section}}
+\renewcommand*{\thebook}{\@tartibi\c@book}
+\renewcommand*{\thepart}{\@tartibi\c@part}
+\renewcommand{\appendix}{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}%
+ \anappendixtrue}
+% \end{macrocode}
+% \iffalse
+%</memoir-xepersian.def>
+%<*messages-localise.def>
+%\fi
+% \subsection{\textsf{messages-localise.def}}
+% \begin{macrocode}
+\آماده‌سازی‌پرونده{messages-localise.def}[2011/03/01 v0.1 localising LaTeX2e messages]
+% \end{macrocode}
+% \iffalse
+%</messages-localise.def>
+%<*minitoc-xepersian.def>
+%\fi
+% \subsection{\textsf{minitoc-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{minitoc-xepersian.def}[2010/07/25 v0.1 bilingual captions for minitoc package]
+\def\ptctitle{\if@RTL فهرست مطالب\else Table of Contents\fi}%
+\def\plftitle{\if@RTL فهرست تصاویر\else List of Figures\fi}%
+\def\plttitle{\if@RTL فهرست جداول\else List of Tables\fi}%
+\def\mtctitle{\if@RTL عناوین\else Contents\fi}%
+\def\mlftitle{\if@RTL اشکال\else Figures\fi}%
+\def\mlttitle{\if@RTL جداول\else Tables\fi}%
+\def\stctitle{\if@RTL عناوین\else Contents\fi}%
+\def\slftitle{\if@RTL اشکال\else Figures\fi}%
+\def\slttitle{\if@RTL جداول\else Tables\fi}%
+% \end{macrocode}
+% \iffalse
+%</minitoc-xepersian.def>
+%<*misc-localise-xepersian.def>
+%\fi
+% \subsection{\textsf{misc-localise-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{misc-localise-xepersian.def}[2012/01/01 v0.2 miscellaneous Persian localisation of LaTeX2e]
+\تر\گرجدید#1{%
+\شمار@\نویسه‌ویژه \نویسه‌ویژه\من@ا
+ \بگذار#1\گرنادرست
+\@گر#1\گردرست
+\@گر#1\گرنادرست
+\نویسه‌ویژه\شمار@}
+\تر\@گر#1#2{%
+\بگسترپس‌از\تر\نام‌فرمان\بگسترپس‌از\@خورحریصانه‌دو\رشته#1%
+\بگسترپس‌از\@خورحریصانه‌دو\رشته#2\پایان‌نام‌فرمان
+{\بگذار#1#2}}
+\بگذار\تعریف‌نشده\undefined
+
+\تر\حلقه#1\ازنو{\تر\تکرارکن{#1\راحت\بگسترپس‌از\تکرارکن\رگ}%
+ \تکرارکن \بگذار\تکرارکن\راحت}
+\بگذار\ازنو\رگ
+
+
+\بلند\تر \حلقه #1\ازنو{%
+ \تر\تکرارکن{#1\راحت % \راحت اضافی
+ \بگسترپس‌از\تکرارکن\رگ
+ }%
+ \تکرارکن
+ \بگذار\تکرارکن\راحت
+}
+\بگذار\ازنو=\رگ
+
+
+\@ifdefinitionfileloaded{xetex-bidi}{%
+\def\@xfloat #1[#2]{%
+ \@nodocument
+ \def \@captype {#1}%
+ \def \@fps {#2}%
+ \@onelevel@sanitize \@fps
+ \def \reserved@b {!}%
+ \ifx \reserved@b \@fps
+ \@fpsadddefault
+ \else
+ \ifx \@fps \@empty
+ \@fpsadddefault
+ \fi
+ \fi
+ \ifhmode
+ \@bsphack
+ \@floatpenalty -\@Mii
+ \else
+ \@floatpenalty-\@Miii
+ \fi
+ \ifinner
+ \@parmoderr\@floatpenalty\z@
+ \else
+ \@next\@currbox\@freelist
+ {%
+ \@tempcnta \sixt@@n
+ \expandafter \@tfor \expandafter \reserved@a
+ \expandafter :\expandafter =\@fps
+ \do
+ {%
+ \if \reserved@a h%
+ \ifodd \@tempcnta
+ \else
+ \advance \@tempcnta \@ne
+ \fi
+ \fi
+ \if \reserved@a ا%
+ \ifodd \@tempcnta
+ \else
+ \advance \@tempcnta \@ne
+ \fi
+ \fi
+ \if \reserved@a t%
+ \@setfpsbit \tw@
+ \fi
+ \if \reserved@a ب%
+ \@setfpsbit \tw@
+ \fi
+ \if \reserved@a b%
+ \@setfpsbit 4%
+ \fi
+ \if \reserved@a ز%
+ \@setfpsbit 4%
+ \fi
+ \if \reserved@a p%
+ \@setfpsbit 8%
+ \fi
+ \if \reserved@a ص%
+ \@setfpsbit 8%
+ \fi
+ \if \reserved@a !%
+ \ifnum \@tempcnta>15
+ \advance\@tempcnta -\sixt@@n\relax
+ \fi
+ \fi
+ }%
+ \@tempcntb \csname ftype@\@captype \endcsname
+ \multiply \@tempcntb \@xxxii
+ \advance \@tempcnta \@tempcntb
+ \global \count\@currbox \@tempcnta
+ }%
+ \@fltovf
+ \fi
+ \global \setbox\@currbox
+ \color@vbox
+ \normalcolor
+ \vbox \bgroup
+ \hsize\columnwidth
+ \@parboxrestore
+ \@floatboxreset
+}
+\let\bm@و\bm@c
+\let\bm@چ\bm@l
+\let\bm@ر\bm@r
+\let\bm@ز\bm@b
+\let\bm@ب\bm@t
+\let\bm@ک\bm@s
+\long\def\@iiiparbox#1#2[#3]#4#5{%
+ \leavevmode
+ \@pboxswfalse
+ \if@RTLtab\@bidi@list@minipage@parbox@not@nobtrue\fi
+ \if@RTL\if#1t\@bidi@list@minipage@parboxtrue\else\if#1b\@bidi@list@minipage@parboxtrue\else\if#1ز\@bidi@list@minipage@parboxtrue\else\if#1ب\@bidi@list@minipage@parboxtrue\fi\fi\fi\fi\fi
+ \setlength\@tempdima{#4}%
+ \@begin@tempboxa\vbox{\hsize\@tempdima\@parboxrestore#5\@@par}%
+ \ifx\relax#2\else
+ \setlength\@tempdimb{#2}%
+ \edef\@parboxto{to\the\@tempdimb}%
+ \fi
+ \if#1b\vbox
+ \else\if#1ز\vbox
+ \else\if #1t\vtop
+ \else\if #1ب\vtop
+ \else\ifmmode\vcenter
+ \else\@pboxswtrue $\vcenter
+ \fi\fi\fi\fi\fi
+ \@parboxto{\let\hss\vss\let\unhbox\unvbox
+ \csname bm@#3\endcsname}%
+ \if@pboxsw \m@th$\fi
+ \@end@tempboxa}
+\def\@iiiminipage#1#2[#3]#4{%
+ \leavevmode
+ \@pboxswfalse
+ \if@RTLtab\@bidi@list@minipage@parbox@not@nobtrue\fi
+ \if@RTL\if#1t\@bidi@list@minipage@parboxtrue\else\if#1b\@bidi@list@minipage@parboxtrue\else\if#1ز\@bidi@list@minipage@parboxtrue\else\if#1ب\@bidi@list@minipage@parboxtrue\fi\fi\fi\fi\fi
+ \setlength\@tempdima{#4}%
+ \def\@mpargs{{#1}{#2}[#3]{#4}}%
+ \setbox\@tempboxa\vbox\bgroup
+ \color@begingroup
+ \hsize\@tempdima
+ \textwidth\hsize \columnwidth\hsize
+ \@parboxrestore
+ \def\@mpfn{mpfootnote}\def\thempfn{\thempfootnote}\c@mpfootnote\z@
+ \let\@footnotetext\@mpfootnotetext
+ \let\@LTRfootnotetext\@mpLTRfootnotetext
+ \let\@RTLfootnotetext\@mpRTLfootnotetext
+ \let\@listdepth\@mplistdepth \@mplistdepth\z@
+ \@minipagerestore
+ \@setminipage}
+\def\@testpach#1{\@chclass \ifnum \@lastchclass=\tw@ 4 \else
+ \ifnum \@lastchclass=3 5 \else
+ \z@ \if #1c\@chnum \z@ \else
+ \if #1و\@chnum \z@ \else
+ \if \if@RTLtab#1r\else#1l\fi\@chnum \@ne \else
+ \if \if@RTLtab#1ر\else#1چ\fi\@chnum \@ne \else
+ \if \if@RTLtab#1l\else#1r\fi\@chnum \tw@ \else
+ \if \if@RTLtab#1چ\else#1ر\fi\@chnum \tw@ \else
+ \@chclass \if #1|\@ne \else
+ \if #1@\tw@ \else
+ \if #1p3 \else
+ \if #1پ3 \else \z@ \@preamerr 0\fi
+ \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi
+\fi}%
+}{}
+\@ifdefinitionfileloaded{array-xetex-bidi}{%
+\def\@testpach{\@chclass
+ \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
+ \ifnum \@lastchclass=7 5 \else
+ \ifnum \@lastchclass=8 \tw@ \else
+ \ifnum \@lastchclass=9 \thr@@
+ \else \z@
+ \ifnum \@lastchclass = 10 \else
+ \edef\@nextchar{\expandafter\string\@nextchar}%
+ \@chnum
+ \if \@nextchar c\z@ \else
+ \if \@nextchar و\z@ \else
+ \if \@nextchar \if@RTLtab r\else l\fi\@ne \else
+ \if \@nextchar \if@RTLtab ر\else چ\fi\@ne \else
+ \if \@nextchar \if@RTLtab l\else r\fi\tw@ \else
+ \if \@nextchar \if@RTLtab چ\else ر\fi\tw@ \else
+ \z@ \@chclass
+ \if\@nextchar |\@ne \else
+ \if \@nextchar !6 \else
+ \if \@nextchar @7 \else
+ \if \@nextchar <8 \else
+ \if \@nextchar >9 \else
+ 10
+ \@chnum
+ \if \@nextchar m\thr@@\else
+ \if \@nextchar م\thr@@\else
+ \if \@nextchar p4 \else
+ \if \@nextchar پ4 \else
+ \if \@nextchar b5 \else
+ \if \@nextchar ز5 \else
+ \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi \fi \fi \fi
+ \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}%
+}{}
+\@ifdefinitionfileloaded{arydshln-xetex-bidi}{
+\ifadl@usingarypkg
+\def\@testpach{\@chclass
+ \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
+ \ifnum \@lastchclass=7 5 \else
+ \ifnum \@lastchclass=8 \tw@ \else
+ \ifnum \@lastchclass=9 \thr@@
+ \else \z@
+ \ifnum \@lastchclass = 10 \else
+ \edef\@nextchar{\expandafter\string\@nextchar}%
+ \@chnum
+ \if \@nextchar c\z@ \else
+ \if \@nextchar و\z@ \else
+ \if \@nextchar \if@RTLtab r\else l\fi\@ne \else
+ \if \@nextchar \if@RTLtab ر\else چ\fi\@ne \else
+ \if \@nextchar \if@RTLtab l\else r\fi\tw@ \else
+ \if \@nextchar \if@RTLtab چ\else ر\fi\tw@ \else
+ \z@ \@chclass
+ \if\@nextchar |\@ne \let\@arrayrule\adl@arrayrule \else
+ \if\@nextchar :\@ne \let\@arrayrule\adl@arraydashrule \else
+ \if\@nextchar ;\@ne \let\@arrayrule\adl@argarraydashrule \else
+ \if \@nextchar !6 \else
+ \if \@nextchar @7 \else
+ \if \@nextchar <8 \else
+ \if \@nextchar >9 \else
+ 10
+ \@chnum
+ \if \@nextchar m\thr@@\else
+ \if \@nextchar م\thr@@\else
+ \if \@nextchar p4 \else
+ \if \@nextchar پ4 \else
+ \if \@nextchar b5 \else
+ \if \@nextchar ز5 \else
+ \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi \fi \fi \fi \fi \fi
+ \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}
+
+\def\@classz{\@classx
+ \@tempcnta \count@
+ \prepnext@tok
+ \@addtopreamble{\ifcase \@chnum
+ \hfil
+ \adl@putlrc{\d@llarbegin \insert@column \d@llarend}\hfil \or
+ \hskip1sp\adl@putlrc{\d@llarbegin \insert@column \d@llarend}\hfil \or
+ \hfil\hskip1sp\adl@putlrc{\d@llarbegin \insert@column \d@llarend}\or
+ \setbox\adl@box\hbox \adl@startmbox{\@nextchar}\insert@column
+ \adl@endmbox\or
+ \setbox\adl@box\vtop \@startpbox{\@nextchar}\insert@column \@endpbox \or
+ \setbox\adl@box\vbox \@startpbox{\@nextchar}\insert@column \@endpbox
+ \fi}\prepnext@tok}
+\def\adl@class@start{4}
+\def\adl@class@iiiorvii{7}
+
+\else
+\def\@testpach#1{\@chclass \ifnum \@lastchclass=\tw@ 4\relax \else
+ \ifnum \@lastchclass=\thr@@ 5\relax \else
+ \z@ \if #1c\@chnum \z@ \else
+ \if #1و\@chnum\z@ \else
+ \if \if@RTLtab#1r\else#1l\fi\@chnum \@ne \else
+ \if \if@RTLtab#1ر\else#1چ\fi\@chnum \@ne \else
+ \if \if@RTLtab#1l\else#1r\fi\@chnum \tw@ \else
+ \if \if@RTLtab#1چ\else#1ر\fi\@chnum \tw@ \else
+ \@chclass
+ \if #1|\@ne \let\@arrayrule\adl@arrayrule \else
+ \if #1:\@ne \let\@arrayrule\adl@arraydashrule \else
+ \if #1;\@ne \let\@arrayrule\adl@argarraydashrule \else
+ \if #1@\tw@ \else
+ \if #1p\thr@@ \else
+ \if #1پ\thr@@ \else\z@ \@preamerr 0\fi
+ \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}
+
+\def\@arrayclassz{\ifcase \@lastchclass \@acolampacol \or \@ampacol \or
+ \or \or \@addamp \or
+ \@acolampacol \or \@firstampfalse \@acol \fi
+ \edef\@preamble{\@preamble
+ \ifcase \@chnum
+ \hfil\adl@putlrc{$\relax\@sharp$}\hfil
+ \or \adl@putlrc{$\relax\@sharp$}\hfil
+ \or \hfil\adl@putlrc{$\relax\@sharp$}\fi}}
+\def\@tabclassz{\ifcase \@lastchclass \@acolampacol \or \@ampacol \or
+ \or \or \@addamp \or
+ \@acolampacol \or \@firstampfalse \@acol \fi
+ \edef\@preamble{\@preamble
+ \ifcase \@chnum
+ \hfil\adl@putlrc{\@sharp\unskip}\hfil
+ \or \adl@putlrc{\@sharp\unskip}\hfil
+ \or \hfil\hskip\z@ \adl@putlrc{\@sharp\unskip}\fi}}
+\def\adl@class@start{6}
+\def\adl@class@iiiorvii{3}
+\fi
+}{}
+\@ifdefinitionfileloaded{tabulary-xetex-bidi}{%
+\def\@testpach{\@chclass
+ \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
+ \ifnum \@lastchclass=7 5 \else
+ \ifnum \@lastchclass=8 \tw@ \else
+ \ifnum \@lastchclass=9 \thr@@
+ \else \z@
+ \ifnum \@lastchclass = 10 \else
+ \edef\@nextchar{\expandafter\string\@nextchar}%
+ \@chnum
+ \if \@nextchar c\z@ \else
+ \if \@nextchar و\z@ \else
+ \if \@nextchar \if@RTLtab r\else l\fi\@ne \else
+ \if \@nextchar \if@RTLtab ر\else چ\fi\@ne \else
+ \if \@nextchar \if@RTLtab l\else r\fi\tw@ \else
+ \if \@nextchar \if@RTLtab چ\else ر\fi\tw@ \else
+ \if \@nextchar C7 \else
+ \if \@nextchar س7 \else
+ \if \@nextchar L8 \else
+ \if \@nextchar ف8 \else
+ \if \@nextchar R9 \else
+ \if \@nextchar ا9 \else
+ \if \@nextchar J10 \else
+ \if \@nextchar ت10 \else
+ \z@ \@chclass
+ \if\@nextchar |\@ne \else
+ \if \@nextchar !6 \else
+ \if \@nextchar @7 \else
+ \if \@nextchar <8 \else
+ \if \@nextchar >9 \else
+ 10
+ \@chnum
+ \if \@nextchar m\thr@@\else
+ \if \@nextchar م\thr@@\else
+ \if \@nextchar p4 \else
+ \if \@nextcharپ4 \else
+ \if \@nextchar b5 \else
+ \if \@nextchar ز5 \else
+ \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi\fi \fi \fi\fi \fi \fi \fi \fi \fi \fi \fi \fi
+ \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}%
+}{}
+\@ifdefinitionfileloaded{float-xetex-bidi}{%
+\let\@float@Hx\@xfloat
+\def\@xfloat#1[{\@ifnextchar{H}{\@float@HH{#1}[}{\@ifnextchar{آ}{\@float@آآ{#1}[}{\@float@Hx{#1}[}}}
+\def\@float@HH#1[H]{%
+ \expandafter\let\csname end#1\endcsname\float@endH
+ \let\@currbox\float@box
+ \def\@captype{#1}\setbox\@floatcapt=\vbox{}%
+ \expandafter\ifx\csname fst@#1\endcsname\relax
+ \@flstylefalse\else\@flstyletrue\fi
+ \setbox\@currbox\color@vbox\normalcolor
+ \vbox\bgroup \hsize\columnwidth \@parboxrestore
+ \@floatboxreset \@setnobreak
+ \ignorespaces}
+\def\@float@آآ#1[آ]{%
+ \expandafter\let\csname end#1\endcsname\float@endH
+ \let\@currbox\float@box
+ \def\@captype{#1}\setbox\@floatcapt=\vbox{}%
+ \expandafter\ifx\csname fst@#1\endcsname\relax
+ \@flstylefalse\else\@flstyletrue\fi
+ \setbox\@currbox\color@vbox\normalcolor
+ \vbox\bgroup \hsize\columnwidth \@parboxrestore
+ \@floatboxreset \@setnobreak
+ \ignorespaces}
+}{}
+\begingroup \catcode `|=0 \catcode `[= 1
+\catcode`]=2 \catcode `\{=12 \catcode `\}=12
+\catcode`\\=12 |gdef|@x@xepersian@localize@verbatim#1\پایان{همانطورکه‌هست}[#1|پایان[همانطورکه‌هست]]
+|gdef|@sx@xepersian@localize@verbatim#1\پایان{همانطورکه‌هست*}[#1|پایان[همانطورکه‌هست*]]
+|endgroup
+\def\همانطورکه‌هست{\@verbatim \frenchspacing\@vobeyspaces \@x@xepersian@localize@verbatim}
+\def\endهمانطورکه‌هست{\if@newlist \leavevmode\fi\endtrivlist}
+\ExplSyntaxOn
+\AtBeginDocument{\@namedef{همانطورکه‌هست*}{\@verbatim \fontspec_print_visible_spaces: \@sx@xepersian@localize@verbatim}}
+\ExplSyntaxOff
+\expandafter\let\csname endهمانطورکه‌هست*\endcsname =\endهمانطورکه‌هست
+% \end{macrocode}
+% \iffalse
+%</misc-localise-xepersian.def>
+%<*natbib-xepersian.def>
+%\fi
+% \subsection{\textsf{natbib-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{natbib-xepersian.def}[2011/08/01 v0.1 adaptations for natbib package]
+\renewcommand\NAT@set@cites{%
+ \ifNAT@numbers
+ \ifNAT@super \let\@cite\NAT@citesuper
+ \def\NAT@mbox##1{\unskip\nobreak\textsuperscript{##1}}%
+ \let\citeyearpar=\citeyear
+ \let\NAT@space\relax
+ \def\NAT@super@kern{\kern\p@}%
+ \else
+ \let\NAT@mbox=\mbox
+ \let\@cite\NAT@citenum
+ \let\NAT@space\NAT@spacechar
+ \let\NAT@super@kern\relax
+ \fi
+ \let\@citex\NAT@citexnum
+ \let\@Latincitex\NAT@Latin@citexnum
+ \let\@biblabel\NAT@biblabelnum
+ \let\@bibsetup\NAT@bibsetnum
+ \renewcommand\NAT@idxtxt{\NAT@name\NAT@spacechar\NAT@open\NAT@num\NAT@close}%
+ \def\natexlab##1{}%
+ \def\NAT@penalty{\penalty\@m}%
+ \else
+ \let\@cite\NAT@cite
+ \let\@citex\NAT@citex
+ \let\@Latincitex\NAT@Latin@citex
+ \let\@biblabel\NAT@biblabel
+ \let\@bibsetup\NAT@bibsetup
+ \let\NAT@space\NAT@spacechar
+ \let\NAT@penalty\@empty
+ \renewcommand\NAT@idxtxt{\NAT@name\NAT@spacechar\NAT@open\NAT@date\NAT@close}%
+ \def\natexlab##1{##1}%
+ \fi}
+\newcommand\NAT@Latin@citex{}
+\def\NAT@Latin@citex%
+ [#1][#2]#3{%
+ \NAT@reset@parser
+ \NAT@sort@cites{#3}%
+ \NAT@reset@citea
+ \@cite{\lr{\let\NAT@nm\@empty\let\NAT@year\@empty
+ \@for\@citeb:=\NAT@cite@list\do
+ {\@safe@activestrue
+ \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
+ \@safe@activesfalse
+ \@ifundefined{b@\@citeb\@extra@b@citeb}{\@citea%
+ {\reset@font\bfseries ?}\NAT@citeundefined
+ \PackageWarning{natbib}%
+ {Citation `\@citeb' on page \thepage \space undefined}\def\NAT@date{}}%
+ {\let\NAT@last@nm=\NAT@nm\let\NAT@last@yr=\NAT@year
+ \NAT@parse{\@citeb}%
+ \ifNAT@longnames\@ifundefined{bv@\@citeb\@extra@b@citeb}{%
+ \let\NAT@name=\NAT@all@names
+ \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}{}%
+ \fi
+ \ifNAT@full\let\NAT@nm\NAT@all@names\else
+ \let\NAT@nm\NAT@name\fi
+ \ifNAT@swa\ifcase\NAT@ctype
+ \if\relax\NAT@date\relax
+ \@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}\NAT@date}%
+ \else
+ \ifx\NAT@last@nm\NAT@nm\NAT@yrsep
+ \ifx\NAT@last@yr\NAT@year
+ \def\NAT@temp{{?}}%
+ \ifx\NAT@temp\NAT@exlab\PackageWarningNoLine{natbib}%
+ {Multiple citation on page \thepage: same authors and
+ year\MessageBreak without distinguishing extra
+ letter,\MessageBreak appears as question mark}\fi
+ \NAT@hyper@{\NAT@exlab}%
+ \else\unskip\NAT@spacechar
+ \NAT@hyper@{\NAT@date}%
+ \fi
+ \else
+ \@citea\NAT@hyper@{%
+ \NAT@nmfmt{\NAT@nm}%
+ \hyper@natlinkbreak{%
+ \NAT@aysep\NAT@spacechar}{\@citeb\@extra@b@citeb
+ }%
+ \NAT@date
+ }%
+ \fi
+ \fi
+ \or\@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}%
+ \or\@citea\NAT@hyper@{\NAT@date}%
+ \or\@citea\NAT@hyper@{\NAT@alias}%
+ \fi \NAT@def@citea
+ \else
+ \ifcase\NAT@ctype
+ \if\relax\NAT@date\relax
+ \@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}%
+ \else
+ \ifx\NAT@last@nm\NAT@nm\NAT@yrsep
+ \ifx\NAT@last@yr\NAT@year
+ \def\NAT@temp{{?}}%
+ \ifx\NAT@temp\NAT@exlab\PackageWarningNoLine{natbib}%
+ {Multiple citation on page \thepage: same authors and
+ year\MessageBreak without distinguishing extra
+ letter,\MessageBreak appears as question mark}\fi
+ \NAT@hyper@{\NAT@exlab}%
+ \else
+ \unskip\NAT@spacechar
+ \NAT@hyper@{\NAT@date}%
+ \fi
+ \else
+ \@citea\NAT@hyper@{%
+ \NAT@nmfmt{\NAT@nm}%
+ \hyper@natlinkbreak{\NAT@spacechar\NAT@@open\if*#1*\else#1\NAT@spacechar\fi}%
+ {\@citeb\@extra@b@citeb}%
+ \NAT@date
+ }%
+ \fi
+ \fi
+ \or\@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}%
+ \or\@citea\NAT@hyper@{\NAT@date}%
+ \or\@citea\NAT@hyper@{\NAT@alias}%
+ \fi
+ \if\relax\NAT@date\relax
+ \NAT@def@citea
+ \else
+ \NAT@def@citea@close
+ \fi
+ \fi
+ }}\ifNAT@swa\else\if*#2*\else\NAT@cmt#2\fi
+ \if\relax\NAT@date\relax\else\NAT@@close\fi\fi}}{#1}{#2}}
+\newcommand\NAT@Latin@citexnum{}
+\def\NAT@Latin@citexnum[#1][#2]#3{%
+ \NAT@reset@parser
+ \NAT@sort@cites{#3}%
+ \NAT@reset@citea
+ \@cite{\lr{\def\NAT@num{-1}\let\NAT@last@yr\relax\let\NAT@nm\@empty
+ \@for\@citeb:=\NAT@cite@list\do
+ {\@safe@activestrue
+ \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
+ \@safe@activesfalse
+ \@ifundefined{b@\@citeb\@extra@b@citeb}{%
+ {\reset@font\bfseries?}
+ \NAT@citeundefined\PackageWarning{natbib}%
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+ {\let\NAT@last@num\NAT@num\let\NAT@last@nm\NAT@nm
+ \NAT@parse{\@citeb}%
+ \ifNAT@longnames\@ifundefined{bv@\@citeb\@extra@b@citeb}{%
+ \let\NAT@name=\NAT@all@names
+ \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}{}%
+ \fi
+ \ifNAT@full\let\NAT@nm\NAT@all@names\else
+ \let\NAT@nm\NAT@name\fi
+ \ifNAT@swa
+ \@ifnum{\NAT@ctype>\@ne}{%
+ \@citea
+ \NAT@hyper@{\@ifnum{\NAT@ctype=\tw@}{\NAT@test{\NAT@ctype}}{\NAT@alias}}%
+ }{%
+ \@ifnum{\NAT@cmprs>\z@}{%
+ \NAT@ifcat@num\NAT@num
+ {\let\NAT@nm=\NAT@num}%
+ {\def\NAT@nm{-2}}%
+ \NAT@ifcat@num\NAT@last@num
+ {\@tempcnta=\NAT@last@num\relax}%
+ {\@tempcnta\m@ne}%
+ \@ifnum{\NAT@nm=\@tempcnta}{%
+ \@ifnum{\NAT@merge>\@ne}{}{\NAT@last@yr@mbox}%
+ }{%
+ \advance\@tempcnta by\@ne
+ \@ifnum{\NAT@nm=\@tempcnta}{%
+ \ifx\NAT@last@yr\relax
+ \def@NAT@last@yr{\@citea}%
+ \else
+ \def@NAT@last@yr{--\NAT@penalty}%
+ \fi
+ }{%
+ \NAT@last@yr@mbox
+ }%
+ }%
+ }{%
+ \@tempswatrue
+ \@ifnum{\NAT@merge>\@ne}{\@ifnum{\NAT@last@num=\NAT@num\relax}{\@tempswafalse}{}}{}%
+ \if@tempswa\NAT@citea@mbox\fi
+ }%
+ }%
+ \NAT@def@citea
+ \else
+ \ifcase\NAT@ctype
+ \ifx\NAT@last@nm\NAT@nm \NAT@yrsep\NAT@penalty\NAT@space\else
+ \@citea \NAT@test{\@ne}\NAT@spacechar\NAT@mbox{\NAT@super@kern\NAT@@open}%
+ \fi
+ \if*#1*\else#1\NAT@spacechar\fi
+ \NAT@mbox{\NAT@hyper@{{\citenumfont{\NAT@num}}}}%
+ \NAT@def@citea@box
+ \or
+ \NAT@hyper@citea@space{\NAT@test{\NAT@ctype}}%
+ \or
+ \NAT@hyper@citea@space{\NAT@test{\NAT@ctype}}%
+ \or
+ \NAT@hyper@citea@space\NAT@alias
+ \fi
+ \fi
+ }%
+ }%
+ \@ifnum{\NAT@cmprs>\z@}{\NAT@last@yr}{}%
+ \ifNAT@swa\else
+ \@ifnum{\NAT@ctype=\z@}{%
+ \if*#2*\else\NAT@cmt#2\fi
+ }{}%
+ \NAT@mbox{\NAT@@close}%
+ \fi
+ }}{#1}{#2}%
+}%
+\AtBeginDocument{\NAT@set@cites}
+\DeclareRobustCommand\Latincite
+ {\begingroup\let\NAT@ctype\z@\NAT@partrue\NAT@swatrue
+ \@ifstar{\NAT@fulltrue\NAT@Latin@cites}{\NAT@fullfalse\NAT@Latin@cites}}
+\newcommand\NAT@Latin@cites{\@ifnextchar [{\NAT@@Latin@@citetp}{%
+ \ifNAT@numbers\else
+ \NAT@swafalse
+ \fi
+ \NAT@@Latin@@citetp[]}}
+\newcommand\NAT@@Latin@@citetp{}
+\def\NAT@@Latin@@citetp[#1]{\@ifnextchar[{\@Latincitex[#1]}{\@Latincitex[][#1]}}
+% \end{macrocode}
+% \iffalse
+%</natbib-xepersian.def>
+%<*packages-localise-xepersian.def>
+%\fi
+% \subsection{\textsf{packages-localise-xepersian.def}}
+% \begin{macrocode}
+\آماده‌سازی‌پرونده{packages-localise-xepersian.def}[2011/03/01 v0.1 localising LaTeX2e Packages]
+\@گرسبک‌فراخوانی‌شده{color}{\ورودی{color-localise.def}}{}
+\@ifpackageloaded{multicol}{%
+\newenvironment{چندستونی‌ها}{\begin{multicols}}{\end{multicols}}%
+\newenvironment{چندستونی‌ها*}{\begin{multicols*}}{\end{multicols*}}%
+}{}
+\@ifpackageloaded{verbatim}{%
+\begingroup
+ \vrb@catcodes
+ \lccode`\!=`\\ \lccode`\[=`\{ \lccode`\]=`\}
+ \catcode`\~=\active \lccode`\~=`\^^M
+ \lccode`\C=`\C
+ \lowercase{\endgroup
+ \def\xepersian@localize@verbatim@start#1{%
+ \verbatim@startline
+ \if\noexpand#1\noexpand~%
+ \let\next\xepersian@localize@verbatim@
+ \else \def\next{\xepersian@localize@verbatim@#1}\fi
+ \next}%
+ \def\xepersian@localize@verbatim@#1~{\xepersian@localize@verbatim@@#1!پایان\@nil}%
+ \def\xepersian@localize@verbatim@@#1!پایان{%
+ \verbatim@addtoline{#1}%
+ \futurelet\next\xepersian@localize@verbatim@@@}%
+ \def\xepersian@localize@verbatim@@@#1\@nil{%
+ \ifx\next\@nil
+ \verbatim@processline
+ \verbatim@startline
+ \let\next\xepersian@localize@verbatim@
+ \else
+ \def\@tempa##1!پایان\@nil{##1}%
+ \@temptokena{!پایان}%
+ \def\next{\expandafter\verbatim@test\@tempa#1\@nil~}%
+ \fi \next}%
+ \def\verbatim@test#1{%
+ \let\next\verbatim@test
+ \if\noexpand#1\noexpand~%
+ \expandafter\verbatim@addtoline
+ \expandafter{\the\@temptokena}%
+ \verbatim@processline
+ \verbatim@startline
+ \let\next\xepersian@localize@verbatim@
+ \else \if\noexpand#1
+ \@temptokena\expandafter{\the\@temptokena#1}%
+ \else \if\noexpand#1\noexpand[%
+ \let\@tempc\@empty
+ \let\next\verbatim@testend
+ \else
+ \expandafter\verbatim@addtoline
+ \expandafter{\the\@temptokena}%
+ \def\next{\xepersian@localize@verbatim@#1}%
+ \fi\fi\fi
+ \next}%
+ \def\verbatim@testend#1{%
+ \if\noexpand#1\noexpand~%
+ \expandafter\verbatim@addtoline
+ \expandafter{\the\@temptokena[}%
+ \expandafter\verbatim@addtoline
+ \expandafter{\@tempc}%
+ \verbatim@processline
+ \verbatim@startline
+ \let\next\xepersian@localize@verbatim@
+ \else\if\noexpand#1\noexpand]%
+ \let\next\verbatim@@testend
+ \else\if\noexpand#1\noexpand!%
+ \expandafter\verbatim@addtoline
+ \expandafter{\the\@temptokena[}%
+ \expandafter\verbatim@addtoline
+ \expandafter{\@tempc}%
+ \def\next{\xepersian@localize@verbatim@!}%
+ \else \expandafter\def\expandafter\@tempc\expandafter
+ {\@tempc#1}\fi\fi\fi
+ \next}%
+ \def\verbatim@@testend{%
+ \ifx\@tempc\@currenvir
+ \verbatim@finish
+ \edef\next{\noexpand\end{\@currenvir}%
+ \noexpand\verbatim@rescan{\@currenvir}}%
+ \else
+ \expandafter\verbatim@addtoline
+ \expandafter{\the\@temptokena[}%
+ \expandafter\verbatim@addtoline
+ \expandafter{\@tempc]}%
+ \let\next\xepersian@localize@verbatim@
+ \fi
+ \next}%
+ \def\verbatim@rescan#1#2~{\if\noexpand~\noexpand#2~\else
+ \@warning{Characters dropped after `\string\end{#1}'}\fi}}%
+\def\همانطورکه‌هست{\begingroup\@verbatim \frenchspacing\@vobeyspaces
+ \xepersian@localize@verbatim@start}
+\@namedef{همانطورکه‌هست*}{\begingroup\@verbatim\xepersian@localize@verbatim@start}
+\def\endهمانطورکه‌هست{\endtrivlist\endgroup\@doendpe}
+\expandafter\let\csname endهمانطورکه‌هست*\endcsname =\endهمانطورکه‌هست
+}{}
+\ExplSyntaxOn
+\AtBeginDocument{
+ \xepersian_localize_patch_verbatim:
+}
+\cs_set:Npn \xepersian_localize_patch_verbatim: {
+ \@ifpackageloaded{verbatim}{
+ \cs_set:cpn {همانطورکه‌هست*} {
+ \group_begin: \@verbatim \fontspec_print_visible_spaces: \xepersian@localize@verbatim@start
+ }
+ }{
+ }
+}
+\ExplSyntaxOff
+\@ifpackageloaded{graphicx}{%
+\def\Gin@boolkey#1#2{%
+\expandafter\@ifdefinable \csname Gin@#2درست\endcsname{%
+\expandafter\let\csname Gin@#2درست\expandafter\endcsname\csname Gin@#2true\endcsname}%
+\expandafter\@ifdefinable \csname Gin@#2نادرست\endcsname{%
+\expandafter\let\csname Gin@#2نادرست\expandafter\endcsname\csname Gin@#2false\endcsname}%
+ \csname Gin@#2\ifx\relax#1\relax true\else#1\fi\endcsname}
+\define@key{Grot}{origin}[c]{%
+ \@tfor\@tempa:=#1\do{%
+ \if l\@tempa \Grot@x\z@\else
+ \if چ\@tempa \Grot@x\z@\else
+ \if r\@tempa \Grot@x\width\else
+ \if ر\@tempa \Grot@x\width\else
+ \if t\@tempa \Grot@y\height\else
+ \if ب\@tempa \Grot@y\height\else
+ \if b\@tempa \Grot@y-\depth\else
+ \if ز\@tempa \Grot@y-\depth\else
+ \if B\@tempa \Grot@y\z@\else
+ \if ک\@tempa \Grot@y\z@\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}}
+\معادل@کلید{Gin}{پیش‌نویس}{draft}
+\معادل@کلید{Gin}{مبدا}{origin}
+\معادل@کلید{Grot}{مبدا}{origin}
+\معادل@کلید{Gin}{بی‌اضافه}{clip}
+\معادل@کلید{Gin}{حفظ‌تناسب}{keepaspectratio}
+\معادل@کلید{Gin}{پهنای‌طبیعی}{natwidth}
+\معادل@کلید{Gin}{بلندای‌طبیعی}{natheight}
+\معادل@کلید{Gin}{مختصات}{bb}
+\معادل@کلید{Gin}{محدوده‌نمایش}{viewport}
+\معادل@کلید{Gin}{حذف‌اطراف}{trim}
+\معادل@کلید{Gin}{زاویه}{angle}
+\معادل@کلید{Gin}{پهنا}{width}
+\معادل@کلید{Gin}{بلندا}{height}
+\معادل@کلید{Gin}{بلندای‌کل}{totalheight}
+\معادل@کلید{Gin}{ضریب}{scale}
+\معادل@کلید{Gin}{نوع}{type}
+\معادل@کلید{Gin}{پسوند}{ext}
+\معادل@کلید{Gin}{خواندنی}{read}
+\معادل@کلید{Gin}{فرمان}{command}
+\معادل@کلید{Grot}{طول}{x}
+\معادل@کلید{Grot}{عرض}{y}
+\معادل@کلید{Grot}{واحد}{units}
+}{}
+% \end{macrocode}
+% \iffalse
+%</packages-localise-xepersian.def>
+%<*parsidigits.map>
+%\fi
+% \subsection{\textsf{parsidigits.map}}
+% \begin{macrocode}
+LHSName "Digits"
+RHSName "ParsiDigits"
+
+pass(Unicode)
+U+0030 <> U+06F0 ;
+U+0031 <> U+06F1 ;
+U+0032 <> U+06F2 ;
+U+0033 <> U+06F3 ;
+U+0034 <> U+06F4 ;
+U+0035 <> U+06F5 ;
+U+0036 <> U+06F6 ;
+U+0037 <> U+06F7 ;
+U+0038 <> U+06F8 ;
+U+0039 <> U+06F9 ;
+
+
+U+002C <> U+060C ; comma ­> arabic comma
+U+003F <> U+061F ; question mark -> arabic qm
+U+003B <> U+061B ; semicolon -> arabic semicolon
+
+; ligatures from Knuth's original CMR fonts
+U+002D U+002D <> U+2013 ; -- -> en dash
+U+002D U+002D U+002D <> U+2014 ; --- -> em dash
+
+U+0027 <> U+2019 ; ' -> right single quote
+U+0027 U+0027 <> U+201D ; '' -> right double quote
+U+0022 > U+201D ; " -> right double quote
+
+U+0060 <> U+2018 ; ` -> left single quote
+U+0060 U+0060 <> U+201C ; `` -> left double quote
+
+U+0021 U+0060 <> U+00A1 ; !` -> inverted exclam
+U+003F U+0060 <> U+00BF ; ?` -> inverted question
+
+; additions supported in T1 encoding
+U+002C U+002C <> U+201E ; ,, -> DOUBLE LOW-9 QUOTATION MARK
+U+003C U+003C <> U+00AB ; << -> LEFT POINTING GUILLEMET
+U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
+% \end{macrocode}
+% \iffalse
+%</parsidigits.map>
+%<*rapport1-xepersian.def>
+%\fi
+% \subsection{\textsf{rapport1-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{rapport1-xepersian.def}[2010/07/25 v0.1 adaptations for rapport1 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+% \end{macrocode}
+% \iffalse
+%</rapport1-xepersian.def>
+%<*rapport3-xepersian.def>
+%\fi
+% \subsection{\textsf{rapport3-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{rapport3-xepersian.def}[2010/07/25 v0.2 adaptations for rapport3 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+% \end{macrocode}
+% \iffalse
+%</rapport3-xepersian.def>
+%<*refrep-xepersian.def>
+%\fi
+% \subsection{\textsf{refrep-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{refrep-xepersian.def}[2010/07/25 v0.2 adaptations for refrep class]
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}
+}%end appendix
+% \end{macrocode}
+% \iffalse
+%</refrep-xepersian.def>
+%<*report-xepersian.def>
+%\fi
+% \subsection{\textsf{report-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{report-xepersian.def}[2010/07/25 v0.2 adaptations for standard report class]
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}
+}%end appendix
+% \end{macrocode}
+% \iffalse
+%</report-xepersian.def>
+%<*scrartcl-xepersian.def>
+%\fi
+% \subsection{\textsf{scrartcl-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{scrartcl-xepersian.def}[2010/07/25 v0.2 adaptations for scrartcl class]
+\renewcommand*{\thepart}{\@tartibi\c@part}
+\renewcommand*\appendix{\par%
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}%
+ \csname appendixmore\endcsname
+}
+\renewcommand*{\@@maybeautodot}[1]{%
+ \ifx #1\@stop\let\@@maybeautodot\relax
+ \else
+ \ifx #1\harfi \@autodottrue\fi
+ \ifx #1\adadi \@autodottrue\fi
+ \ifx #1\tartibi \@autodottrue\fi
+ \ifx #1\Alph \@autodottrue\fi
+ \ifx #1\alph \@autodottrue\fi
+ \ifx #1\Roman \@autodottrue\fi
+ \ifx #1\roman \@autodottrue\fi
+ \ifx #1\@harfi \@autodottrue\fi
+ \ifx #1\@adadi \@autodottrue\fi
+ \ifx #1\@tartibi \@autodottrue\fi
+ \ifx #1\@Alph \@autodottrue\fi
+ \ifx #1\@alph \@autodottrue\fi
+ \ifx #1\@Roman \@autodottrue\fi
+ \ifx #1\@roman \@autodottrue\fi
+ \ifx #1\romannumeral \@autodottrue\fi
+ \fi
+ \@@maybeautodot
+}
+% \end{macrocode}
+% \iffalse
+%</scrartcl-xepersian.def>
+%<*scrbook-xepersian.def>
+%\fi
+% \subsection{\textsf{scrbook-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{scrbook-xepersian.def}[2010/07/25 v0.2 adaptations for scrbook class]
+\renewcommand*\frontmatter{%
+ \if@twoside\cleardoubleoddpage\else\clearpage\fi
+ \@mainmatterfalse\pagenumbering{harfi}%
+}
+\renewcommand*{\thepart}{\@tartibi\c@part}
+\renewcommand*\appendix{\par%
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}%
+ \csname appendixmore\endcsname
+}
+\renewcommand*{\@@maybeautodot}[1]{%
+ \ifx #1\@stop\let\@@maybeautodot\relax
+ \else
+ \ifx #1\harfi \@autodottrue\fi
+ \ifx #1\adadi \@autodottrue\fi
+ \ifx #1\tartibi \@autodottrue\fi
+ \ifx #1\Alph \@autodottrue\fi
+ \ifx #1\alph \@autodottrue\fi
+ \ifx #1\Roman \@autodottrue\fi
+ \ifx #1\roman \@autodottrue\fi
+ \ifx #1\@harfi \@autodottrue\fi
+ \ifx #1\@adadi \@autodottrue\fi
+ \ifx #1\@tartibi \@autodottrue\fi
+ \ifx #1\@Alph \@autodottrue\fi
+ \ifx #1\@alph \@autodottrue\fi
+ \ifx #1\@Roman \@autodottrue\fi
+ \ifx #1\@roman \@autodottrue\fi
+ \ifx #1\romannumeral \@autodottrue\fi
+ \fi
+ \@@maybeautodot
+}
+% \end{macrocode}
+% \iffalse
+%</scrbook-xepersian.def>
+%<*scrreprt-xepersian.def>
+%\fi
+% \subsection{\textsf{scrreprt-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{scrreprt-xepersian.def}[2010/07/25 v0.2 adaptations for scrreprt class]
+\renewcommand*{\thepart}{\@tartibi\c@part}
+\renewcommand*\appendix{\par%
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}%
+ \csname appendixmore\endcsname
+}
+\renewcommand*{\@@maybeautodot}[1]{%
+ \ifx #1\@stop\let\@@maybeautodot\relax
+ \else
+ \ifx #1\harfi \@autodottrue\fi
+ \ifx #1\adadi \@autodottrue\fi
+ \ifx #1\tartibi \@autodottrue\fi
+ \ifx #1\Alph \@autodottrue\fi
+ \ifx #1\alph \@autodottrue\fi
+ \ifx #1\Roman \@autodottrue\fi
+ \ifx #1\roman \@autodottrue\fi
+ \ifx #1\@harfi \@autodottrue\fi
+ \ifx #1\@adadi \@autodottrue\fi
+ \ifx #1\@tartibi \@autodottrue\fi
+ \ifx #1\@Alph \@autodottrue\fi
+ \ifx #1\@alph \@autodottrue\fi
+ \ifx #1\@Roman \@autodottrue\fi
+ \ifx #1\@roman \@autodottrue\fi
+ \ifx #1\romannumeral \@autodottrue\fi
+ \fi
+ \@@maybeautodot
+}
+% \end{macrocode}
+% \iffalse
+%</scrreprt-xepersian.def>
+%<*tkz-linknodes-xepersian.def>
+%\fi
+% \subsection{\textsf{tkz-linknodes-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{tkz-linknodes-xepersian.def}[2012/06/13 v0.1 adaptations for tkz-linknodes package]
+\renewcommand*{\@SetTab}{%
+ \let\@alph\@latinalph%
+ \ifnum \value{C@NumTab}>25\relax%
+ \setcounter{C@NumTab}{1}%
+ \else%
+ \stepcounter{C@NumTab}%
+ \fi%
+ \setcounter{C@NumGroup}{0}%
+ \newcommand*{\PrefixCurrentTab}{\alph{C@NumTab}}
+ \setboolean{B@FirstLink}{true}
+ \setboolean{B@NewGroup}{false}
+ \setcounter{C@NumGroup}{0}
+ \setcounter{C@CurrentGroup}{0}
+ \setcounter{NumC@Node}{0}
+ \setcounter{NumC@Stop}{0}
+ \setcounter{C@NextNode}{0}
+ \setcounter{C@CurrentStop}{0}
+ \setcounter{C@CurrentNode}{0}
+}%
+% \end{macrocode}
+% \iffalse
+%</tkz-linknodes-xepersian.def>
+%<*tocloft-xepersian.def>
+%\fi
+% \subsection{\textsf{tocloft-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{tocloft-xepersian.def}[2010/07/25 v0.1 bilingual captions for tocloft package]
+\renewcommand*{\cftchapname}{\if@RTL فصل\else chapter\fi}
+\renewcommand*{\cftsecname}{\if@RTL قسمت\else section\fi}
+\renewcommand*{\cftsubsecname}{\if@RTL زیرقسمت\else subsection\fi}
+\renewcommand*{\cftsubsubsecname}{\if@RTL زیرزیرقسمت\else subsubsection\fi}
+\renewcommand*{\cftparaname}{\if@RTL پاراگراف\else paragraph\fi}
+\renewcommand*{\cftsubparaname}{\if@RTL زیرپاراگراف\else subparagraph\fi}
+\renewcommand*{\cftfigname}{\if@RTL شکل\else figure\fi}
+\renewcommand*{\cftsubfigname}{\if@RTL زیرشکل\else subfigure\fi}
+\renewcommand*{\cfttabname}{\if@RTL جدول\else table\fi}
+\renewcommand*{\cftsubtabname}{\if@RTL زیرجدول\else subtable\fi}
+% \end{macrocode}
+% \iffalse
+%</tocloft-xepersian.def>
+%<*xepersian.sty>
+%\fi
+% \subsection{\textsf{xepersian.sty}}
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\def\xepersianversion{v12.1}
+\def\xepersiandate{2013/04/04}
+\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
+Persian typesetting in XeLaTeX]
+\RequirePackage{fontspec}
+\RequirePackage{xepersian-persiancal}
+\RequirePackage{xepersian-mathsdigitspec}
+\RequirePackage[RTLdocument]{bidi}
+\edef\xepersianinfo{%
+xepersian package (Persian for LaTeX over XeTeX)^^J
+Description: The package supports Persian^^J
+typesetting, using fonts provided in the distribution.^^J
+Copyright © 2008–2013 Persian TeX Group^^J
+\xepersianversion, \xepersiandate^^J
+License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J
+Location on CTAN: /macros/xetex/latex/xepersian}
+\typeout{\xepersianinfo}
+\edef\xepersian@everyjob{\the\everyjob}
+\everyjob{\xepersian@everyjob\typeout{\xepersianinfo}}
+\def\prq{«}
+\def\plq{»}
+\def\xepersian@cmds@temp#1{%
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname xepersian@#1\endcsname\relax
+ \begingroup
+ \escapechar=-1 %
+ \edef\x{\expandafter\meaning\csname#1\endcsname}%
+ \def\y{#1}%
+ \def\z##1->{}%
+ \edef\y{\expandafter\z\meaning\y}%
+ \expandafter\endgroup
+ \ifx\x\y
+ \expandafter\def\csname xepersian@#1\expandafter\endcsname
+ \expandafter{%
+ \csname#1\endcsname
+ }%
+ \fi
+ \fi
+}%
+\xepersian@cmds@temp{shellescape}
+\newif\ifwritexviii
+\ifnum\xepersian@shellescape=1\relax
+ \writexviiitrue
+\else
+\writexviiifalse
+\fi
+\newfontscript{Parsi}{arab}
+\newfontlanguage{Parsi}{FAR}
+\ExplSyntaxOn
+\DeclareDocumentCommand \settextfont { O{} m } {
+ \fontspec_select:nn{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \use:x {
+ \exp_not:N \DeclareRobustCommand \exp_not:N \persianfont {
+ \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
+ \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
+ }
+ }
+ \cs_set_eq:NN \rmdefault \l_fontspec_family_tl
+ \normalfont
+}
+\settextfont[ExternalLocation,BoldFont={persian-modern-bold},BoldItalicFont={persian-modern-bolditalic},ItalicFont={persian-modern-italic},SlantedFont={persian-modern-oblique},BoldSlantedFont={persian-modern-boldoblique}]{persian-modern-regular}
+\setdigitfont[ExternalLocation,BoldFont={persian-modern-bold},BoldItalicFont={persian-modern-bolditalic},ItalicFont={persian-modern-italic},SlantedFont={persian-modern-oblique},BoldSlantedFont={persian-modern-boldoblique}]{persian-modern-regular}
+\DeclareDocumentCommand \setlatintextfont { O{} m } {
+ \fontspec_select:nn{Mapping=tex-text,#1}{#2}
+ \use:x {
+ \exp_not:N \DeclareRobustCommand \exp_not:N \latinfont {
+ \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
+ \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
+ }
+ }
+}
+\setlatintextfont[ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={lmroman10-bolditalic},ItalicFont={lmroman10-italic},SmallCapsFont={lmromancaps10-regular},SlantedFont={lmromanslant10-regular},BoldSlantedFont={lmromanslant10-bold}]{lmroman10-regular}
+\cs_set_eq:NN \setlatinsansfont \setsansfont
+\cs_set_eq:NN \setlatinmonofont \setmonofont
+\DeclareDocumentCommand \defpersianfont { m O{} m } {
+ \fontspec_select:nn{Script=Parsi,Language=Parsi,Mapping=parsidigits,#2}{#3}
+ \use:x {
+ \exp_not:N \DeclareRobustCommand \exp_not:N #1 {
+ \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
+ \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
+ }
+ }
+}
+\DeclareDocumentCommand \deflatinfont { m O{} m } {
+ \fontspec_select:nn{Mapping=tex-text,#2}{#3}
+ \use:x {
+ \exp_not:N \DeclareRobustCommand \exp_not:N #1 {
+ \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
+ \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
+ }
+ }
+}
+\newcommand\persiansfdefault{}
+\newcommand\persianttdefault{}
+\newcommand\iranicdefault{}
+\newcommand\navardefault{}
+\newcommand\pookdefault{}
+\newcommand\sayehdefault{}
+\DeclareRobustCommand\persiansffamily
+ {\not@math@alphabet\persiansffamily\mathpersiansf
+ \fontfamily\persiansfdefault\selectfont}
+\DeclareRobustCommand\persianttfamily
+ {\not@math@alphabet\persianttfamily\mathpersiantt
+ \fontfamily\persianttdefault\selectfont}
+\DeclareRobustCommand\iranicfamily
+ {\not@math@alphabet\iranicfamily\mathiranic
+ \fontfamily\iranicdefault\selectfont}
+\DeclareRobustCommand\navarfamily
+ {\not@math@alphabet\navarfamily\mathnavar
+ \fontfamily\navardefault\selectfont}
+\DeclareRobustCommand\pookfamily
+ {\not@math@alphabet\pookfamily\mathpook
+ \fontfamily\pookdefault\selectfont}
+\DeclareRobustCommand\sayehfamily
+ {\not@math@alphabet\sayehfamily\mathsayeh
+ \fontfamily\sayehdefault\selectfont}
+\DeclareTextFontCommand{\textpersiansf}{\persiansffamily}
+\DeclareTextFontCommand{\textpersiantt}{\persianttfamily}
+\DeclareTextFontCommand{\textiranic}{\iranicfamily}
+\DeclareTextFontCommand{\textnavar}{\navarfamily}
+\DeclareTextFontCommand{\textpook}{\pookfamily}
+\DeclareTextFontCommand{\textsayeh}{\sayehfamily}
+\DeclareDocumentCommand \setpersiansansfont { O{} m } {
+ \fontspec_set_family:Nnn \persiansfdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\DeclareDocumentCommand \setpersianmonofont { O{} m } {
+ \fontspec_set_family:Nnn \persianttdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\DeclareDocumentCommand \setnavarfont { O{} m } {
+ \fontspec_set_family:Nnn \navardefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\DeclareDocumentCommand \setpookfont { O{} m } {
+ \fontspec_set_family:Nnn \pookdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\setpookfont[ExternalLocation,ItalicFont={persian-modern-italicoutline},SlantedFont={persian-modern-obliqueoutline}]{persian-modern-outline}
+\DeclareDocumentCommand \setsayehfont { O{} m } {
+ \fontspec_set_family:Nnn \sayehdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\setsayehfont[ExternalLocation,ItalicFont={persian-modern-italicshadow},SlantedFont={persian-modern-obliqueshadow}]{persian-modern-shadow}
+\DeclareDocumentCommand \setiranicfont { O{} m } {
+ \fontspec_set_family:Nnn \iranicdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\ExplSyntaxOff
+\setiranicfont[ExternalLocation,BoldFont={persian-modern-boldoblique}]{persian-modern-oblique}
+\def\resetlatinfont{%
+\let\normalfont\latinfont%
+\let\reset@font\normalfont%
+\latinfont}
+\def\setpersianfont{%
+\let\normalfont\persianfont%
+\let\reset@font\normalfont%
+\persianfont}
+\bidi@newrobustcmd*{\lr}[1]{\LRE{\@Latintrue\latinfont#1}}
+\bidi@newrobustcmd*{\rl}[1]{\RLE{\@Latinfalse\persianfont#1}}
+\def\latin{\LTR\LatinAlphs\@Latintrue\@RTL@footnotefalse\resetlatinfont}
+\def\endlatin{\endLTR}
+\def\persian{\RTL\PersianAlphs\@RTL@footnotetrue\setpersianfont}
+\def\endpersian{\endRTL}
+\let\originaltoday=\today
+\def\latintoday{\lr{\originaltoday}}
+\def\today{\rl{\persiantoday}}
+\def \@LTRmarginparreset {%
+ \reset@font
+ \latinfont
+ \normalsize
+ \@minipagetrue
+ \everypar{\@minipagefalse\everypar{}\beginL}%
+}
+\DeclareRobustCommand\Latincite{%
+ \@ifnextchar [{\@tempswatrue\@Latincitex}{\@tempswafalse\@Latincitex[]}}
+\def\@Latincitex[#1]#2{\leavevmode
+ \let\@citea\@empty
+ \@cite{\lr{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@\@citeb}{\hbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue
+ \@latex@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+ {\@cite@ofmt{\csname b@\@citeb\endcsname}}}}}{#1}}
+\def\@outputpage{%
+\begingroup % the \endgroup is put in by \aftergroup
+ \let \protect \noexpand
+ \@resetactivechars
+ \global\let\@@if@newlist\if@newlist
+ \global\@newlistfalse
+ \@parboxrestore
+ \shipout \vbox{%
+ \set@typeset@protect
+ \aftergroup \endgroup
+ \aftergroup \set@typeset@protect
+ % correct? or just restore by ending
+ % the group?
+ \if@specialpage
+ \global\@specialpagefalse\@nameuse{ps@\@specialstyle}%
+ \fi
+ \if@twoside
+ \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
+ \let\@themargin\oddsidemargin
+ \else \let\@thehead\@evenhead
+ \let\@thefoot\@evenfoot \let\@themargin\evensidemargin
+ \fi
+ \ifx\@thehead\@empty \let\@thehead\hfil \fi
+ \ifx\@thefoot\@empty \let\@thefoot\hfil \fi
+ \else %% not @twoside
+ \ifx\@oddhead\@empty \let\@thehead\hfil \fi
+ \ifx\@oddfoot\@empty \let\@thefoot\hfil \fi
+ \fi
+ \reset@font
+ \normalsize
+ \if@RTLmain\setpersianfont\else\resetlatinfont\fi
+ \normalsfcodes
+ \let\label\@gobble
+ \let\index\@gobble
+ \let\glossary\@gobble
+ \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@
+ \@begindvi
+ \vskip \topmargin
+ \moveright\@themargin \vbox {%
+ \setbox\@tempboxa \vbox to\headheight{%
+ \vfil
+ \color@hbox
+ \normalcolor
+ \hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thehead\if@RTLmain\endR\else\endL\fi}%
+ \color@endbox
+ }% %% 22 Feb 87
+ \dp\@tempboxa \z@
+ \box\@tempboxa
+ \vskip \headsep
+ \box\@outputbox
+ \baselineskip \footskip
+ \color@hbox
+ \normalcolor
+ \hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thefoot\if@RTLmain\endR\else\endL\fi}%
+ \color@endbox
+ }%
+ }%
+ \global\let\if@newlist\@@if@newlist
+ \global \@colht \textheight
+ \stepcounter{page}%
+ \let\firstmark\botmark
+}
+\newcommand\twocolumnstableofcontents{%
+\@ifpackageloaded{multicol}{%
+ \begin{multicols}{2}[\section*{\contentsname}]%
+ \small
+ \@starttoc{toc}%
+ \end{multicols}}
+{\PackageError{xepersian}{Oops! you should load multicol package before xepersian package for being able to use this command}{}}}
+\def\XePersian{\leavevmode$\smash{\hbox{X\lower.5ex
+ \hbox{\kern-.125em\reflect{E}}Persian}}$}
+\def\figurename{\if@RTL شکل\else Figure\fi}
+\def\tablename{\if@RTL جدول\else Table\fi}
+\def\contentsname{\if@RTL فهرست مطالب\else Contents\fi}
+\def\listfigurename{\if@RTL فهرست تصاویر\else List of Figures\fi}
+\def\listtablename{\if@RTL فهرست جداول\else List of Tables\fi}
+\def\appendixname{\if@RTL پیوست\else Appendix\fi}
+\def\indexname{\if@RTL نمایه\else Index\fi}
+\def\refname{\if@RTL مراجع\else References\fi}
+\def\abstractname{\if@RTL چکیده\else Abstract\fi}
+\def\partname{\if@RTL بخش\else Part\fi}
+\def\datename{\if@RTL تاریخ:\else Date:\fi}
+\def\@@and{\if@RTL و\else and\fi}
+\def\bibname{\if@RTL کتاب‌نامه\else Bibliography\fi}
+\def\chaptername{\if@RTL فصل\else Chapter\fi}
+\def\ccname{\if@RTL رونوشت\else cc\fi}
+\def\enclname{\if@RTL پیوست\else encl\fi}
+\def\pagename{\if@RTL صفحه\else Page\fi}
+\def\headtoname{\if@RTL به\else To\fi}
+\def\proofname{\if@RTL اثبات\else Proof\fi}
+\def\@harfi#1{\ifcase#1\or آ‍\or ب\or پ\or ت\or ث\or
+ج\or چ\or ح\or خ\or د\or ذ\or ر\or ز\or ژ\or س\or ش\or ص\or ض\or ط\or ظ\or ع\or غ\or
+ف\or ق\or ک\or گ\or ل\or م\or ن\or و\or ه\or ی\else\@ctrerr\fi}
+\def\harfi#1{\expandafter\@harfi\csname c@#1\endcsname}
+\let\harfinumeral\@harfi
+\newcommand{\adadi}[1]{%
+\expandafter\@adadi\csname c@#1\endcsname%
+}
+\newcommand{\@adadi}[1]{%
+\xepersian@numberstring{#1}\xepersian@yekanii{صفر}{}%
+}
+\let\adadinumeral\@adadi%
+\def\xepersian@numberoutofrange#1#2{%
+\PackageError{xepersian}{The number `#1' is too large %
+to be formatted using xepersian}{The largest possible %
+number is 999,999,999.}%
+}
+\def\xepersian@numberstring#1#2#3#4{%
+\ifnum\number#1<\@ne%
+#3%
+\else\ifnum\number#1<1000000000 %
+\expandafter\xepersian@adadi\expandafter{\number#1}#2%
+\else%
+\xepersian@numberoutofrange{#1}{#4}%
+\fi\fi%
+}
+\def\xepersian@adadi#1#2{%
+\expandafter\xepersian@@adadi%
+\ifcase%
+\ifnum#1<10 1%
+\else\ifnum#1<100 2%
+\else\ifnum#1<\@m 3%
+\else\ifnum#1<\@M 4%
+\else\ifnum#1<100000 5%
+\else\ifnum#1<1000000 6%
+\else\ifnum#1<10000000 7%
+\else\ifnum#1<100000000 8%
+\else9%
+\fi\fi\fi\fi\fi\fi\fi\fi %
+\or00000000#1% case 1: Add 8 leading zeros
+\or0000000#1% case 2: Add 7 leading zeros
+\or000000#1% case 3: Add 6 leading zeros
+\or00000#1% case 4: Add 5 leading zeros
+\or0000#1% case 5: Add 4 leading zeros
+\or000#1% case 6: Add 3 leading zeros
+\or00#1% case 7: Add 2 leading zeros
+\or0#1% case 8: Add 1 leading zero
+\or#1% case 9: Add no leading zeros
+\or%
+\@nil#2%
+\fi%
+}
+\def\xepersian@@adadi#1#2#3#4#5#6#7\or#8\@nil#9{%
+\ifnum#1#2#3>\z@
+\xepersian@milyoongan#1#2#3%
+\ifnum#7>\z@\ifnum#4#5#6>\z@\ و \else\ و \fi\else\ifnum#4#5#6>\z@\ و \fi\fi%
+\fi%
+\ifnum#4#5#6>\z@%
+\xepersian@sadgan#4#5#6{#1#2#3}{#4#5}\xepersian@yekani%
+\ifnum#4#5#6>\@ne‌\fi%
+هزار%
+\ifnum#7>\z@\ و \fi%
+\fi%
+\xepersian@sadgan#7{#4#5#6}1#9%
+}
+\def\xepersian@milyoongan#1#2#3{%
+\ifnum#1#2#3=\@ne%
+\xepersian@sadgan#1#2#301\xepersian@yekaniii%
+‌%
+میلیون%
+\else%
+\xepersian@sadgan#1#2#301\xepersian@yekanii%
+‌%
+میلیون%
+\fi%
+}
+\def\xepersian@sadgan#1#2#3#4#5#6{%
+\ifnum#1>\z@%
+\ifnum#4#1>\@ne\xepersian@yekaniv#1\fi%
+صد%
+\ifnum#2#3>\z@\ و \fi%
+\fi%
+\ifnum#2#3<20%
+\ifnum#5#2#3>\@ne#6{#2#3}\fi%
+\else%
+\xepersian@dahgan#2%
+\ifnum#3>\z@\ و \xepersian@yekani#3\fi%
+#60%
+\fi%
+}
+\def\xepersian@yekani#1{%
+\ifcase#1\@empty\or یک\or دو\or سه\or چهار\or پنج\or شش%
+\or هفت\or هشت\or نه\or ده\or یازده\or دوازده\or سیزده%
+\or چهارده\or پانزده\or شانزده\or هفده%
+\or هجده\or نوزده\fi%
+}
+\def\xepersian@yekanii#1{%
+\ifcase#1\@empty\or یک\else\xepersian@yekani{#1}\fi%
+}
+\def\xepersian@yekaniii#1{%
+\ifcase#1\@empty\or یک\else\xepersian@yekani{#1}\fi%
+}
+\def\xepersian@yekaniv#1{%
+\ifcase#1\@empty\or\or دوی\or سی\or چهار\or پان\or شش%
+\or هفت\or هشت\or نه\fi%
+}
+\def\xepersian@dahgan#1{%
+\ifcase#1\or\or بیست\or سی\or چهل%
+\or پنجاه\or شصت\or هفتاد\or هشتاد%
+\or نود\fi%
+}
+\newcommand{\tartibi}[1]{%
+\expandafter\@tartibi\csname c@#1\endcsname%
+}
+\newcommand{\@tartibi}[1]{%
+\xepersian@numberstring@tartibi{#1}\xepersian@tartibi{صفرم}{م}%
+}
+\let\tartibinumeral\@tartibi%
+\def\xepersian@numberstring@tartibi#1#2#3#4{%
+\ifnum\number#1<\@ne%
+#3%
+\else\ifnum\number#1<1000000000 %
+\expandafter\xepersian@adadi@tartibi\expandafter{\number#1}#2%
+\else%
+\xepersian@numberoutofrange{#1}{#4}%
+\fi\fi%
+}
+\def\xepersian@adadi@tartibi#1#2{%
+\expandafter\xepersian@@adadi@tartibi%
+\ifcase%
+\ifnum#1<10 1%
+\else\ifnum#1<100 2%
+\else\ifnum#1<\@m 3%
+\else\ifnum#1<\@M 4%
+\else\ifnum#1<100000 5%
+\else\ifnum#1<1000000 6%
+\else\ifnum#1<10000000 7%
+\else\ifnum#1<100000000 8%
+\else9%
+\fi\fi\fi\fi\fi\fi\fi\fi %
+\or00000000#1% case 1: Add 8 leading zeros
+\or0000000#1% case 2: Add 7 leading zeros
+\or000000#1% case 3: Add 6 leading zeros
+\or00000#1% case 4: Add 5 leading zeros
+\or0000#1% case 5: Add 4 leading zeros
+\or000#1% case 6: Add 3 leading zeros
+\or00#1% case 7: Add 2 leading zeros
+\or0#1% case 8: Add 1 leading zero
+\or#1% case 9: Add no leading zeros
+\or%
+\@nil#2%
+\fi%
+}
+\def\xepersian@@adadi@tartibi#1#2#3#4#5#6#7\or#8\@nil#9{%
+\ifnum#1#2#3>\z@
+\xepersian@milyoongan@tartibi#1#2#3%
+\ifnum#7>\z@\ifnum#4#5#6>\z@\ و \else\ و \fi\else\ifnum#4#5#6>\z@\ و \fi\fi%
+\fi%
+\ifnum#4#5#6>\z@%
+\xepersian@sadgan#4#5#6{#1#2#3}{#4#5}\xepersian@yekani%
+\ifnum#4#5#6>\@ne ‌\fi%
+هزار%
+\ifnum#7>\z@\ و \fi%
+\fi%
+\xepersian@sadgan@tartibi#7{#4#5#6}1#9%
+}
+\def\xepersian@milyoongan@tartibi#1#2#3{%
+\ifnum#1#2#3=\@ne%
+\xepersian@sadgan@tartibi#1#2#301\xepersian@yekaniii%
+‌%
+میلیون%
+\else%
+\xepersian@sadgan#1#2#301\xepersian@yekanii%
+‌%
+میلیون%
+\fi%
+}
+\def\xepersian@sadgan@tartibi#1#2#3#4#5#6{%
+\ifnum#1>\z@%
+\ifnum#4#1>\@ne\xepersian@yekaniv#1\fi%
+صد%
+\ifnum#2#3>\z@\ و \fi%
+\fi%
+\ifnum#2#3<20%
+\ifnum#5#2#3>\@ne\ifnum#1#2#3#4#5=10001 اول\else#6{#2#3}\fi\fi%
+\else%
+\xepersian@dahgan#2%
+\ifnum#3>\z@\ و \xepersian@yekanv#3\fi%
+#60%
+\fi%
+}
+\def\xepersian@tartibi#1{%
+\ifcase#1م\or یکم\or دوم\or سوم\or چهارم%
+\or پنجم\or ششم\or هفتم\or هشتم\or نهم%
+\or دهم\or یازدهم\or دوازدهم\or سیزدهم%
+\or چهاردهم\or پانزدهم\or شانزدهم%
+\or هفدهم\or هجدهم\or نوزدهم\fi%
+}
+\def\xepersian@yekanv#1{%
+\ifcase#1\@empty\or یک\or دو\or سو\or چهار\or پنج\or شش%
+\or هفت\or هشت\or نه\or ده\or یازده\or دوازده\or سیزده%
+\or چهارده\or پانزده\or شانزده\or هفده%
+\or هجده\or نوزده\fi%
+}
+\providecommand*{\xpg@warning}[1]{%
+ \PackageWarning{XePersian}%
+ {#1}}
+\if@bidi@csundef{abjadnumeral}{%
+\def\abjadnumeral#1{%
+\ifnum#1>1999 \xpg@warning{Illegal value (#1) for abjad numeral} {#1}
+\else
+ \ifnum#1<\z@\space\xpg@warning{Illegal value (#1) for abjad numeral}%
+ \else
+ \ifnum#1<10\expandafter\abj@num@i\number#1%
+ \else
+ \ifnum#1<100\expandafter\abj@num@ii\number#1%
+ \else
+ \ifnum#1<\@m\expandafter\abj@num@iii\number#1%
+ \else
+ \ifnum#1<\@M\expandafter\abj@num@iv\number#1%since #1<2000, we must have 1000
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+\fi
+}
+\def\abjad@zero{}
+\def\abj@num@i#1{%
+ \ifcase#1\or آ\or ب\or ج\or د%
+ \or ه‍\or و\or ز\or ح\or ط\fi
+ \ifnum#1=\z@\abjad@zero\fi}
+\def\abj@num@ii#1{%
+ \ifcase#1\or ی\or ک\or ل\or م\or ن%
+ \or س\or ع\or ف\or ص\fi
+ \ifnum#1=\z@\fi\abj@num@i}
+\def\abj@num@iii#1{%
+ \ifcase#1\or ق\or ر\or ش\or ت\or ث%
+ \or خ\or ذ\or ض\or ظ\fi
+ \ifnum#1=\z@\fi\abj@num@ii}
+\def\abj@num@iv#1{%
+ \ifcase#1\or غ\fi
+ \ifnum#1=\z@\fi\abj@num@iii}
+}{}
+ \let\@latinalph\@alph%
+ \let\@latinAlph\@Alph%
+\def\PersianAlphs{%
+ \let\@alph\abjadnumeral%
+ \let\@Alph\abjadnumeral%
+}
+\def\LatinAlphs{%
+ \let\@alph\@latinalph%
+ \let\@Alph\@latinAlph%
+}
+\PersianAlphs
+\@ifdefinitionfileloaded{loadingorder-bidi}{\input{loadingorder-bidi-xepersian.def}}{}
+\@ifpackageloaded{listings}{\input{listings-xepersian.def}}{}
+\@ifpackageloaded{algorithmic}{\input{algorithmic-xepersian.def}}{}
+\@ifpackageloaded{algorithm}{\input{algorithm-xepersian.def}}{}
+\@ifpackageloaded{backref}{\input{backref-xepersian.def}}{}
+\@ifpackageloaded{flowfram}{\input{flowfram-xepersian.def}}{}
+\@ifpackageloaded{bidi}{\input{footnote-bidi-xepersian.def}}{}
+\@ifpackageloaded{bidituftesidenote}{\input{bidituftesidenote-xepersian.def}}{}
+\@ifpackageloaded{bidicode}{\input{bidicode-xepersian.def}}{}
+\@ifpackageloaded{breqn}{\input{breqn-xepersian.def}}{}
+\@ifpackageloaded{enumerate}{\input{enumerate-xepersian.def}}{}
+\@ifpackageloaded{empheq}{\input{empheq-xepersian.def}}{}
+\@ifpackageloaded{framed}{\input{framed-bidi-xepersian.def}}{}
+\@ifpackageloaded{hyperref}{\input{hyperref-xepersian.def}}{}
+\@ifpackageloaded{minitoc}{\input{minitoc-xepersian.def}}{}
+\@ifpackageloaded{natbib}{\input{natbib-xepersian.def}}{}
+\@ifpackageloaded{tkz-linknodes}{\input{tkz-linknodes-xepersian.def}}{}
+\@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xepersian.def}}}{}
+\@ifclassloaded{article}{\input{article-xepersian.def}}{}
+\@ifclassloaded{extarticle}{\input{extarticle-xepersian.def}}{}
+\@ifclassloaded{artikel1}{\input{artikel1-xepersian.def}}{}
+\@ifclassloaded{artikel2}{\input{artikel2-xepersian.def}}{}
+\@ifclassloaded{artikel3}{\input{artikel3-xepersian.def}}{}
+\@ifclassloaded{amsart}{\input{amsart-xepersian.def}}{}
+\@ifclassloaded{bidimoderncv}{\input{bidimoderncv-xepersian.def}}{}
+\@ifclassloaded{report}{\input{report-xepersian.def}}{}
+\@ifclassloaded{extreport}{\input{extreport-xepersian.def}}{}
+\@ifclassloaded{rapport1}{\input{rapport1-xepersian.def}}{}
+\@ifclassloaded{rapport3}{\input{rapport3-xepersian.def}}{}
+\@ifclassloaded{scrartcl}{\input{scrartcl-xepersian.def}}{}
+\@ifclassloaded{scrbook}{\input{scrbook-xepersian.def}}{}
+\@ifclassloaded{scrreprt}{\input{scrreprt-xepersian.def}}{}
+\@ifclassloaded{amsbook}{\input{amsbook-xepersian.def}}{}
+\@ifclassloaded{boek3}{\input{boek3-xepersian.def}}{}
+\@ifclassloaded{boek}{\input{boek-xepersian.def}}{}
+\@ifclassloaded{bookest}{\input{bookest-xepersian.def}}{}
+\@ifclassloaded{extbook}{\input{extbook-xepersian.def}}{}
+\@ifclassloaded{book}{\input{book-xepersian.def}}{}
+\@ifclassloaded{refrep}{\input{refrep-xepersian.def}}{}
+\@ifclassloaded{memoir}{\input{memoir-xepersian.def}}{}
+\@ifclassloaded{imsproc}{\input{imsproc-xepersian.def}}{}
+\DeclareOption{Kashida}{\input{kashida-xepersian.def}}
+\DeclareOption{localise}{\input{localise-xepersian.def}}
+\DeclareOption{extrafootnotefeatures}{%
+\input{extrafootnotefeatures.def}%
+\input{extrafootnotefeatures-xepersian.def}%
+}
+\DeclareOption{quickindex}{%
+\ifwritexviii%
+\@ifclassloaded{memoir}{\PackageError{xepersian}{This feature does not yet work with the memoir class}{}}{%
+\renewcommand\printindex{\newpage%
+\immediate\closeout\@indexfile
+\immediate\write18{xindy -L persian -C utf8 -M texindy -M page-ranges \jobname.idx}
+\@input@{\jobname.ind}}}%
+\else
+\PackageError{xepersian}{“shell escape” (or “write18”) is not enabled. You need to run “xelatex --shell-escape” on your TeX document for this feature to work}{}
+\fi}
+\ExecuteOptions{localise}
+\ProcessOptions
+% \end{macrocode}
+% \iffalse
+%</xepersian.sty>
+%<*xepersian-magazine.cls>
+%\fi
+% \subsection{\textsf{xepersian-magazine.cls}}
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{xepersian-magazine}[2010/07/25 v0.2 Typesetting Persian magazines in XeLaTeX]
+\RequirePackage{ifthen}
+\newlength{\xepersian@imgsize}
+\newlength{\xepersian@coltitsize}
+\newlength{\xepersian@pageneed}
+\newlength{\xepersian@pageleft}
+\newlength{\xepersian@indexwidth}
+\newcommand{\xepersian@ncolumns}{0}
+\newlength{\columnlines}
+\setlength{\columnlines}{0 pt} % no lines by default
+\newboolean{xepersian@hyphenatedtitles}
+\setboolean{xepersian@hyphenatedtitles}{true}
+\newboolean{xepersian@ninepoints}
+\setboolean{xepersian@ninepoints}{false}
+\newboolean{xepersian@showgrid}
+\setboolean{xepersian@showgrid}{false}
+\newboolean{xepersian@a3paper}
+\setboolean{xepersian@a3paper}{false}
+\newboolean{xepersian@insidefrontpage}
+\setboolean{xepersian@insidefrontpage}{false}
+\newboolean{xepersian@insideweather}
+\setboolean{xepersian@insideweather}{false}
+\newboolean{xepersian@insideindex}
+\setboolean{xepersian@insideindex}{false}
+\newcount\xepersian@gridrows
+\newcount\xepersian@gridcolumns
+\xepersian@gridrows=40
+\xepersian@gridcolumns=50
+\newcount\minraggedcols
+\minraggedcols=5
+\DeclareOption{10pt}{\PassOptionsToClass{10pt}{article}}
+\DeclareOption{11pt}{\PassOptionsToClass{11pt}{article}}
+\DeclareOption{12pt}{\PassOptionsToClass{12pt}{article}}
+\DeclareOption{twocolumn}%
+{\ClassWarning{xepersian-magazine}{Option 'twocolumn' not available for xepersian-magazine.}}
+\DeclareOption{notitlepage}%
+{\ClassWarning{xepersian-magazine}{Option 'notitlepage' not available for xepersian-magazine.}}
+\DeclareOption{twoside}%
+{\ClassWarning{xepersian-magazine}{Option 'twoside' not available for xepersian-magazine.}}
+\DeclareOption{9pt}{\setboolean{xepersian@ninepoints}{true}}
+\DeclareOption{hyphenatedtitles}{\setboolean{xepersian@hyphenatedtitles}{false}}
+\DeclareOption{columnlines}{\setlength{\columnlines}{0.1 pt}}
+\DeclareOption{showgrid}{\setboolean{xepersian@showgrid}{true}}
+\DeclareOption{a3paper}{\setboolean{xepersian@a3paper}{true}}
+\ProcessOptions\relax
+\LoadClass[10pt, onecolumn, titlepage, a4paper]{article}
+\RequirePackage{ifxetex}
+\RequirePackage{multido}
+\RequirePackage{datetime}
+\RequirePackage{multicol}
+\RequirePackage{fancyhdr}
+\RequirePackage{fancybox}
+\ifthenelse{\boolean{xepersian@a3paper}}{%
+\RequirePackage[a3paper,headsep=0.5cm,vmargin={2cm,2cm},hmargin={1.5cm,1.5cm}]{geometry}
+}{
+\RequirePackage[headsep=0.5cm,vmargin={2cm,2cm},hmargin={1.5cm,1.5cm}]{geometry}
+}
+\RequirePackage[absolute]{textpos} % absoulte positioning
+\RequirePackage{hyphenat} % when hyphenate
+\RequirePackage{lastpage} % to know the last page number
+\RequirePackage{setspace} % set space between lines
+\RequirePackage{ragged2e}
+\newcommand{\raggedFormat}{\RaggedLeft}
+\AtEndOfClass{\xepersianInit}
+\ifthenelse{\boolean{xepersian@showgrid}}{%
+\AtBeginDocument{
+\grid[show]{\xepersian@gridrows}{\xepersian@gridcolumns}}
+\advance\minraggedcols by -1
+}{%
+\AtBeginDocument{
+\grid[]{\xepersian@gridrows}{\xepersian@gridcolumns}}
+\advance\minraggedcols by -1
+}
+\ifthenelse{\boolean{xepersian@ninepoints}}{
+\renewcommand{\normalsize}{%
+ \@setfontsize{\normalsize}{9pt}{10pt}%
+ \setlength{\abovedisplayskip}{5pt plus 1pt minus .5pt}%
+ \setlength{\belowdisplayskip}{\abovedisplayskip}%
+ \setlength{\abovedisplayshortskip}{3pt plus 1pt minus 2pt}%
+ \setlength{\belowdisplayshortskip}{\abovedisplayshortskip}}
+
+\renewcommand{\tiny}{\@setfontsize{\tiny}{5pt}{6pt}}
+
+\renewcommand{\scriptsize}{\@setfontsize{\scriptsize}{7pt}{8pt}}
+
+\renewcommand{\small}{%
+ \@setfontsize{\small}{8pt}{9pt}%
+ \setlength{\abovedisplayskip}{4pt plus 1pt minus 1pt}%
+ \setlength{\belowdisplayskip}{\abovedisplayskip}%
+ \setlength{\abovedisplayshortskip}{2pt plus 1pt}%
+ \setlength{\belowdisplayshortskip}{\abovedisplayshortskip}}
+
+\renewcommand{\footnotesize}{%
+ \@setfontsize{\footnotesize}{8pt}{9pt}%
+ \setlength{\abovedisplayskip}{4pt plus 1pt minus .5pt}%
+ \setlength{\belowdisplayskip}{\abovedisplayskip}%
+ \setlength{\abovedisplayshortskip}{2pt plus 1pt}%
+ \setlength{\belowdisplayshortskip}{\abovedisplayshortskip}}
+
+\renewcommand{\large}{\@setfontsize{\large}{11pt}{13pt}}
+\renewcommand{\Large}{\@setfontsize{\Large}{14pt}{18pt}}
+\renewcommand{\LARGE}{\@setfontsize{\LARGE}{18pt}{20pt}}
+\renewcommand{\huge}{\@setfontsize{\huge}{20pt}{25pt}}
+\renewcommand{\Huge}{\@setfontsize{\Huge}{25pt}{30pt}}
+}{}
+\def\customwwwTxt#1{\gdef\@customwwwTxt{\lr{#1}}}
+\newcommand{\xepersian@wwwFormat}{\sffamily}
+\newcommand{\xepersian@www}{%
+\raisebox{-3pt}{{\xepersian@wwwFormat\@customwwwTxt}}
+}
+\newcommand{\xepersian@edition}{ویرایش من}
+\newcommand{\editionFormat}{\large\bfseries\texttt}
+\newcommand{\xepersian@editionLogo}{%
+\raisebox{-3pt}{%
+{\editionFormat\xepersian@edition}%
+}%
+}
+\newcommand{\indexFormat}{\large\bfseries}
+\newcommand{\xepersian@indexFrameTitle}[1]
+{\begin{flushright}{{\indexFormat #1}}\end{flushright}}
+
+\newcommand{\indexEntryFormat}{\normalsize}
+\newcommand{\xepersian@indexEntry}[1]{\begin{minipage}{13\TPHorizModule}%
+{\indexEntryFormat\noindent\ignorespaces{#1}}%
+\end{minipage}}
+\newcommand{\indexEntrySeparator}{\rule{\xepersian@indexwidth}{.1pt}}
+\newcommand{\indexEntryPageTxt}{صفحهٔ}
+\newcommand{\indexEntryPageFormat}{\footnotesize}
+\newcommand{\xepersian@indexEntryPage}[1]{%
+{\indexEntryPageFormat{\indexEntryPageTxt{}~#1}}%
+}
+\newcommand{\headDateTimeFormat}{}
+\newcommand{\xepersian@headDateTime}{%
+\headDateTimeFormat\date\hspace{5pt}$\parallel$\hspace{5pt}%
+\currenttime %
+}
+\newcommand{\weatherFormat}{\bfseries}
+\newcommand{\xepersian@weather}[1]{%
+\noindent{\weatherFormat #1}%
+}
+\newcommand{\weatherTempFormat}{\small}
+\newcommand{\weatherUnits}{\textdegree{}C}
+\newcommand{\xepersian@section}[0]{صفحهٔ جلو}
+\newcommand{\xepersian@headleft}{%
+{\small\bfseries \@custommagazinename}، \date
+}
+\newcommand{\xepersian@headcenter}{%
+\xepersian@section{}
+}
+\newcommand{\xepersian@headright}{%
+\small\xepersian@edition%
+\hspace*{5pt}\beginL\thepage\ / \pageref{LastPage}\endL
+}
+
+\newcommand{\heading}[3]{%
+\renewcommand{\xepersian@headleft}{\beginR#1\endR}%
+\renewcommand{\xepersian@headcenter}{\beginR#2\endR}%
+\renewcommand{\xepersian@headright}{\beginR#3\endR}%
+}
+\newcommand{\xepersian@footright}{%
+{\footnotesize\lr{\copyright\ \@customwwwTxt{}}---تهیه‌شده توسط \lr{\XePersian}}%
+}
+\newcommand{\xepersian@footcenter}{%
+}
+\newcommand{\xepersian@footleft}{%
+}
+
+\newcommand{\foot}[3]{%
+\renewcommand{\xepersian@footleft}{\beginR#1\endR}%
+\renewcommand{\xepersian@footcenter}{\beginR#2\endR}%
+\renewcommand{\xepersian@footright}{\beginR#3\endR}%
+}
+\newcommand{\firstTitleFormat}{\Huge\bfseries\flushright}
+\newcommand{\xepersian@firstTitle}[1]{%
+{%
+\begin{spacing}{2.0}{%
+\noindent\ignorespaces
+\ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
+{\nohyphens{\firstTitleFormat #1}}%
+{{\firstTitleFormat #1}}%
+}%
+\end{spacing}%
+}%
+}
+\newcommand{\firstTextFormat}{}
+\newcommand{\xepersian@firstText}[1]{%
+{\noindent\ignorespaces\firstTextFormat #1}%
+}
+\newcommand{\secondTitleFormat}{\LARGE\bfseries}
+\newcommand{\xepersian@secondTitle}[1]{%
+\begin{spacing}{1.5}{%
+\noindent\ignorespaces\flushright
+\ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
+{\nohyphens{\secondTitleFormat #1}}%
+{{\secondTitleFormat #1}}%
+}\end{spacing}%
+}
+\newcommand{\secondSubtitleFormat}{\large}
+\newcommand{\xepersian@secondSubtitle}[1]{%
+{\noindent\ignorespaces{\secondSubtitleFormat #1}}%
+}
+\newcommand{\secondTextFormat}{}
+\newcommand{\xepersian@secondText}[1]{%
+\begin{multicols}{2}
+{\noindent\ignorespaces\secondTextFormat #1}
+\end{multicols}
+}
+\newcommand{\thirdTitleFormat}{\Large\bfseries}
+\newcommand{\xepersian@thirdTitle}[1]{%
+\begin{spacing}{1.5}{%
+\noindent\ignorespaces\flushright
+\ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
+{\nohyphens{\thirdTitleFormat #1}}%
+{{\thirdTitleFormat #1}}%
+}\end{spacing}%
+}
+\newcommand{\thirdSubtitleFormat}{\large}
+\newcommand{\xepersian@thirdSubtitle}[1]%
+{{\noindent\ignorespaces\thirdSubtitleFormat #1}}
+\newcommand{\thirdTextFormat}{}
+\newcommand{\xepersian@thirdText}[1]{{\thirdTextFormat #1}}
+\newcommand{\pictureCaptionFormat}{\small\bfseries}
+\newcommand{\xepersian@pictureCaption}[1]{%
+{\noindent\pictureCaptionFormat #1}%
+}
+\newcommand{\pagesFormat}{\bfseries\footnotesize}
+\newcommand{\xepersian@pages}[1]%
+{\noindent{\pagesFormat\MakeUppercase{#1}}}
+\newcommand{\innerTitleFormat}{\Huge}
+\newcommand{\xepersian@innerTitle}[1]{%
+\begin{flushright}{%
+\noindent
+\ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
+{\nohyphens{\innerTitleFormat #1}}%
+{{\innerTitleFormat #1}}%
+}%
+\\%
+\end{flushright}%
+}
+\newcommand{\innerSubtitleFormat}{\large}
+\newcommand{\xepersian@innerSubtitle}[1]{{\innerSubtitleFormat #1}}
+\newcommand{\timestampTxt}{}
+\newcommand{\timestampSeparator}{|}
+\newcommand{\timestampFormat}{\small}
+\newcommand{\timestamp}[1]{%
+{\timestampFormat%
+#1~\timestampTxt{}%
+}~\timestampSeparator{}%
+}
+\newcommand{\innerAuthorFormat}{\footnotesize}
+\newcommand{\innerPlaceFormat}{\footnotesize\bfseries}
+\newcommand{\innerTextFinalMark}{\rule{0.65em}{0.65em}}
+\newcommand{\editorialTitleFormat}{\LARGE\textit}
+\newcommand{\xepersian@editorialTitle}[1]{\editorialTitleFormat{#1}}
+\newcommand{\editorialAuthorFormat}{\textsc}
+\newcommand{\shortarticleTitleFormat}{\LARGE\bfseries}
+\newcommand{\xepersian@shortarticleTitle}[1]{{\shortarticleTitleFormat #1}}
+\newcommand{\shortarticleSubtitleFormat}{\Large}
+\newcommand{\xepersian@shortarticleSubtitle}[1]{{\shortarticleSubtitleFormat #1}}
+\newcommand{\shortarticleItemTitleFormat}{\large\bfseries}
+\newcommand{\xepersian@shortarticleItemTitle}[1]{{\shortarticleItemTitleFormat #1}}
+\renewcommand{\maketitle}{\begin{titlepage}%
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let \footnote \thanks
+ \null\vfil
+ \vskip 60\p@
+ \begin{center}%
+ {\LARGE \@title \par}%
+ \vskip 1em%
+ {\LARGE «\xepersian@edition» \par}%
+ \vskip 3em%
+ {\large
+ \lineskip .75em%
+ \begin{tabular}[t]{c}%
+ \@author
+ \end{tabular}\par}%
+ \vskip 1.5em%
+ {\large \@date \par}%
+ \end{center}\par
+ \@thanks
+ \vfil\null
+ \end{titlepage}%
+ \setcounter{footnote}{0}%
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\title\relax
+ \global\let\author\relax
+ \global\let\date\relax
+ \global\let\and\relax
+}
+\newcommand{\xepersian@say}[1]{\typeout{#1}}
+\newsavebox{\xepersian@fmbox}
+\newenvironment{xepersian@fmpage}[1]
+ {\begin{lrbox}{\xepersian@fmbox}\begin{minipage}{#1}}
+ {\end{minipage}\end{lrbox}\fbox{\usebox{\xepersian@fmbox}}}
+\newcommand{\image}[2]{
+\vspace{5pt}
+\setlength{\fboxsep}{1pt}
+\addtolength{\xepersian@imgsize}{\columnwidth}
+\addtolength{\xepersian@imgsize}{-1\columnsep}
+\ifxetex
+\setlength{\xepersian@pageneed}{1.5\xepersian@imgsize}
+\addtolength{\xepersian@pageneed}{50pt}
+\ClassWarning{xepersian-magazine}{%
+Image #1 needs: \the\xepersian@pageneed \space %
+and there is left: \the\page@free\space%
+}
+\ifdim \xepersian@pageneed < \page@free
+
+{\centering\fbox{%
+\includegraphics[width = \xepersian@imgsize,
+height = \xepersian@imgsize,
+keepaspectratio ]{#1}}}
+\xepersian@pictureCaption{#2}
+
+\vspace{5pt}
+\else
+\ClassWarning{Image #1 needs more space!%
+ It was not inserted!}
+\fi
+\fi
+}
+\textblockorigin{1cm}{1cm}
+\newdimen\xepersian@dx
+\newdimen\xepersian@dy
+\newcount\xepersian@cx
+\newcount\xepersian@cy
+\newcommand{\grid}[3][]{
+\xepersian@dx=\textwidth%
+\xepersian@dy=\textheight%
+\xepersian@cx=#3% %columns
+\xepersian@cy=#2% %rows
+
+\count1=#3%
+\advance\count1 by 1
+
+\count2=#2%
+\advance\count2 by 1
+
+\divide\xepersian@dx by #3
+\divide\xepersian@dy by #2
+
+\setlength{\TPHorizModule}{\xepersian@dx}
+\setlength{\TPVertModule}{\xepersian@dy}
+
+\ifthenelse{\equal{#1}{show}}{
+\multido{\xepersian@nrow=0+1}{\count2}{
+\begin{textblock}{\xepersian@cx}(0,\xepersian@nrow)
+\rule[0pt]{\textwidth}{.1pt}
+\end{textblock}
+}
+
+\multido{\xepersian@ncol=0+1}{\count1}{
+\begin{textblock}{\xepersian@cy}(\xepersian@ncol,0)
+\rule[0pt]{.1pt}{\textheight}
+\end{textblock}
+}
+}{}
+}
+\newcommand{\xepersianInit}{
+\setlength{\headheight}{14pt}
+\renewcommand{\headrulewidth}{0.4pt}
+
+\pagestyle{fancy}
+
+\setlength{\columnseprule}{\columnlines}
+\setlength{\fboxrule}{0.1 pt}
+
+}
+
+\def\customlogo#1{\gdef\@customlogo{\beginR#1\endR}}
+\def\customminilogo#1{\gdef\@customminilogo{\beginR#1\endR}}
+\def\custommagazinename#1{\gdef\@custommagazinename{\beginR#1\endR}}
+\newcommand{\logo}[0]{
+%% Heading %%
+\noindent\hrulefill\hspace{10pt}\xepersian@editionLogo\hspace{5pt}\xepersian@www
+
+\vspace*{-3pt}
+
+{\Large\bfseries \@customlogo}
+\hrulefill
+\hspace{10pt}\xepersian@headDateTime
+
+}
+\newcommand{\minilogo}[0]{
+{\large\bfseries \@customminilogo}
+
+\vspace*{5pt}
+}
+\newcommand{\mylogo}[1]{
+{\beginR#1\endR}
+
+\noindent
+\xepersian@editionLogo\hspace{5pt}
+\hrulefill
+\hspace{5pt}\xepersian@headDateTime
+}
+\newcommand{\edition}[1]{\renewcommand{\xepersian@edition}{#1}}
+\newenvironment{frontpage}[0]
+{
+\setboolean{xepersian@insidefrontpage}{true}
+\thispagestyle{empty}
+\logo
+
+}%
+{
+\thispagestyle{empty}
+\clearpage
+\newpage
+\fancyhead{}
+ \fancyfoot{}
+\fancyhead[RO,LE]{\beginR\xepersian@headright\endR}
+\fancyhead[LO,RE]{\beginR\xepersian@headleft\endR}
+ \fancyhead[C]{\beginR\xepersian@headcenter\endR}
+ \fancyfoot[RO,LE]{\beginR\xepersian@footright\endR}
+ \fancyfoot[LO,RE]{\beginR\xepersian@footleft\endR}
+\fancyfoot[C]{\beginR\xepersian@footcenter\endR}
+\renewcommand{\headrulewidth}{0.4pt}
+\setboolean{xepersian@insidefrontpage}{false}
+
+}
+\newcommand{\firstarticle}[3]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\ifthenelse{\boolean{xepersian@hyphenatedtitles}}{%
+\begin{textblock}{24}(22,5)
+}
+{
+\begin{textblock}{28}(22,5)
+}
+\vspace{-7pt}
+\xepersian@firstTitle{#1}
+\end{textblock}
+\begin{textblock}{29}(22,10)
+\vspace{5pt plus 2pt minus 2pt}
+
+\xepersian@firstText{\timestamp{#3}~#2}
+
+\end{textblock}
+
+\begin{textblock}{50}(0,15)
+\rule{50\TPHorizModule}{.3pt}
+\end{textblock}
+}{%else
+\ClassError{xepersian-magazine}{%
+\protect\firstarticle\space in a wrong place.\MessageBreak
+\protect\firstarticle\space may only appear inside frontpage environment.
+}{%
+\protect\firstarticle\space may only appear inside frontpage environment.
+}%
+}
+}
+\newcommand{\secondarticle}[5]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\begin{textblock}{33}(2,16)
+\xepersian@pages{#4}
+\vspace{-5pt}
+\xepersian@secondTitle{#1}
+
+\vspace*{5pt}
+
+\xepersian@secondSubtitle{#2}
+
+\vspace*{-7pt}
+
+\xepersian@secondText{\timestamp{#5}~#3}
+
+\end{textblock}
+
+\begin{textblock}{33}(2,25)
+\vspace{5pt plus 2pt minus 2pt}
+
+\noindent\ignorespaces\rule{33\TPHorizModule}{.3pt}
+\end{textblock}
+}{%else
+\ClassError{xepersian-magazine}{%
+\protect\secondarticle\space in a wrong place.\MessageBreak
+\protect\secondarticle\space may only appear inside frontpage environment.
+}{%
+\protect\secondarticle\space may only appear inside frontpage environment.
+}%
+}
+}
+\newcommand{\thirdarticle}[6]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\begin{textblock}{32}(2,26)
+\xepersian@pages{#5}
+\vspace{-5pt}
+\setlength{\fboxsep}{1pt}
+\xepersian@thirdTitle{#1}
+
+\vspace*{5pt}
+
+\xepersian@thirdSubtitle{#2}
+
+\vspace*{5pt}
+
+{\noindent\ignorespaces %
+\ifthenelse{\equal{#4}{}}{}
+
+\xepersian@thirdText{\timestamp{#6}~#3}
+
+}
+
+\vspace*{5pt}
+
+\end{textblock}
+}{%else
+\ClassError{xepersian-magazine}{%
+\protect\thirdarticle\space in a wrong place.\MessageBreak
+\protect\thirdarticle\space may only appear inside frontpage environment.
+}{%
+\protect\thirdarticle\space may only appear inside frontpage environment.
+}%
+}
+}
+\newcommand{\firstimage}[2]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\begin{textblock}{18}(2,5)
+\setlength{\fboxsep}{1pt}
+\ifxetex % only in PDF
+\noindent\fbox{\includegraphics[width = 18\TPHorizModule ]{#1}}
+\fi
+
+\xepersian@pictureCaption{#2}
+\end{textblock}%
+}
+{\ClassError{xepersian-magazine}{%
+\protect\firstimage\space in a wrong place.\MessageBreak
+\protect\firstimage\space may only appear inside frontpage environment.
+}{%
+\protect\firstimage\space may only appear inside frontpage environment.
+}}
+}%
+\newcommand{\weatheritem}[5]{%
+\ifthenelse{\boolean{xepersian@insideweather}}{
+\begin{minipage}{45pt}
+\ifxetex
+\includegraphics[width=40pt]{#1}
+\fi
+\end{minipage}
+\begin{minipage}{50pt}
+\weatherTempFormat
+#2\\
+\beginL#3 $\|$ #4 \lr{\weatherUnits{}}\endL\\
+#5
+\end{minipage}
+}{%else
+\ClassError{xepersian-magazine}{%
+\protect\weatheritem\space in a wrong place.\MessageBreak
+\protect\weatheritem\space may only appear inside weatherblock environment.
+}{%
+\protect\weatheritem\space may only appear inside weatherblock environment.\MessageBreak
+weatherblock environment may only appear inside frontpage environment.
+}%
+}
+}
+\newenvironment{weatherblock}[1]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\setboolean{xepersian@insideweather}{true}
+\begin{textblock}{32}(2,38)
+\vspace*{-15pt}
+
+\xepersian@weather{\beginR#1\endR}
+
+\vspace*{5pt}
+
+\noindent\begin{xepersian@fmpage}{32\TPHorizModule}
+\begin{minipage}{32\TPHorizModule}
+\hspace{5pt}
+
+}{%
+\ClassError{xepersian-magazine}{%
+weatherblock in a wrong place.\MessageBreak
+weatherblock may only appear inside frontpage environment.
+}{%
+weatherblock may only appear inside frontpage environment.
+}
+}
+}%
+{
+\end{minipage}
+\end{xepersian@fmpage}
+\end{textblock}
+\setboolean{xepersian@insideweather}{false}
+}
+\newenvironment{authorblock}[0]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\begin{textblock}{15}(36,35)
+\setlength{\fboxsep}{5pt}
+\begin{xepersian@fmpage}{13\TPHorizModule}
+\begin{minipage}{13\TPHorizModule}
+\centering
+\minilogo
+
+}{%else
+\ClassError{xepersian-magazine}{%
+authorblock in a wrong place.\MessageBreak
+authorblock may only appear inside frontpage environment.
+}{%
+authorblock may only appear inside frontpage environment.
+}
+}
+}
+{
+\end{minipage}
+\end{xepersian@fmpage}
+\end{textblock}
+}
+\newenvironment{indexblock}[1]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\setboolean{xepersian@insideindex}{true}%let's in
+\begin{textblock}{15}(36,16)
+\setlength{\xepersian@indexwidth}{13\TPHorizModule}
+\xepersian@indexFrameTitle{#1}
+
+\setlength{\fboxsep}{5pt} %espacio entre el frame y la imagen
+\begin{xepersian@fmpage}{\xepersian@indexwidth}
+\begin{minipage}{\xepersian@indexwidth}
+\vspace*{10pt}
+}{%else
+\ClassError{xepersian-magazine}{%
+indexblock in a wrong place.\MessageBreak
+indexblock may only appear inside frontpage environment.
+}{%
+indexblock may only appear inside frontpage environment.
+}
+}
+}%
+{
+\end{minipage}
+\end{xepersian@fmpage}
+\end{textblock}
+\setboolean{xepersian@insideindex}{false}%let's out
+}
+\newcommand{\indexitem}[2]
+{
+\ifthenelse{\boolean{xepersian@insideindex}}{
+\xepersian@indexEntry{#1، \xepersian@indexEntryPage{\pageref{#2}}}
+
+\vspace{0.5cm}
+
+\noindent\ignorespaces\indexEntrySeparator{}
+}{%else
+\ClassError{xepersian-magazine}{%
+\protect\indexitem\space in a wrong place.\MessageBreak
+\protect\indexitem\space may only appear inside indexblock environment.
+}{%
+\protect\indexitem\space may only appear inside indexblock environment.\MessageBreak
+indexblock environment may only appear inside frontpage environment.
+}%
+}
+}
+\newcommand{\xepersian@inexpandedtitle}[1]{
+\begin{minipage}{.95\textwidth}
+\begin{center}
+\noindent\Large\textbf{\beginR#1\endR}
+\end{center}
+\end{minipage}
+}
+\newcommand{\expandedtitle}[2]{
+\end{multicols}
+
+\begin{center}
+\setlength{\fboxsep}{5pt}
+\setlength{\shadowsize}{2pt}
+\ifthenelse{\equal{#1}{shadowbox}}{%
+\shadowbox{%
+\xepersian@inexpandedtitle{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{doublebox}}{%
+\doublebox{%
+\xepersian@inexpandedtitle{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{ovalbox}}{%
+\ovalbox{%
+\xepersian@inexpandedtitle{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{Ovalbox}}{%
+\Ovalbox{%
+\xepersian@inexpandedtitle{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{lines}}{
+\hrule
+\vspace*{8pt}
+\begin{center}
+\noindent\Large\textbf{#2}
+\end{center}
+\vspace*{8pt}
+\hrule
+}{}
+\end{center}
+
+\begin{multicols}{\xepersian@ncolumns{}}
+\ifnum \xepersian@ncolumns > \minraggedcols
+\raggedFormat
+\fi
+}
+\newcommand{\xepersian@incolumntitle}[2]{
+\begin{minipage}{#1}
+\begin{center}
+\noindent\normalsize\textbf{#2}
+\end{center}
+\end{minipage}
+}
+
+\newcommand{\columntitle}[2]{
+\vspace*{5pt}
+\begin{center}
+\setlength{\fboxsep}{5pt}
+\setlength{\shadowsize}{2pt}
+\addtolength{\xepersian@coltitsize}{\columnwidth}
+\addtolength{\xepersian@coltitsize}{-1\columnsep}
+\addtolength{\xepersian@coltitsize}{-5pt}
+\addtolength{\xepersian@coltitsize}{-1\shadowsize}
+\ifthenelse{\equal{#1}{shadowbox}}{%
+\shadowbox{%
+\xepersian@incolumntitle{\xepersian@coltitsize}{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{doublebox}}{%
+\doublebox{%
+\xepersian@incolumntitle{\xepersian@coltitsize}{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{ovalbox}}{%
+\ovalbox{%
+\xepersian@incolumntitle{\xepersian@coltitsize}{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{Ovalbox}}{%
+\Ovalbox{%
+\xepersian@incolumntitle{\xepersian@coltitsize}{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{lines}}{
+\hrule
+\vspace*{5pt}
+\begin{center}
+\noindent\normalsize\textbf{#2}
+\end{center}
+\vspace*{5pt}
+\hrule
+}{}
+\end{center}
+}
+\renewcommand{\date}{%
+\longdate{\today}%
+}
+\newcommand{\authorandplace}[2]{%
+\rightline{%
+{\innerAuthorFormat #1},\space{}{\innerPlaceFormat #2}%
+}%
+\par %
+}
+\newcommand{\newsection}[1]{
+\renewcommand{\xepersian@section}{#1}
+}
+\newenvironment{article}[5]
+{
+\xepersian@say{Adding a new piece of article}
+\renewcommand{\xepersian@ncolumns}{#1}
+\begin{multicols}{#1}[
+\xepersian@pages{#4}
+\xepersian@innerTitle{#2}%
+\xepersian@innerSubtitle{#3}%
+][4cm]%
+\label{#5}
+\ifnum #1 > \minraggedcols
+\raggedFormat
+\fi
+}
+{~\innerTextFinalMark{}
+\end{multicols}
+}
+\newcommand{\articlesep}{%
+\setlength{\xepersian@pageneed}{16000pt}
+\setlength\xepersian@pageleft{\pagegoal}
+\addtolength\xepersian@pageleft{-\pagetotal}
+
+\xepersian@say{How much left \the\xepersian@pageleft}
+
+\ifdim \xepersian@pageneed < \xepersian@pageleft
+\xepersian@say{Not enough space}
+\else
+\xepersian@say{Adding sep line between articles}
+\vspace*{10pt plus 10pt minus 5pt}
+\hrule
+\vspace*{10pt plus 5pt minus 5pt}
+\fi
+
+}
+\newcommand{\xepersian@editorialTit}[2]{
+\setlength{\arrayrulewidth}{.1pt}
+\begin{center}
+\begin{tabular}{c}
+\noindent
+\xepersian@editorialTitle{#1}
+\vspace{2pt plus 1pt minus 1pt}
+\\
+\hline
+\vspace{2pt plus 1pt minus 1pt}
+\\
+\editorialAuthorFormat{#2}
+\end{tabular}
+\end{center}
+}
+\newenvironment{editorial}[4]
+{
+\xepersian@say{Adding a new editorial}
+\begin{multicols}{#1}[%
+\xepersian@editorialTit{#2}{#3}%
+][4cm]
+\label{#4}
+\ifnum #1 > \minraggedcols
+\raggedFormat
+\fi
+}
+{
+\end{multicols}
+}
+\newcommand{\xepersian@shortarticleTit}[2]{
+\begin{center}
+\vbox{%
+\noindent
+\xepersian@shortarticleTitle{#1}
+\vspace{4pt plus 2pt minus 2pt}
+\hrule
+\vspace{4pt plus 2pt minus 2pt}
+\xepersian@shortarticleSubtitle{#2}
+}
+\end{center}
+}
+\newenvironment{shortarticle}[4]
+{
+\xepersian@say{Adding a short article block}
+\begin{multicols}{#1}[\xepersian@shortarticleTit{#2}{#3}][4cm] %
+ \label{#4}
+\par %
+\ifnum #1 > \minraggedcols
+\raggedFormat
+\fi
+}
+{
+\end{multicols}
+}
+\newcommand{\shortarticleitem}[2]{
+\goodbreak
+\vspace{5pt plus 3pt minus 3pt}
+{\vbox{\noindent\xepersian@shortarticleItemTitle{#1}}}
+\vspace{5pt plus 3pt minus 3pt}
+{\noindent #2}\\
+}
+% \end{macrocode}
+% \iffalse
+%</xepersian-magazine.cls>
+%<*xepersian-mathsdigitspec.sty>
+%\fi
+% \subsection{\textsf{xepersian-mathsdigitspec.sty}}
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{xepersian-mathsdigitspec}
+ [2013/04/04 v1.0.3 Unicode Persian maths digits in XeLaTeX]
+\@ifundefined{Umathcode}{\let\Umathcode\XeTeXmathcode}{}
+\@ifundefined{Umathchardef}{\let\Umathchardef\XeTeXmathchardef}{}
+\def\new@mathgroup{\alloc@8\mathgroup\chardef\@cclvi}
+\let\newfam\new@mathgroup
+\def\select@group#1#2#3#4{%
+ \ifx\math@bgroup\bgroup\else\relax\expandafter\@firstofone\fi
+ {%
+ \ifmmode
+ \ifnum\csname c@mv@\math@version\endcsname<\@cclvi
+ \begingroup
+ \escapechar\m@ne
+ \getanddefine@fonts{\csname c@mv@\math@version\endcsname}#3%
+ \globaldefs\@ne \math@fonts
+ \endgroup
+ \init@restore@version
+ \xdef#1{\noexpand\use@mathgroup\noexpand#2%
+ {\number\csname c@mv@\math@version\endcsname}}%
+ \global\advance\csname c@mv@\math@version\endcsname\@ne
+ \else
+ \let#1\relax
+ \@latex@error{Too many math alphabets used in
+ version \math@version}%
+ \@eha
+ \fi
+ \else \expandafter\non@alpherr\fi
+ #1{#4}%
+ }%
+}
+\def\document@select@group#1#2#3#4{%
+ \ifx\math@bgroup\bgroup\else\relax\expandafter\@firstofone\fi
+ {%
+ \ifmmode
+ \ifnum\csname c@mv@\math@version\endcsname<\@cclvi
+ \begingroup
+ \escapechar\m@ne
+ \getanddefine@fonts{\csname c@mv@\math@version\endcsname}#3%
+ \globaldefs\@ne \math@fonts
+ \endgroup
+ \expandafter\extract@alph@from@version
+ \csname mv@\math@version\expandafter\endcsname
+ \expandafter{\number\csname
+ c@mv@\math@version\endcsname}%
+ #1%
+ \global\advance\csname c@mv@\math@version\endcsname\@ne
+ \else
+ \let#1\relax
+ \@latex@error{Too many math alphabets used
+ in version \math@version}%
+ \@eha
+ \fi
+ \else \expandafter\non@alpherr\fi
+ #1{#4}%
+ }%
+}
+\ExplSyntaxOn
+\bool_set_false:N \g_fontspec_math_bool
+\ExplSyntaxOff
+\def\@preamblecmds{}
+\newcommand\xepersian@not@onlypreamble[1]{{%
+ \def\do##1{\ifx#1##1\else\noexpand\do\noexpand##1\fi}%
+ \xdef\@preamblecmds{\@preamblecmds}}}
+\xepersian@not@onlypreamble\@preamblecmds
+\def\xepersian@notprerr{ can be used only in preamble (\on@line)}
+\AtBeginDocument{%
+ \def\do#1{\noexpand\do\noexpand#1}%
+ \edef\@preamblecmds{%
+ \def\noexpand\do##1{%
+ \def##1{\noexpand\xepersian@NotprerrMessage##1}\noexpand\@eha}}%
+ \@preamblecmds}
+\def\xepersian@NotprerrMessage#1{%
+ \PackageError{xepersian}%
+ {\noexpand\string#1 \noexpand\xepersian@notprerr}{}%
+}
+\def\nocite#1{%
+ \@bsphack{\setbox0=\hbox{\cite{#1}}}\@esphack}
+\newcommand\xepersian@PackageInfo[1]{\PackageInfo{xepersian-mathsdigitspec}{#1}}
+\newcommand\SetMathCode[4]{%
+ \Umathcode#1="\mathchar@type#2 \csname sym#3\endcsname #4\relax}
+\newcommand\SetMathCharDef[4]{%
+ \Umathchardef#1="\mathchar@type#2 \csname sym#3\endcsname #4\relax}
+\ExplSyntaxOn
+\cs_new_eq:NN \orig_mathbf:n \mathbf
+\cs_new_eq:NN \orig_mathit:n \mathit
+\cs_new_eq:NN \orig_mathrm:n \mathrm
+\cs_new_eq:NN \orig_mathsf:n \mathsf
+\cs_new_eq:NN \orig_mathtt:n \mathtt
+\NewDocumentCommand \new@mathbf { m } {
+ \orig_mathbf:n {
+ \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \mathcode ##1 = \numexpr "100 * \symnew@mathbf@font@digits + ##1 \relax
+ }
+ #1
+ }
+}
+\NewDocumentCommand \new@mathit { m } {
+ \orig_mathit:n {
+ \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \mathcode ##1 = \numexpr "100 * \symnew@mathit@font@digits + ##1 \relax
+ }
+ #1
+ }
+}
+\NewDocumentCommand \new@mathrm { m } {
+ \orig_mathrm:n {
+ \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \mathcode ##1 = \numexpr "100 * \symnew@mathrm@font@digits + ##1 \relax
+ }
+ #1
+ }
+}
+\NewDocumentCommand \new@mathsf{ m } {
+ \orig_mathsf:n {
+ \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \mathcode ##1 = \numexpr "100 * \symnew@mathsf@font@digits + ##1 \relax
+ }
+ #1
+ }
+}
+\NewDocumentCommand \new@mathtt{ m } {
+ \orig_mathtt:n {
+ \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \mathcode ##1 = \numexpr "100 * \symnew@mathtt@font@digits + ##1 \relax
+ }
+ #1
+ }
+}
+\newcommand\setdigitfont[2][]{%
+ \let\glb@currsize\relax
+ \fontspec_set_family:Nnn \xepersian@digits@family {Mapping=parsidigits,#1}{#2}
+ \xepersian@PackageInfo{Defining the default Persian maths digits font as '#2'}
+ \DeclareSymbolFont{OPERATORS} {EU1}{\xepersian@digits@family} {m}{n}
+ \DeclareSymbolFont{new@mathbf@font@digits}{EU1}{\xepersian@digits@family}{bx}{n}
+ \DeclareSymbolFont{new@mathit@font@digits}{EU1}{\xepersian@digits@family}{m}{it}
+ \DeclareSymbolFont{new@mathrm@font@digits}{EU1}{\xepersian@digits@family}{m}{n}
+ \def\persianmathsdigits{%
+ \SetMathCode{`0}{\mathalpha}{OPERATORS}{`0}
+ \SetMathCode{`1}{\mathalpha}{OPERATORS}{`1}
+ \SetMathCode{`2}{\mathalpha}{OPERATORS}{`2}
+ \SetMathCode{`3}{\mathalpha}{OPERATORS}{`3}
+ \SetMathCode{`4}{\mathalpha}{OPERATORS}{`4}
+ \SetMathCode{`5}{\mathalpha}{OPERATORS}{`5}
+ \SetMathCode{`6}{\mathalpha}{OPERATORS}{`6}
+ \SetMathCode{`7}{\mathalpha}{OPERATORS}{`7}
+ \SetMathCode{`8}{\mathalpha}{OPERATORS}{`8}
+ \SetMathCode{`9}{\mathalpha}{OPERATORS}{`9}
+ \SetMathCharDef{\%}{\mathbin}{OPERATORS}{`٪}
+ \SetMathCharDef{\decimalseparator}{\mathpunct}{OPERATORS}{"066B}
+ \cs_set_eq:NN \mathbf \new@mathbf
+ \cs_set_eq:NN \mathit \new@mathit
+ \cs_set_eq:NN \mathrm \new@mathrm}
+}
+\DeclareDocumentCommand \setmathsfdigitfont { O{} m } {
+ \fontspec_set_family:Nnn \g_fontspec_mathsf_tl {Mapping=parsidigits,#1}{#2}
+ \DeclareSymbolFont{new@mathsf@font@digits}{EU1}{\g_fontspec_mathsf_tl}{m}{n}
+ \def\persianmathsfdigits{\cs_set_eq:NN \mathsf \new@mathsf}
+}
+\DeclareDocumentCommand \setmathttdigitfont { O{} m } {
+ \fontspec_set_family:Nnn \g_fontspec_mathtt_tl {Mapping=parsidigits,#1}{#2}
+ \DeclareSymbolFont{new@mathtt@font@digits}{EU1}{\g_fontspec_mathtt_tl}{m}{n}
+ \def\persianmathttdigits{\cs_set_eq:NN \mathtt \new@mathtt}
+}
+\ExplSyntaxOff
+\ifx\newcommand\undefined\else
+ \newcommand{\ZifferAn}{}
+\fi
+\mathchardef\ziffer@DotOri="013A
+{\ZifferAn
+ \catcode`\.=\active\gdef.{\begingroup\obeyspaces\futurelet\n\ziffer@dcheck}}
+\def\ziffer@dcheck{\ziffer@check\ZifferLeer\ziffer@DotOri}
+\def\ziffer@check#1#2{%
+ \ifx\n1\endgroup#1\else
+ \ifx\n2\endgroup#1\else
+ \ifx\n3\endgroup#1\else
+ \ifx\n4\endgroup#1\else
+ \ifx\n5\endgroup#1\else
+ \ifx\n6\endgroup#1\else
+ \ifx\n7\endgroup#1\else
+ \ifx\n8\endgroup#1\else
+ \ifx\n9\endgroup#1\else
+ \ifx\n0\endgroup#1\else
+ \endgroup#2%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi}
+\mathcode`.="8000\relax
+\def\ZifferLeer{\ifx\decimalseparator\undefied .\else \decimalseparator\fi}
+\def\DefaultMathsDigits{\def\SetMathsDigits{}}
+\def\PersianMathsDigits{\def\SetMathsDigits{%
+\ifx\persianmathsdigits\undefied\else\persianmathsdigits\fi%
+\ifx\persianmathsfdigits\undefied\else\persianmathsfdigits\fi%
+\ifx\persianmathttdigits\undefied\else\persianmathttdigits\fi}}
+\def\AutoMathsDigits{\def\SetMathsDigits{%
+\ifx\persianmathsdigits\undefied\else\if@Latin\else\persianmathsdigits\fi\fi%
+\ifx\persianmathsfdigits\undefied\else\if@Latin\else\persianmathsfdigits\fi\fi%
+\ifx\persianmathttdigits\undefied\else\if@Latin\else\persianmathttdigits\fi\fi}}
+\AutoMathsDigits
+\everymath\expandafter{\the\everymath\SetMathsDigits}
+\g@addto@macro\document{\everydisplay\expandafter{\the\everydisplay\SetMathsDigits}}
+% \end{macrocode}
+% \iffalse
+%</xepersian-mathsdigitspec.sty>
+%<*xepersian-multiplechoice.sty>
+%\fi
+% \subsection{\textsf{xepersian-multiplechoice.sty}}
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{xepersian-multiplechoice}[2010/07/25 v0.2
+ Multiple Choice Questionnaire class for Persian in XeLaTeX]
+\RequirePackage{pifont}
+\RequirePackage{fullpage}
+\RequirePackage{ifthen}
+\RequirePackage{calc}
+\RequirePackage{verbatim}
+\RequirePackage{tabularx}
+\def\@headerfont{\bfseries}
+\newcommand\headerfont[1]{\gdef\@headerfont{#1}}
+\def\@X{X}
+\newcommand\X[1]{\gdef\@X{#1}}
+\def\pbs#1{\let\tmp=\\#1\let\\=\tmp}
+\newcolumntype{D}{>{\pbs\centering}X}
+\newcolumntype{Q}{>{\@headerfont}X}
+
+\renewcommand\tabularxcolumn[1]{m{#1}}
+\newcommand\makeform@nocorrection{%
+ \addtocontents{frm}{\protect\end{tabularx}}
+ \@starttoc{frm}}
+\newcommand\makeform@correction{%
+ \addtocontents{frm}{\protect\end{tabularx}}}
+\newcommand\makemask@nocorrection{%
+ \addtocontents{msk}{\protect\end{tabularx}}
+ \@starttoc{msk}}
+\newcommand\makemask@correction{%
+ \addtocontents{msk}{\protect\end{tabularx}}}
+\newlength\questionspace
+\setlength\questionspace{0pt}
+\newcommand\answerstitle[1]{\gdef\@answerstitle{#1}}
+\def\@answerstitlefont{\bfseries}
+\newcommand\answerstitlefont[1]{\gdef\@answerstitlefont{#1}}
+\def\@answernumberfont{\bfseries}
+\newcommand\answernumberfont[1]{\gdef\@answernumberfont{#1}}
+\newcounter{question}\stepcounter{question}
+\newcounter{@choice}
+\def\@initorcheck{%
+ \xdef\@choices{\the@choice}%
+ \setcounter{@choice}{1}%
+ \gdef\@arraydesc{|Q||}%
+ \gdef\@headerline{}%
+ \whiledo{\not{\value{@choice}>\@choices}}{
+ \xdef\@arraydesc{\@arraydesc D|}
+ \def\@appendheader{\g@addto@macro\@headerline}
+ \@appendheader{&\protect\@headerfont}
+ \edef\@the@choice{{\alph{@choice}}}
+ \expandafter\@appendheader\@the@choice
+ \stepcounter{@choice}}%
+ \addtocontents{frm}{%
+ \protect\begin{tabularx}{\protect\linewidth}{\@arraydesc}
+ \protect\hline
+ \@headerline\protect\\\protect\hline\protect\hline}%
+ \addtocontents{msk}{%
+ \protect\begin{tabularx}{\protect\linewidth}{\@arraydesc}
+ \protect\hline
+ \@headerline\protect\\\protect\hline\protect\hline}%
+ \gdef\@initorcheck{%
+ \ifthenelse{\value{@choice} = \@choices}{}{%
+ \ClassError{xepersian-multiplechoice}{Question \thequestion: wrong number of choices
+ (\the@choice\space instead of \@choices)}{%
+ Questions must all have the same number of proposed answers.%
+ \MessageBreak
+ Type X <return> to quit, fix your MCQ (multiple choice question) and rerun XeLaTeX.}}}}
+\newenvironment{question}[1]{%
+ %% \begin{question}
+ \begin{minipage}{\textwidth}
+ \xdef\@formanswerline{\@questionheader}%
+ \xdef\@maskanswerline{\@questionheader}%
+ \fbox{\parbox[c]{\linewidth}{#1}}
+ \vspace\questionspace\par
+ {\@answerstitlefont\@answerstitle}
+ \begin{list}{\@answernumberfont\alph{@choice})~}{\usecounter{@choice}}}{%
+ %% \end{question}
+ \end{list}
+ \@initorcheck%
+ \addtocontents{frm}{\@formanswerline\protect\\\protect\hline}%
+ \addtocontents{msk}{\@maskanswerline\protect\\\protect\hline}%
+ \end{minipage}
+ \stepcounter{question}}
+\def\@truesymbol{\ding{52}~}
+\def\@falsesymbol{\ding{56}~}
+\newcommand\truesymbol[1]{\gdef\@truesymbol{#1}}
+\newcommand\falsesymbol[1]{\gdef\@falsesymbol{#1}}
+\def\@true@nocorrection{\item}
+\def\@false@nocorrection{\item}
+\def\@true@correction{\item[\@truesymbol\refstepcounter{@choice}]}
+\def\@false@correction{\item[\@falsesymbol\refstepcounter{@choice}]}
+\newcommand\true{%
+ \xdef\@formanswerline{\@formanswerline&}%
+ \xdef\@maskanswerline{\@maskanswerline&\@X}%
+ \@true}%
+\newcommand\false{%
+ \xdef\@formanswerline{\@formanswerline&}%
+ \xdef\@maskanswerline{\@maskanswerline&}%
+ \@false}%
+\def\@correctionstyle{\itshape}
+\newcommand\correctionstyle[1]{\gdef\@correctionstyle{#1}}
+\newenvironment{@correction}{\@correctionstyle}{}
+ \def\@questionheader{سؤال \thequestion}
+ \answerstitle{جوابهای ممکن:}
+\DeclareOption{nocorrection}{%
+ \let\@true\@true@nocorrection
+ \let\@false\@false@nocorrection
+ \let\correction\comment
+ \let\endcorrection\endcomment
+ \def\makeform{\makeform@nocorrection}
+ \def\makemask{\makemask@nocorrection}}
+\DeclareOption{correction}{%
+ \let\@true\@true@correction
+ \let\@false\@false@correction
+ \let\correction\@correction
+ \let\endcorrection\end@correction
+ \def\makeform{\makeform@correction}
+ \def\makemask{\makemask@correction}}
+\ExecuteOptions{nocorrection}
+\newcommand\questiontitle[1]{\gdef\@questiontitle{#1}}
+\def\@questiontitlefont{\bfseries}
+\newcommand\questiontitlefont[1]{\gdef\@questiontitlefont{#1}}
+\newlength\questiontitlespace
+\setlength\questiontitlespace{5pt}
+\newlength\questionsepspace
+\setlength\questionsepspace{20pt}
+\gdef\@questionsepspace{0pt}
+\let\old@question\question
+\let\old@endquestion\endquestion
+\renewenvironment{question}[1]{%
+ %% \begin{question}
+ \vspace\@questionsepspace
+ \fbox{\parbox[c]{0.25\linewidth}{\@questiontitlefont\@questiontitle}}
+ \nopagebreak\vspace\questiontitlespace\par
+ \old@question{#1}}{%
+ %% \end{question}
+ \old@endquestion
+ \gdef\@questionsepspace{\questionsepspace}}
+ \questiontitle{سؤال \thequestion:}
+\ProcessOptions
+% \end{macrocode}
+% \iffalse
+%</xepersian-multiplechoice.sty>
+%<*xepersian-persiancal.sty>
+%\fi
+% \subsection{\textsf{xepersian-persiancal.sty}}
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{xepersian-persiancal}[2012/07/25 v0.2 provides Persian calendar]
+
+\newif\ifXePersian@leap \newif\ifXePersian@kabiseh
+\newcount\XePersian@i \newcount\XePersian@y \newcount\XePersian@m \newcount\XePersian@d
+\newcount\XePersian@latini \newcount\XePersian@persiani
+\newcount\XePersian@latinii \newcount\XePersian@persianii
+\newcount\XePersian@latiniii \newcount\XePersian@persianiii
+\newcount\XePersian@latiniv \newcount\XePersian@persianiv
+\newcount\XePersian@latinv \newcount\XePersian@persianv
+\newcount\XePersian@latinvi \newcount\XePersian@persianvi
+\newcount\XePersian@latinvii \newcount\XePersian@persianvii
+\newcount\XePersian@latinviii \newcount\XePersian@persianviii
+\newcount\XePersian@latinix \newcount\XePersian@persianix
+\newcount\XePersian@latinx \newcount\XePersian@persianx
+\newcount\XePersian@latinxi \newcount\XePersian@persianxi
+\newcount\XePersian@latinxii \newcount\XePersian@persianxii
+ \newcount\XePersian@persianxiii
+
+\newcount\XePersian@temp
+\newcount\XePersian@temptwo
+\newcount\XePersian@tempthree
+\newcount\XePersian@yModHundred
+\newcount\XePersian@thirtytwo
+\newcount\XePersian@dn
+\newcount\XePersian@sn
+\newcount\XePersian@mminusone
+
+
+\XePersian@y=\year \XePersian@m=\month \XePersian@d=\day
+\XePersian@temp=\XePersian@y
+\divide\XePersian@temp by 100\relax
+\multiply\XePersian@temp by 100\relax
+\XePersian@yModHundred=\XePersian@y
+\advance\XePersian@yModHundred by -\XePersian@temp\relax
+\ifodd\XePersian@yModHundred
+ \XePersian@leapfalse
+\else
+ \XePersian@temp=\XePersian@yModHundred
+ \divide\XePersian@temp by 2\relax
+ \ifodd\XePersian@temp\XePersian@leapfalse
+ \else
+ \ifnum\XePersian@yModHundred=0%
+ \XePersian@temp=\XePersian@y
+ \divide\XePersian@temp by 400\relax
+ \multiply\XePersian@temp by 400\relax
+ \ifnum\XePersian@y=\XePersian@temp\XePersian@leaptrue\else\XePersian@leapfalse\fi
+ \else\XePersian@leaptrue
+ \fi
+ \fi
+\fi
+\XePersian@latini=31\relax
+\ifXePersian@leap
+ \XePersian@latinii = 29\relax
+\else
+ \XePersian@latinii = 28\relax
+\fi
+\XePersian@latiniii = 31\relax
+\XePersian@latiniv = 30\relax
+\XePersian@latinv = 31\relax
+\XePersian@latinvi = 30\relax
+\XePersian@latinvii = 31\relax
+\XePersian@latinviii = 31\relax
+\XePersian@latinix = 30\relax
+\XePersian@latinx = 31\relax
+\XePersian@latinxi = 30\relax
+\XePersian@latinxii = 31\relax
+\XePersian@thirtytwo=32\relax
+\XePersian@temp=\XePersian@y
+\advance\XePersian@temp by -17\relax
+\XePersian@temptwo=\XePersian@temp
+\divide\XePersian@temptwo by 33\relax
+\multiply\XePersian@temptwo by 33\relax
+\advance\XePersian@temp by -\XePersian@temptwo
+\ifnum\XePersian@temp=\XePersian@thirtytwo\XePersian@kabisehfalse
+\else
+ \XePersian@temptwo=\XePersian@temp
+ \divide\XePersian@temptwo by 4\relax
+ \multiply\XePersian@temptwo by 4\relax
+ \advance\XePersian@temp by -\XePersian@temptwo
+ \ifnum\XePersian@temp=\z@\XePersian@kabisehtrue\else\XePersian@kabisehfalse\fi
+\fi
+\XePersian@tempthree=\XePersian@y % Number of Leap years
+\advance\XePersian@tempthree by -1
+\XePersian@temp=\XePersian@tempthree % T := (MY-1) div 4
+\divide\XePersian@temp by 4\relax
+\XePersian@temptwo=\XePersian@tempthree % T := T - ((MY-1) div 100)
+\divide\XePersian@temptwo by 100\relax
+\advance\XePersian@temp by -\XePersian@temptwo
+\XePersian@temptwo=\XePersian@tempthree % T := T + ((MY-1) div 400)
+\divide\XePersian@temptwo by 400\relax
+\advance\XePersian@temp by \XePersian@temptwo
+\advance\XePersian@tempthree by -611 % Number of Kabise years
+\XePersian@temptwo=\XePersian@tempthree % T := T - ((SY+10) div 33) * 8
+\divide\XePersian@temptwo by 33\relax
+\multiply\XePersian@temptwo by 8\relax
+\advance\XePersian@temp by -\XePersian@temptwo
+\XePersian@temptwo=\XePersian@tempthree %
+\divide\XePersian@temptwo by 33\relax
+\multiply\XePersian@temptwo by 33\relax
+\advance\XePersian@tempthree by -\XePersian@temptwo
+\ifnum\XePersian@tempthree=32\advance\XePersian@temp by 1\fi % if (SY+10) mod 33=32 then Inc(T);
+\divide\XePersian@tempthree by 4\relax % T := T - ((SY+10) mod 33) div 4
+\advance\XePersian@temp by -\XePersian@tempthree
+\advance\XePersian@temp by -137 % T := T - 137 Adjust the value
+\XePersian@persiani=31
+\advance\XePersian@persiani by -\XePersian@temp % now 31 - T is the persiani
+\XePersian@persianii = 30\relax
+\ifXePersian@kabiseh
+ \XePersian@persianiii = 30\relax
+\else
+ \XePersian@persianiii = 29\relax
+\fi
+\XePersian@persianiv = 31\relax
+\XePersian@persianv = 31\relax
+\XePersian@persianvi = 31\relax
+\XePersian@persianvii = 31\relax
+\XePersian@persianviii= 31\relax
+\XePersian@persianix = 31\relax
+\XePersian@persianx = 30\relax
+\XePersian@persianxi = 30\relax
+\XePersian@persianxii = 30\relax
+\XePersian@persianxiii= 30\relax
+\XePersian@dn= 0\relax
+\XePersian@sn= 0\relax
+\XePersian@mminusone=\XePersian@m
+\advance\XePersian@mminusone by -1\relax
+\XePersian@i=0\relax
+\ifnum\XePersian@i < \XePersian@mminusone
+\loop
+\advance \XePersian@i by 1\relax
+\advance\XePersian@dn by \csname XePersian@latin\romannumeral\the\XePersian@i\endcsname
+\ifnum\XePersian@i<\XePersian@mminusone \repeat
+\fi
+\advance \XePersian@dn by \XePersian@d
+\XePersian@i=1\relax
+\XePersian@sn = \XePersian@persiani
+\ifnum \XePersian@sn<\XePersian@dn
+\loop
+\advance \XePersian@i by 1\relax
+\advance\XePersian@sn by \csname XePersian@persian\romannumeral\the\XePersian@i\endcsname
+\ifnum \XePersian@sn<\XePersian@dn \repeat
+\fi
+\ifnum \XePersian@i < 4
+ \XePersian@m = 9 \advance\XePersian@m by \XePersian@i
+ \advance \XePersian@y by -622\relax
+\else
+ \XePersian@m = \XePersian@i \advance \XePersian@m by -3\relax
+ \advance \XePersian@y by -621\relax
+\fi
+\advance\XePersian@sn by -\csname XePersian@persian\romannumeral\the\XePersian@i%
+\endcsname
+\ifnum\XePersian@i = 1
+ \XePersian@d = \XePersian@dn \advance \XePersian@d by 30 \advance\XePersian@d by -\XePersian@persiani
+\else
+ \XePersian@d = \XePersian@dn \advance \XePersian@d by -\XePersian@sn
+\fi
+\newcommand*{\persiantoday}{%
+\number\XePersian@d\space%
+\XePersian@persian@month{\XePersian@m}\space\number\XePersian@y%
+}
+\let\persianyear\XePersian@y
+\let\persianmonth\XePersian@m
+\let\persianday\XePersian@d
+\def\XePersian@persian@month#1{\ifcase#1\or فروردین\or
+اردیبهشت\or
+خرداد\or تیر\or
+مرداد\or
+شهریور\or مهر\or
+آبان\or آذر\or
+دی\or بهمن\or
+اسفند\fi}
+% \end{macrocode}
+% \iffalse
+%</xepersian-persiancal.sty>
+%\fi
+%
+% \Finale
+%
+%
+%\iffalse
+%<*magazine-sample.tex>
+\documentclass[12pt,twoside]{xepersian-magazine}
+\usepackage{graphicx}
+\usepackage{xltxtra}
+\usepackage{amsmath}
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}
+\setlatintextfont[Scale=1]{Junicode}
+\setdigitfont{XB Zar}
+\pagestyle{fancy}
+\title{مجلهٔ زی‌پرشین}
+\author{وفا خلیقی}
+\edition{جلد اول}
+\customlogo{مجلهٔ زی‌پرشین}
+\customminilogo{مجلهٔ زی‌پرشین}
+\custommagazinename{مجلهٔ زی‌پرشین}
+\customwwwTxt{http://google.com}
+\begin{document}
+\begin{frontpage}
+\firstimage{img/ireland.jpg}{این زیرنویس تصویر اصلی در صفحهٔ اول است.}
+\firstarticle{این تیتر مقالهٔ اول است.}
+{خوب این قسمت کوچکی از مقالهٔ اول است که ما در حال نوشتن آن هستم. باید یک مقدار بنویسیم تا مقداری این قسمت پر شود تا بتوانیم چیز قشنگی داشته باشیم. دقت کنیم که بصورت انتخابی حتی می‌توانیم زمان را هم درج کنیم که در سمت راست قرار می‌گیرد.}%
+{۱۲:۳۴}
+\secondarticle{این هم سر تیتر مقالهٔ دوم است.}%
+{این هم زیر تیتر مقالهٔ دوم است که آن را در اینجا می‌نویسیم.}%
+{خوب این قسمت کوچکی از مقالهٔ اول است که ما در حال نوشتن آن هستم. باید یک مقدار بنویسیم تا مقداری این قسمت پر شود تا بتوانیم چیز قشنگی داشته باشیم. دقت کنیم که بصورت انتخابی حتی می‌توانیم زمان را هم درج کنیم که در سمت راست قرار می‌گیرد.}%
+{قسمت الف}%
+{۱۰:۲۳}
+
+\thirdarticle{این سرتیتر مقالهٔ سوم است.}%
+{این هم زیرتیتر مقالهٔ سوم است که ما آن را در اینجا قرار می‌دهیم.}%
+{خوب این قسمت کوچکی از مقالهٔ اول است که ما در حال نوشتن آن هستم. باید یک مقدار بنویسیم تا مقداری این قسمت پر شود تا بتوانیم چیز قشنگی داشته باشیم. دقت کنیم که بصورت انتخابی حتی می‌توانیم زمان را هم درج کنیم که در سمت راست قرار می‌گیرد. و همانطور که می‌بینید من مطلبی برای گفتن ندارم فقط متن علکی می‌نویسم تا کمی صفحه را پر کرده باشم. اما در قسمتهای بعدی مقداری از سهراب سپهری خواهم نوشت.}%
+
+{قسمت ب}%
+{۱۰:۰۲}
+
+\begin{indexblock}{نمایه (فهرست مطالب) اصلی}
+\indexitem{۱- مقاله اول}{1}
+
+\indexitem{۲- مقاله دوم}{3}
+
+\indexitem{۳- مقاله سوم}{3}
+
+\indexitem{۴- مقاله چهارم}{5}
+\end{indexblock}
+
+\begin{weatherblock}{وضع آب و هوا}
+\weatheritem{img/weather/rain.jpg}{امروز}{13}{9}{}
+\weatheritem{img/weather/sun.jpg}{فردا}{15}{1}{}
+\weatheritem{img/weather/clouds.jpg}{جمعه}{12}{6}{}
+\end{weatherblock}
+
+\begin{authorblock}
+\textbf{ویرایشگران}
+
+وفا خلیقی، مهدی امیدعلی و مصطفی واحدی
+
+\texttt{persiantexdev@gmail.com\\[5pt]
+http://google.com}\\
+\end{authorblock}
+\end{frontpage}
+\newsection{قسمت الف}
+\begin{article}{2}
+{این تیتر این مقاله است.}
+{این هم زیرتیتر این مقاله هست.}
+{قسمت الف}
+{1}
+\authorandplace{نام نویسنده}{مکان}
+
+\noindent\timestamp{۸:۲۵}
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+\footnote{این یک زیرنویس فارسی است.}\LTRfootnote{This is an English footnote.}
+\begin{equation}
+(a+b)^3=a^3+3a^2b+3ab^2+b^3\label{eq-1}
+\end{equation}
+این معادلهٔ \eqref{eq-1} است.
+\columntitle{lines}{این را برای مهم یا نشان دادن حرفی مهم در این مجله انجام می‌دهیم.}
+
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+\end{article}
+
+\articlesep
+
+\begin{article}{2}
+{این تیتر این مقاله است.}
+{این هم زیرتیتر این مقاله هست.}
+{قسمت الف}
+{1}
+\authorandplace{نام نویسنده}{مکان}
+
+\noindent\timestamp{08:25}
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+\LTRfootnote{This is an English footnote.}\footnote{این یک زیرنویس فارسی است.}
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+
+\expandedtitle{doublebox}{این هم مطلی است مهم یا چیزی که از خلاصهٔ این مقاله ما متوجه شده‌ایم و این برای ما و خوانندگان خیلی مهم است.}
+
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+\end{article}
+
+\articlesep
+
+\newsection{قسمت ب}
+
+\begin{article}{2}
+{این یک تیتر کوتاه است.وفا خلیقی}
+{این هم مثل همیشه زیرتیتر است که ما آن را در اینجا قرار می‌دهیم.}
+{قسمت ب}
+{3}
+
+\authorandplace{نام نویسنده}{مکان}
+
+\noindent\timestamp{08:25} et ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+
+\expandedtitle{lines}{این هم دوباره مطلب مهمی است که ما آن را از لابلای این مقاله برای خواننده درست کرده‌ایم.}
+
+ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+\end{article}
+
+\articlesep
+
+\begin{editorial}{1}{این یک مثال از مقاله‌ای از طرف ویرایشگر است.}{نام و نام خانوادگی}{4}
+يژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.
+
+اما معماری همتابه‌همتا ويژگی‌های ديگری نيز دارد که آن را هم برای فراهم‌کنندگان کاربردها و هم برای استفاده‌کنندگان جذاب‌تر می‌کند. از آن‌جا که شبکه‌های همتابه‌همتا از همان زيرساخت‌های اينترنت استفاده می‌کنند ونيازی به راه‌اندازی سرورها ندارند، ساخت اين شبكه‌ها بسيار ارزان‌تر از ايجاد زير ساخت‌های لازم برای راه‌اندازی شبكه‌های مشتری/خدمت‌گزار است. هم‌چنين با زياد شدن تعداد کاربران چون درعمل تعداد گره‌های ارائه کننده‌ی خدمات هم بالا می‌رود، نه تنها عملكرد شبكه افت پيدا نمی‌كند بلكه انتظار بهبود عملکرد نيز می‌رود. گذشته از اين موارد، مالكيت اين شبكه‌ها به صورت اشتراكی بين تمام کاربران پخش شده و هيچ شخص يا شركتی نمی‌تواند سياست‌های دلخواه خود را در اين نوع شبكه‌ها اعمال کند.
+
+اماهيچ چيزی بی‌ بها به دست نمی‌آید. نبود سرور مرکزی اگر چه ويژگی‌های جذابی به شبکه‌های همتابه‌همتا می‌بخشد اما از طرف ديگر آن‌ها را با دشواری‌هايی نيز روبه‌رو می‌کند. عدم وجود يك هماهنگ كننده مركزی در شبكه، انجام بسياری از امور و ارائه خدمات را دچار مشكل می‌کند. از يک طرف، تغيير و رفت‌وآمد زیاد کاربران از ويژگی‌های ذاتی اين شبکه‌ها است و از طرف ديگر در اين شبكه‌ها، ديگر اين گره‌های معمولی هستند كه عهده‌دار تمامی وظايف هستند. به همين دلیل يکی از مشکلات اصلی فراروی اين شبكه‌ها، مقابله با تغييرات لحظه‌ای و فراهم آوردن ثبات در ارائه خدمات در بستری از بی‌ثباتی است.
+\end{editorial}
+
+\articlesep
+
+\begin{shortarticle}{4}{محیط مقالهٔ کوتاه}{محیط مقالهٔ کوتاه داخل مجلهٔ زی‌پرشین}{5}
+\shortarticleitem{این یک تیتر کوتاه است}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\shortarticleitem{یک تیتر کوتاه دیگر}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\shortarticleitem{یک تیتر کوتاه دیگر}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\shortarticleitem{یک تیتر کوتاه دیگر}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\shortarticleitem{یک تیتر کوتاه دیگر}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\shortarticleitem{یک تیتر کوتاه دیگر}{ويژگی اصلی که اين معماری را متمايز کرده و در دنيای اينترنت آن‌ها در مقابل معماری قبلی شبكه‌ها قرار داده است، امكان ايجاد ارتباط مستقيم بين كامپيوترهای مختلف بدون نياز به دخالت سرورهای قدرتمند در بين راه است. نام‌ اين نوع معماری هم در واقع بر گرفته شده از همین ارتباط مستقیم بين گره‌ها است. در واقع در اين نوع شبكه‌ها اثری از سرورها نيست و تمامی گره‌های معمولی موجود در شبكه، بايد وظايفی را که قبلا بر عهده‌ی سرورها بود، خود انجام دهند. بنابراين در اين نوع معماری گره‌های معمولی در ضمن اين‌که از خدمات شبکه بهره‌مند می‌شود بايد نقش خدمت‌گزار را هم ايفا کنند . در اين نوع شبکه‌ها گره‌های معمولی به كمك روش‌ها و پروتكل‌های توزيع شده، تمامی وظايف مسير يابی در شبكه، جستجوی منابع، امنيت شبكه و شناسايی هويت استفاده كننده‌ها و هم‌چنين مقابله با حملات احتمالی مهاجمان را بر عهده دارند.}
+\end{shortarticle}
+
+\articlesep
+
+\end{document}
+%</magazine-sample.tex>
+%<*test-correction.tex>
+\documentclass{article}
+\usepackage[correction]{xepersian-multiplechoice}
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}
+\setdigitfont[Scale=1]{XB Zar}
+\begin{document}
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\false $\{(3,2),(3,3)\} $
+\true $\{(2,2),(2,3)\} $
+\false $\{(2,3),(3,3)\} $
+\false $\{(2,2),(3,2)\} $
+\end{question}
+
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\true $x$
+\false $y$
+\false $z$
+\false $t$
+\end{question}
+
+\begin{question}{مجموعه‎ $(B-A^{'})^{'}$ ‎برابر است با:}
+\false $B^{'}\bigcap A$
+\false $B'\bigcup A' $
+\true $A$
+\false هیچکدام.
+\end{question}
+
+\begin{question}{صورت متعارفی عدد مختلط ‎$\frac{7+i}{1-i}$‎ کدام است.}
+\false $4+4i$
+\false $4-3i$
+\false $3+4i$
+\true $3-3i$
+\end{question}
+\begin{correction}
+جواب درست یکی از اینها است.
+\end{correction}
+
+\end{document}
+%</test-correction.tex>
+%<*test-empty-form.tex>
+\documentclass{article}
+\usepackage{xepersian-multiplechoice}
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}
+\setdigitfont[Scale=1]{XB Zar}
+\begin{document}
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\false $\{(3,2),(3,3)\} $
+\true $\{(2,2),(2,3)\} $
+\false $\{(2,3),(3,3)\} $
+\false $\{(2,2),(3,2)\} $
+\end{question}
+
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\true $x$
+\false $y$
+\false $z$
+\false $t$
+\end{question}
+
+\begin{question}{مجموعه‎ $(B-A^{'})^{'}$ ‎برابر است با:}
+\false $B^{'}\bigcap A$
+\false $B'\bigcup A' $
+\true $A$
+\false هیچکدام.
+\end{question}
+
+\begin{question}{صورت متعارفی عدد مختلط ‎$\frac{7+i}{1-i}$‎ کدام است.}
+\false $4+4i$
+\false $4-3i$
+\false $3+4i$
+\true $3-3i$
+\end{question}
+\begin{correction}
+جواب درست یکی از اینها است.
+\end{correction}
+\bigskip
+
+\begin{center}
+\makeform
+\end{center}
+\end{document}
+%</test-empty-form.tex>
+%<*test-question-only.tex>
+\documentclass{article}
+\usepackage{xepersian-multiplechoice}
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}
+\setdigitfont[Scale=1]{XB Zar}
+\begin{document}
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\false $\{(3,2),(3,3)\} $
+\true $\{(2,2),(2,3)\} $
+\false $\{(2,3),(3,3)\} $
+\false $\{(2,2),(3,2)\} $
+\end{question}
+
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\true $x$
+\false $y$
+\false $z$
+\false $t$
+\end{question}
+
+\begin{question}{مجموعه‎ $(B-A^{'})^{'}$ ‎برابر است با:}
+\false $B^{'}\bigcap A$
+\false $B'\bigcup A' $
+\true $A$
+\false هیچکدام.
+\end{question}
+
+\begin{question}{صورت متعارفی عدد مختلط ‎$\frac{7+i}{1-i}$‎ کدام است.}
+\false $4+4i$
+\false $4-3i$
+\false $3+4i$
+\true $3-3i$
+\end{question}
+\begin{correction}
+جواب درست یکی از اینها است.
+\end{correction}
+
+\end{document}
+%</test-question-only.tex>
+%<*test-solution-form.tex>
+\documentclass{article}
+\usepackage{xepersian-multiplechoice}
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}
+\setdigitfont[Scale=1]{XB Zar}
+\begin{document}
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\false $\{(3,2),(3,3)\} $
+\true $\{(2,2),(2,3)\} $
+\false $\{(2,3),(3,3)\} $
+\false $\{(2,2),(3,2)\} $
+\end{question}
+
+\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
+\true $x$
+\false $y$
+\false $z$
+\false $t$
+\end{question}
+
+\begin{question}{مجموعه‎ $(B-A^{'})^{'}$ ‎برابر است با:}
+\false $B^{'}\bigcap A$
+\false $B'\bigcup A' $
+\true $A$
+\false هیچکدام.
+\end{question}
+
+\begin{question}{صورت متعارفی عدد مختلط ‎$\frac{7+i}{1-i}$‎ کدام است.}
+\false $4+4i$
+\false $4-3i$
+\false $3+4i$
+\true $3-3i$
+\end{question}
+\begin{correction}
+جواب درست یکی از اینها است.
+\end{correction}
+
+\bigskip
+\begin{center}
+\makemask
+\end{center}
+\end{document}
+%</test-solution-form.tex>
+%<*xepersian-logo.tex>
+\documentclass{article}
+\usepackage{pstricks}
+\pagestyle{empty}
+\begin{document}
+\psset{xunit=.5pt,yunit=.5pt,runit=.5pt}
+\begin{pspicture}(644,645)
+{
+\newrgbcolor{curcolor}{0.13725491 0.12156863 0.1254902}
+\pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
+{
+\newpath
+\moveto(279.26972,573.224136)
+\curveto(292.82326,550.186122)(301.06715,519.27798)(301.06715,486.79581)
+\curveto(301.06715,480.6428)(300.7877,474.48979)(300.08907,468.33678)
+\curveto(311.68642,456.17386)(321.04814,442.86618)(327.61532,432.42037)
+\curveto(329.85095,444.29711)(330.96876,456.74622)(330.96876,469.05224)
+\curveto(330.96876,521.28128)(312.10561,574.511975)(282.34373,600.268762)
+\curveto(268.92991,604.418465)(258.86957,601.699694)(255.51611,600.554948)
+\curveto(264.59837,593.972658)(272.56282,584.528503)(279.26972,573.224136)
+\closepath
+\moveto(294.63971,612.431688)
+\curveto(318.67278,610.714569)(343.82366,597.120709)(362.96628,572.222483)
+\curveto(382.1089,547.324257)(395.38298,512.69569)(395.38298,473.48814)
+\curveto(395.38298,430.56016)(379.45409,385.05651)(338.23458,338.5512)
+\curveto(347.17712,337.97882)(355.70047,334.54459)(361.84847,329.39323)
+\curveto(363.38546,329.67941)(364.92246,329.82251)(366.45946,329.82251)
+\lineto(367.43755,329.82251)
+\curveto(407.67897,367.88532)(423.46813,414.39062)(423.46813,459.3219)
+\curveto(423.46813,501.39132)(409.49542,541.88671)(388.39662,571.793203)
+\curveto(367.43755,601.699694)(339.63185,620.731097)(312.38506,620.588004)
+\curveto(302.88361,620.588004)(284.57936,615.865926)(275.35736,610.857662)
+\curveto(276.056,610.714569)(283.60126,613.147154)(294.63971,612.431688)
+\closepath
+\moveto(392.86789,574.798161)
+\curveto(414.52559,544.033112)(428.77777,502.53607)(428.91749,459.3219)
+\curveto(428.91749,414.39062)(413.40778,367.45603)(374.28417,328.96395)
+\curveto(382.6678,327.10373)(390.07335,322.52475)(394.54462,316.51483)
+\curveto(395.10352,315.65628)(395.66243,314.79772)(396.08162,313.93915)
+\curveto(440.79429,353.57599)(458.26019,401.94151)(458.26019,449.30538)
+\curveto(458.26019,496.52616)(440.65457,542.60218)(414.80505,576.801467)
+\curveto(389.09525,611.000755)(355.28129,633.037117)(323.4235,632.894024)
+\curveto(308.61243,632.894024)(293.94107,628.171946)(280.52727,617.439952)
+\curveto(290.86708,623.163682)(301.62607,625.882454)(312.38506,625.882454)
+\curveto(342.14693,625.739361)(371.21018,605.420119)(392.86789,574.798161)
+\closepath
+\moveto(267.11347,620.731097)
+\curveto(259.14902,621.589657)(250.90511,621.446564)(242.66121,620.158724)
+\curveto(249.64758,620.158724)(256.35448,618.870884)(262.78193,616.438299)
+\curveto(264.03946,617.869232)(265.43674,619.443258)(267.11347,620.731097)
+\closepath
+\moveto(233.57895,569.503711)
+\curveto(241.82285,555.337479)(246.7133,537.16464)(246.7133,519.99345)
+\curveto(246.7133,515.55755)(246.43385,511.12166)(245.73522,506.97196)
+\curveto(252.58184,503.8239)(260.26683,499.81729)(268.65046,494.37975)
+\curveto(268.92991,497.81399)(269.06965,501.24822)(269.06965,504.82556)
+\curveto(269.06965,527.14811)(263.06138,551.044682)(252.8613,569.217525)
+\curveto(242.66121,587.533462)(228.54878,599.696389)(212.61988,599.696389)
+\curveto(205.77325,599.696389)(198.50744,597.406897)(190.82244,592.398633)
+\curveto(193.89645,593.400285)(196.97044,593.829565)(199.90471,593.829565)
+\curveto(213.7377,593.829565)(225.47477,583.669944)(233.57895,569.503711)
+\closepath
+\moveto(255.93529,570.934644)
+\curveto(266.41482,552.046334)(272.56282,527.72048)(272.56282,504.82556)
+\curveto(272.56282,500.53277)(272.28337,496.38306)(271.86419,492.23335)
+\curveto(276.75464,488.9422)(281.92455,485.07869)(287.23417,480.78589)
+\curveto(290.72736,477.92403)(293.94107,474.91907)(297.01508,471.77102)
+\curveto(297.43426,476.77928)(297.71371,481.93064)(297.71371,486.9389)
+\curveto(297.71371,518.7056)(289.60953,549.184469)(276.33546,571.507017)
+\curveto(263.06138,593.829565)(245.03657,607.995797)(225.19532,607.995797)
+\curveto(217.65006,607.995797)(209.68561,605.992491)(201.58143,601.413507)
+\curveto(205.35407,602.558254)(209.1267,603.130627)(212.7596,603.130627)
+\curveto(230.50496,603.130627)(245.45576,589.67986)(255.93529,570.934644)
+\closepath
+\moveto(217.92951,516.98848)
+\curveto(223.23914,515.27137)(231.7625,512.98187)(242.38176,508.40289)
+\curveto(242.94066,512.12332)(243.22013,515.98683)(243.22013,519.99345)
+\curveto(243.22013,536.44917)(238.4694,554.192733)(230.64468,567.786592)
+\curveto(222.81996,581.380452)(211.92124,590.395327)(199.90471,590.252234)
+\curveto(193.05808,590.252234)(185.51282,587.390368)(177.54837,580.235706)
+\curveto(201.44171,591.110793)(229.38714,561.490489)(217.92951,516.98848)
+\closepath
+\moveto(254.81748,601.270414)
+\curveto(255.51611,603.416813)(257.19284,608.425077)(260.54629,613.433341)
+\curveto(254.81748,615.436646)(248.80921,616.581392)(242.52149,616.581392)
+\curveto(234.27758,616.581392)(225.6145,614.72118)(216.53224,610.571476)
+\curveto(219.4665,611.143849)(222.40078,611.430035)(225.19532,611.430035)
+\curveto(235.81458,611.430035)(245.73522,607.709611)(254.81748,601.270414)
+\closepath
+\moveto(471.11508,572.93795)
+\curveto(474.18909,569.360618)(476.56445,566.35566)(479.35899,562.492141)
+\curveto(480.61653,566.784939)(483.41107,571.220831)(483.41107,575.370534)
+\curveto(489.00016,571.65011)(498.22215,569.932991)(503.25233,563.923074)
+\lineto(503.53178,563.923074)
+\curveto(513.45241,578.2324)(538.18412,565.210913)(532.87448,550.758494)
+\lineto(531.19775,547.610443)
+\curveto(528.40321,543.46074)(524.91003,541.88671)(521.69631,541.74362)
+\curveto(517.36477,541.88671)(513.87159,544.605485)(513.87159,549.613749)
+\curveto(513.87159,551.760148)(514.57023,553.62036)(515.40859,555.051292)
+\curveto(516.38668,556.339132)(517.5045,557.054598)(518.48258,557.054598)
+\curveto(519.32095,557.054598)(520.15931,556.768412)(521.13741,555.623665)
+\curveto(522.25522,554.478919)(522.53467,553.62036)(522.53467,553.047986)
+\curveto(522.53467,552.475614)(522.25522,551.760148)(521.69631,551.330868)
+\curveto(521.13741,550.901589)(520.43876,550.615401)(520.15931,550.615401)
+\lineto(520.01958,550.615401)
+\curveto(519.18123,550.329215)(518.0634,550.758494)(517.64422,549.899935)
+\curveto(517.22505,549.041376)(517.5045,547.896629)(518.34286,547.46735)
+\lineto(518.34286,547.46735)
+\curveto(518.90177,547.181163)(519.46068,547.03807)(520.01958,547.03807)
+\curveto(522.6744,547.181163)(525.7484,549.327562)(525.88813,553.047986)
+\curveto(525.88813,554.765106)(525.04976,556.482225)(523.51277,558.05625)
+\curveto(521.97577,559.630277)(520.15931,560.488836)(518.34286,560.488836)
+\curveto(513.45241,560.345743)(510.23869,555.194385)(510.23869,549.613749)
+\curveto(510.23869,546.17951)(511.49623,543.17455)(513.73186,541.17125)
+\curveto(515.82777,539.16794)(518.62232,538.16629)(521.69631,538.16629)
+\lineto(521.69631,538.16629)
+\curveto(525.46895,538.16629)(529.52104,540.0265)(532.73476,543.74693)
+\curveto(549.08284,522.56913)(548.52392,496.23996)(542.65539,484.36322)
+\curveto(609.44496,556.768412)(518.76205,609.283636)(471.11508,572.93795)
+\closepath
+\moveto(462.03282,238.95829)
+\curveto(488.30152,268.00622)(515.12914,307.64306)(522.53467,367.16985)
+\curveto(523.79222,377.47256)(524.35113,387.48909)(524.35113,397.50562)
+\curveto(524.35113,410.5271)(523.37304,423.2624)(521.41686,435.71152)
+\lineto(521.41686,431.41872)
+\curveto(521.41686,365.30964)(491.93443,303.63644)(441.63266,263.99961)
+\lineto(441.63266,262.28249)
+\curveto(441.63266,261.28083)(441.63266,260.27918)(441.49294,259.42063)
+\curveto(448.19984,253.26761)(453.09029,243.53727)(453.09029,231.94672)
+\curveto(453.09029,231.08816)(453.09029,230.2296)(452.95056,229.37104)
+\curveto(456.02455,232.376)(458.95883,235.52405)(462.03282,238.95829)
+\closepath
+\moveto(490.81662,567.214219)
+\curveto(489.27962,568.072778)(487.60289,568.645152)(485.92616,569.503711)
+\curveto(485.50698,567.357312)(484.94808,566.641846)(484.24944,564.495447)
+\curveto(483.5508,562.635235)(482.99189,560.488836)(482.57272,558.771717)
+\curveto(486.6248,553.62036)(489.27962,549.756842)(491.51525,546.17951)
+\curveto(492.49334,544.319298)(496.26597,536.87845)(500.59751,528.43595)
+\curveto(505.48796,518.7056)(511.07705,507.54433)(513.31268,502.24988)
+\curveto(513.59214,501.53442)(514.29077,501.24822)(514.84968,501.24822)
+\curveto(515.12914,501.24822)(515.26886,501.24822)(515.54832,501.39132)
+\curveto(516.38668,501.8206)(516.80587,502.82225)(516.38668,503.68082)
+\curveto(512.75378,512.26641)(501.43588,534.44586)(496.54542,543.89002)
+\curveto(496.68515,550.329215)(498.08243,556.052946)(500.31806,560.631929)
+\curveto(497.66325,563.350702)(494.30979,565.497101)(490.81662,567.214219)
+\closepath
+\moveto(447.92039,580.235706)
+\curveto(475.86581,544.462392)(495.98652,497.67089)(495.98652,447.01589)
+\curveto(495.98652,396.07468)(475.44662,341.41306)(422.49004,290.90114)
+\curveto(422.7695,290.18568)(422.90922,289.6133)(423.18868,288.89783)
+\curveto(429.61613,286.46525)(434.22712,282.31554)(437.1614,277.87966)
+\curveto(438.97784,275.16088)(440.09566,272.29902)(440.79429,269.72334)
+\curveto(491.09607,307.92924)(516.38668,365.882)(516.38668,431.56181)
+\curveto(516.38668,446.30042)(514.84968,461.18212)(511.77568,476.06382)
+\curveto(499.89888,512.12332)(480.61653,544.176205)(457.56155,570.219177)
+\curveto(454.34783,573.653416)(451.1341,576.94456)(447.92039,580.235706)
+\closepath
+\moveto(527.00594,317.65958)
+\curveto(525.88813,317.65958)(524.7703,317.65958)(523.65249,317.80268)
+\curveto(520.15931,307.35687)(515.9675,297.48343)(511.3565,288.46856)
+\curveto(533.9923,296.91106)(556.34864,306.78449)(571.15972,325.8159)
+\curveto(598.96542,361.44612)(599.80378,437.28555)(532.87448,440.43359)
+\curveto(533.85258,434.70987)(534.55121,428.98614)(535.11012,423.11931)
+\lineto(535.11012,423.11931)
+\curveto(535.11012,423.11931)(535.94849,416.39393)(536.08821,411.52876)
+\curveto(538.18412,407.37905)(539.02248,403.65862)(539.02248,400.22439)
+\curveto(539.02248,395.9316)(537.6252,391.92498)(535.38957,388.20456)
+\lineto(535.38957,382.19463)
+\curveto(539.44166,387.34599)(542.51566,393.21282)(542.51566,400.22439)
+\curveto(542.51566,404.66027)(540.69921,410.09783)(537.76493,415.24918)
+\curveto(537.76493,415.24918)(537.6252,415.67846)(537.90465,416.10774)
+\curveto(544.47184,424.26406)(551.59792,427.41211)(562.35691,426.98283)
+\curveto(565.01172,422.40385)(565.15145,411.81494)(565.01172,405.23265)
+\curveto(551.59792,400.08129)(547.96501,389.63549)(548.10474,379.18968)
+\curveto(548.10474,369.45933)(550.75955,359.29971)(550.75955,351.00031)
+\curveto(550.75955,345.84896)(549.78147,341.69925)(546.98693,338.83738)
+\curveto(546.28828,338.12192)(546.28828,336.97717)(546.98693,336.40479)
+\curveto(547.26638,336.11861)(547.82529,335.83242)(548.24447,335.83242)
+\curveto(548.66364,335.83242)(549.08284,335.97552)(549.50201,336.40479)
+\curveto(553.27465,340.26832)(554.39246,345.56276)(554.39246,351.00031)
+\curveto(554.39246,359.87209)(551.73765,370.03171)(551.73765,379.18968)
+\curveto(551.87737,389.49239)(553.27465,398.22108)(566.68845,402.94316)
+\curveto(566.96791,403.08626)(568.92409,403.08626)(569.48299,403.08626)
+\curveto(578.56525,402.80007)(585.9708,392.92663)(585.9708,392.92663)
+\curveto(559.84182,395.35922)(592.81743,317.65958)(527.00594,317.65958)
+\closepath
+\moveto(152.39748,502.39297)
+\lineto(152.39748,499.53111)
+\lineto(152.39748,499.24492)
+\lineto(152.39748,498.95874)
+\curveto(152.39748,498.81564)(152.25775,498.10017)(151.9783,496.95543)
+\curveto(158.82493,498.38636)(166.50993,499.10184)(175.03328,499.10184)
+\curveto(221.14323,499.10184)(287.65335,475.49144)(319.93032,397.21943)
+\curveto(323.56323,401.79841)(327.0564,406.3774)(330.27013,411.24257)
+\lineto(329.85095,411.67185)
+\curveto(324.40159,421.68838)(306.51652,453.31198)(281.92455,473.63122)
+\curveto(268.09155,485.07869)(255.51611,492.51953)(244.89685,497.52781)
+\curveto(214.2966,511.12166)(181.74018,514.98518)(151.69885,513.55425)
+\curveto(152.39748,509.97691)(152.39748,506.39958)(152.39748,502.39297)
+\closepath
+\moveto(418.99686,579.806425)
+\curveto(445.40529,544.748578)(463.4301,497.67089)(463.4301,449.16228)
+\curveto(463.4301,401.22604)(445.68475,351.71577)(401.25152,311.36347)
+\curveto(406.28169,309.64636)(410.75296,306.49831)(414.24614,303.06406)
+\curveto(416.48178,300.77458)(418.43796,298.34199)(419.97496,295.76631)
+\curveto(471.25481,345.13348)(490.67689,397.7918)(490.67689,446.87279)
+\curveto(490.67689,500.24657)(467.62191,549.470656)(436.60248,585.530156)
+\curveto(428.07912,595.403591)(418.99686,604.275372)(409.63515,611.859316)
+\curveto(382.6678,629.745972)(354.58265,639.7625)(330.27013,639.7625)
+\curveto(319.93032,639.7625)(310.42888,638.0453809)(301.62607,634.4680495)
+\curveto(308.75215,636.7575417)(316.15769,637.9022876)(323.56323,637.9022876)
+\curveto(357.79638,638.0453809)(392.58844,614.864274)(418.99686,579.806425)
+\closepath
+\moveto(273.68064,329.25013)
+\curveto(276.89436,330.25178)(279.96837,330.82416)(283.04236,330.82416)
+\curveto(284.29991,330.82416)(285.55744,330.68106)(286.67527,330.53798)
+\curveto(288.9109,332.97056)(291.84517,334.68768)(294.77943,335.97552)
+\curveto(299.39044,337.83573)(304.56034,338.83738)(309.73024,338.83738)
+\curveto(314.62069,338.69429)(319.37142,338.12192)(323.56323,335.83242)
+\curveto(327.0564,337.54954)(330.82904,338.4081)(334.60167,338.69429)
+\curveto(375.12254,384.91341)(390.3528,431.99109)(390.3528,473.63122)
+\curveto(390.3528,511.69404)(377.4979,545.177858)(359.05392,569.074432)
+\curveto(343.96339,588.678208)(317.69469,607.280331)(293.52189,607.566518)
+\curveto(305.11924,603.416813)(318.95224,601.413507)(338.37431,574.082695)
+\curveto(355.00183,550.472308)(367.717,516.98848)(367.717,484.50632)
+\curveto(367.717,471.05555)(365.48137,457.31859)(360.59092,443.86784)
+\curveto(346.75794,406.52049)(323.28378,381.0499)(299.53016,356.43785)
+\curveto(290.72736,347.42298)(282.06427,338.5512)(273.68064,329.25013)
+\closepath
+\moveto(352.06756,457.89097)
+\curveto(364.36356,530.29616)(320.20977,578.518587)(296.59589,593.686471)
+\curveto(294.77943,594.831218)(292.96299,595.83287)(291.14653,596.834523)
+\curveto(318.11387,568.358966)(334.32222,518.41942)(334.46195,469.19534)
+\curveto(334.46195,455.31529)(333.2044,441.43524)(330.40986,428.12758)
+\curveto(332.36604,424.83643)(334.04277,421.97457)(335.3003,419.68507)
+\curveto(340.60994,428.41376)(345.22094,437.85791)(348.99357,448.16063)
+\curveto(350.25111,451.30868)(351.22921,454.59983)(352.06756,457.89097)
+\closepath
+\moveto(234.97623,274.30233)
+\lineto(234.97623,274.30233)
+\lineto(234.97623,274.30233)
+\lineto(234.97623,274.30233)
+\closepath
+\moveto(425.42431,202.18332)
+\curveto(428.77777,205.47447)(429.75585,207.33468)(433.66821,211.77057)
+\lineto(436.32303,215.77718)
+\lineto(437.02167,217.20812)
+\curveto(439.95594,222.50256)(440.93402,227.36774)(440.93402,231.94672)
+\curveto(441.07375,241.10469)(436.04357,248.68863)(431.43258,251.69359)
+\lineto(427.10104,254.55546)
+\lineto(429.19695,259.42063)
+\lineto(429.19695,259.56372)
+\curveto(429.19695,259.70681)(429.33667,259.8499)(429.33667,260.1361)
+\curveto(429.4764,260.70846)(429.4764,261.42393)(429.4764,262.28249)
+\curveto(429.4764,264.85817)(428.77777,268.14932)(426.96131,271.01118)
+\curveto(425.00513,273.87305)(422.07087,276.59181)(416.20232,278.16584)
+\lineto(411.73106,279.31059)
+\lineto(411.73106,284.03267)
+\curveto(411.87078,285.4636)(409.9146,290.47186)(406.00224,294.04919)
+\curveto(402.08988,297.91272)(397.0597,300.4884)(392.02953,300.4884)
+\lineto(386.02126,300.4884)
+\lineto(386.02126,306.78449)
+\curveto(386.02126,306.78449)(385.88153,307.64306)(385.04316,308.7878)
+\curveto(384.20481,309.93254)(382.6678,311.50657)(380.71162,312.7944)
+\curveto(376.79927,315.37008)(371.34991,317.37339)(366.73892,317.37339)
+\curveto(365.06219,317.37339)(363.52519,317.08721)(362.12792,316.65793)
+\lineto(358.63474,315.51318)
+\lineto(356.11965,318.08886)
+\curveto(352.20729,322.23857)(343.82366,326.10208)(336.55785,326.10208)
+\curveto(332.78522,326.10208)(329.43177,325.24352)(326.77695,323.24022)
+\lineto(322.58513,320.23526)
+\lineto(318.95224,323.95569)
+\curveto(318.25359,324.95734)(314.34124,326.38827)(309.73024,326.38827)
+\curveto(306.09734,326.38827)(302.18498,325.6728)(299.39044,324.52805)
+\curveto(296.45616,323.38331)(295.0589,321.66619)(295.0589,321.38001)
+\lineto(292.82326,315.51318)
+\lineto(287.09445,317.80268)
+\curveto(286.11635,318.23196)(284.71909,318.51814)(283.04236,318.51814)
+\curveto(277.59299,318.51814)(270.46691,315.65628)(266.69428,308.50161)
+\lineto(265.01756,305.35356)
+\lineto(254.11884,305.35356)
+\curveto(247.13248,295.90941)(240.70503,285.60669)(235.11595,274.30233)
+\lineto(235.11595,274.30233)
+\lineto(235.11595,274.30233)
+\curveto(235.11595,274.30233)(232.60087,270.72499)(229.52686,263.71343)
+\curveto(244.19821,288.18237)(268.92991,308.50161)(307.4946,308.64471)
+\curveto(319.79059,308.64471)(333.34412,306.64139)(348.43465,301.91933)
+\curveto(395.80215,287.4669)(407.95842,259.27753)(407.95842,232.376)
+\curveto(407.95842,207.0485)(397.47888,182.72264)(396.36107,171.70446)
+\curveto(396.22135,170.27353)(396.08162,168.98569)(396.08162,167.69785)
+\curveto(396.08162,152.81615)(405.30361,145.94767)(413.82696,145.94767)
+\curveto(419.41604,145.94767)(424.58595,148.80954)(427.24077,154.39018)
+\curveto(426.96131,154.10399)(426.68186,153.9609)(426.40241,153.67471)
+\curveto(424.16677,152.10068)(421.51195,151.38522)(418.71741,151.38522)
+\curveto(415.64342,151.38522)(412.15023,152.38687)(409.49542,154.96255)
+\curveto(406.70087,157.53823)(402.2296,163.40505)(404.04606,173.13539)
+\curveto(405.86251,182.72264)(415.0845,191.88061)(425.42431,202.18332)
+\closepath
+\moveto(171.5401,182.29336)
+\curveto(178.66619,177.142)(186.77036,172.70611)(193.61698,171.13209)
+\curveto(184.53472,184.58286)(177.12919,201.18167)(173.49628,221.35782)
+\curveto(170.0031,222.35948)(166.78938,223.07494)(163.99484,223.64731)
+\lineto(163.43592,224.21969)
+\curveto(163.57565,223.36113)(163.57565,222.50256)(163.57565,221.64401)
+\curveto(163.57565,215.491)(161.34001,205.90375)(153.09612,200.18002)
+\curveto(155.47148,196.17341)(162.87702,188.58947)(171.5401,182.29336)
+\closepath
+\moveto(237.07213,80.98333)
+\curveto(248.11058,86.13469)(248.94893,100.15783)(248.94893,106.45394)
+\curveto(248.94893,108.88652)(247.41193,112.32076)(244.61739,115.03953)
+\curveto(242.80094,116.89974)(240.42558,118.47377)(237.91049,119.33232)
+\curveto(235.3954,119.61852)(232.88032,120.04779)(230.50496,120.62017)
+\curveto(227.57068,121.33563)(224.91587,121.62182)(222.40078,121.62182)
+\curveto(211.22261,121.62182)(204.79516,114.61025)(197.8088,107.88487)
+\curveto(197.11017,105.59537)(196.55126,102.73351)(196.55126,99.58546)
+\curveto(196.55126,93.71864)(198.08826,87.13634)(201.86089,82.12808)
+\curveto(204.79516,78.40766)(208.84725,75.40269)(214.71578,74.11486)
+\curveto(219.74597,73.54248)(229.24741,75.97507)(237.07213,80.55405)
+\lineto(237.07213,80.98333)
+\closepath
+\moveto(199.20607,80.12477)
+\curveto(194.73481,85.9916)(193.05808,93.28935)(193.05808,99.72855)
+\curveto(193.05808,101.15948)(193.1978,102.59041)(193.33753,103.87826)
+\curveto(188.30736,99.44236)(182.57854,95.72194)(174.33464,95.00647)
+\curveto(170.14283,94.72029)(165.81129,94.5772)(161.47975,94.5772)
+\curveto(157.84684,94.5772)(154.21393,94.5772)(150.58102,94.72029)
+\curveto(146.94813,94.72029)(143.45494,94.86338)(139.96177,94.86338)
+\curveto(120.95888,94.86338)(105.16971,92.71699)(105.02998,77.11982)
+\curveto(105.16971,69.96515)(108.38344,60.09171)(115.92869,46.49786)
+\curveto(115.92869,46.49786)(117.04652,44.63765)(119.14243,41.91888)
+\curveto(117.18624,46.78404)(116.06842,51.79231)(116.06842,56.94367)
+\curveto(116.06842,61.95193)(117.18624,66.9602)(119.70133,71.39608)
+\curveto(121.79724,75.11651)(125.15069,77.406)(128.92332,78.55075)
+\curveto(132.69595,79.6955)(136.74804,79.98168)(141.07958,79.98168)
+\curveto(146.66867,79.98168)(152.53721,79.5524)(158.1263,79.5524)
+\curveto(166.64965,79.5524)(174.19491,80.69715)(178.80592,85.56232)
+\lineto(178.80592,85.56232)
+\curveto(179.784,86.56398)(181.46073,86.56398)(182.43881,85.56232)
+\curveto(183.41691,84.56066)(183.41691,82.84355)(182.43881,81.8419)
+\curveto(176.01137,75.25961)(166.9291,74.25796)(157.98657,74.25796)
+\curveto(152.11803,74.25796)(146.24948,74.83033)(140.93986,74.68723)
+\curveto(136.88777,74.68723)(133.11513,74.40104)(130.32059,73.39939)
+\curveto(127.38633,72.39774)(125.43015,71.1099)(124.03287,68.67732)
+\curveto(122.07669,65.24307)(121.09861,61.23646)(121.09861,56.94367)
+\curveto(121.09861,49.78901)(123.75342,42.06197)(128.08496,35.90896)
+\curveto(132.4165,29.75595)(138.14532,25.60625)(144.15358,24.74769)
+\curveto(145.41112,24.60459)(146.66867,24.4615)(147.64676,24.4615)
+\curveto(154.07421,24.60459)(157.14821,27.03718)(159.52357,31.18688)
+\curveto(161.89893,35.33659)(162.87702,41.4896)(163.71539,47.35642)
+\curveto(163.85511,48.07189)(164.27429,48.78736)(164.97292,49.21664)
+\curveto(180.34291,58.94698)(181.74018,66.10164)(186.35118,70.82371)
+\curveto(187.32927,71.82536)(189.00599,71.82536)(189.98409,70.82371)
+\curveto(190.96217,69.82206)(190.96217,68.10495)(189.98409,67.10329)
+\curveto(187.04981,64.24142)(183.97582,55.22655)(168.74556,45.35311)
+\curveto(167.9072,39.62938)(166.9291,33.61946)(164.13456,28.46811)
+\curveto(161.61948,23.74604)(157.28794,20.02561)(150.86049,19.16705)
+\curveto(156.03039,17.87921)(161.61948,17.59303)(167.62774,18.59468)
+\curveto(190.82244,29.61285)(205.35407,57.80223)(211.36234,71.253)
+\curveto(206.19243,73.2563)(202.00061,76.40435)(199.20607,80.12477)
+\closepath
+\moveto(121.37806,182.29336)
+\curveto(126.68768,176.85582)(139.54258,174.9956)(145.8303,181.29171)
+\curveto(148.76458,173.85086)(168.32638,124.48368)(250.62566,125.62843)
+\curveto(241.5434,128.49029)(228.54878,134.50022)(214.71578,146.80624)
+\curveto(208.84725,152.10068)(203.11844,158.1106)(197.8088,165.26526)
+\curveto(188.30736,165.69455)(177.68809,171.41827)(168.46611,178.00056)
+\curveto(159.94275,184.29666)(152.81666,191.16515)(149.32349,196.3165)
+\curveto(145.55085,195.31485)(142.05767,194.88556)(138.98368,194.88556)
+\curveto(131.15895,194.88556)(125.01097,197.74743)(120.95888,202.18332)
+\curveto(116.90679,206.61921)(115.09034,212.34294)(115.09034,217.78049)
+\curveto(115.09034,220.92854)(115.64924,223.93349)(116.90679,226.65227)
+\curveto(111.45743,223.07494)(107.12589,218.92523)(105.02998,216.06337)
+\curveto(59.059754,221.93019)(34.467771,218.49595)(25.245783,210.62583)
+\curveto(17.979976,195.60103)(11.83198,166.41001)(58.500849,152.52996)
+\curveto(56.684394,154.39018)(56.963847,156.25039)(58.081658,157.96751)
+\curveto(52.352853,159.39844)(47.322668,161.68793)(43.130865,164.6929)
+\curveto(35.166415,170.41662)(30.555421,178.85912)(30.555421,188.87565)
+\curveto(30.555421,189.59112)(30.555421,190.30658)(30.695147,191.02205)
+\curveto(30.9746,196.45959)(33.489686,200.4662)(37.262322,202.6126)
+\curveto(41.034958,204.759)(45.645952,205.33138)(50.676125,205.33138)
+\curveto(60.317303,205.33138)(72.054378,203.18497)(82.533915,203.18497)
+\curveto(93.572357,203.18497)(102.65462,205.33138)(107.6848,213.34459)
+\lineto(107.6848,213.34459)
+\curveto(108.52316,214.63244)(110.06016,214.91862)(111.3177,214.06007)
+\curveto(112.57525,213.20151)(112.8547,211.62748)(112.01634,210.33964)
+\curveto(105.44916,200.03692)(93.991536,197.74743)(82.533915,197.74743)
+\curveto(71.355746,197.74743)(59.61866,199.89384)(50.676125,199.89384)
+\curveto(46.065131,199.89384)(42.152769,199.32146)(39.777408,197.89052)
+\curveto(37.402048,196.45959)(36.144499,194.74248)(35.865046,190.59277)
+\lineto(35.865046,188.73255)
+\curveto(35.865046,180.43315)(39.358229,173.85086)(46.204857,168.84259)
+\curveto(52.772032,164.12052)(62.552937,161.25865)(74.988643,161.11556)
+\curveto(79.459911,165.98073)(81.555818,170.98899)(81.416092,174.42323)
+\curveto(81.416092,175.28179)(81.276366,175.99725)(81.136639,176.56963)
+\curveto(80.857186,177.57128)(81.136639,178.57293)(81.835283,179.2884)
+\curveto(83.511999,181.00553)(85.607907,181.57789)(87.564088,182.00718)
+\curveto(89.659995,182.43646)(91.895629,182.86573)(94.270989,183.58121)
+\curveto(99.021709,185.01214)(104.33135,187.44472)(109.7807,194.74248)
+\curveto(110.61907,195.88721)(112.2958,196.17341)(113.41361,195.31485)
+\curveto(114.53143,194.45628)(114.81088,192.73917)(113.97251,191.59442)
+\curveto(104.89025,179.14531)(94.270989,178.14365)(88.821637,176.85582)
+\curveto(87.84354,176.71272)(87.144909,176.42654)(86.586003,176.14035)
+\curveto(86.725729,175.56797)(86.725729,174.9956)(86.725729,174.42323)
+\curveto(86.725729,168.6995)(83.651726,162.4034)(77.922921,156.67966)
+\curveto(77.643468,156.39348)(77.224277,156.10729)(76.805098,155.96421)
+\curveto(76.805098,154.96255)(76.385919,153.9609)(75.268096,152.81615)
+\curveto(86.166824,151.8145)(100.55871,148.38025)(107.54507,155.53492)
+\curveto(114.3917,162.68958)(116.48761,177.2851)(121.37806,182.29336)
+\closepath
+\moveto(64.229654,386.34434)
+\curveto(66.046108,388.49074)(82.254462,405.66194)(92.454534,413.10278)
+\curveto(82.673641,410.6702)(66.884478,402.08461)(53.470664,391.06642)
+\curveto(56.125488,389.06311)(61.015935,386.77363)(64.229654,386.34434)
+\closepath
+\moveto(67.443384,365.16654)
+\curveto(74.569464,372.60739)(98.742257,400.51058)(97.205266,405.94812)
+\curveto(88.821637,397.64871)(81.975009,391.4957)(78.3421,387.20291)
+\curveto(72.892736,380.7637)(69.120112,375.32616)(67.443384,365.16654)
+\closepath
+\moveto(29.158145,244.39583)
+\curveto(29.158145,260.1361)(54.867939,258.13279)(59.199481,275.16088)
+\curveto(64.089927,294.19229)(44.10895,295.05084)(53.470664,309.93254)
+\curveto(39.917135,319.23361)(25.944427,314.08225)(25.944427,325.6728)
+\curveto(25.944427,337.40645)(51.793947,342.98708)(61.574841,377.32947)
+\curveto(61.574841,377.32947)(58.920028,370.03171)(51.374757,363.59252)
+\curveto(30.415694,345.84896)(6.2428949,344.56111)(5.4045319,321.09382)
+\curveto(4.4264414,295.62322)(32.511602,278.88131)(22.451244,268.57859)
+\curveto(12.670339,258.56207)(24.267698,249.4041)(29.158145,244.39583)
+\closepath
+\moveto(139.68231,483.64776)
+\curveto(147.64676,473.63122)(167.20856,446.44352)(167.20856,419.68507)
+\curveto(167.20856,409.09617)(163.99484,398.36418)(155.61121,389.3493)
+\curveto(215.55415,362.16159)(171.5401,311.93585)(178.38673,223.93349)
+\curveto(184.11554,190.0204)(200.8828,166.41001)(218.20897,150.81285)
+\curveto(234.8365,135.78805)(249.7873,126.48699)(262.22301,126.48699)
+\curveto(262.50246,126.48699)(263.89974,126.77318)(264.17919,126.91628)
+\curveto(245.31602,133.92784)(227.98986,151.24213)(219.88569,167.69785)
+\curveto(215.97333,175.71107)(212.61988,185.58451)(211.08289,193.88391)
+\curveto(209.68561,201.75404)(209.54588,205.61756)(209.54588,215.20481)
+\curveto(209.54588,255.27092)(224.21724,279.73987)(224.21724,279.73987)
+\curveto(241.96258,315.79937)(267.25319,340.5545)(290.86708,365.02345)
+\curveto(299.66989,374.03832)(308.19325,383.1963)(316.01796,392.64045)
+\curveto(284.99854,470.62627)(219.88569,493.80738)(174.89355,493.80738)
+\curveto(165.67156,493.80738)(157.42766,492.80573)(150.4413,491.2317)
+\lineto(150.4413,491.2317)
+\curveto(150.02212,491.0886)(149.60294,491.0886)(149.18376,491.2317)
+\curveto(147.22758,488.65602)(144.29331,485.79416)(139.68231,483.64776)
+\closepath
+\moveto(362.96628,97.72525)
+\curveto(357.93611,91.28605)(348.71412,84.84685)(332.78522,79.98168)
+\curveto(314.76042,74.54414)(297.85344,71.68228)(282.90263,71.68228)
+\curveto(268.65046,71.68228)(255.93529,74.25796)(245.1763,79.26622)
+\curveto(243.91876,78.26457)(242.52149,77.26291)(240.98448,76.40435)
+\curveto(237.77076,69.67897)(233.02004,65.38617)(226.73232,62.66739)
+\curveto(283.74099,40.63104)(380.15272,56.80058)(405.44333,79.5524)
+\lineto(405.44333,81.26952)
+\curveto(405.44333,85.13304)(405.58306,88.56728)(405.86251,91.71532)
+\lineto(404.46524,91.71532)
+\curveto(386.85962,91.71532)(373.16636,94.5772)(362.96628,97.72525)
+\closepath
+\moveto(425.42431,88.56728)
+\curveto(430.17503,88.56728)(434.92576,89.42584)(439.2573,90.99986)
+\curveto(450.43547,93.28935)(460.91501,98.01143)(468.87945,102.16114)
+\curveto(444.4272,94.72029)(424.02705,92.00152)(407.12006,91.71532)
+\curveto(412.01051,89.85512)(418.01878,88.56728)(425.42431,88.56728)
+\closepath
+\moveto(451.27383,77.97837)
+\curveto(445.82448,58.51769)(478.10145,57.22985)(491.37552,60.23481)
+\curveto(489.00016,61.66574)(487.04398,63.95524)(485.92616,67.53257)
+\curveto(484.38917,72.39774)(486.06589,76.97672)(488.86044,80.12477)
+\curveto(479.9179,84.84685)(456.58347,96.86668)(451.27383,77.97837)
+\closepath
+\moveto(644.79592,393.6421)
+\curveto(641.72193,495.81068)(576.18989,609.569823)(471.11508,621.160376)
+\curveto(463.29037,612.288595)(456.44374,603.559906)(450.43547,594.974311)
+\curveto(455.88483,589.67986)(461.19446,584.242316)(466.36436,578.375493)
+\curveto(466.64381,578.089307)(466.92327,577.660026)(467.20273,577.37384)
+\curveto(468.04109,578.089307)(469.01918,578.804773)(469.85754,579.520239)
+\curveto(495.28789,597.836176)(547.12665,601.127321)(568.92409,555.337479)
+\curveto(590.44207,510.12001)(549.64174,475.77763)(549.64174,475.77763)
+\curveto(545.03075,471.62792)(536.78684,467.47821)(527.14566,465.47491)
+\curveto(528.82239,459.17881)(530.21967,452.88271)(531.47721,446.44352)
+\lineto(531.75667,446.44352)
+\curveto(559.00345,448.5899)(589.6037,431.848)(595.19279,391.4957)
+\curveto(606.0915,312.50822)(528.96212,281.45699)(503.95097,272.5852)
+\curveto(500.31806,270.86809)(499.20024,268.29241)(499.20024,268.29241)
+\curveto(505.76742,267.29076)(511.49623,261.9963)(514.98941,254.84164)
+\curveto(516.66614,251.26431)(517.36477,248.11626)(517.36477,245.2544)
+\curveto(517.36477,238.38591)(513.03323,233.23456)(507.02496,229.65722)
+\curveto(501.01669,226.07989)(493.19198,224.36278)(487.60289,224.36278)
+\curveto(485.0878,224.36278)(482.85217,224.79206)(481.59462,225.36443)
+\curveto(480.89599,225.65062)(480.47681,225.93681)(480.33708,226.22299)
+\curveto(480.47681,226.79536)(480.61653,227.51082)(480.89599,228.0832)
+\curveto(485.78643,239.24447)(512.3346,226.65227)(507.58387,251.40741)
+\curveto(506.04688,259.13444)(501.85506,262.56868)(496.12624,263.14105)
+\curveto(475.02744,231.66053)(450.01629,209.91036)(433.38876,193.45463)
+\curveto(423.18868,183.58121)(415.36396,176.9989)(413.68724,171.84756)
+\curveto(413.12832,170.13044)(411.73106,164.97908)(414.94477,161.54484)
+\curveto(415.78314,160.68627)(417.04068,159.54154)(418.29823,159.39844)
+\curveto(426.82159,157.96751)(427.79967,167.69785)(427.79967,167.69785)
+\curveto(429.19695,165.83763)(430.0353,163.69123)(430.0353,161.40175)
+\curveto(430.0353,160.82937)(429.89558,160.257)(429.89558,159.68462)
+\lineto(429.89558,159.25534)
+\curveto(428.49831,149.38192)(421.09277,144.23056)(413.40778,144.23056)
+\lineto(413.26806,144.23056)
+\curveto(408.51733,144.23056)(403.62688,146.23386)(399.85424,150.09738)
+\curveto(396.08162,154.10399)(393.70625,159.97082)(393.70625,167.84094)
+\curveto(393.70625,169.12878)(393.84598,170.55971)(393.98571,171.99064)
+\curveto(395.24325,183.58121)(405.58306,207.62086)(405.58306,232.5191)
+\curveto(405.58306,258.84825)(394.12544,285.89288)(347.31684,300.3453)
+\curveto(332.36604,304.92428)(318.95224,306.92759)(306.79597,306.92759)
+\curveto(262.6422,306.92759)(236.93241,279.73987)(223.93778,250.54884)
+\curveto(221.00351,240.96159)(218.34869,228.65557)(217.65006,213.63079)
+\curveto(217.3706,207.33468)(217.92951,199.75074)(218.62815,194.1701)
+\curveto(219.4665,188.44637)(222.95969,176.42654)(226.73232,168.41331)
+\curveto(234.8365,151.8145)(246.85303,135.93115)(262.92165,129.06267)
+\lineto(265.43674,128.06101)
+\curveto(273.68064,129.92123)(278.43136,131.63834)(287.3739,134.92949)
+\lineto(289.46981,135.64495)
+\curveto(303.72198,140.93941)(317.13578,145.94767)(330.1304,145.94767)
+\curveto(338.51403,145.94767)(345.77984,144.08746)(352.34702,139.79466)
+\curveto(353.18539,139.36538)(353.88402,138.79301)(354.58265,138.22063)
+\lineto(358.63474,134.92949)
+\lineto(358.63474,134.92949)
+\lineto(359.61283,133.92784)
+\curveto(364.64301,128.49029)(368.41564,120.62017)(367.85673,112.32076)
+\curveto(367.57727,108.88652)(366.59919,104.87991)(364.22383,100.8733)
+\curveto(374.00472,97.86833)(386.99935,95.29266)(403.7666,95.29266)
+\curveto(423.74758,95.29266)(449.31765,99.01308)(481.17544,110.31745)
+\lineto(481.31517,110.31745)
+\curveto(481.45489,110.31745)(481.45489,110.46055)(481.45489,110.46055)
+\curveto(534.83066,110.46055)(513.59214,75.11651)(507.72359,82.12808)
+\curveto(501.29614,89.56893)(486.06589,78.98002)(490.39743,66.8171)
+\curveto(496.9646,47.92879)(527.00594,64.6707)(530.21967,77.11982)
+\curveto(524.07167,35.90896)(461.47392,53.50943)(447.08202,55.51273)
+\curveto(430.17503,57.94533)(423.3284,41.91888)(425.70376,27.18027)
+\curveto(427.65994,15.01735)(420.25441,3.85608)(416.90095,0.56493)
+\curveto(440.79429,-4.15716)(452.1122,16.59137)(461.47392,23.17366)
+\curveto(470.97536,29.89905)(505.34823,26.6079)(524.7703,41.91888)
+\curveto(544.19238,57.08676)(541.67729,93.71864)(541.67729,98.01143)
+\curveto(546.14856,99.87164)(561.23909,106.16775)(561.23909,123.91131)
+\curveto(561.23909,139.36538)(550.06092,147.09242)(538.6033,145.66149)
+\curveto(525.88813,144.08746)(522.11549,128.06101)(536.50739,127.77483)
+\curveto(533.29366,131.06597)(537.0663,136.07424)(541.39784,133.64165)
+\curveto(547.96501,129.92123)(540.55948,118.75995)(527.00594,121.04945)
+\curveto(522.25522,121.908)(511.49623,123.48203)(501.29614,124.91296)
+\curveto(578.70498,166.41001)(649.12746,251.26431)(644.79592,393.6421)
+\closepath
+\moveto(480.61653,222.07328)
+\curveto(482.57272,221.21473)(485.0878,220.92854)(488.02207,220.92854)
+\curveto(494.44952,220.92854)(502.55369,222.78875)(509.26059,226.65227)
+\curveto(515.9675,230.51579)(521.41686,236.81189)(521.41686,245.2544)
+\curveto(521.41686,248.68863)(520.57849,252.40906)(518.62232,256.41567)
+\curveto(517.64422,258.41897)(516.66614,259.993)(515.40859,261.42393)
+\curveto(522.11549,256.12948)(525.46895,250.97813)(526.86621,246.39913)
+\curveto(527.14566,245.2544)(527.42513,244.10965)(527.70458,243.10799)
+\curveto(527.84431,241.96325)(527.98403,240.96159)(527.98403,239.95994)
+\curveto(527.98403,236.38261)(527.14566,233.23456)(526.16758,230.80197)
+\curveto(521.41686,217.3512)(508.98114,211.05511)(495.14816,210.91201)
+\curveto(492.91253,210.91201)(490.53715,211.05511)(488.30152,211.48439)
+\curveto(484.5289,213.63079)(481.17544,217.6374)(480.47681,222.35948)
+\curveto(480.47681,222.07328)(480.47681,222.07328)(480.61653,222.07328)
+\closepath
+\moveto(481.45489,209.19489)
+\curveto(485.92616,207.90705)(490.53715,207.33468)(495.00843,207.33468)
+\lineto(495.14816,207.33468)
+\curveto(509.8195,207.33468)(523.79222,214.34625)(529.24157,229.22795)
+\curveto(528.82239,215.92027)(522.25522,210.05346)(513.31268,205.33138)
+\curveto(504.0907,200.4662)(492.49334,197.46124)(484.10971,190.30658)
+\curveto(477.4028,184.58286)(474.60827,177.57128)(474.60827,170.55971)
+\curveto(474.60827,160.54319)(480.05763,150.52665)(487.04398,142.22725)
+\curveto(437.99975,172.9923)(459.79719,203.18497)(481.45489,209.19489)
+\closepath
+\moveto(504.50987,178.71603)
+\curveto(486.6248,172.56302)(489.41934,150.95593)(491.37552,142.37034)
+\curveto(483.83025,150.66975)(478.10145,160.97247)(478.10145,170.41662)
+\curveto(478.10145,176.42654)(480.33708,182.29336)(486.34535,187.44472)
+\curveto(493.89061,194.02701)(505.20851,197.03196)(514.84968,202.04023)
+\curveto(524.49085,207.0485)(532.73476,214.77552)(532.73476,230.0865)
+\curveto(532.73476,234.09312)(532.17585,238.52901)(531.05803,243.53727)
+\curveto(529.80049,252.12287)(523.51277,262.1394)(506.1866,271.58355)
+\curveto(520.29904,270.5819)(546.56774,264.14271)(551.17874,236.6688)
+\curveto(556.34864,206.33303)(527.00594,186.44307)(504.50987,178.71603)
+\closepath
+\moveto(265.01756,121.76492)
+\curveto(258.59011,120.19089)(252.16266,119.18924)(245.59549,119.04614)
+\curveto(246.15439,118.61686)(246.57357,118.18759)(247.13248,117.7583)
+\curveto(250.34621,114.46716)(252.44212,110.60363)(252.58184,106.59702)
+\curveto(252.58184,101.87496)(252.30239,92.2877)(246.99275,84.98995)
+\curveto(250.06676,81.8419)(265.71619,78.55075)(265.71619,78.55075)
+\curveto(267.67237,78.26457)(268.92991,78.40766)(270.32719,78.40766)
+\curveto(274.93818,78.40766)(278.29164,80.98333)(280.80672,85.13304)
+\curveto(283.18208,89.28274)(284.43963,95.00647)(284.43963,100.44401)
+\curveto(284.43963,101.87496)(284.29991,103.44897)(284.16018,104.87991)
+\curveto(282.62318,115.75499)(276.056,122.0511)(265.99565,122.0511)
+\curveto(265.57647,121.76492)(265.29701,121.76492)(265.01756,121.76492)
+\closepath
+\moveto(289.74926,129.92123)
+\curveto(284.43963,127.91793)(279.13,125.91461)(273.68064,124.1975)
+\curveto(281.36563,121.47872)(286.53554,114.46716)(287.65335,105.023)
+\curveto(287.79308,103.44897)(287.9328,101.87496)(287.9328,100.15783)
+\curveto(287.9328,94.14792)(286.53554,87.85181)(283.74099,82.98665)
+\curveto(282.48345,80.84024)(280.94645,78.98002)(279.13,77.54909)
+\curveto(289.19035,77.26291)(299.25071,78.26457)(308.75215,79.98168)
+\lineto(308.75215,79.98168)
+\curveto(320.07005,81.5557)(326.4975,95.43575)(326.4975,107.1694)
+\curveto(326.4975,108.74343)(326.35777,110.31745)(326.07832,111.74838)
+\curveto(324.40159,122.33728)(314.48097,134.07094)(301.62607,134.07094)
+\curveto(297.85344,132.92619)(293.80135,131.35216)(289.74926,129.92123)
+\closepath
+\moveto(350.39084,135.07259)
+\curveto(344.24284,139.22229)(337.67566,140.79631)(330.82904,140.79631)
+\curveto(323.98241,140.79631)(316.7166,139.22229)(309.17133,136.7897)
+\curveto(320.3495,133.21237)(328.0345,122.62347)(329.71123,112.60695)
+\curveto(329.99068,110.88983)(330.1304,109.1727)(330.1304,107.3125)
+\curveto(330.1304,98.86999)(327.0564,88.99656)(321.04814,82.84355)
+\curveto(324.68104,83.7021)(328.0345,84.70376)(331.38794,85.70541)
+\curveto(344.24284,89.56893)(362.68683,99.29928)(363.66491,112.75003)
+\lineto(363.66491,112.60695)
+\curveto(363.66491,113.17931)(363.80465,113.6086)(363.80465,114.18096)
+\curveto(363.52519,123.76822)(355.70047,131.20907)(350.39084,135.07259)
+\closepath
+\moveto(46.204857,390.20786)
+\curveto(66.465287,406.66359)(95.249085,420.25745)(100.69844,414.67681)
+\curveto(106.1478,409.09617)(84.070917,374.61069)(60.736482,350.71412)
+\curveto(80.018828,350.71412)(100.41898,354.57765)(144.15358,393.35592)
+\curveto(149.46321,401.51223)(151.55912,409.95473)(151.55912,418.39724)
+\curveto(151.69885,445.01257)(130.04114,471.34174)(121.23833,480.78589)
+\curveto(110.06016,482.50301)(106.28753,490.65933)(106.1478,491.0886)
+\lineto(106.00808,491.51788)
+\lineto(105.86835,491.94717)
+\curveto(105.86835,492.23335)(104.6108,498.67255)(105.30943,507.25815)
+\curveto(74.709191,500.24657)(51.23503,489.2284)(42.152769,481.50136)
+\curveto(42.152769,481.50136)(44.807582,478.06712)(43.689771,471.05555)
+\curveto(48.719944,468.90916)(57.103573,481.07208)(68.980386,475.92072)
+\curveto(79.180458,471.34174)(88.542184,461.89758)(98.881983,463.32852)
+\lineto(99.860079,458.89262)
+\curveto(88.68191,455.60148)(78.481826,467.04894)(68.002289,471.05555)
+\curveto(57.103573,475.34835)(48.580217,463.32852)(42.711674,466.90585)
+\curveto(42.292495,465.47491)(41.593863,463.7578)(40.755493,462.04067)
+\curveto(41.593863,455.74457)(45.506225,447.87445)(51.374757,443.15236)
+\curveto(51.514483,443.00927)(51.654209,442.72309)(51.654209,442.43691)
+\curveto(51.654209,442.15071)(51.514483,441.86453)(51.374757,441.72143)
+\curveto(46.903489,438.00101)(21.053968,418.82652)(14.347067,412.10113)
+\curveto(14.766246,411.81494)(15.185437,411.52876)(15.744342,411.24257)
+\curveto(24.96633,405.37575)(36.144499,399.65201)(43.130865,399.65201)
+\lineto(44.388402,399.65201)
+\curveto(48.021312,402.65697)(78.481826,423.4055)(96.22717,423.54858)
+\curveto(101.81626,423.54858)(106.42725,421.2591)(107.82453,415.39227)
+\curveto(107.96426,414.96299)(107.6848,414.39062)(107.26561,414.24753)
+\curveto(106.84643,414.10444)(106.28753,414.39062)(106.1478,414.81991)
+\curveto(104.89025,419.68507)(101.39708,421.54528)(96.22717,421.54528)
+\curveto(79.180458,421.68838)(46.624036,399.36583)(45.366499,397.9349)
+\curveto(45.226761,397.7918)(45.087034,397.64871)(44.807582,397.64871)
+\curveto(44.248676,397.64871)(43.689771,397.50562)(43.130865,397.50562)
+\curveto(29.158145,397.64871)(4.1469875,416.39393)(-1.0229167,420.40054)
+\curveto(2.889443,408.95308)(23.010149,393.7852)(46.204857,390.20786)
+\closepath
+\moveto(62.133746,442.29381)
+\curveto(48.999396,444.44021)(47.462406,459.465)(47.462406,459.465)
+\curveto(50.676125,467.33513)(69.259838,468.90916)(80.018828,453.88436)
+\curveto(80.018828,453.88436)(72.473557,440.57669)(62.133746,442.29381)
+\closepath
+\moveto(130.46032,233.09147)
+\curveto(124.59178,230.0865)(120.39996,224.64896)(120.39996,217.92358)
+\curveto(120.53969,209.33798)(125.98905,200.32311)(139.1234,200.18002)
+\curveto(141.91794,200.18002)(145.13167,200.6093)(148.76458,201.61095)
+\curveto(157.70712,205.90375)(160.2222,215.491)(160.2222,221.50091)
+\curveto(160.2222,222.64566)(160.08248,223.64731)(159.94275,224.36278)
+\curveto(159.6633,225.65062)(159.38384,226.93846)(158.96465,227.94011)
+\curveto(149.32349,235.09478)(139.26313,235.52405)(130.46032,233.09147)
+\closepath
+\moveto(12.810065,413.24588)
+\curveto(19.237514,419.68507)(42.991127,437.57173)(49.278849,442.43691)
+\curveto(43.829497,447.15897)(40.336314,453.45508)(39.358229,459.60809)
+\curveto(38.93905,458.74954)(38.380133,457.74788)(37.681501,456.88932)
+\curveto(29.018419,443.00927)(9.8757994,431.848)(-1.0229167,422.69003)
+\curveto(-0.04482616,421.97457)(5.5442594,417.68177)(12.670339,412.95969)
+\curveto(12.810065,413.10278)(12.810065,413.24588)(12.810065,413.24588)
+\closepath
+\moveto(163.71539,419.68507)
+\curveto(163.85511,445.44186)(143.45494,473.48814)(136.18914,482.35991)
+\curveto(135.49049,482.21683)(134.93159,481.93064)(134.23296,481.78754)
+\curveto(131.43842,481.07208)(128.78359,480.78589)(126.26851,480.6428)
+\curveto(136.18914,469.33843)(154.91257,444.72639)(155.0523,418.54032)
+\curveto(155.0523,409.81163)(152.9564,401.08295)(147.64676,392.64045)
+\curveto(149.18376,392.06807)(150.72076,391.4957)(152.11803,390.92332)
+\lineto(152.11803,390.92332)
+\curveto(160.64138,399.36583)(163.71539,409.38235)(163.71539,419.68507)
+\closepath
+\moveto(95.109359,510.12001)
+\curveto(91.895629,516.41612)(85.747633,522.28294)(68.421468,531.44091)
+\curveto(58.500849,520.13653)(57.802205,507.11505)(59.478933,497.09852)
+\curveto(69.539291,502.24988)(81.555818,506.68578)(95.109359,510.12001)
+\closepath
+\moveto(133.25486,486.08034)
+\curveto(146.94813,489.51458)(148.06594,499.6742)(148.06594,499.6742)
+\curveto(148.06594,512.12332)(150.02212,518.27633)(128.64387,540.16959)
+\curveto(103.63271,525.28789)(110.06016,493.09191)(110.06016,493.09191)
+\curveto(110.06016,493.09191)(115.23006,481.50136)(133.25486,486.08034)
+\closepath
+}
+}
+\end{pspicture}
+\end{document}
+%</xepersian-logo.tex>
+%\fi
+%
+% \typeout{*************************************************************}
+% \typeout{*}
+% \typeout{* To finish the installation you have to move the following}
+% \typeout{* file into a directory searched by TeX:}
+% \typeout{*}
+% \typeout{* \space\space\space all *.cls, *.sty and *.def files}
+% \typeout{*}
+% \typeout{* You also need to compile the *.map files with teckit_compile}
+% \typeout{* and place the resulting *.tec files under}
+% \typeout{* .../fonts/misc/xetex/fontmapping}
+% \typeout{*}
+% \typeout{*************************************************************}
+%
+\endinput
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
new file mode 100644
index 00000000000..3d76dd24dd6
--- /dev/null
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
@@ -0,0 +1,115 @@
+%%
+%% This is file `xepersian.ins',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `batchfile')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\input docstrip.tex
+\let\MetaPrefix\relax
+\keepsilent
+\preamble
+
+ ______________________________________
+ Copyright © 2008–2013 Persian TeX Group
+
+ License information appended.
+
+\endpreamble
+\postamble
+
+Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+
+It may be distributed and/or modified under the LaTeX Project Public License,
+version 1.3c or higher (your choice). The latest version of
+this license is at: http://www.latex-project.org/lppl.txt
+
+This work is “maintained” (as per LPPL maintenance status)
+by Persian TeX Group.
+
+\endpostamble
+\askforoverwritefalse
+\let\MetaPrefix\DoubleperCent
+\generate{\file{algorithmic-xepersian.def}{\from{\jobname.dtx}{algorithmic-xepersian.def}}}
+\generate{\file{algorithm-xepersian.def}{\from{\jobname.dtx}{algorithm-xepersian.def}}}
+\generate{\file{amsart-xepersian.def}{\from{\jobname.dtx}{amsart-xepersian.def}}}
+\generate{\file{amsbook-xepersian.def}{\from{\jobname.dtx}{amsbook-xepersian.def}}}
+\generate{\file{article-xepersian.def}{\from{\jobname.dtx}{article-xepersian.def}}}
+\generate{\file{artikel1-xepersian.def}{\from{\jobname.dtx}{artikel1-xepersian.def}}}
+\generate{\file{artikel2-xepersian.def}{\from{\jobname.dtx}{artikel2-xepersian.def}}}
+\generate{\file{artikel3-xepersian.def}{\from{\jobname.dtx}{artikel3-xepersian.def}}}
+\generate{\file{backref-xepersian.def}{\from{\jobname.dtx}{backref-xepersian.def}}}
+\generate{\file{bidicode-xepersian.def}{\from{\jobname.dtx}{bidicode-xepersian.def}}}
+\generate{\file{bidituftesidenote-xepersian.def}{\from{\jobname.dtx}{bidituftesidenote-xepersian.def}}}
+\generate{\file{bidimoderncv-xepersian.def}{\from{\jobname.dtx}{bidimoderncv-xepersian.def}}}
+\generate{\file{boek3-xepersian.def}{\from{\jobname.dtx}{boek3-xepersian.def}}}
+\generate{\file{boek-xepersian.def}{\from{\jobname.dtx}{boek-xepersian.def}}}
+\generate{\file{bookest-xepersian.def}{\from{\jobname.dtx}{bookest-xepersian.def}}}
+\generate{\file{book-xepersian.def}{\from{\jobname.dtx}{book-xepersian.def}}}
+\generate{\file{breqn-xepersian.def}{\from{\jobname.dtx}{breqn-xepersian.def}}}
+\generate{\file{commands-ltx.def}{\from{\jobname.dtx}{commands-ltx.def}}}
+\generate{\file{color-localise.def}{\from{\jobname.dtx}{color-localise.def}}}
+\generate{\file{commands-xepersian.def}{\from{\jobname.dtx}{commands-xepersian.def}}}
+\generate{\file{empheq-xepersian.def}{\from{\jobname.dtx}{empheq-xepersian.def}}}
+\generate{\file{enumerate-xepersian.def}{\from{\jobname.dtx}{enumerate-xepersian.def}}}
+\generate{\file{environments-ltx.def}{\from{\jobname.dtx}{environments-ltx.def}}}
+\generate{\file{environments-xepersian.def}{\from{\jobname.dtx}{environments-xepersian.def}}}
+\generate{\file{extarticle-xepersian.def}{\from{\jobname.dtx}{extarticle-xepersian.def}}}
+\generate{\file{extbook-xepersian.def}{\from{\jobname.dtx}{extbook-xepersian.def}}}
+\generate{\file{extrafootnotefeatures-xepersian.def}{\from{\jobname.dtx}{extrafootnotefeatures-xepersian.def}}}
+\generate{\file{extreport-xepersian.def}{\from{\jobname.dtx}{extreport-xepersian.def}}}
+\generate{\file{flowfram-xepersian.def}{\from{\jobname.dtx}{flowfram-xepersian.def}}}
+\generate{\file{footnote-bidi-xepersian.def}{\from{\jobname.dtx}{footnote-bidi-xepersian.def}}}
+\generate{\file{framed-bidi-xepersian.def}{\from{\jobname.dtx}{framed-bidi-xepersian.def}}}
+\generate{\file{hyperref-xepersian.def}{\from{\jobname.dtx}{hyperref-xepersian.def}}}
+\generate{\file{imsproc-xepersian.def}{\from{\jobname.dtx}{imsproc-xepersian.def}}}
+\generate{\file{kashida-xepersian.def}{\from{\jobname.dtx}{kashida-xepersian.def}}}
+\generate{\file{listings-xepersian.def}{\from{\jobname.dtx}{listings-xepersian.def}}}
+\generate{\file{loadingorder-bidi-xepersian.def}{\from{\jobname.dtx}{loadingorder-bidi-xepersian.def}}}
+\generate{\file{localise-xepersian.def}{\from{\jobname.dtx}{localise-xepersian.def}}}
+\generate{\file{memoir-xepersian.def}{\from{\jobname.dtx}{memoir-xepersian.def}}}
+\generate{\file{messages-localise.def}{\from{\jobname.dtx}{messages-localise.def}}}
+\generate{\file{minitoc-xepersian.def}{\from{\jobname.dtx}{minitoc-xepersian.def}}}
+\generate{\file{misc-localise-xepersian.def}{\from{\jobname.dtx}{misc-localise-xepersian.def}}}
+\generate{\file{natbib-xepersian.def}{\from{\jobname.dtx}{natbib-xepersian.def}}}
+\generate{\file{packages-localise-xepersian.def}{\from{\jobname.dtx}{packages-localise-xepersian.def}}}
+\def\MetaPrefix{;;}
+\generate{\file{parsidigits.map}{\from{\jobname.dtx}{parsidigits.map}}}
+\let\MetaPrefix\DoubleperCent
+\generate{\file{rapport1-xepersian.def}{\from{\jobname.dtx}{rapport1-xepersian.def}}}
+\generate{\file{rapport3-xepersian.def}{\from{\jobname.dtx}{rapport3-xepersian.def}}}
+\generate{\file{refrep-xepersian.def}{\from{\jobname.dtx}{refrep-xepersian.def}}}
+\generate{\file{report-xepersian.def}{\from{\jobname.dtx}{report-xepersian.def}}}
+\generate{\file{scrartcl-xepersian.def}{\from{\jobname.dtx}{scrartcl-xepersian.def}}}
+\generate{\file{scrbook-xepersian.def}{\from{\jobname.dtx}{scrbook-xepersian.def}}}
+\generate{\file{scrreprt-xepersian.def}{\from{\jobname.dtx}{scrreprt-xepersian.def}}}
+\generate{\file{tkz-linknodes-xepersian.def}{\from{\jobname.dtx}{tkz-linknodes-xepersian.def}}}
+\generate{\file{tocloft-xepersian.def}{\from{\jobname.dtx}{tocloft-xepersian.def}}}
+\generate{\file{xepersian.sty}{\from{\jobname.dtx}{xepersian.sty}}}
+\generate{\file{xepersian-magazine.cls}{\from{\jobname.dtx}{xepersian-magazine.cls}}}
+\generate{\file{xepersian-mathsdigitspec.sty}{\from{\jobname.dtx}{xepersian-mathsdigitspec.sty}}}
+\generate{\file{xepersian-multiplechoice.sty}{\from{\jobname.dtx}{xepersian-multiplechoice.sty}}}
+\generate{\file{xepersian-persiancal.sty}{\from{\jobname.dtx}{xepersian-persiancal.sty}}}
+\endbatchfile
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `xepersian.ins'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
new file mode 100644
index 00000000000..6d63c178a7c
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
@@ -0,0 +1,33 @@
+%%
+%% This is file `algorithm-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `algorithm-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{algorithm-xepersian.def}[2010/07/25 v0.2 adaptations for algorithm package]
+\def\ALG@name{\if@RTL الگوریتم\else Algorithm\fi}
+\def\ALGS@name{الگوریتم‌ها}
+\def\listalgorithmname{\if@RTL فهرست \ALGS@name\else List of \ALG@name s\fi}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `algorithm-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
new file mode 100644
index 00000000000..6d78f0547a4
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
@@ -0,0 +1,32 @@
+%%
+%% This is file `algorithmic-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `algorithmic-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{algorithmic-xepersian.def}[2010/07/25 v0.2 adaptations for algorithmic package]
+\def\algorithmicrequire{\if@RTL\textbf{ورودی:}\else\textbf{Require:}\fi}
+\def\algorithmicensure{\if@RTL\textbf{خروجی:}\else\textbf{Ensure:}\fi}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `algorithmic-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
new file mode 100644
index 00000000000..543edf326e5
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
@@ -0,0 +1,78 @@
+%%
+%% This is file `amsart-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `amsart-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{amsart-xepersian.def}[2010/07/25 v0.2 adaptations for amsart class]
+\renewcommand \thepart {\@tartibi\c@part}
+\def\appendix{\par\c@section\z@ \c@subsection\z@
+ \let\sectionname\appendixname
+ \def\thesection{\@harfi\c@section}}
+
+\long\def\@footnotetext#1{%
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
+\long\def\@RTLfootnotetext#1{%
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
+\long\def\@LTRfootnotetext#1{%
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+\footdir@temp\footdir@ORG@xepersian@amsart@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@amsart@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@amsart@LTRfootnotetext\@LTRfootnotetext{L}%
+
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `amsart-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
new file mode 100644
index 00000000000..d3b8197bd90
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
@@ -0,0 +1,80 @@
+%%
+%% This is file `amsbook-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `amsbook-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{amsbook-xepersian.def}[2010/07/25 v0.3 adaptations for amsbook class]
+\def\frontmatter{\cleardoublepage\pagenumbering{harfi}}
+\renewcommand \thepart {\@tartibi\c@part}
+\def\appendix{\par
+ \c@chapter\z@ \c@section\z@
+ \let\chaptername\appendixname
+ \def\thechapter{\@harfi\c@chapter}}
+
+\long\def\@footnotetext#1{%
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
+\long\def\@RTLfootnotetext#1{%
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
+\long\def\@LTRfootnotetext#1{%
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+\footdir@temp\footdir@ORG@xepersian@amsbook@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@amsbook@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@amsbook@LTRfootnotetext\@LTRfootnotetext{L}%
+
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `amsbook-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
new file mode 100644
index 00000000000..7f2ea43d11d
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
@@ -0,0 +1,35 @@
+%%
+%% This is file `article-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `article-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{article-xepersian.def}[2010/07/25 v0.2 adaptations for standard article class]
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `article-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
new file mode 100644
index 00000000000..43a2cdf3bf4
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
@@ -0,0 +1,35 @@
+%%
+%% This is file `artikel1-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `artikel1-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{artikel1-xepersian.def}[2010/07/25 v0.1 adaptations for artikel1 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `artikel1-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
new file mode 100644
index 00000000000..52ac7a17760
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
@@ -0,0 +1,35 @@
+%%
+%% This is file `artikel2-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `artikel2-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{artikel2-xepersian.def}[2010/07/25 v0.1 adaptations for artikel2 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `artikel2-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
new file mode 100644
index 00000000000..08843264fa0
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
@@ -0,0 +1,35 @@
+%%
+%% This is file `artikel3-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `artikel3-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{artikel3-xepersian.def}[2010/07/25 v0.1 adaptations for artikel3 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `artikel3-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
new file mode 100644
index 00000000000..5b4bd5e1e80
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
@@ -0,0 +1,49 @@
+%%
+%% This is file `backref-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `backref-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{backref-xepersian.def}[2010/07/25 v0.1 adaptations for backref package]
+\def\backrefpagesname{\if@RTL صفحات\else pages\fi}
+\def\BR@Latincitex[#1]#2{%
+ \BRorg@Latincitex[{#1}]{#2}%
+ \ifBR@verbose
+ \PackageInfo{backref}{back Latin cite \string`#2\string'}%
+ \fi
+ \Hy@backout{#2}%
+}
+\AtBeginDocument{%
+ \@ifundefined{NAT@parse}{%
+ \global\let\BRorg@Latincitex\@Latincitex
+ \global\let\@Latincitex\BR@Latincitex
+ }{%
+ \@ifpackageloaded{hyperref}{}{%
+ \def\hyper@natlinkstart#1{\Hy@backout{#1}}%
+ }%
+ \PackageInfo{backref}{** backref set up for natbib **}%
+ }%
+}%
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `backref-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def
new file mode 100644
index 00000000000..9f69576a07b
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def
@@ -0,0 +1,30 @@
+%%
+%% This is file `bidicode-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `bidicode-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{bidicode-xepersian.def}[2010/07/25 v0.0 Persian captions for bidicode package]
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `bidicode-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
new file mode 100644
index 00000000000..ed09660423a
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
@@ -0,0 +1,31 @@
+%%
+%% This is file `bidimoderncv-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `bidimoderncv-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{bidimoderncv-xepersian.def}[2010/07/25 v0.1 adaptations for bidimoderncv class]
+\def\refname{\if@RTL تألیفات\else Publications\fi}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `bidimoderncv-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
new file mode 100644
index 00000000000..ba12f038c06
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
@@ -0,0 +1,98 @@
+%%
+%% This is file `bidituftesidenote-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `bidituftesidenote-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{bidituftesidenote-xepersian.def}[2011/06/18 v0.1 xepersian changes to bidituftesidenote package]
+\long\def\@LTRbidituftesidenote@sidenote[#1][#2]#3{%
+ \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
+ \gdef\@bidituftesidenote@citations{}% clear out any old citations
+ \ifthenelse{\NOT\isempty{#2}}{%
+ \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{#2}%
+ }{%
+ \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{0pt}%
+ }%
+ \ifthenelse{\isempty{#1}}{%
+ % no specific footnote number provided
+ \stepcounter\@mpfn%
+ \protected@xdef\@thefnmark{\thempfn}%
+ \@footnotemark\@LTRfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\latinfont#3}%
+ }{%
+ % specific footnote number provided
+ \begingroup%
+ \csname c@\@mpfn\endcsname #1\relax%
+ \unrestored@protected@xdef\@thefnmark{\thempfn}%
+ \endgroup%
+ \@footnotemark\@LTRfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\latinfont#3}%
+ }%
+ \@bidituftesidenote@print@citations% print any citations
+ \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
+ \unskip\ignorespaces% remove extra white space
+ \kern-\multiplefootnotemarker% remove \kern left behind by sidenote
+ \kern\multiplefootnotemarker\relax% add new \kern here to replace the one we yanked
+}
+\long\def\@RTLbidituftesidenote@sidenote[#1][#2]#3{%
+ \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
+ \gdef\@bidituftesidenote@citations{}% clear out any old citations
+ \ifthenelse{\NOT\isempty{#2}}{%
+ \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{#2}%
+ }{%
+ \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{0pt}%
+ }%
+ \ifthenelse{\isempty{#1}}{%
+ % no specific footnote number provided
+ \stepcounter\@mpfn%
+ \protected@xdef\@thefnmark{\thempfn}%
+ \@footnotemark\@RTLfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\persianfont#3}%
+ }{%
+ % specific footnote number provided
+ \begingroup%
+ \csname c@\@mpfn\endcsname #1\relax%
+ \unrestored@protected@xdef\@thefnmark{\thempfn}%
+ \endgroup%
+ \@footnotemark\@RTLfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\persianfont#3}%
+ }%
+ \@bidituftesidenote@print@citations% print any citations
+ \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
+ \unskip\ignorespaces% remove extra white space
+ \kern-\multiplefootnotemarker% remove \kern left behind by sidenote
+ \kern\multiplefootnotemarker\relax% add new \kern here to replace the one we yanked
+}
+\renewcommand\LTRmarginnote[2][0pt]{%
+ \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
+ \gdef\@bidituftesidenote@citations{}% clear out any old citations
+ \LTRbidituftesidenotemarginpar{\hbox{}\vspace*{#1}\@bidituftesidenote@marginnote@font\latinfont\@bidituftesidenote@marginnote@justification\@bidituftesidenote@margin@par\vspace*{-1\baselineskip}\noindent #2}%
+ \@bidituftesidenote@print@citations% print any citations
+ \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
+}
+\renewcommand\RTLmarginnote[2][0pt]{%
+ \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
+ \gdef\@bidituftesidenote@citations{}% clear out any old citations
+ \RTLbidituftesidenotemarginpar{\hbox{}\vspace*{#1}\@bidituftesidenote@marginnote@font\persianfont\@bidituftesidenote@marginnote@justification\@bidituftesidenote@margin@par\vspace*{-1\baselineskip}\noindent #2}%
+ \@bidituftesidenote@print@citations% print any citations
+ \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
+}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `bidituftesidenote-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
new file mode 100644
index 00000000000..eb290807ddb
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
@@ -0,0 +1,40 @@
+%%
+%% This is file `boek-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `boek-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{boek-xepersian.def}[2010/07/25 v0.1 adaptations for boek class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{harfi}}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `boek-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
new file mode 100644
index 00000000000..7b4686d334a
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
@@ -0,0 +1,40 @@
+%%
+%% This is file `boek3-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `boek3-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{boek3-xepersian.def}[2010/07/25 v0.1 adaptations for boek3 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{harfi}}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `boek3-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
new file mode 100644
index 00000000000..beca0240c27
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
@@ -0,0 +1,41 @@
+%%
+%% This is file `book-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `book-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{book-xepersian.def}[2010/07/25 v0.2 adaptations for standard book class]
+\renewcommand\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{harfi}}
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}
+}%end appendix
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `book-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
new file mode 100644
index 00000000000..df79fdd07d2
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
@@ -0,0 +1,37 @@
+%%
+%% This is file `bookest-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `bookest-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{bookest-xepersian.def}[2010/07/25 v0.1 adaptations for bookest class]
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}
+}%end appendix
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `bookest-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
new file mode 100644
index 00000000000..4de20c1606a
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
@@ -0,0 +1,69 @@
+%%
+%% This is file `breqn-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `breqn-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{breqn-xepersian.def}[2010/07/25 v0.1 adaptations for breqn package]
+\def\@dmath[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
+ \everydisplay\expandafter{\the\everydisplay \display@setup}%
+ \if@noskipsec \leavevmode \fi
+ \if@inlabel \leavevmode \global\@inlabelfalse \fi
+ \if\eq@group\else\eq@prelim\fi
+ \setkeys{breqn}{#1}%
+ \the\eqstyle
+ \eq@setnumber
+ \begingroup
+ \eq@setup@a
+ \eq@startup
+}
+\def\@dgroup[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
+ \let\eq@group\@True \global\let\eq@GRP@first@dmath\@True
+ \global\GRP@queue\@emptytoks \global\setbox\GRP@box\box\voidb@x
+ \global\let\GRP@label\@empty
+ \global\grp@wdL\z@\global\grp@wdR\z@\global\grp@wdT\z@
+ \global\grp@linewidth\z@\global\grp@wdNum\z@
+ \global\let\grp@eqs@numbered\@False
+ \global\let\grp@aligned\@True
+ \global\let\grp@shiftnumber\@False
+ \eq@prelim
+ \setkeys{breqn}{#1}%
+ \if\grp@hasNumber \grp@setnumber \fi
+}
+\def\@dseries[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
+ \let\display@setup\dseries@display@setup
+ % Question: should this be the default for dseries???
+ \global\eq@wdCond\z@
+ \@dmath[layout={M},#1]%
+ \mathsurround\z@\@@math \penalty\@Mi
+ \let\endmath\ends@math
+ \def\premath{%
+ \ifdim\lastskip<.3em \unskip
+ \else\ifnum\lastpenalty<\@M \dquad\fi\fi
+}%
+ \def\postmath{\unpenalty\eq@addpunct \penalty\intermath@penalty \dquad \@ignoretrue}%
+\ignorespaces
+}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `breqn-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/color-localise.def b/Master/texmf-dist/tex/xelatex/xepersian/color-localise.def
new file mode 100644
index 00000000000..471db16a158
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/color-localise.def
@@ -0,0 +1,38 @@
+%%
+%% This is file `color-localise.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `color-localise.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\آماده‌سازی‌پرونده{color-localise.def}[2011/03/01 v0.1 localising color package]
+\تعریف‌رنگ{سیاه}{rgb}{0,0,0}
+\تعریف‌رنگ{سفید}{rgb}{1,1,1}
+\تعریف‌رنگ{قرمز}{rgb}{1,0,0}
+\تعریف‌رنگ{سبز}{rgb}{0,1,0}
+\تعریف‌رنگ{آبی}{rgb}{0,0,1}
+\تعریف‌رنگ{آسمانی}{cmyk}{1,0,0,0}
+\تعریف‌رنگ{بنفش}{cmyk}{0,1,0,0}
+\تعریف‌رنگ{زرد}{cmyk}{0,0,1,0}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `color-localise.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
new file mode 100644
index 00000000000..d1ff158efb9
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
@@ -0,0 +1,973 @@
+%%
+%% This is file `commands-ltx.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `commands-ltx.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{commands-ltx.def}[2010/07/25 v0.2 Persian localisation of LaTeX2e commands]
+\eqcommand{شمع‌جدول}{@arstrut}
+\eqcommand{فوق}{above}
+\eqcommand{فاصله‌کوتاه‌بالای‌نمایش}{abovedisplayshortskip}
+\eqcommand{فاصله‌بالای‌نمایش}{abovedisplayskip}
+\eqcommand{عنوان‌چکیده}{abstractname}
+\eqcommand{اکسنت}{accent}
+\eqcommand{فعال}{active}
+\eqcommand{بیفزاسطرفهرست}{addcontentsline}
+\eqcommand{اضافه‌برجریمه}{addpenalty}
+\eqcommand{نشانی}{address}
+\eqcommand{بیفزابه‌فهرست}{addtocontents}
+\eqcommand{اضافه‌برشمارنده}{addtocounter}
+\eqcommand{اضافه‌بربعد}{addtolength}
+\eqcommand{بیفزافضای‌و}{addvspace}
+\eqcommand{تنظیم‌بدنمایی}{adjdemerits}
+\eqcommand{بیفزابر}{advance}
+\eqcommand{بعدازانتساب}{afterassignment}
+\eqcommand{بعدازگروه}{aftergroup}
+\eqcommand{الف}{aleph}
+\eqcommand{خصیصه‌مستعارقلم}{aliasfontfeature}
+\eqcommand{انتخاب‌خصیصه‌مستعارقلم}{aliasfontfeatureoption}
+\eqcommand{شکستنی}{allowbreak}
+\eqcommand{تخصی@}{alloc@}
+\eqcommand{تخصیص‌یافته}{allocationnumber}
+\eqcommand{شکست‌نمایش‌مجاز}{allowdisplaybreaks}
+\eqcommand{حروف‌بزرگ}{Alph}
+\eqcommand{حروف‌کوچک}{alph}
+\eqcommand{نام‌همچنین}{alsoname}
+\eqcommand{و}{and}
+\eqcommand{زاویه}{angle}
+\eqcommand{عنوان‌پیوست}{appendixname}
+\eqcommand{تقریب}{approx}
+\eqcommand{عربی}{arabic}
+\eqcommand{آرگ}{arg}
+\eqcommand{رنگ‌خط‌جدول}{arrayrulecolor}
+\eqcommand{فاصله‌ستونهای‌آرایه}{arraycolsep}
+\eqcommand{ضخامت‌خط‌جدول}{arrayrulewidth}
+\eqcommand{کشیدگی‌آرایه}{arraystretch}
+\eqcommand{درآغازنوشتار}{AtBeginDocument}
+\eqcommand{درپایان‌نوشتار}{AtEndDocument}
+\eqcommand{درانتهای‌طبقه}{AtEndOfClass}
+\eqcommand{درانتهای‌سبک}{AtEndOfPackage}
+\eqcommand{نویسنده}{author}
+\eqcommand{مطلب‌پشت}{backmatter}
+\eqcommand{شکاف‌پشت}{backslash}
+\eqcommand{بدنمایی}{badness}
+\eqcommand{میله}{bar}
+\eqcommand{فاصله‌کرسی}{baselineskip}
+\eqcommand{کشش‌فاصله‌کرسی}{baselinestretch}
+\eqcommand{پردازش‌دسته‌ای}{batchmode}
+\eqcommand{شروع}{begin}
+\eqcommand{شروع‌چپ}{beginL}
+\eqcommand{شروع‌راست}{beginR}
+\eqcommand{شروع‌گروه}{begingroup}
+\eqcommand{فاصله‌کوتاه‌پایین‌نمایش}{belowdisplayshortskip}
+\eqcommand{فاصله‌پایین‌نمایش}{belowdisplayskip}
+\eqcommand{سیاه}{bf}
+\eqcommand{پیش‌فرض‌سیاه}{bfdefault}
+\eqcommand{شمایل‌سیاه}{bfseries}
+\eqcommand{شرگروه}{bgroup}
+\eqcommand{مرجوع}{bibitem}
+\eqcommand{کتاب‌نامه}{bibliography}
+\eqcommand{سبک‌کتاب‌نامه}{bibliographystyle}
+\eqcommand{عنوان‌کتاب‌نامه}{bibname}
+\eqcommand{پرش‌بلند}{bigskip}
+\eqcommand{مقدارپرش‌بلند}{bigskipamount}
+\eqcommand{خط‌پایین‌شناور}{botfigrule}
+\eqcommand{علامت‌پایین}{botmark}
+\eqcommand{کادرتاپایین}{bottompageskip}
+\eqcommand{نسبت‌پایین}{bottomfraction}
+\eqcommand{کادر}{box}
+\eqcommand{حداکثرعمق‌کادر}{boxmaxdepth}
+\eqcommand{بشکن}{break}
+\eqcommand{گلوله}{bullet}
+\eqcommand{دوپن@پنج}{@cclv}
+\eqcommand{دوپن@شش}{@cclvi}
+\eqcommand{شرح}{caption}
+\eqcommand{کدرده}{catcode}
+\eqcommand{رونوشت}{cc}
+\eqcommand{نام‌رونوشت}{ccname}
+\eqcommand{نقطه‌وسط}{cdot}
+\eqcommand{نقاط‌وسط}{cdots}
+\eqcommand{تنظیم‌ازوسط}{centering}
+\eqcommand{خط‌وسط}{centerline}
+\eqcommand{چک@ن}{ch@ck}
+\eqcommand{فصل}{chapter}
+\eqcommand{عنوان‌فصل}{chaptername}
+\eqcommand{نویسه}{char}
+\eqcommand{تعریف‌نویسه}{chardef}
+\eqcommand{برسی‌فرمان}{CheckCommand}
+\eqcommand{مرجع}{cite}
+\eqcommand{خطای‌طبقه}{ClassError}
+\eqcommand{اطلاع‌طبقه}{ClassInfo}
+\eqcommand{هشدارطبقه}{ClassWarning}
+\eqcommand{هشدارطبقه‌بی‌سطر}{ClassWarningNoLine}
+\eqcommand{نشانگرمرکزی}{cleaders}
+\eqcommand{دوصفحه‌پاک}{cleardoublepage}
+\eqcommand{صفحه‌پاک}{clearpage}
+\eqcommand{خط‌ناپر}{cline}
+\eqcommand{ببندورودی}{closein}
+\eqcommand{ببندخروجی}{closeout}
+\eqcommand{بستن}{closing}
+\eqcommand{جریمه‌سربند}{clubpenalty}
+\eqcommand{خاج}{clubsuit}
+\eqcommand{علامت‌پایین‌ستون‌اول}{colbotmark}
+\eqcommand{علامت‌اول‌ستون‌اول}{colfirstmark}
+\eqcommand{رنگ}{color}
+\eqcommand{کادررنگ}{colorbox}
+\eqcommand{علامت‌بالای‌ستون‌اول}{coltopmark}
+\eqcommand{رنگ‌ستون}{columncolor}
+\eqcommand{بین‌ستون}{columnsep}
+\eqcommand{پهنای‌ستون}{columnwidth}
+\eqcommand{خط‌بین‌ستون}{columnseprule}
+\eqcommand{سطرفهرست}{contentsline}
+\eqcommand{عنوان‌فهرست‌مطالب}{contentsname}
+\eqcommand{کپی}{copy}
+\eqcommand{حق‌تالیف}{copyright}
+\eqcommand{شمار}{count}
+\eqcommand{شمار@}{count@}
+\eqcommand{تعریف‌شمار}{countdef}
+\eqcommand{سخ}{cr}
+\eqcommand{سخ‌سخ}{crcr}
+\eqcommand{نام‌فرمان}{csname}
+\eqcommand{گزینه‌جاری}{CurrentOption}
+\eqcommand{کادربینابین}{dashbox}
+\eqcommand{بینابین‌ع}{dashv}
+\eqcommand{@تاریخ}{@date}
+\eqcommand{تاریخ}{date}
+\eqcommand{روز}{day}
+\eqcommand{خط‌پایین‌شناورپهن}{dblbotfigrule}
+\eqcommand{نسبت‌پهن‌پایین}{dblbottomfraction}
+\eqcommand{خط‌بالای‌شناورپهن}{dblfigrule}
+\eqcommand{نسبت‌صفحه‌شناورپهن}{dblfloatpagefraction}
+\eqcommand{فاصله‌بین‌شناورپهن}{dblfloatsep}
+\eqcommand{کدمکان‌غیرهمانطور}{dblfntlocatecode}
+\eqcommand{فاصله‌متن‌وشناورپهن}{dbltextfloatsep}
+\eqcommand{نسبت‌پهن‌بالا}{dbltopfraction}
+\eqcommand{اعلان‌قلم‌ثابت}{DeclareFixedFont}
+\eqcommand{اعلان‌پسوندگرافیک}{DeclareGraphicsExtensions}
+\eqcommand{اعلان‌دستورگرافیک}{DeclareGraphicsRule}
+\eqcommand{اعلان‌فرمان‌قلم‌قدیمی}{DeclareOldFontCommand}
+\eqcommand{اعلان‌گزینه}{DeclareOption}
+\eqcommand{اعلان‌فرمان‌قوی}{DeclareRobustCommand}
+\eqcommand{اعلان‌قلم‌علائم}{DeclareSymbolFont}
+\eqcommand{دوربسته}{deadcycles}
+\eqcommand{تر}{def}
+\eqcommand{تعریف@کلید}{define@key}
+\eqcommand{تعریف‌رنگ}{definecolor}
+\eqcommand{درجه}{deg}
+\eqcommand{کدجداساز}{delcode}
+\eqcommand{جداساز}{delimiter}
+\eqcommand{ضریب‌جداساز}{delimiterfactor}
+\eqcommand{گودی}{depth}
+\eqcommand{خشت}{diamondsuit}
+\eqcommand{ابعاد}{dim}
+\eqcommand{بعد}{dimen}
+\eqcommand{بعد@}{dimen@}
+\eqcommand{بعد@یک}{dimen@i}
+\eqcommand{بعد@دو}{dimen@ii}
+\eqcommand{تعریف‌بعد}{dimendef}
+\eqcommand{تیره‌گذاری}{discretionary}
+\eqcommand{شکست‌نمایش}{displaybreak}
+\eqcommand{تورفتگی‌نمایش}{displayindent}
+\eqcommand{سبک‌نمایش}{displaystyle}
+\eqcommand{عرض‌نمایش}{displaywidth}
+\eqcommand{تقسیم}{divide}
+\eqcommand{طبقه‌نوشتار}{documentclass}
+\eqcommand{کن}{do}
+\eqcommand{تعویض‌کدها}{dospecials}
+\eqcommand{نقطه}{dot}
+\eqcommand{نقطه‌مساوی}{doteq}
+\eqcommand{پرنقطه‌ا}{dotfill}
+\eqcommand{نقاط}{dots}
+\eqcommand{کادردولا}{doublebox}
+\eqcommand{رنگ‌فاصله‌دوخط‌جدول}{doublerulesepcolor}
+\eqcommand{فاصله‌بین‌دوخط}{doublerulesep}
+\eqcommand{فلش‌پایین}{downarrow}
+\eqcommand{عمق}{dp}
+\eqcommand{تخلیه}{dump}
+\eqcommand{ترگ}{edef}
+\eqcommand{پاگروه}{egroup}
+\eqcommand{انتهای‌فاصله}{eject}
+\eqcommand{گرنه}{else}
+\eqcommand{تاکید}{em}
+\eqcommand{کشش‌لاجرم}{emergencystretch}
+\eqcommand{موکد}{emph}
+\eqcommand{@پوچ}{@empty}
+\eqcommand{پوچ}{empty}
+\eqcommand{مجموعه‌پوچ}{emptyset}
+\eqcommand{پایان}{end}
+\eqcommand{پایان‌چپ}{endL}
+\eqcommand{پایان‌راست}{endR}
+\eqcommand{پایان‌نام‌فرمان}{endcsname}
+\eqcommand{پایان‌اولین‌سر}{endfirsthead}
+\eqcommand{پایان‌پا}{endfoot}
+\eqcommand{ته‌بند}{endgraf}
+\eqcommand{پایان‌گروه}{endgroup}
+\eqcommand{پایان‌سر}{endhead}
+\eqcommand{پایان‌ورودی}{endinput}
+\eqcommand{پایان‌آخرین‌پا}{endlastfoot}
+\eqcommand{گسترش‌این‌صفحه}{enlargethispage}
+\eqcommand{ته‌سطر}{endline}
+\eqcommand{نویسه‌ته‌سطر}{endlinechar}
+\eqcommand{ان‌دوری}{enspace}
+\eqcommand{ان‌فاصله}{enskip}
+\eqcommand{فرمان‌جانشین}{eqcommand}
+\eqcommand{محیط‌جانشین}{eqenvironment}
+\eqcommand{ارجاع‌فر}{eqref}
+\eqcommand{کمک‌خطا}{errhelp}
+\eqcommand{پیام‌خطا}{errmessage}
+\eqcommand{سطرمتن‌خطا}{errorcontextlines}
+\eqcommand{پردازش‌توقف‌خطا}{errorstopmode}
+\eqcommand{نویسه‌ویژه}{escapechar}
+\eqcommand{یورو}{euro}
+\eqcommand{حاشیه‌زوج}{evensidemargin}
+\eqcommand{هرسخ}{everycr}
+\eqcommand{هرنمایش}{everydisplay}
+\eqcommand{هرکادرا}{everyhbox}
+\eqcommand{هرکار}{everyjob}
+\eqcommand{هرریاضی}{everymath}
+\eqcommand{هربند}{everypar}
+\eqcommand{هرکادرو}{everyvbox}
+\eqcommand{اجرای‌گزینه‌ها}{ExecuteOptions}
+\eqcommand{جریمه‌اضافی‌تیره‌بندی}{exhyphenpenalty}
+\eqcommand{بگسترپس‌از}{expandafter}
+\eqcommand{فاصله‌اضافی‌بین‌ستونها}{extracolsep}
+\eqcommand{@اولی‌ازیک}{@firstofone}
+\eqcommand{@اولی‌ازدو}{@firstoftwo}
+\eqcommand{چ@ار}{f@ur}
+\eqcommand{خانواده}{fam}
+\eqcommand{صفحه‌تجملی}{fancypage}
+\eqcommand{کادربا}{fbox}
+\eqcommand{ضخامت‌کادربا}{fboxrule}
+\eqcommand{حاشیه‌کادربا}{fboxsep}
+\eqcommand{کادربارنگ}{fcolorbox}
+\eqcommand{رگ}{fi}
+\eqcommand{عنوان‌شکل}{figurename}
+\eqcommand{پرشکن}{filbreak}
+\eqcommand{پر}{fill}
+\eqcommand{علامت‌اول}{firstmark}
+\eqcommand{پهن}{flat}
+\eqcommand{نسبت‌صفحه‌شناور}{floatpagefraction}
+\eqcommand{جریمه‌شناور}{floatingpenalty}
+\eqcommand{فاصله‌بین‌شناور}{floatsep}
+\eqcommand{تنظیم‌ازپایین}{flushbottom}
+\eqcommand{شکلبندی}{fmtname}
+\eqcommand{رده‌شکلبندی}{fmtversion}
+\eqcommand{نشانه}{fnsymbol}
+\eqcommand{قلم}{font}
+\eqcommand{بعدقلم}{fontdimen}
+\eqcommand{رمزینه‌قلم}{fontencoding}
+\eqcommand{فامیل‌قلم}{fontfamily}
+\eqcommand{نام‌قلم}{fontname}
+\eqcommand{شمایل‌قلم}{fontseries}
+\eqcommand{شکل‌قلم}{fontshape}
+\eqcommand{اندازه‌قلم}{fontsize}
+\eqcommand{بلندای‌پایین‌صفحه}{footheight}
+\eqcommand{درج‌زیرنویس}{footins}
+\eqcommand{زیرنویس}{footnote}
+\eqcommand{علامت‌زیرنویس}{footnotemark}
+\eqcommand{خط‌زیرنویس}{footnoterule}
+\eqcommand{فاصله‌تازیرنویس}{footnotesep}
+\eqcommand{اندازه‌زیرنویس}{footnotesize}
+\eqcommand{متن‌زیرنویس}{footnotetext}
+\eqcommand{فاصله‌تاپایین‌صفحه}{footskip}
+\eqcommand{فریم}{frame}
+\eqcommand{کادرباخط}{framebox}
+\eqcommand{فواصل‌یکنواخت‌لاتین}{frenchspacing}
+\eqcommand{مطلب‌پیش}{frontmatter}
+\eqcommand{بعدبگذار}{futurelet}
+\eqcommand{@خورحریصانه}{@gobble}
+\eqcommand{@خورحریصانه‌دو}{@gobbletwo}
+\eqcommand{@خورحریصانه‌چهار}{@gobblefour}
+\eqcommand{@عاقت‌آ}{@gtempa}
+\eqcommand{@عاقت‌ب}{@gtempb}
+\eqcommand{ترع}{gdef}
+\eqcommand{الگوی‌اطلاع}{GenericInfo}
+\eqcommand{الگوی‌هشدار}{GenericWarning}
+\eqcommand{الگوی‌خطا}{GenericError}
+\eqcommand{عام}{global}
+\eqcommand{تعاریف‌عام}{globaldefs}
+\eqcommand{لغت‌نامه}{glossary}
+\eqcommand{فقره‌فرهنگ}{glossaryentry}
+\eqcommand{خوش‌شکن}{goodbreak}
+\eqcommand{کاغذگراف}{graphpaper}
+\eqcommand{گیومه‌چپ}{guillemotleft}
+\eqcommand{گیومه‌راست}{guillemotright}
+\eqcommand{گیومه‌تکی‌چپ}{guilsinglleft}
+\eqcommand{گیومه‌تکی‌راست}{guilsinglright}
+\eqcommand{ردیف‌ا}{halign}
+\eqcommand{بروتو}{hang}
+\eqcommand{بعدازسطر}{hangafter}
+\eqcommand{تورفتگی‌ثابت}{hangindent}
+\eqcommand{بدنمایی‌ا}{hbadness}
+\eqcommand{کادرا}{hbox}
+\eqcommand{بلندای‌سرصفحه}{headheight}
+\eqcommand{فاصله‌ازسرصفحه}{headsep}
+\eqcommand{سربه‌نام}{headtoname}
+\eqcommand{دل}{heartsuit}
+\eqcommand{بلندا}{height}
+\eqcommand{پرا}{hfil}
+\eqcommand{پررا}{hfill}
+\eqcommand{رفع‌پرا}{hfilneg}
+\eqcommand{پرزافقی}{hfuzz}
+\eqcommand{فاصله‌مخفی}{hideskip}
+\eqcommand{عرض‌پنهان}{hidewidth}
+\eqcommand{خط‌پر}{hline}
+\eqcommand{حاشیه‌ا}{hoffset}
+\eqcommand{حفظ‌درج}{holdinginserts}
+\eqcommand{فاصله‌اگرد}{hrboxsep}
+\eqcommand{خط‌ا}{hrule}
+\eqcommand{پرخط‌ا}{hrulefill}
+\eqcommand{طول‌سطر}{hsize}
+\eqcommand{فاصله‌ا}{hskip}
+\eqcommand{فضای‌ا}{hspace}
+\eqcommand{هردوا}{hss}
+\eqcommand{ارتفاع}{ht}
+\eqcommand{بزرگ}{huge}
+\eqcommand{بزرگ‌تر}{Huge}
+\eqcommand{ابرپیوند}{hyperlink}
+\eqcommand{بارگذاری‌ابر}{hypersetup}
+\eqcommand{هدف‌ابر}{hypertarget}
+\eqcommand{تیره‌بندی}{hyphenation}
+\eqcommand{نویسه‌تیره}{hyphenchar}
+\eqcommand{جریمه‌تیره‌بندی}{hyphenpenalty}
+\eqcommand{@گرکلاس‌فراخوانی‌شده}{@ifclassloaded}
+\eqcommand{@گرترشدنی}{@ifdefinable}
+\eqcommand{@گرنویسه‌بعدی}{@ifnextchar}
+\eqcommand{@گرسبک‌فراخوانی‌شده}{@ifpackageloaded}
+\eqcommand{@گرستاره}{@ifstar}
+\eqcommand{@گرتعریف‌نشده}{@ifundefined}
+\eqcommand{گر}{if}
+\eqcommand{گر@سواقت‌آ}{if@tempswa}
+\eqcommand{گرانواع}{ifcase}
+\eqcommand{گررده}{ifcat}
+\eqcommand{گرتعریف‌شده}{ifdefined}
+\eqcommand{گربعد}{ifdim}
+\eqcommand{گرته‌پرونده}{ifeof}
+\eqcommand{گرر}{iff}
+\eqcommand{گرنادرست}{iffalse}
+\eqcommand{گرپرونده‌موجود}{IfFileExists}
+\eqcommand{گرکادرا}{ifhbox}
+\eqcommand{گرحالت‌ا}{ifhmode}
+\eqcommand{گردرونی}{ifinner}
+\eqcommand{گرحالت‌ریاضی}{ifmmode}
+\eqcommand{گرعدد}{ifnum}
+\eqcommand{گرفرد}{ifodd}
+\eqcommand{گرآنگاه‌دیگر}{ifthenelse}
+\eqcommand{گردرست}{iftrue}
+\eqcommand{گرکادرو}{ifvbox}
+\eqcommand{گرحالت‌و}{ifvmode}
+\eqcommand{گرتهی}{ifvoid}
+\eqcommand{گرتام}{ifx}
+\eqcommand{فاصله‌خالی‌راندیده‌بگیر}{ignorespaces}
+\eqcommand{فوری}{immediate}
+\eqcommand{شامل}{include}
+\eqcommand{درج‌تصویر}{includegraphics}
+\eqcommand{مشمولین}{includeonly}
+\eqcommand{تورفتگی}{indent}
+\eqcommand{درنمایه}{index}
+\eqcommand{استعلام}{indexentry}
+\eqcommand{عنوان‌نمایه}{indexname}
+\eqcommand{فاصله‌رهنما}{indexspace}
+\eqcommand{ورودی}{input}
+\eqcommand{ورودپرونده‌گرموجود}{InputIfFileExists}
+\eqcommand{شماره‌سطرورودی}{inputlineno}
+\eqcommand{درج}{insert}
+\eqcommand{جریمه‌درج}{insertpenalties}
+\eqcommand{جریمه‌بین‌سطرهای‌زیرنویس}{interfootnotelinepenalty}
+\eqcommand{جریمه‌بین‌سطرهای‌نمایش}{interdisplaylinepenalty}
+\eqcommand{جریمه‌بین‌سطرها}{interlinepenalty}
+\eqcommand{متن‌داخلی}{intertext}
+\eqcommand{فاصله‌شناوردرمتن}{intertextsep}
+\eqcommand{مخفی}{invisible}
+\eqcommand{پیش‌فرض‌ای}{itdefault}
+\eqcommand{شکل‌ایتالیک}{itshape}
+\eqcommand{فقره}{item}
+\eqcommand{تورفتگی‌فقره}{itemindent}
+\eqcommand{فاصله‌فقره}{itemsep}
+\eqcommand{تکرارکن}{iterate}
+\eqcommand{شکل‌ای}{itshape}
+\eqcommand{نام‌کار}{jobname}
+\eqcommand{قلپ}{jot}
+\eqcommand{دوری}{kern}
+\eqcommand{الگو}{kill}
+\eqcommand{برچسب}{label}
+\eqcommand{برچسب‌شمارش‌یک}{labelenumi}
+\eqcommand{برچسب‌شمارش‌دو}{labelenumii}
+\eqcommand{برچسب‌شمارش‌سه}{labelenumiii}
+\eqcommand{برچسب‌شمارش‌چهار}{labelenumiv}
+\eqcommand{برچسب‌فقره‌یک}{labelitemi}
+\eqcommand{برچسب‌فقره‌دو}{labelitemii}
+\eqcommand{برچسب‌فقره‌سه}{labelitemiii}
+\eqcommand{برچسب‌فقره‌چهار}{labelitemiv}
+\eqcommand{فاصله‌ازبرچسب}{labelsep}
+\eqcommand{پهنای‌برچسب}{labelwidth}
+\eqcommand{زبان}{language}
+\eqcommand{درشت}{large}
+\eqcommand{درشت‌تر}{Large}
+\eqcommand{درشت‌درشت}{LARGE}
+\eqcommand{آخرین‌کادر}{lastbox}
+\eqcommand{آخرین‌دوری}{lastkern}
+\eqcommand{آخرین‌جریمه}{lastpenalty}
+\eqcommand{آخرین‌فاصله}{lastskip}
+\eqcommand{لاتک}{LaTeX}
+\eqcommand{لاتک‌ای}{LaTeXe}
+\eqcommand{کدکوچک}{lccode}
+\eqcommand{نقاط‌خ}{ldots}
+\eqcommand{نشانگر}{leaders}
+\eqcommand{ترک‌و}{leavevmode}
+\eqcommand{چپ}{left}
+\eqcommand{حاشیه‌چپ}{leftmargin}
+\eqcommand{حاشیه‌چپ‌یک}{leftmargini}
+\eqcommand{حاشیه‌چپ‌دو}{leftmarginii}
+\eqcommand{حاشیه‌چپ‌سه}{leftmarginiii}
+\eqcommand{حاشیه‌چپ‌چهار}{leftmarginiv}
+\eqcommand{حاشیه‌چپ‌پنج}{leftmarginv}
+\eqcommand{حاشیه‌چپ‌شش}{leftmarginvi}
+\eqcommand{علامت‌چپ}{leftmark}
+\eqcommand{کادرتاچپ}{leftpageskip}
+\eqcommand{فاصله‌ابتدای‌سطر}{leftskip}
+\eqcommand{بگذار}{let}
+\eqcommand{سطر}{line}
+\eqcommand{سطرشکن}{linebreak}
+\eqcommand{جریمه‌سطر}{linepenalty}
+\eqcommand{فاصله‌سطرها}{lineskip}
+\eqcommand{حدفاصله‌سطر}{lineskiplimit}
+\eqcommand{کشش‌فاصله‌سطر}{linespread}
+\eqcommand{ضخامت‌خط}{linethickness}
+\eqcommand{پهنای‌سطر}{linewidth}
+\eqcommand{عنوان‌فهرست‌اشکال}{listfigurename}
+\eqcommand{لیست‌پرونده‌ها}{listfiles}
+\eqcommand{فهرست‌اشکال}{listoffigures}
+\eqcommand{فهرست‌جداول}{listoftables}
+\eqcommand{تورفتگی‌بندلیست}{listparindent}
+\eqcommand{عنوان‌فهرست‌جداول}{listtablename}
+\eqcommand{بارکن‌طبقه}{LoadClass}
+\eqcommand{بارکن‌طبقه‌باگزینه}{LoadClassWithOptions}
+\eqcommand{مکان}{location}
+\eqcommand{بلند}{long}
+\eqcommand{گسیختگی}{looseness}
+\eqcommand{انتقال‌بپایین}{lower}
+\eqcommand{@دیگر}{@makeother}
+\eqcommand{@زار}{@m}
+\eqcommand{ده@زار}{@M}
+\eqcommand{ده@زاریک}{@Mi}
+\eqcommand{ده@زاردو}{@Mii}
+\eqcommand{ده@زارسه}{@Miii}
+\eqcommand{ده@زارچهار}{@Miv}
+\eqcommand{بیس@زار}{@MM}
+\eqcommand{من@ا}{m@ne}
+\eqcommand{بزرگ‌نمایی}{mag}
+\eqcommand{گام}{magstep}
+\eqcommand{نیم‌گام}{magstephalf}
+\eqcommand{مطلب‌اصلی}{mainmatter}
+\eqcommand{ات‌حرف}{makeatletter}
+\eqcommand{ات‌دیگر}{makeatother}
+\eqcommand{کادربی‌خط}{makebox}
+\eqcommand{ساخت‌فرهنگ}{makeglossary}
+\eqcommand{تهیه‌نمایه}{makeindex}
+\eqcommand{ساخت‌برچسب}{makelabel}
+\eqcommand{ساخت‌برچسب‌ها}{makelabels}
+\eqcommand{ساخت‌حروف‌کوچک}{MakeLowercase}
+\eqcommand{عنوان‌ساز}{maketitle}
+\eqcommand{ساخت‌حروف‌بزرگ}{MakeUppercase}
+\eqcommand{درحاشیه}{marginpar}
+\eqcommand{فاصله‌دوحاشیه}{marginparpush}
+\eqcommand{فاصله‌تاحاشیه}{marginparsep}
+\eqcommand{پهنای‌حاشیه}{marginparwidth}
+\eqcommand{علامت}{mark}
+\eqcommand{علامت‌دردوطرف}{markboth}
+\eqcommand{علامت‌درراست}{markright}
+\eqcommand{اعراب‌ریاضی}{mathaccent}
+\eqcommand{نویسه‌ریاضی}{mathchar}
+\eqcommand{تعریف‌نویسه‌ریاضی}{mathchardef}
+\eqcommand{کدریاضی}{mathcode}
+\eqcommand{ریاضی‌رومن}{mathrm}
+\eqcommand{حداکثرتکرار}{maxdeadcycles}
+\eqcommand{حداکثرعمق‌صفحه}{maxdepth}
+\eqcommand{بعدبیشین}{maxdimen}
+\eqcommand{کادربی}{mbox}
+\eqcommand{شمایل‌نازک}{mdseries}
+\eqcommand{معنا}{meaning}
+\eqcommand{نازک}{mediumseries}
+\eqcommand{فاصله‌متوسط‌ریاضی}{medmuskip}
+\eqcommand{پرش‌متوسط}{medskip}
+\eqcommand{مقدارپرش‌متوسط}{medskipamount}
+\eqcommand{فضای‌متوسط}{medspace}
+\eqcommand{پیام}{message}
+\eqcommand{پیام‌شکن}{MessageBreak}
+\eqcommand{حداقل‌فاصله‌ردیف}{minrowclearance}
+\eqcommand{دوری‌ریاضی}{mkern}
+\eqcommand{ماه}{month}
+\eqcommand{انتقال‌بچپ}{moveleft}
+\eqcommand{انتقال‌براست}{moveright}
+\eqcommand{فاصله‌ریاضی}{mskip}
+\eqcommand{ری@ضی}{m@th}
+\eqcommand{چندستونی}{multicolumn}
+\eqcommand{ضرب}{multiply}
+\eqcommand{چندادغام}{multispan}
+\eqcommand{میوفاصله}{muskip}
+\eqcommand{تعریف‌میوفاصله}{muskipdef}
+\eqcommand{@ترنام}{@namedef}
+\eqcommand{@کاربردنام}{@nameuse}
+\eqcommand{یک@}{@ne}
+\eqcommand{نام}{name}
+\eqcommand{طبیعی}{natural}
+\eqcommand{باریک}{nearrow}
+\eqcommand{باریکتر}{nearrower}
+\eqcommand{شکلبندی‌موردنیاز}{NeedsTeXFormat}
+\eqcommand{منفی}{neg}
+\eqcommand{فضای‌متوسط‌منفی}{negmedspace}
+\eqcommand{فضای‌ضخیم‌منفی}{negthickspace}
+\eqcommand{دوری‌کوچک‌منفی}{negthinspace}
+\eqcommand{بولی‌نو}{newboolean}
+\eqcommand{کادرجدید}{newbox}
+\eqcommand{فرمان‌نو}{newcommand}
+\eqcommand{شمارجدید}{newcount}
+\eqcommand{شمارنده‌جدید}{newcounter}
+\eqcommand{بعدجدید}{newdimen}
+\eqcommand{محیط‌نو}{newenvironment}
+\eqcommand{خانواده‌جدید}{newfam}
+\eqcommand{قلم‌نو}{newfont}
+\eqcommand{کمک‌جدید}{newhelp}
+\eqcommand{درج‌جدید}{newinsert}
+\eqcommand{برچسب‌جدید}{newlabel}
+\eqcommand{تعریف‌بعدجدید}{newlength}
+\eqcommand{سطرجدید}{newline}
+\eqcommand{نویسه‌سطرجدید}{newlinechar}
+\eqcommand{میوفاصله‌جدید}{newmuskip}
+\eqcommand{صفحه‌جدید}{newpage}
+\eqcommand{بخوان‌جدید}{newread}
+\eqcommand{تعریف‌کادرجدید}{newsavebox}
+\eqcommand{فاصله‌جدید}{newskip}
+\eqcommand{قضیه‌جدید}{newtheorem}
+\eqcommand{جزءجدید}{newtoks}
+\eqcommand{بنویس‌جدید}{newwrite}
+\eqcommand{بی‌ردیف}{noalign}
+\eqcommand{نشکن}{nobreak}
+\eqcommand{فاصله‌نشکستنی}{nobreakspace}
+\eqcommand{بدون‌سند}{nocite}
+\eqcommand{نگستر}{noexpand}
+\eqcommand{بدون‌پرونده}{nofiles}
+\eqcommand{بدون‌تورفتگی}{noindent}
+\eqcommand{بی‌فاصله‌سطر}{nointerlineskip}
+\eqcommand{بدون‌حد}{nolimits}
+\eqcommand{سطرنشکن}{nolinebreak}
+\eqcommand{پردازش‌بدون‌توقف}{nonstopmode}
+\eqcommand{فواصل‌متعارف‌لاتین}{nonfrenchspacing}
+\eqcommand{بدون‌شماره}{nonumber}
+\eqcommand{صفحه‌نشکن}{nopagebreak}
+\eqcommand{کرسیهای‌متعارف}{normalbaselines}
+\eqcommand{فاصله‌کرسی‌متعارف}{normalbaselineskip}
+\eqcommand{رنگ‌عادی}{normalcolor}
+\eqcommand{قلم‌عادی}{normalfont}
+\eqcommand{فاصله‌سطرمتعارف}{normallineskip}
+\eqcommand{حدفاصله‌سطرمتعارف}{normallineskiplimit}
+\eqcommand{درحاشیه‌عادی}{normalmarginpar}
+\eqcommand{اندازه‌عادی}{normalsize}
+\eqcommand{بدون‌اتیکت}{notag}
+\eqcommand{نول}{null}
+\eqcommand{قلم‌تهی}{nullfont}
+\eqcommand{عدد}{number}
+\eqcommand{سطرعددی}{numberline}
+\eqcommand{شماره‌مطابق}{numberwithin}
+\eqcommand{پایین‌صفحه‌زوج}{@evenfoot}
+\eqcommand{بالای‌صفحه‌زوج}{@evenhead}
+\eqcommand{پایین‌صفحه‌فرد}{@oddfoot}
+\eqcommand{بالای‌صفحه‌فرد}{@oddhead}
+\eqcommand{شماره‌بیرون‌درست}{@outeqntrue}
+\eqcommand{شماره‌بیرون‌نادرست}{@outeqnfalse}
+\eqcommand{سطربه‌سطر}{obeylines}
+\eqcommand{فضافعال}{obeyspaces}
+\eqcommand{حاشیه‌فرد}{oddsidemargin}
+\eqcommand{سطوربی‌فاصله}{offinterlineskip}
+\eqcommand{حذف}{omit}
+\eqcommand{@تنهادرپیش‌درآمد}{@onlypreamble}
+\eqcommand{یک‌ستون}{onecolumn}
+\eqcommand{تنها‌یادداشت‌ها}{onlynotes}
+\eqcommand{تنهااسلایدها}{onlyslides}
+\eqcommand{بازکن‌ورودی}{openin}
+\eqcommand{بازکن‌خروجی}{openout}
+\eqcommand{گزینه‌مصرف‌نشده}{OptionNotUsed}
+\eqcommand{یا}{or}
+\eqcommand{برونی}{outer}
+\eqcommand{صفحه‌بندی}{output}
+\eqcommand{جریمه‌صفحه‌بندی}{outputpenalty}
+\eqcommand{علامت‌سرریز}{overfullrule}
+\eqcommand{@فرمان‌های‌پیش‌درآمد}{@preamblecmds}
+\eqcommand{@پو}{p@}
+\eqcommand{خطای‌سبک}{PackageError}
+\eqcommand{اطلاع‌سبک}{PackageInfo}
+\eqcommand{هشدارسبک}{PackageWarning}
+\eqcommand{هشدارسبک‌بی‌سطر}{PackageWarningNoLine}
+\eqcommand{صفحه‌شکن}{pagebreak}
+\eqcommand{رنگ‌صفحه}{pagecolor}
+\eqcommand{عمق‌صفحه}{pagedepth}
+\eqcommand{کشش‌پرررصفحه}{pagefilllstretch}
+\eqcommand{کشش‌پررصفحه}{pagefillstretch}
+\eqcommand{کشش‌پرصفحه}{pagefilstretch}
+\eqcommand{غایت‌صفحه}{pagegoal}
+\eqcommand{نام‌صفحه}{pagename}
+\eqcommand{شماره‌گذاری‌صفحه}{pagenumbering}
+\eqcommand{رجوع‌صفحه}{pageref}
+\eqcommand{ضخامت‌خط‌صفحه}{pagerulewidth}
+\eqcommand{فشردگی‌صفحه}{pageshrink}
+\eqcommand{کشش‌صفحه}{pagestretch}
+\eqcommand{سبک‌صفحه}{pagestyle}
+\eqcommand{جمع‌صفحه}{pagetotal}
+\eqcommand{بلندای‌کاغذ}{paperheight}
+\eqcommand{پهنای‌کاغذ}{paperwidth}
+\bidi@csdefcs{بند}{par}% this is an exception since \par is redefined only in some circumstances
+\eqcommand{پاراگراف}{paragraph}
+\eqcommand{موازی}{parallel}
+\eqcommand{کادرپار}{parbox}
+\eqcommand{فاصله‌ته‌بند}{parfillskip}
+\eqcommand{تورفتگی‌سربند}{parindent}
+\eqcommand{فاصله‌بندلیست}{parsep}
+\eqcommand{شکل‌بند}{parshape}
+\eqcommand{فاصله‌بند}{parskip}
+\eqcommand{بخش}{part}
+\eqcommand{عنوان‌بخش}{partname}
+\eqcommand{فاصله‌بالای‌لیست‌بند}{partopsep}
+\eqcommand{ارسال‌گزینه‌به‌کلاس}{PassOptionToClass}
+\eqcommand{ارسال‌گزینه‌به‌پکیج}{PassOptionToPackage}
+\eqcommand{مسیر}{path}
+\eqcommand{الگوها}{patterns}
+\eqcommand{مکث}{pausing}
+\eqcommand{جریمه}{penalty}
+\eqcommand{غیب}{phantom}
+\eqcommand{الگوی‌قبلی}{poptabs}
+\eqcommand{جریمه‌پس‌نمایش}{postdisplaypenalty}
+\eqcommand{جهت‌پیش‌نمایش}{predisplaydirection}
+\eqcommand{جریمه‌پیش‌نمایش}{predisplaypenalty}
+\eqcommand{اندازه‌پیش‌نمایش}{predisplaysize}
+\eqcommand{پیش‌حدبدنمایی}{pretolerance}
+\eqcommand{عمق‌قبلی}{prevdepth}
+\eqcommand{بندقبلی}{prevgraf}
+\eqcommand{نمایه‌دراینجا}{printindex}
+\eqcommand{پردازش‌گزینه‌ها}{ProcessOptions}
+\eqcommand{تامین}{protect}
+\eqcommand{تهیه‌فرمان}{providecommand}
+\eqcommand{آماده‌سازی‌طبقه}{ProvidesClass}
+\eqcommand{آماده‌سازی‌پرونده}{ProvidesFile}
+\eqcommand{آماده‌سازی‌سبک}{ProvidesPackage}
+\eqcommand{ثبت‌الگو}{pushtabs}
+\eqcommand{کواد}{quad}
+\eqcommand{کوکواد}{qquad}
+\eqcommand{@بازآیی‌خروج‌صفحه}{@outputpagerestore}
+\eqcommand{رادیکال}{radical}
+\eqcommand{پایین‌بی‌تنظیم}{raggedbottom}
+\eqcommand{تنظیم‌ازراست}{raggedleft}
+\eqcommand{تنظیم‌ازچپ}{raggedright}
+\eqcommand{انتقال‌ببالا}{raise}
+\eqcommand{بالابر}{raisebox}
+\eqcommand{ترفیع‌اتیکت}{raisetag}
+\eqcommand{زاویه‌ر}{rangle}
+\eqcommand{سقف‌ر}{rceil}
+\eqcommand{بخوان}{read}
+\eqcommand{رجوع}{ref}
+\eqcommand{کادرقرینه}{reflectbox}
+\eqcommand{عنوان‌مراجع}{refname}
+\eqcommand{گام‌شمارنده‌مرجع}{refstepcounter}
+\eqcommand{راحت}{relax}
+\eqcommand{رفع‌آخرین‌فاصله}{removelastskip}
+\eqcommand{فرمان‌ازنو}{renewcommand}
+\eqcommand{محیط‌ازنو}{renewenvironment}
+\eqcommand{سبک‌موردنیاز}{RequirePackage}
+\eqcommand{سبک‌موردنیازباگزینه}{RequirePackageWithOptions}
+\eqcommand{کادرکشیده}{resizebox}
+\eqcommand{درحاشیه‌معکوس}{reversemarginpar}
+\eqcommand{کف‌ر}{rfloor}
+\eqcommand{راست}{right}
+\eqcommand{حاشیه‌راست}{rightmargin}
+\eqcommand{علامت‌راست}{rightmark}
+\eqcommand{کادرتاراست}{rightpageskip}
+\eqcommand{فاصله‌انتهای‌سطر}{rightskip}
+\eqcommand{رومن‌عادی}{rmdefault}
+\eqcommand{فامیل‌رومن}{rmfamily}
+\eqcommand{رومن‌بزرگ}{Roman}
+\eqcommand{رومن‌کوچک}{roman}
+\eqcommand{عددرومی}{romannumeral}
+\eqcommand{کادرچرخان}{rotatebox}
+\eqcommand{رنگ‌ردیف}{rowcolor}
+\eqcommand{خط}{rule}
+\eqcommand{@دومی‌ازدو}{@secondoftwo}
+\eqcommand{@فضاها}{@spaces}
+\eqcommand{همین‌صفحه}{samepage}
+\eqcommand{مقدارکادر}{savebox}
+\eqcommand{مقکادر}{sbox}
+\eqcommand{کادراندازه}{scalebox}
+\eqcommand{پیش‌فرض‌تمام‌بزرگ}{scdefault}
+\eqcommand{شکل‌تمام‌بزرگ}{scshape}
+\eqcommand{مقدارکلیدها}{setkeys}
+\eqcommand{قلم‌توان}{scriptfont}
+\eqcommand{قلم‌توان‌توان}{scriptscriptfont}
+\eqcommand{سبک‌ته‌نوشت‌ته‌نوشت}{scriptscriptstyle}
+\eqcommand{اندازه‌پانویس}{scriptsize}
+\eqcommand{سبک‌ته‌نوشت}{scripstyle}
+\eqcommand{پردازش‌گذری}{scrollmode}
+\eqcommand{قسمت}{section}
+\eqcommand{تعریف‌قسمت}{secdef}
+\eqcommand{ببینید}{see}
+\eqcommand{نیزببینید}{seealso}
+\eqcommand{نام‌ببینید}{seename}
+\eqcommand{قلم‌بردار}{selectfont}
+\eqcommand{تنظیم‌بولی}{setboolean}
+\eqcommand{درکادر}{setbox}
+\eqcommand{مقدارشمارنده}{setcounter}
+\eqcommand{مقداربعد}{setlength}
+\eqcommand{تنظیم‌منها}{setminus}
+\eqcommand{تعریف‌قلم‌علائم}{SetSymbolFont}
+\eqcommand{تنظیم‌به‌عمق}{settodepth}
+\eqcommand{تنظیم‌به‌ارتفاع}{settoheight}
+\eqcommand{مقداربعدبه‌اندازه}{settowidth}
+\eqcommand{کدضریب‌فاصله}{sfcode}
+\eqcommand{پیش‌فرض‌س‌ف}{sfdefault}
+\eqcommand{فامیل‌سن‌سریف}{sffamily}
+\eqcommand{کادرسایه‌دار}{shadowbox}
+\eqcommand{تیز}{sharp}
+\eqcommand{بفرست}{shipout}
+\eqcommand{پشته‌کوتاه}{shortstack}
+\eqcommand{نمایش‌بده}{show}
+\eqcommand{نمایش‌بده‌کادر}{showbox}
+\eqcommand{میزان‌نمایش‌کادر}{showboxbreadth}
+\eqcommand{عمق‌نمایش‌کادر}{showboxdepth}
+\eqcommand{نمایش‌بده‌لیستها}{showlists}
+\eqcommand{نمایش‌بده‌محتوای}{showthe}
+\eqcommand{حالت‌ساده‌قلم}{simplefontmode}
+\eqcommand{شانزد@}{sixt@@n}
+\eqcommand{نویسه‌اریب}{skewchar}
+\eqcommand{فاصله}{skip}
+\eqcommand{فاصل@}{skip@}
+\eqcommand{تعریف‌فاصله}{skipdef}
+\eqcommand{خوابیده}{sl}
+\eqcommand{پیش‌فرض‌خو}{sldefault}
+\eqcommand{شکل‌خوابیده}{slshape}
+\eqcommand{راحت‌چین}{sloppy}
+\eqcommand{شمایل‌خو}{slshape}
+\eqcommand{کوچک}{small}
+\eqcommand{پرش‌کوتاه}{smallskip}
+\eqcommand{مقدارپرش‌کوتاه}{smallskipamount}
+\eqcommand{کوب}{smash}
+\eqcommand{لبخند}{smile}
+\eqcommand{کدمکان‌همانطور}{snglfntlocatecode}
+\eqcommand{فضا}{space}
+\eqcommand{ضریب‌فاصله}{spacefactor}
+\eqcommand{فاصله‌کلمات}{spaceskip}
+\eqcommand{پیک}{spadesuit}
+\eqcommand{ادغام}{span}
+\eqcommand{ویژه}{special}
+\eqcommand{حداکثرعمق‌ستون}{splitmaxdepth}
+\eqcommand{فاصله‌بالای‌ستون}{splittopskip}
+\eqcommand{ستاره}{star}
+\eqcommand{گام‌شمارنده}{stepcounter}
+\eqcommand{کشی}{stretch}
+\eqcommand{رشته}{string}
+\eqcommand{شمع}{strut}
+\eqcommand{کادرشمع}{strutbox}
+\eqcommand{زیربند}{subitem}
+\eqcommand{زیرپاراگراف}{subparagraph}
+\eqcommand{زیرقسمت}{subsection}
+\eqcommand{زیرپشته}{substack}
+\eqcommand{زیرزیربند}{subsubitem}
+\eqcommand{زیرزیرقسمت}{subsubsection}
+\eqcommand{زیرمجموعه}{subset}
+\eqcommand{زیرمجموعه‌مس}{subseteq}
+\eqcommand{منتهای‌صفحه}{supereject}
+\eqcommand{حذف‌مکان‌شناور}{suppressfloats}
+\eqcommand{@موقت‌آ}{@tempa}
+\eqcommand{@موقت‌ب}{@tempb}
+\eqcommand{@موقت‌پ}{@tempc}
+\eqcommand{@موقت‌ت}{@tempd}
+\eqcommand{@موقت‌ث}{@tempe}
+\eqcommand{@کادرقت‌آ}{@tempboxa}
+\eqcommand{@شماقت‌آ}{@tempcnta}
+\eqcommand{@شماقت‌ب}{@tempcntb}
+\eqcommand{@بعدقت‌آ}{@tempdima}
+\eqcommand{@بعدقت‌ب}{@tempdimb}
+\eqcommand{@بعدقت‌پ}{@tempdimc}
+\eqcommand{@فاقت‌آ}{@tempskipa}
+\eqcommand{@فاقت‌ب}{@tempskipb}
+\eqcommand{@سواقت‌آنادرست}{@tempswafalse}
+\eqcommand{@سواقت‌آدرست}{@tempswatrue}
+\eqcommand{@جزقت‌آ}{@temptokena}
+\eqcommand{انگ‌زیرنویس}{@thefnmark}
+\eqcommand{@سومی‌ازسه}{@thirdofthree}
+\eqcommand{فاصله‌جاگذاری}{tabbingsep}
+\eqcommand{فاصله‌بین‌ستونها}{tabcolsep}
+\eqcommand{فهرست‌مطالب}{tableofcontents}
+\eqcommand{عنوان‌جدول}{tablename}
+\eqcommand{فاصله‌ستونها}{tabskip}
+\eqcommand{ته‌سطرجدول}{tabularnewline}
+\eqcommand{اتیکت}{tag}
+\eqcommand{تلفن}{telephone}
+\eqcommand{تک}{TeX}
+\eqcommand{متن}{text}
+\eqcommand{گلوله‌متنی}{textbullet}
+\eqcommand{قلم‌متن}{textfont}
+\eqcommand{ام‌دش‌متنی}{textemdash}
+\eqcommand{ان‌دش‌متنی}{textendash}
+\eqcommand{تعجب‌وارونه‌متنی}{textexclamdown}
+\eqcommand{نقطه‌وسط‌متنی}{textperiodcentered}
+\eqcommand{سوال‌وارونه‌متنی}{textquestiondown}
+\eqcommand{نقل‌چپ‌متنی‌دولا}{textquotedblleft}
+\eqcommand{نقل‌راست‌متنی‌دولا}{textquotedblright}
+\eqcommand{نقل‌متنی‌چپ}{textquoteleft}
+\eqcommand{نقل‌متنی‌راست}{textquoteright}
+\eqcommand{فضای‌نمایان‌متنی‌}{textvisiblespace}
+\eqcommand{شکافت‌پشت‌متنی}{textbackslash}
+\eqcommand{میله‌متنی}{textbar}
+\eqcommand{بزرگ‌تر‌متنی}{textgreater}
+\eqcommand{کمتر‌متنی}{textless}
+\eqcommand{متن‌سیاه}{textbf}
+\eqcommand{مدور‌متنی}{textcircled}
+\eqcommand{رنگ‌متن}{textcolor}
+\eqcommand{نشان‌کلمه‌مرکب‌متن}{textcompwordmark}
+\eqcommand{فاصله‌متن‌وشناور}{textfloatsep}
+\eqcommand{نسبت‌متن}{textfraction}
+\eqcommand{بلندای‌متن}{textheight}
+\eqcommand{متن‌تورفته}{textindent}
+\eqcommand{متن‌ایتالیک}{textit}
+\eqcommand{متن‌نازک}{textmd}
+\eqcommand{متن‌نرمال}{textnormal}
+\eqcommand{ثبتی‌متنی}{textregistered}
+\eqcommand{متن‌رومن}{textrm}
+\eqcommand{متن‌تمام‌بزرگ}{textsc}
+\eqcommand{متن‌سن‌سریف}{textsf}
+\eqcommand{متن‌خوابیده}{textsl}
+\eqcommand{سبک‌متنی}{textstyle}
+\eqcommand{بالانویس‌متنی}{textsuperscript}
+\eqcommand{علامت‌تجاری‌متنی}{texttrademark}
+\eqcommand{متن‌تایپ}{texttt}
+\eqcommand{متن‌ایستاده}{textup}
+\eqcommand{پهنای‌متن}{textwidth}
+\eqcommand{زیر‌نویس‌عنوان}{thanks}
+\eqcommand{محتوای}{the}
+\eqcommand{این‌زیرنویس}{thempfn}
+\eqcommand{خط‌هاضخیم}{thicklines}
+\eqcommand{فاصله‌زیادریاضی}{thickmuskip}
+\eqcommand{فاصله‌کم‌ریاضی}{thinmuskip}
+\eqcommand{فضاضخیم}{thickspace}
+\eqcommand{خط‌هانازک}{thinlines}
+\eqcommand{دوری‌کوچک}{thinspace}
+\eqcommand{این‌صفحه‌تجملی}{thisfancypage}
+\eqcommand{سبک‌این‌صفحه}{thispagestyle}
+\eqcommand{سه@}{thr@@}
+\eqcommand{مد}{tilde}
+\eqcommand{ظریف}{tiny}
+\eqcommand{زمان}{time}
+\eqcommand{ضرب‌در}{times}
+\eqcommand{عنوان}{title}
+\eqcommand{به}{to}
+\eqcommand{امروز}{today}
+\eqcommand{جزء}{toks}
+\eqcommand{تعریف‌جزء}{toksdef}
+\eqcommand{حدبدنمایی}{tolerance}
+\eqcommand{بالا}{top}
+\eqcommand{خط‌بالای‌شناور}{topfigrule}
+\eqcommand{نسبت‌بالا}{topfraction}
+\eqcommand{حاشیه‌بالا}{topmargin}
+\eqcommand{علامت‌بالا}{topmark}
+\eqcommand{کادرتابالا}{toppageskip}
+\eqcommand{فاصله‌بالای‌لیست}{topsep}
+\eqcommand{فاصله‌بالا}{topskip}
+\eqcommand{بلندای‌کل}{totalheight}
+\eqcommand{ردگیری‌کل}{tracingall}
+\eqcommand{ردگیری‌فرامین}{tracingcommands}
+\eqcommand{ردگیری‌حروف}{tracinglostchars}
+\eqcommand{ردگیری‌ماکروها}{tracingmacros}
+\eqcommand{ردگیری‌نمایشی}{tracingonline}
+\eqcommand{ردگیری‌صفحه‌بندی}{tracingoutput}
+\eqcommand{ردگیری‌صفحات}{tracingpages}
+\eqcommand{ردگیری‌بندها}{tracingparagraphs}
+\eqcommand{ردگیری‌بازگردانی}{tracingrestores}
+\eqcommand{ردگیری‌آمارها}{tracingstats}
+\eqcommand{مثلث}{triangle}
+\eqcommand{پیش‌فرض‌تایپ}{ttdefault}
+\eqcommand{فامیل‌تایپ}{ttfamily}
+\eqcommand{دو@}{tw@}
+\eqcommand{دوستون}{twocolumn}
+\eqcommand{درنویس}{typein}
+\eqcommand{برنویس}{typeout}
+\eqcommand{کدبزرگ}{uccode}
+\eqcommand{تیره‌بندی‌بزرگ}{uchyph}
+\eqcommand{زیرخط}{underline}
+\eqcommand{بی‌کادرا}{unhbox}
+\eqcommand{بی‌کپی‌ا}{unhcopy}
+\eqcommand{واحدطول}{unitlength}
+\eqcommand{برگشت‌دوری}{unkern}
+\eqcommand{برگشت‌جریمه}{unpenalty}
+\eqcommand{برگشت‌فاصله}{unskip}
+\eqcommand{بی‌کادرو}{unvbox}
+\eqcommand{بی‌کپی‌و}{unvcopy}
+\eqcommand{پیش‌فرض‌ایستاده}{updefault}
+\eqcommand{شکل‌ایستاده}{upshape}
+\eqcommand{ازکادر}{usebox}
+\eqcommand{باشمارشگر}{usecounter}
+\eqcommand{گزینش‌قلم}{usefont}
+\eqcommand{سبک‌لازم}{usepackage}
+\eqcommand{@فضاهای‌فعال}{@vobeyspaces}
+\eqcommand{@تهی}{@void}
+\eqcommand{تنظیم‌و}{vadjust}
+\eqcommand{ردیف‌و}{valign}
+\eqcommand{محتوای‌شمارنده}{value}
+\eqcommand{بدنمایی‌و}{vbadness}
+\eqcommand{کادرو}{vbox}
+\eqcommand{کادروسط}{vcenter}
+\eqcommand{همانطور}{verb}
+\eqcommand{پرو}{vfil}
+\eqcommand{پررو}{vfill}
+\eqcommand{رفع‌پرو}{vfilneg}
+\eqcommand{پرزعمودی}{vfuzz}
+\eqcommand{نمایان}{visible}
+\eqcommand{خط‌عمود}{vline}
+\eqcommand{حاشیه‌و}{voffset}
+\eqcommand{ک@درتهی}{voidb@x}
+\eqcommand{ارجاع‌صفحه‌ع}{vpageref}
+\eqcommand{فاصله‌وگرد}{vrboxsep}
+\eqcommand{ارجاع‌ع}{vref}
+\eqcommand{خط‌و}{vrule}
+\eqcommand{طول‌صفحه}{vsize}
+\eqcommand{فاصله‌و}{vskip}
+\eqcommand{فضای‌و}{vspace}
+\eqcommand{شکست‌و}{vsplit}
+\eqcommand{هردوو}{vss}
+\eqcommand{کادرگود}{vtop}
+\eqcommand{عرض}{wd}
+\eqcommand{مادام‌بکن}{whiledo}
+\eqcommand{کلاه‌پهن}{widehat}
+\eqcommand{مدپهن}{widetilde}
+\eqcommand{جریمه‌ته‌بند}{widowpenalty}
+\eqcommand{پهنا}{width}
+\eqcommand{درکارنامه}{wlog}
+\eqcommand{بنویس}{write}
+\eqcommand{@فضای‌لاتین}{@xobeysp}
+\eqcommand{سی@دو}{@xxxii}
+\eqcommand{ترگع}{xdef}
+\eqcommand{نشانگرگسترشی}{xleaders}
+\eqcommand{فاصله‌اضافی‌کلمات}{xspaceskip}
+\eqcommand{سال}{year}
+\eqcommand{@فر}{z@}
+\eqcommand{@فرفاصله}{z@skip}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `commands-ltx.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
new file mode 100644
index 00000000000..02b6727613d
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
@@ -0,0 +1,89 @@
+%%
+%% This is file `commands-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `commands-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{commands-xepersian.def}[2012/07/25 v0.2 Persian localisation of XePersian commands]
+\eqcommand{خط‌زیرنویس‌خودکار}{autofootnoterule}
+\eqcommand{اعدادفرمولهاخودکار}{AutoMathsDigits}
+\eqcommand{اعدادفرمولهالاتین}{DefaultMathsDigits}
+\eqcommand{معادل@کلید}{keyval@eq@alias@key}
+\eqcommand{تعریف‌قلم‌لاتین}{deflatinfont}
+\eqcommand{تعریف‌قلم‌پارسی}{defpersianfont}
+\eqcommand{کادراچپ}{hboxL}
+\eqcommand{کادراست}{hboxR}
+\eqcommand{مرجع‌لاتین}{Latincite}
+\eqcommand{قلم‌لاتین}{latinfont}
+\eqcommand{امروزلاتین}{latintoday}
+\eqcommand{خط‌زیرنویس‌چپ}{leftfootnoterule}
+\eqcommand{متن‌لاتین}{lr}
+\eqcommand{چپ‌براست}{LRE}
+\eqcommand{دوستونی‌چپ}{LTRdblcol}
+\eqcommand{پانویس}{LTRfootnote}
+\eqcommand{متن‌پانویس}{LTRfootnotetext}
+\eqcommand{پانویس‌عنوان}{LTRthanks}
+\eqcommand{روزپارسی}{persianday}
+\eqcommand{قلم‌پارسی}{persianfont}
+\eqcommand{اعدادفرمولهاپارسی}{PersianMathsDigits}
+\eqcommand{ماه‌پارسی}{persianmonth}
+\eqcommand{سال‌پارسی}{persianyear}
+\eqcommand{علامت‌چپ‌نقل‌قول‌پارسی}{plq}
+\eqcommand{علامت‌راست‌نقل‌قول‌پارسی}{prq}
+\eqcommand{خط‌زیرنویس‌راست}{rightfootnoterule}
+\eqcommand{متن‌پارسی}{rl}
+\eqcommand{راست‌بچپ}{RLE}
+\eqcommand{دوستونی‌راست}{RTLdblcol}
+\eqcommand{پانوشت}{RTLfootnote}
+\eqcommand{متن‌پانوشت}{RTLfootnotetext}
+\eqcommand{پانوشت‌عنوان}{RTLthanks}
+\eqcommand{@علامت‌بین}{@SepMark}
+\eqcommand{علامت‌بین}{SepMark}
+\eqcommand{بگذارمرجوعات‌عادی}{setdefaultbibitems}
+\eqcommand{بگذاردرحاشیه‌عادی}{setdefaultmarginpar}
+\eqcommand{گزینش‌قلم‌اعدادفرمولها}{setdigitfont}
+\eqcommand{بگذارزیرنویس‌چپ}{setfootnoteLR}
+\eqcommand{بگذارزیرنویس‌راست}{setfootnoteRL}
+\eqcommand{گزینش‌قلم‌لاتین‌متن}{setlatintextfont}
+\eqcommand{بگذارمتن‌چپ}{setLTR}
+\eqcommand{بگذارمرجوعات‌چپ}{setLTRbibitems}
+\eqcommand{بگذاردرحاشیه‌چپ}{setLTRmarginpar}
+\eqcommand{بگذارمتن‌راست}{setRTL}
+\eqcommand{بگذارمرجوعات‌راست}{setRTLbibitems}
+\eqcommand{بگذاردرحاشیه‌راست}{setRTLmarginpar}
+\eqcommand{گزینش‌قلم‌متن}{settextfont}
+\eqcommand{خط‌زیرنویس‌پهنای‌متن}{textwidthfootnoterule}
+\eqcommand{فهرست‌مطالب‌دوستونی}{twocolumnstableofcontents}
+\eqcommand{نگذارزیرنویس‌راست}{unsetfootnoteRL}
+\eqcommand{نگذارمتن‌چپ}{unsetLTR}
+\eqcommand{نگذارمتن‌راست}{unsetRTL}
+\eqcommand{کادروازچپ}{vboxL}
+\eqcommand{کادروازراست}{vboxR}
+\eqcommand{زی‌لاتک}{XeLaTeX}
+\eqcommand{زی‌پرشین}{XePersian}
+\eqcommand{گونه‌زی‌پرشین}{xepersianversion}
+\eqcommand{تاریخ‌گونه‌زی‌پرشین}{xepersiandate}
+\eqcommand{زی‌تک}{XeTeX}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `commands-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/empheq-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/empheq-xepersian.def
new file mode 100644
index 00000000000..fb15d18a1cc
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/empheq-xepersian.def
@@ -0,0 +1,32 @@
+%%
+%% This is file `empheq-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `empheq-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{empheq-xepersian.def}[2011/03/01 v0.1 adaptations for empheq package]
+\def\tagform@#1{\maketag@@@{\if@Latin\else\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@Latin\else\endR\fi}}
+\def\text#1{\@@text{\if@Latin\else\beginR\fi#1\if@Latin\else\endR\fi}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `empheq-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
new file mode 100644
index 00000000000..6b6a783ec90
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
@@ -0,0 +1,46 @@
+%%
+%% This is file `enumerate-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `enumerate-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{enumerate-xepersian.def}[2010/07/25 v0.1 adaptations for enumerate package]
+\def\@enloop@{%
+ \ifx ا\@entemp \def\@tempa{\@enLabel\harfi }\else
+ \ifx ی\@entemp \def\@tempa{\@enLabel\adadi }\else
+ \ifx ت\@entemp \def\@tempa{\@enLabel\tartibi }\else
+ \ifx A\@entemp \def\@tempa{\@enLabel\Alph }\else
+ \ifx a\@entemp \def\@tempa{\@enLabel\alph }\else
+ \ifx i\@entemp \def\@tempa{\@enLabel\roman }\else
+ \ifx I\@entemp \def\@tempa{\@enLabel\Roman }\else
+ \ifx 1\@entemp \def\@tempa{\@enLabel\arabic}\else
+ \ifx \@sptoken\@entemp \let\@tempa\@enSpace \else
+ \ifx \bgroup\@entemp \let\@tempa\@enGroup \else
+ \ifx \@enum@\@entemp \let\@tempa\@gobble \else
+ \let\@tempa\@enOther
+ \@enhook
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \@tempa}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `enumerate-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def b/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def
new file mode 100644
index 00000000000..77babeda79c
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def
@@ -0,0 +1,72 @@
+%%
+%% This is file `environments-ltx.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `environments-ltx.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{environments-ltx.def}[2010/07/25 v0.2 Persian localisation of LaTeX2e environments]
+\eqenvironment{چکیده}{abstract}
+\eqenvironment{پیوست}{appendix}
+\eqenvironment{آرایه}{array}
+\eqenvironment{وسط‌چین}{center}
+\eqenvironment{توضیح}{description}
+\eqenvironment{ریاضی‌نمایشی}{displaymath}
+\eqenvironment{نوشتار}{document}
+\eqenvironment{شمارش}{enumerate}
+\eqenvironment{شکل}{figure}
+\eqenvironment{شکل*}{figure*}
+\eqenvironment{محتوای‌پرونده}{filecontents}
+\eqenvironment{محتوای‌پرونده*}{filecontents*}
+\eqenvironment{چپ‌چین}{flushleft}
+\eqenvironment{راست‌چین}{flushright}
+\eqenvironment{فقرات}{itemize}
+\eqenvironment{نامه}{letter}
+\eqenvironment{لیست}{list}
+\eqenvironment{جدول‌دراز}{longtable}
+\eqenvironment{کادررچ}{lrbox}
+\eqenvironment{ریاضی}{math}
+\eqenvironment{ماتریس}{matrix}
+\eqenvironment{صفحه‌کوچک}{minipage}
+\eqenvironment{چندخطی}{multline}
+\eqenvironment{یادداشت}{note}
+\eqenvironment{انباشتن}{overlay}
+\eqenvironment{تصویر}{picture}
+\eqenvironment{اقتباس}{quotation}
+\eqenvironment{نقل}{quote}
+\eqenvironment{اسلاید}{slide}
+\eqenvironment{پارنامرتب}{sloppypar}
+\eqenvironment{شکافتن}{split}
+\eqenvironment{زیرآرایه}{subarray}
+\eqenvironment{جاگذاری}{tabbing}
+\eqenvironment{لوح}{table}
+\eqenvironment{لوح*}{table*}
+\eqenvironment{جدول}{tabular}
+\eqenvironment{جدول*}{tabular*}
+\eqenvironment{مراجع}{thebibliography}
+\eqenvironment{محتوای‌نمایه}{theindex}
+\eqenvironment{صفحه‌عنوان}{titlepage}
+\eqenvironment{لیست‌بدوی}{trivlist}
+\eqenvironment{شعر}{verse}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `environments-ltx.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def
new file mode 100644
index 00000000000..18eb89b6274
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def
@@ -0,0 +1,40 @@
+%%
+%% This is file `environments-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `environments-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{environments-xepersian.def}[2010/07/25 v0.1 Persian localisation of XePersian and bidi environments]
+\eqenvironment{لاتین}{latin}
+\eqenvironment{متن‌چپ}{LTR}
+\eqenvironment{دسته‌بندی‌چپ}{LTRitems}
+\eqenvironment{شعرنو}{modernpoem}
+\eqenvironment{شعرنو*}{modernpoem*}
+\eqenvironment{پارسی}{persian}
+\eqenvironment{متن‌راست}{RTL}
+\eqenvironment{دسته‌بندی‌راست}{RTLitems}
+\eqenvironment{شعرسنتی}{traditionalpoem}
+\eqenvironment{شعرسنتی*}{traditionalpoem*}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `environments-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
new file mode 100644
index 00000000000..cb2ea3279a4
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
@@ -0,0 +1,35 @@
+%%
+%% This is file `extarticle-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `extarticle-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{extarticle-xepersian.def}[2010/07/25 v0.1 adaptations for extarticle class]
+\renewcommand\thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `extarticle-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
new file mode 100644
index 00000000000..ca3c0e0eb50
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
@@ -0,0 +1,41 @@
+%%
+%% This is file `extbook-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `extbook-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{extbook-xepersian.def}[2010/07/25 v0.1 adaptations for extbook class]
+\renewcommand\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{harfi}}
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}
+}%end appendix
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `extbook-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
new file mode 100644
index 00000000000..4f841b3345c
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
@@ -0,0 +1,33 @@
+%%
+%% This is file `extrafootnotefeatures-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `extrafootnotefeatures-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{extrafootnotefeatures-xepersian.def}[2012/01/01 v0.2 footnote macros for extrafootnotefeatures option of xepersian package]
+\renewcommand{\foottextfont}{\footnotesize\if@RTL@footnote\else\latinfont\fi}
+\renewcommand{\LTRfoottextfont}{\footnotesize\latinfont}
+\renewcommand{\RTLfoottextfont}{\footnotesize\persianfont}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `extrafootnotefeatures-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
new file mode 100644
index 00000000000..548be1d3075
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
@@ -0,0 +1,36 @@
+%%
+%% This is file `extreport-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `extreport-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{extreport-xepersian.def}[2010/07/25 v0.1 adaptations for extreport class]
+\renewcommand\thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `extreport-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
new file mode 100644
index 00000000000..b74c4519547
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
@@ -0,0 +1,58 @@
+%%
+%% This is file `flowfram-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `flowfram-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{flowfram-xepersian.def}[2010/07/25 v0.1 adaptations for flowfram package]
+\def\@outputpage{%
+\begingroup
+ \let\protect\noexpand
+ \@resetactivechars
+ \global\let\@@if@newlist\if@newlist
+ \global\@newlistfalse\@parboxrestore
+ \shipout\vbox{\set@typeset@protect
+ \aftergroup
+ \endgroup
+ \aftergroup
+ \set@typeset@protect
+ \reset@font\normalsize\normalsfcodes
+ \let\label\@gobble
+ \let\index\@gobble
+ \let\glossary\@gobble
+ \baselineskip\z@skip
+ \lineskip\z@skip
+ \lineskiplimit\z@
+ \vskip\topmargin\moveright\@themargin
+ \vbox{%
+ \vskip\headheight
+ \vskip\headsep
+ \box\@outputbox
+ }}%
+ \global\let\if@newlist\@@if@newlist
+ \stepcounter{page}%
+ \setcounter{displayedframe}{0}%
+ \let\firstmark\botmark}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `flowfram-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
new file mode 100644
index 00000000000..6da5bbf25fd
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
@@ -0,0 +1,121 @@
+%%
+%% This is file `footnote-bidi-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `footnote-bidi-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{footnote-bidi-xepersian.def}[2010/07/25 v0.2 footnote macros for xepersian package]
+
+\long\def\@footnotetext#1{\insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \reset@font\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep
+ \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
+ \hsize\columnwidth \@parboxrestore
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+\long\def\@RTLfootnotetext#1{\insert\footins{%
+ \@RTLtrue%
+ \reset@font\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep
+ \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
+ \hsize\columnwidth \@parboxrestore
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+\long\def\@LTRfootnotetext#1{\insert\footins{%
+ \@RTLfalse%
+ \reset@font\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep
+ \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
+ \hsize\columnwidth \@parboxrestore
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+\footdir@temp\footdir@ORG@xepersian@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@LTRfootnotetext\@LTRfootnotetext{L}%
+
+\long\def\@mpfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\if@RTL@footnote\rightfootnoterule\else\leftfootnoterule\fi\fi\fi%
+ \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \unvbox\@mpfootins
+ \reset@font\footnotesize
+ \hsize\columnwidth
+ \@parboxrestore
+ \protected@edef\@currentlabel
+ {\csname p@mpfootnote\endcsname\@thefnmark}%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
+ \color@endgroup}}
+
+\long\def\@mpRTLfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\rightfootnoterule\fi\fi%
+ \global\setbox\@mpfootins\vbox{\@RTLtrue%
+ \unvbox\@mpfootins
+ \reset@font\footnotesize
+ \hsize\columnwidth
+ \@parboxrestore
+ \protected@edef\@currentlabel
+ {\csname p@mpfootnote\endcsname\@thefnmark}%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}
+
+\long\def\@mpLTRfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\leftfootnoterule\fi\fi%
+ \global\setbox\@mpfootins\vbox{\@RTLfalse%
+ \unvbox\@mpfootins
+ \reset@font\footnotesize
+ \hsize\columnwidth
+ \@parboxrestore
+ \protected@edef\@currentlabel
+ {\csname p@mpfootnote\endcsname\@thefnmark}%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `footnote-bidi-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
new file mode 100644
index 00000000000..dc5bc19d321
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
@@ -0,0 +1,41 @@
+%%
+%% This is file `framed-bidi-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `framed-bidi-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{framed-bidi-xepersian.def}[2012/06/05 v0.1 xepersian adaptations for framed package for XeTeX engine]
+\renewenvironment{titled-frame}[1]{%
+ \def\FrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame{\textbf{#1}}}%
+ \def\FirstFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame[$\if@RTL\blacktriangleleft\else\blacktriangleright\fi$]{\textbf{#1}}}%
+ \def\MidFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame[$\if@RTL\blacktriangleleft\else\blacktriangleright\fi$]{\textbf{#1\ (\if@RTL ادامه\else cont\fi)}}}%
+ \def\LastFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame{\textbf{#1\ (\if@RTL ادامه\else cont\fi)}}}%
+ \MakeFramed{\advance\hsize-20pt \FrameRestore}}%
+ {\endMakeFramed}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `framed-bidi-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
new file mode 100644
index 00000000000..0f81f2754cc
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
@@ -0,0 +1,56 @@
+%%
+%% This is file `hyperref-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `hyperref-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{hyperref-xepersian.def}[2010/07/25 v0.3 bilingual captions for hyperref package]
+ \def\equationautorefname{\if@RTL معادله\else Equation\fi}%
+ \def\footnoteautorefname{\if@RTL زیرنویس\else footnote\fi}%
+ \def\itemautorefname{\if@RTL فقره\else item\fi}%
+ \def\figureautorefname{\if@RTL شکل\else Figure\fi}%
+ \def\tableautorefname{\if@RTL جدول\else Table\fi}%
+ \def\partautorefname{\if@RTL بخش\else Part\fi}%
+ \def\appendixautorefname{\if@RTL ضمیمه\else Appendix\fi}%
+ \def\chapterautorefname{\if@RTL فصل\else chapter\fi}%
+ \def\sectionautorefname{\if@RTL قسمت\else section\fi}%
+ \def\subsectionautorefname{\if@RTL زیرقسمت\else subsection\fi}%
+ \def\subsubsectionautorefname{\if@RTL زیرزیرقسمت\else subsubsection\fi}%
+ \def\paragraphautorefname{\if@RTL پاراگراف\else paragraph\fi}%
+ \def\subparagraphautorefname{\if@RTL زیرپاراگراف\else subparagraph\fi}%
+ \def\FancyVerbLineautorefname{\if@RTL سطر\else line\fi}%
+ \def\theoremautorefname{\if@RTL قضیه\else Theorem\fi}%
+ \def\pageautorefname{\if@RTL صفحه\else page\fi}%
+\AtBeginDocument{%
+\let\HyOrg@appendix\appendix
+\def\appendix{%
+ \ltx@IfUndefined{chapter}%
+ {\gdef\theHsection{\Alph{section}}}%
+ {\gdef\theHchapter{\Alph{chapter}}}%
+ \xdef\Hy@chapapp{\Hy@appendixstring}%
+ \HyOrg@appendix
+}
+}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `hyperref-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
new file mode 100644
index 00000000000..69cc0bd8497
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
@@ -0,0 +1,159 @@
+%%
+%% This is file `imsproc-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `imsproc-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{imsproc-xepersian.def}[2012/12/12 v0.1 implementation of imsproc class for xepersian package]
+\newenvironment{thebibliography}[1]{%
+ \@bibtitlestyle
+ \normalfont\bibliofont\labelsep .5em\relax
+ \renewcommand\theenumiv{\arabic{enumiv}}\let\p@enumiv\@empty
+ \if@RTL\if@LTRbibitems\@RTLfalse\else\fi\else\if@RTLbibitems\@RTLtrue\else\fi\fi
+ \list{\@biblabel{\theenumiv}}{\settowidth\labelwidth{\@biblabel{#1}}%
+ \leftmargin\labelwidth \advance\leftmargin\labelsep
+ \usecounter{enumiv}}%
+ \sloppy \clubpenalty\@M \widowpenalty\clubpenalty
+ \sfcode`\.=\@m
+}{%
+ \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist
+}
+\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
+ \columnseprule\z@ \columnsep 35\p@
+ \@indextitlestyle
+ \thispagestyle{plain}%
+ \let\item\@idxitem
+ \parindent\z@ \parskip\z@\@plus.3\p@\relax
+ \if@RTL\raggedleft\else\raggedright\fi
+ \hyphenpenalty\@M
+ \footnotesize}
+\def\@idxitem{\par\hangindent \if@RTL-\fi2em}
+\def\subitem{\par\hangindent \if@RTL-\fi2em\hspace*{1em}}
+\def\subsubitem{\par\hangindent \if@RTL-\fi3em\hspace*{2em}}
+\renewcommand \thepart {\@tartibi\c@part}
+\def\appendix{\par\c@section\z@ \c@subsection\z@
+ \let\sectionname\appendixname
+ \def\thesection{\@harfi\c@section}}
+\def\right@footnoterule{%
+ \hbox to \columnwidth
+ {\beginR \vbox{\kern-.4\p@
+ \hrule\@width 5pc\kern11\p@\kern-\footnotesep}\hfil\endR}}
+\def\left@footnoterule{\kern-.4\p@
+ \hrule\@width 5pc\kern11\p@\kern-\footnotesep}
+\def\@makefnmark{%
+ \leavevmode
+ \raise.9ex\hbox{\fontsize\sf@size\z@\normalfont\@thefnmark}%
+}
+
+\long\def\@footnotetext#1{%
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
+\long\def\@RTLfootnotetext#1{%
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
+\long\def\@LTRfootnotetext#1{%
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+\footdir@temp\footdir@ORG@xepersian@imsproc@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@imsproc@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@imsproc@LTRfootnotetext\@LTRfootnotetext{L}%
+
+\def\part{\@startsection{part}{0}%
+ \z@{\linespacing\@plus\linespacing}{.5\linespacing}%
+ {\normalfont\bfseries\if@RTL\raggedleft\else\raggedright\fi}}
+\def\@tocline#1#2#3#4#5#6#7{\relax
+ \ifnum #1>\c@tocdepth % then omit
+ \else
+ \par \addpenalty\@secpenalty\addvspace{#2}%
+ \begingroup \hyphenpenalty\@M
+ \@ifempty{#4}{%
+ \@tempdima\csname r@tocindent\number#1\endcsname\relax
+ }{%
+ \@tempdima#4\relax
+ }%
+ \parindent\z@ \if@RTL\rightskip\else\leftskip\fi#3\relax \advance\if@RTL\rightskip\else\leftskip\fi\@tempdima\relax
+ \if@RTL\leftskip\else\rightskip\fi\@pnumwidth plus4em \parfillskip-\@pnumwidth
+ #5\leavevmode\hskip-\@tempdima #6\nobreak\relax
+ \hfil\hbox to\@pnumwidth{\@tocpagenum{#7}}\par
+ \nobreak
+ \endgroup
+ \fi}
+\renewcommand\thesubsection {\thesection\@SepMark\arabic{subsection}}
+\renewcommand\thesubsubsection {\thesubsection \@SepMark\arabic{subsubsection}}
+\renewcommand\theparagraph {\thesubsubsection\@SepMark\arabic{paragraph}}
+\renewcommand\thesubparagraph {\theparagraph\@SepMark\arabic{subparagraph}}
+\def\maketitle{\par
+ \@topnum\z@ % this prevents figures from falling at the top of page 1
+ \@setcopyright
+ \thispagestyle{firstpage}% this sets first page specifications
+ \uppercasenonmath\shorttitle
+ \ifx\@empty\shortauthors \let\shortauthors\shorttitle
+ \else \andify\shortauthors
+ \fi
+ \@maketitle@hook
+ \begingroup
+ \@maketitle
+ \toks@\@xp{\shortauthors}\@temptokena\@xp{\shorttitle}%
+ \toks4{\def\\{ \ignorespaces}}% defend against questionable usage
+ \edef\@tempa{%
+ \@nx\markboth{\the\toks4
+ \@nx\MakeUppercase{\the\toks@}}{\the\@temptokena}}%
+ \@tempa
+ \endgroup
+ \c@footnote\z@
+ \@cleartopmattertags
+}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `imsproc-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
new file mode 100644
index 00000000000..697f3de2fa8
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
@@ -0,0 +1,73 @@
+%%
+%% This is file `kashida-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `kashida-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{kashida-xepersian.def}[2010/07/25 v0.2 implementation of Kashida for xepersian package]
+\chardef\xepersian@zwj="200D % zero-width joiner
+\chardef\xepersian@ksh="0640 % kashida
+
+\chardef\xepersian@D=10 % dual-joiner class
+\chardef\xepersian@L=11 % lam
+\chardef\xepersian@R=12 % right-joiner
+\chardef\xepersian@A=13 % alef
+\chardef\xepersian@V=256 % vowel or other combining mark (to be ignored)
+
+\def\xepersian@kashida{\xepersian@zwj\nobreak \setbox0=\hbox{\xepersian@ksh}%
+ \leaders\hrule height\ht0 \hskip0pt plus 0.5em \xepersian@zwj}
+
+\def\setclass#1#2{\def\theclass{#1}\def\charlist{#2}%
+ \expandafter\dosetclass\charlist,\end}
+\def\dosetclass#1,#2\end{%
+ \def\test{#1}\def\charlist{#2}%
+ \ifx\test\empty\let\next\finishsetclass
+ \else \XeTeXcharclass "\test = \theclass
+ \let\next\dosetclass \fi
+ \expandafter\next\charlist,,\end}
+\def\finishsetclass#1,,\end{}
+
+\setclass \xepersian@A {0622,0623,0625,0627}
+\setclass \xepersian@R {0624,0629,062F,0630,0631,0632,0648,0698}
+\setclass \xepersian@D {0626,0628,062A,062B,062C,062D,062E}
+\setclass \xepersian@D {0633,0634,0635,0636,0637,0638,0639,063A}
+\setclass \xepersian@D {0640,0641,0642,0643,0645,0646,0647,0649,064A}
+\setclass \xepersian@D {067E,0686,06A9,06AF,06CC}
+\setclass \xepersian@L {0644}
+\setclass \xepersian@V {064B,064C,064D,064E,064F,0650,0651,0652}
+
+\XeTeXinterchartoks \xepersian@D \xepersian@D = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@L \xepersian@D = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@D \xepersian@L = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@L \xepersian@L = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@D \xepersian@R = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@D \xepersian@A = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@L \xepersian@R = {\xepersian@kashida}
+\XeTeXinterchartoks \xepersian@L \xepersian@A = {}
+
+\newcommand{\KashidaOn}{\XeTeXinterchartokenstate=1}
+\newcommand{\KashidaOff}{\XeTeXinterchartokenstate=0}
+\KashidaOn
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `kashida-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
new file mode 100644
index 00000000000..0460f4de500
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
@@ -0,0 +1,32 @@
+%%
+%% This is file `listings-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `listings-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{listings-xepersian.def}[2010/07/25 v0.2 bilingual captions for listings package]
+\def\lstlistingname{\if@RT برنامهٔ\else Listing\fi}
+\def\lstlistlistingname{\if@RTL فهرست برنامه‌ها\else Listings\fi}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `listings-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def
new file mode 100644
index 00000000000..65d4b23c43f
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def
@@ -0,0 +1,56 @@
+%%
+%% This is file `loadingorder-bidi-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `loadingorder-bidi-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{loadingorder-bidi-xepersian.def}[2012/01/01 v0.3 making sure that xepersian is the last package loaded]
+\bidi@isloaded{algorithmic}
+\bidi@isloaded{algorithm}
+\bidi@isloaded{backref}
+\bidi@isloaded{enumerate}
+\bidi@isloaded{tocloft}
+\bidi@isloaded{url}
+\AtBeginDocument{
+ \if@bidi@algorithmicloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithmic after xepersian package. Please load package algorithmic before xepersian package, and then try to run xelatex on your document again}{}]{algorithmic}
+ \fi%
+ \if@bidi@algorithmloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithm after xepersian package. Please load package algorithm before xepersian package, and then try to run xelatex on your document again}{}]{algorithm}
+ \fi%
+ \if@bidi@backrefloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package backref after xepersian package. Please load package backref before xepersian package, and then try to run xelatex on your document again}{}]{backref}
+ \fi%
+ \if@bidi@enumerateloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package enumerate after xepersian package. Please load package enumerate before xepersian package, and then try to run xelatex on your document again}{}]{enumerate}
+ \fi%
+ \if@bidi@tocloftloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package tocloft after xepersian package. Please load package tocloft before xepersian package, and then try to run xelatex on your document again}{}]{tocloft}
+ \fi%
+ \if@bidi@urlloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package url after xepersian package. Please load package url before xepersian package, and then try to run xelatex on your document again}{}]{url}
+ \fi%
+}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `loadingorder-bidi-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
new file mode 100644
index 00000000000..1f7f77c7142
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
@@ -0,0 +1,109 @@
+%%
+%% This is file `localise-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `localise-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{localise-xepersian.def}[2010/07/25 v0.2a Persian localisation of LaTeX2e]
+\newcommand{\makezwnjletter}{\catcode`‌=11\relax}
+\makezwnjletter
+\newcommand*{\eqcommand}[2]{\if@bidi@csprimitive{#2}{\bidi@csletcs{#1}{#2}}{\bidi@csdefcs{#1}{#2}}}
+\newcommand*{\eqenvironment}[2]{\newenvironment{#1}{\csname#2\endcsname}{\csname end#2\endcsname}}
+\@ifpackageloaded{keyval}{%
+\newcommand*\keyval@eq@alias@key[4][KV]{%
+ \bidi@csletcs{#1@#2@#3}{#1@#2@#4}%
+ \bidi@csletcs{#1@#2@#3@default}{#1@#2@#4@default}}%
+}{\@ifpackageloaded{xkeyval}{%
+\newcommand*\keyval@eq@alias@key[4][KV]{%
+ \bidi@csletcs{#1@#2@#3}{#1@#2@#4}%
+ \bidi@csletcs{#1@#2@#3@default}{#1@#2@#4@default}}%
+}{}}
+\input{commands-ltx.def}
+\input{commands-xepersian.def}
+\input{environments-ltx.def}
+\input{environments-xepersian.def}
+\input{messages-localise.def}
+\input{misc-localise-xepersian.def}
+\input{packages-localise-xepersian.def}
+\aliasfontfeature{ExternalLocation}{مکان‌خارجی}
+\aliasfontfeature{ExternalLocation}{مسیر}
+\aliasfontfeature{Renderer}{تحویل‌دهنده}
+\aliasfontfeature{BoldFont}{قلم‌سیاه}
+\aliasfontfeature{Language}{زبان}
+\aliasfontfeature{Script}{خط}
+\aliasfontfeature{UprightFont}{قلم‌عمودی}
+\aliasfontfeature{ItalicFont}{قلم‌ایتالیک}
+\aliasfontfeature{BoldItalicFont}{قلم‌ایتالیک‌سیاه}
+\aliasfontfeature{SlantedFont}{قلم‌خوابیده}
+\aliasfontfeature{BoldSlantedFont}{قلم‌خوابیده‌سیاه}
+\aliasfontfeature{SmallCapsFont}{قلم‌کلاه‌کوچک}
+\aliasfontfeature{UprightFeatures}{ویژگی‌های‌قلم‌عمودی}
+\aliasfontfeature{BoldFeatures}{ویژگی‌های‌قلم‌سیاه}
+\aliasfontfeature{ItalicFeatures}{ویژگی‌های‌قلم‌ایتالیک}
+\aliasfontfeature{BoldItalicFeatures}{ویژگی‌های‌قلم‌ایتالیک‌سیاه}
+\aliasfontfeature{SlantedFeatures}{ویژگی‌های‌قلم‌خوابیده}
+\aliasfontfeature{BoldSlantedFeatures}{ویژگی‌های‌قلم‌خوابیده‌سیاه}
+\aliasfontfeature{SmallCapsFeatures}{ویژگی‌های‌قلم‌کلاه‌کوچک}
+\aliasfontfeature{SizeFeatures}{ویژگی‌های‌اندازه}
+\aliasfontfeature{Scale}{ضریب}
+\aliasfontfeature{WordSpace}{فضای‌کلمه}
+\aliasfontfeature{PunctuationSpace}{فضای‌نقطه‌گذاری}
+\aliasfontfeature{FontAdjustment}{تنظیم‌قلم}
+\aliasfontfeature{LetterSpace}{فضای‌حرف}
+\aliasfontfeature{HyphenChar}{نویسه‌تیره}
+\aliasfontfeature{Color}{رنگ}
+\aliasfontfeature{Opacity}{کدری}
+\aliasfontfeature{Mapping}{نگاشت}
+\aliasfontfeature{Weight}{سنگینی}
+\aliasfontfeature{Width}{پهنا}
+\aliasfontfeature{OpticalSize}{اندازه‌چشمی}
+\aliasfontfeature{FakeSlant}{خوابیده‌تقلبی}
+\aliasfontfeature{FakeStretch}{کشش‌تقلبی}
+\aliasfontfeature{FakeBold}{سیاه‌تقلبی}
+\aliasfontfeature{AutoFakeSlant}{خوابیده‌تقلبی‌خودکار}
+\aliasfontfeature{AutoFakeBold}{سیاه‌تقلبی‌خودکار}
+\aliasfontfeature{Ligatures}{دویاچندحرف‌متصل‌به‌هم}
+\aliasfontfeature{Alternate}{متناوب}
+\aliasfontfeature{Variant}{گوناگون}
+\aliasfontfeature{Variant}{مجموعه‌سبکی}
+\aliasfontfeature{CharacterVariant}{گوناگونی‌نویسه}
+\aliasfontfeature{ScriptStyle}{سبک‌اسکریپت}
+\aliasfontfeature{ScriptScriptStyle}{سبک‌اسکریپت‌اسکریپت}
+\aliasfontfeature{Style}{سبک}
+\aliasfontfeature{Annotation}{یادداشت}
+\aliasfontfeature{RawFeature}{ویژگی‌های‌کال}
+\aliasfontfeature{CharacterWidth}{پهنای‌نویسه}
+\aliasfontfeature{Numbers}{ارقام}
+\aliasfontfeature{Contextuals}{متنی}
+\aliasfontfeature{Diacritics}{تفکیک‌کننده‌ها}
+\aliasfontfeature{Letters}{حروف}
+\aliasfontfeature{Kerning}{دوری}
+\aliasfontfeature{VerticalPosition}{موقعیت‌عمودی}
+\aliasfontfeature{Fractions}{کسر}
+\aliasfontfeatureoption{Language}{Default}{پیش‌فرض}
+\aliasfontfeatureoption{Language}{Parsi}{پارسی}
+\aliasfontfeatureoption{Script}{Parsi}{پارسی}
+\aliasfontfeatureoption{Script}{Latin}{لاتین}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `localise-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
new file mode 100644
index 00000000000..c09fa3bb924
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
@@ -0,0 +1,41 @@
+%%
+%% This is file `memoir-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `memoir-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{memoir-xepersian.def}[2010/07/25 v0.1 adaptations for memoir class]
+\renewcommand{\@memfront}{%
+ \@smemfront\pagenumbering{harfi}}
+\renewcommand{\setthesection}{\thechapter\@SepMark\harfi{section}}
+\renewcommand*{\thebook}{\@tartibi\c@book}
+\renewcommand*{\thepart}{\@tartibi\c@part}
+\renewcommand{\appendix}{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}%
+ \anappendixtrue}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `memoir-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/messages-localise.def b/Master/texmf-dist/tex/xelatex/xepersian/messages-localise.def
new file mode 100644
index 00000000000..fa38d86b626
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/messages-localise.def
@@ -0,0 +1,30 @@
+%%
+%% This is file `messages-localise.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `messages-localise.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\آماده‌سازی‌پرونده{messages-localise.def}[2011/03/01 v0.1 localising LaTeX2e messages]
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `messages-localise.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
new file mode 100644
index 00000000000..f9127e532d1
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
@@ -0,0 +1,39 @@
+%%
+%% This is file `minitoc-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `minitoc-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{minitoc-xepersian.def}[2010/07/25 v0.1 bilingual captions for minitoc package]
+\def\ptctitle{\if@RTL فهرست مطالب\else Table of Contents\fi}%
+\def\plftitle{\if@RTL فهرست تصاویر\else List of Figures\fi}%
+\def\plttitle{\if@RTL فهرست جداول\else List of Tables\fi}%
+\def\mtctitle{\if@RTL عناوین\else Contents\fi}%
+\def\mlftitle{\if@RTL اشکال\else Figures\fi}%
+\def\mlttitle{\if@RTL جداول\else Tables\fi}%
+\def\stctitle{\if@RTL عناوین\else Contents\fi}%
+\def\slftitle{\if@RTL اشکال\else Figures\fi}%
+\def\slttitle{\if@RTL جداول\else Tables\fi}%
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `minitoc-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/misc-localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/misc-localise-xepersian.def
new file mode 100644
index 00000000000..01933c2b55d
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/misc-localise-xepersian.def
@@ -0,0 +1,397 @@
+%%
+%% This is file `misc-localise-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `misc-localise-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{misc-localise-xepersian.def}[2012/01/01 v0.2 miscellaneous Persian localisation of LaTeX2e]
+\تر\گرجدید#1{%
+\شمار@\نویسه‌ویژه \نویسه‌ویژه\من@ا
+ \بگذار#1\گرنادرست
+\@گر#1\گردرست
+\@گر#1\گرنادرست
+\نویسه‌ویژه\شمار@}
+\تر\@گر#1#2{%
+\بگسترپس‌از\تر\نام‌فرمان\بگسترپس‌از\@خورحریصانه‌دو\رشته#1%
+\بگسترپس‌از\@خورحریصانه‌دو\رشته#2\پایان‌نام‌فرمان
+{\بگذار#1#2}}
+\بگذار\تعریف‌نشده\undefined
+
+\تر\حلقه#1\ازنو{\تر\تکرارکن{#1\راحت\بگسترپس‌از\تکرارکن\رگ}%
+ \تکرارکن \بگذار\تکرارکن\راحت}
+\بگذار\ازنو\رگ
+
+\بلند\تر \حلقه #1\ازنو{%
+ \تر\تکرارکن{#1\راحت % \راحت اضافی
+ \بگسترپس‌از\تکرارکن\رگ
+ }%
+ \تکرارکن
+ \بگذار\تکرارکن\راحت
+}
+\بگذار\ازنو=\رگ
+
+\@ifdefinitionfileloaded{xetex-bidi}{%
+\def\@xfloat #1[#2]{%
+ \@nodocument
+ \def \@captype {#1}%
+ \def \@fps {#2}%
+ \@onelevel@sanitize \@fps
+ \def \reserved@b {!}%
+ \ifx \reserved@b \@fps
+ \@fpsadddefault
+ \else
+ \ifx \@fps \@empty
+ \@fpsadddefault
+ \fi
+ \fi
+ \ifhmode
+ \@bsphack
+ \@floatpenalty -\@Mii
+ \else
+ \@floatpenalty-\@Miii
+ \fi
+ \ifinner
+ \@parmoderr\@floatpenalty\z@
+ \else
+ \@next\@currbox\@freelist
+ {%
+ \@tempcnta \sixt@@n
+ \expandafter \@tfor \expandafter \reserved@a
+ \expandafter :\expandafter =\@fps
+ \do
+ {%
+ \if \reserved@a h%
+ \ifodd \@tempcnta
+ \else
+ \advance \@tempcnta \@ne
+ \fi
+ \fi
+ \if \reserved@a ا%
+ \ifodd \@tempcnta
+ \else
+ \advance \@tempcnta \@ne
+ \fi
+ \fi
+ \if \reserved@a t%
+ \@setfpsbit \tw@
+ \fi
+ \if \reserved@a ب%
+ \@setfpsbit \tw@
+ \fi
+ \if \reserved@a b%
+ \@setfpsbit 4%
+ \fi
+ \if \reserved@a ز%
+ \@setfpsbit 4%
+ \fi
+ \if \reserved@a p%
+ \@setfpsbit 8%
+ \fi
+ \if \reserved@a ص%
+ \@setfpsbit 8%
+ \fi
+ \if \reserved@a !%
+ \ifnum \@tempcnta>15
+ \advance\@tempcnta -\sixt@@n\relax
+ \fi
+ \fi
+ }%
+ \@tempcntb \csname ftype@\@captype \endcsname
+ \multiply \@tempcntb \@xxxii
+ \advance \@tempcnta \@tempcntb
+ \global \count\@currbox \@tempcnta
+ }%
+ \@fltovf
+ \fi
+ \global \setbox\@currbox
+ \color@vbox
+ \normalcolor
+ \vbox \bgroup
+ \hsize\columnwidth
+ \@parboxrestore
+ \@floatboxreset
+}
+\let\bm@و\bm@c
+\let\bm@چ\bm@l
+\let\bm@ر\bm@r
+\let\bm@ز\bm@b
+\let\bm@ب\bm@t
+\let\bm@ک\bm@s
+\long\def\@iiiparbox#1#2[#3]#4#5{%
+ \leavevmode
+ \@pboxswfalse
+ \if@RTLtab\@bidi@list@minipage@parbox@not@nobtrue\fi
+ \if@RTL\if#1t\@bidi@list@minipage@parboxtrue\else\if#1b\@bidi@list@minipage@parboxtrue\else\if#1ز\@bidi@list@minipage@parboxtrue\else\if#1ب\@bidi@list@minipage@parboxtrue\fi\fi\fi\fi\fi
+ \setlength\@tempdima{#4}%
+ \@begin@tempboxa\vbox{\hsize\@tempdima\@parboxrestore#5\@@par}%
+ \ifx\relax#2\else
+ \setlength\@tempdimb{#2}%
+ \edef\@parboxto{to\the\@tempdimb}%
+ \fi
+ \if#1b\vbox
+ \else\if#1ز\vbox
+ \else\if #1t\vtop
+ \else\if #1ب\vtop
+ \else\ifmmode\vcenter
+ \else\@pboxswtrue $\vcenter
+ \fi\fi\fi\fi\fi
+ \@parboxto{\let\hss\vss\let\unhbox\unvbox
+ \csname bm@#3\endcsname}%
+ \if@pboxsw \m@th$\fi
+ \@end@tempboxa}
+\def\@iiiminipage#1#2[#3]#4{%
+ \leavevmode
+ \@pboxswfalse
+ \if@RTLtab\@bidi@list@minipage@parbox@not@nobtrue\fi
+ \if@RTL\if#1t\@bidi@list@minipage@parboxtrue\else\if#1b\@bidi@list@minipage@parboxtrue\else\if#1ز\@bidi@list@minipage@parboxtrue\else\if#1ب\@bidi@list@minipage@parboxtrue\fi\fi\fi\fi\fi
+ \setlength\@tempdima{#4}%
+ \def\@mpargs{{#1}{#2}[#3]{#4}}%
+ \setbox\@tempboxa\vbox\bgroup
+ \color@begingroup
+ \hsize\@tempdima
+ \textwidth\hsize \columnwidth\hsize
+ \@parboxrestore
+ \def\@mpfn{mpfootnote}\def\thempfn{\thempfootnote}\c@mpfootnote\z@
+ \let\@footnotetext\@mpfootnotetext
+ \let\@LTRfootnotetext\@mpLTRfootnotetext
+ \let\@RTLfootnotetext\@mpRTLfootnotetext
+ \let\@listdepth\@mplistdepth \@mplistdepth\z@
+ \@minipagerestore
+ \@setminipage}
+\def\@testpach#1{\@chclass \ifnum \@lastchclass=\tw@ 4 \else
+ \ifnum \@lastchclass=3 5 \else
+ \z@ \if #1c\@chnum \z@ \else
+ \if #1و\@chnum \z@ \else
+ \if \if@RTLtab#1r\else#1l\fi\@chnum \@ne \else
+ \if \if@RTLtab#1ر\else#1چ\fi\@chnum \@ne \else
+ \if \if@RTLtab#1l\else#1r\fi\@chnum \tw@ \else
+ \if \if@RTLtab#1چ\else#1ر\fi\@chnum \tw@ \else
+ \@chclass \if #1|\@ne \else
+ \if #1@\tw@ \else
+ \if #1p3 \else
+ \if #1پ3 \else \z@ \@preamerr 0\fi
+ \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi
+\fi}%
+}{}
+\@ifdefinitionfileloaded{array-xetex-bidi}{%
+\def\@testpach{\@chclass
+ \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
+ \ifnum \@lastchclass=7 5 \else
+ \ifnum \@lastchclass=8 \tw@ \else
+ \ifnum \@lastchclass=9 \thr@@
+ \else \z@
+ \ifnum \@lastchclass = 10 \else
+ \edef\@nextchar{\expandafter\string\@nextchar}%
+ \@chnum
+ \if \@nextchar c\z@ \else
+ \if \@nextchar و\z@ \else
+ \if \@nextchar \if@RTLtab r\else l\fi\@ne \else
+ \if \@nextchar \if@RTLtab ر\else چ\fi\@ne \else
+ \if \@nextchar \if@RTLtab l\else r\fi\tw@ \else
+ \if \@nextchar \if@RTLtab چ\else ر\fi\tw@ \else
+ \z@ \@chclass
+ \if\@nextchar |\@ne \else
+ \if \@nextchar !6 \else
+ \if \@nextchar @7 \else
+ \if \@nextchar <8 \else
+ \if \@nextchar >9 \else
+ 10
+ \@chnum
+ \if \@nextchar m\thr@@\else
+ \if \@nextchar م\thr@@\else
+ \if \@nextchar p4 \else
+ \if \@nextchar پ4 \else
+ \if \@nextchar b5 \else
+ \if \@nextchar ز5 \else
+ \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi \fi \fi \fi
+ \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}%
+}{}
+\@ifdefinitionfileloaded{arydshln-xetex-bidi}{
+\ifadl@usingarypkg
+\def\@testpach{\@chclass
+ \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
+ \ifnum \@lastchclass=7 5 \else
+ \ifnum \@lastchclass=8 \tw@ \else
+ \ifnum \@lastchclass=9 \thr@@
+ \else \z@
+ \ifnum \@lastchclass = 10 \else
+ \edef\@nextchar{\expandafter\string\@nextchar}%
+ \@chnum
+ \if \@nextchar c\z@ \else
+ \if \@nextchar و\z@ \else
+ \if \@nextchar \if@RTLtab r\else l\fi\@ne \else
+ \if \@nextchar \if@RTLtab ر\else چ\fi\@ne \else
+ \if \@nextchar \if@RTLtab l\else r\fi\tw@ \else
+ \if \@nextchar \if@RTLtab چ\else ر\fi\tw@ \else
+ \z@ \@chclass
+ \if\@nextchar |\@ne \let\@arrayrule\adl@arrayrule \else
+ \if\@nextchar :\@ne \let\@arrayrule\adl@arraydashrule \else
+ \if\@nextchar ;\@ne \let\@arrayrule\adl@argarraydashrule \else
+ \if \@nextchar !6 \else
+ \if \@nextchar @7 \else
+ \if \@nextchar <8 \else
+ \if \@nextchar >9 \else
+ 10
+ \@chnum
+ \if \@nextchar m\thr@@\else
+ \if \@nextchar م\thr@@\else
+ \if \@nextchar p4 \else
+ \if \@nextchar پ4 \else
+ \if \@nextchar b5 \else
+ \if \@nextchar ز5 \else
+ \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi \fi \fi \fi \fi \fi
+ \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}
+
+\def\@classz{\@classx
+ \@tempcnta \count@
+ \prepnext@tok
+ \@addtopreamble{\ifcase \@chnum
+ \hfil
+ \adl@putlrc{\d@llarbegin \insert@column \d@llarend}\hfil \or
+ \hskip1sp\adl@putlrc{\d@llarbegin \insert@column \d@llarend}\hfil \or
+ \hfil\hskip1sp\adl@putlrc{\d@llarbegin \insert@column \d@llarend}\or
+ \setbox\adl@box\hbox \adl@startmbox{\@nextchar}\insert@column
+ \adl@endmbox\or
+ \setbox\adl@box\vtop \@startpbox{\@nextchar}\insert@column \@endpbox \or
+ \setbox\adl@box\vbox \@startpbox{\@nextchar}\insert@column \@endpbox
+ \fi}\prepnext@tok}
+\def\adl@class@start{4}
+\def\adl@class@iiiorvii{7}
+
+\else
+\def\@testpach#1{\@chclass \ifnum \@lastchclass=\tw@ 4\relax \else
+ \ifnum \@lastchclass=\thr@@ 5\relax \else
+ \z@ \if #1c\@chnum \z@ \else
+ \if #1و\@chnum\z@ \else
+ \if \if@RTLtab#1r\else#1l\fi\@chnum \@ne \else
+ \if \if@RTLtab#1ر\else#1چ\fi\@chnum \@ne \else
+ \if \if@RTLtab#1l\else#1r\fi\@chnum \tw@ \else
+ \if \if@RTLtab#1چ\else#1ر\fi\@chnum \tw@ \else
+ \@chclass
+ \if #1|\@ne \let\@arrayrule\adl@arrayrule \else
+ \if #1:\@ne \let\@arrayrule\adl@arraydashrule \else
+ \if #1;\@ne \let\@arrayrule\adl@argarraydashrule \else
+ \if #1@\tw@ \else
+ \if #1p\thr@@ \else
+ \if #1پ\thr@@ \else\z@ \@preamerr 0\fi
+ \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}
+
+\def\@arrayclassz{\ifcase \@lastchclass \@acolampacol \or \@ampacol \or
+ \or \or \@addamp \or
+ \@acolampacol \or \@firstampfalse \@acol \fi
+ \edef\@preamble{\@preamble
+ \ifcase \@chnum
+ \hfil\adl@putlrc{$\relax\@sharp$}\hfil
+ \or \adl@putlrc{$\relax\@sharp$}\hfil
+ \or \hfil\adl@putlrc{$\relax\@sharp$}\fi}}
+\def\@tabclassz{\ifcase \@lastchclass \@acolampacol \or \@ampacol \or
+ \or \or \@addamp \or
+ \@acolampacol \or \@firstampfalse \@acol \fi
+ \edef\@preamble{\@preamble
+ \ifcase \@chnum
+ \hfil\adl@putlrc{\@sharp\unskip}\hfil
+ \or \adl@putlrc{\@sharp\unskip}\hfil
+ \or \hfil\hskip\z@ \adl@putlrc{\@sharp\unskip}\fi}}
+\def\adl@class@start{6}
+\def\adl@class@iiiorvii{3}
+\fi
+}{}
+\@ifdefinitionfileloaded{tabulary-xetex-bidi}{%
+\def\@testpach{\@chclass
+ \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
+ \ifnum \@lastchclass=7 5 \else
+ \ifnum \@lastchclass=8 \tw@ \else
+ \ifnum \@lastchclass=9 \thr@@
+ \else \z@
+ \ifnum \@lastchclass = 10 \else
+ \edef\@nextchar{\expandafter\string\@nextchar}%
+ \@chnum
+ \if \@nextchar c\z@ \else
+ \if \@nextchar و\z@ \else
+ \if \@nextchar \if@RTLtab r\else l\fi\@ne \else
+ \if \@nextchar \if@RTLtab ر\else چ\fi\@ne \else
+ \if \@nextchar \if@RTLtab l\else r\fi\tw@ \else
+ \if \@nextchar \if@RTLtab چ\else ر\fi\tw@ \else
+ \if \@nextchar C7 \else
+ \if \@nextchar س7 \else
+ \if \@nextchar L8 \else
+ \if \@nextchar ف8 \else
+ \if \@nextchar R9 \else
+ \if \@nextchar ا9 \else
+ \if \@nextchar J10 \else
+ \if \@nextchar ت10 \else
+ \z@ \@chclass
+ \if\@nextchar |\@ne \else
+ \if \@nextchar !6 \else
+ \if \@nextchar @7 \else
+ \if \@nextchar <8 \else
+ \if \@nextchar >9 \else
+ 10
+ \@chnum
+ \if \@nextchar m\thr@@\else
+ \if \@nextchar م\thr@@\else
+ \if \@nextchar p4 \else
+ \if \@nextcharپ4 \else
+ \if \@nextchar b5 \else
+ \if \@nextchar ز5 \else
+ \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi\fi \fi \fi\fi \fi \fi \fi \fi \fi \fi \fi \fi
+ \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}%
+}{}
+\@ifdefinitionfileloaded{float-xetex-bidi}{%
+\let\@float@Hx\@xfloat
+\def\@xfloat#1[{\@ifnextchar{H}{\@float@HH{#1}[}{\@ifnextchar{آ}{\@float@آآ{#1}[}{\@float@Hx{#1}[}}}
+\def\@float@HH#1[H]{%
+ \expandafter\let\csname end#1\endcsname\float@endH
+ \let\@currbox\float@box
+ \def\@captype{#1}\setbox\@floatcapt=\vbox{}%
+ \expandafter\ifx\csname fst@#1\endcsname\relax
+ \@flstylefalse\else\@flstyletrue\fi
+ \setbox\@currbox\color@vbox\normalcolor
+ \vbox\bgroup \hsize\columnwidth \@parboxrestore
+ \@floatboxreset \@setnobreak
+ \ignorespaces}
+\def\@float@آآ#1[آ]{%
+ \expandafter\let\csname end#1\endcsname\float@endH
+ \let\@currbox\float@box
+ \def\@captype{#1}\setbox\@floatcapt=\vbox{}%
+ \expandafter\ifx\csname fst@#1\endcsname\relax
+ \@flstylefalse\else\@flstyletrue\fi
+ \setbox\@currbox\color@vbox\normalcolor
+ \vbox\bgroup \hsize\columnwidth \@parboxrestore
+ \@floatboxreset \@setnobreak
+ \ignorespaces}
+}{}
+\begingroup \catcode `|=0 \catcode `[= 1
+\catcode`]=2 \catcode `\{=12 \catcode `\}=12
+\catcode`\\=12 |gdef|@x@xepersian@localize@verbatim#1\پایان{همانطورکه‌هست}[#1|پایان[همانطورکه‌هست]]
+|gdef|@sx@xepersian@localize@verbatim#1\پایان{همانطورکه‌هست*}[#1|پایان[همانطورکه‌هست*]]
+|endgroup
+\def\همانطورکه‌هست{\@verbatim \frenchspacing\@vobeyspaces \@x@xepersian@localize@verbatim}
+\def\endهمانطورکه‌هست{\if@newlist \leavevmode\fi\endtrivlist}
+\ExplSyntaxOn
+\AtBeginDocument{\@namedef{همانطورکه‌هست*}{\@verbatim \fontspec_print_visible_spaces: \@sx@xepersian@localize@verbatim}}
+\ExplSyntaxOff
+\expandafter\let\csname endهمانطورکه‌هست*\endcsname =\endهمانطورکه‌هست
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `misc-localise-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
new file mode 100644
index 00000000000..2ab3a2b41a2
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
@@ -0,0 +1,244 @@
+%%
+%% This is file `natbib-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `natbib-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{natbib-xepersian.def}[2011/08/01 v0.1 adaptations for natbib package]
+\renewcommand\NAT@set@cites{%
+ \ifNAT@numbers
+ \ifNAT@super \let\@cite\NAT@citesuper
+ \def\NAT@mbox##1{\unskip\nobreak\textsuperscript{##1}}%
+ \let\citeyearpar=\citeyear
+ \let\NAT@space\relax
+ \def\NAT@super@kern{\kern\p@}%
+ \else
+ \let\NAT@mbox=\mbox
+ \let\@cite\NAT@citenum
+ \let\NAT@space\NAT@spacechar
+ \let\NAT@super@kern\relax
+ \fi
+ \let\@citex\NAT@citexnum
+ \let\@Latincitex\NAT@Latin@citexnum
+ \let\@biblabel\NAT@biblabelnum
+ \let\@bibsetup\NAT@bibsetnum
+ \renewcommand\NAT@idxtxt{\NAT@name\NAT@spacechar\NAT@open\NAT@num\NAT@close}%
+ \def\natexlab##1{}%
+ \def\NAT@penalty{\penalty\@m}%
+ \else
+ \let\@cite\NAT@cite
+ \let\@citex\NAT@citex
+ \let\@Latincitex\NAT@Latin@citex
+ \let\@biblabel\NAT@biblabel
+ \let\@bibsetup\NAT@bibsetup
+ \let\NAT@space\NAT@spacechar
+ \let\NAT@penalty\@empty
+ \renewcommand\NAT@idxtxt{\NAT@name\NAT@spacechar\NAT@open\NAT@date\NAT@close}%
+ \def\natexlab##1{##1}%
+ \fi}
+\newcommand\NAT@Latin@citex{}
+\def\NAT@Latin@citex%
+ [#1][#2]#3{%
+ \NAT@reset@parser
+ \NAT@sort@cites{#3}%
+ \NAT@reset@citea
+ \@cite{\lr{\let\NAT@nm\@empty\let\NAT@year\@empty
+ \@for\@citeb:=\NAT@cite@list\do
+ {\@safe@activestrue
+ \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
+ \@safe@activesfalse
+ \@ifundefined{b@\@citeb\@extra@b@citeb}{\@citea%
+ {\reset@font\bfseries ?}\NAT@citeundefined
+ \PackageWarning{natbib}%
+ {Citation `\@citeb' on page \thepage \space undefined}\def\NAT@date{}}%
+ {\let\NAT@last@nm=\NAT@nm\let\NAT@last@yr=\NAT@year
+ \NAT@parse{\@citeb}%
+ \ifNAT@longnames\@ifundefined{bv@\@citeb\@extra@b@citeb}{%
+ \let\NAT@name=\NAT@all@names
+ \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}{}%
+ \fi
+ \ifNAT@full\let\NAT@nm\NAT@all@names\else
+ \let\NAT@nm\NAT@name\fi
+ \ifNAT@swa\ifcase\NAT@ctype
+ \if\relax\NAT@date\relax
+ \@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}\NAT@date}%
+ \else
+ \ifx\NAT@last@nm\NAT@nm\NAT@yrsep
+ \ifx\NAT@last@yr\NAT@year
+ \def\NAT@temp{{?}}%
+ \ifx\NAT@temp\NAT@exlab\PackageWarningNoLine{natbib}%
+ {Multiple citation on page \thepage: same authors and
+ year\MessageBreak without distinguishing extra
+ letter,\MessageBreak appears as question mark}\fi
+ \NAT@hyper@{\NAT@exlab}%
+ \else\unskip\NAT@spacechar
+ \NAT@hyper@{\NAT@date}%
+ \fi
+ \else
+ \@citea\NAT@hyper@{%
+ \NAT@nmfmt{\NAT@nm}%
+ \hyper@natlinkbreak{%
+ \NAT@aysep\NAT@spacechar}{\@citeb\@extra@b@citeb
+ }%
+ \NAT@date
+ }%
+ \fi
+ \fi
+ \or\@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}%
+ \or\@citea\NAT@hyper@{\NAT@date}%
+ \or\@citea\NAT@hyper@{\NAT@alias}%
+ \fi \NAT@def@citea
+ \else
+ \ifcase\NAT@ctype
+ \if\relax\NAT@date\relax
+ \@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}%
+ \else
+ \ifx\NAT@last@nm\NAT@nm\NAT@yrsep
+ \ifx\NAT@last@yr\NAT@year
+ \def\NAT@temp{{?}}%
+ \ifx\NAT@temp\NAT@exlab\PackageWarningNoLine{natbib}%
+ {Multiple citation on page \thepage: same authors and
+ year\MessageBreak without distinguishing extra
+ letter,\MessageBreak appears as question mark}\fi
+ \NAT@hyper@{\NAT@exlab}%
+ \else
+ \unskip\NAT@spacechar
+ \NAT@hyper@{\NAT@date}%
+ \fi
+ \else
+ \@citea\NAT@hyper@{%
+ \NAT@nmfmt{\NAT@nm}%
+ \hyper@natlinkbreak{\NAT@spacechar\NAT@@open\if*#1*\else#1\NAT@spacechar\fi}%
+ {\@citeb\@extra@b@citeb}%
+ \NAT@date
+ }%
+ \fi
+ \fi
+ \or\@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}%
+ \or\@citea\NAT@hyper@{\NAT@date}%
+ \or\@citea\NAT@hyper@{\NAT@alias}%
+ \fi
+ \if\relax\NAT@date\relax
+ \NAT@def@citea
+ \else
+ \NAT@def@citea@close
+ \fi
+ \fi
+ }}\ifNAT@swa\else\if*#2*\else\NAT@cmt#2\fi
+ \if\relax\NAT@date\relax\else\NAT@@close\fi\fi}}{#1}{#2}}
+\newcommand\NAT@Latin@citexnum{}
+\def\NAT@Latin@citexnum[#1][#2]#3{%
+ \NAT@reset@parser
+ \NAT@sort@cites{#3}%
+ \NAT@reset@citea
+ \@cite{\lr{\def\NAT@num{-1}\let\NAT@last@yr\relax\let\NAT@nm\@empty
+ \@for\@citeb:=\NAT@cite@list\do
+ {\@safe@activestrue
+ \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
+ \@safe@activesfalse
+ \@ifundefined{b@\@citeb\@extra@b@citeb}{%
+ {\reset@font\bfseries?}
+ \NAT@citeundefined\PackageWarning{natbib}%
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+ {\let\NAT@last@num\NAT@num\let\NAT@last@nm\NAT@nm
+ \NAT@parse{\@citeb}%
+ \ifNAT@longnames\@ifundefined{bv@\@citeb\@extra@b@citeb}{%
+ \let\NAT@name=\NAT@all@names
+ \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}{}%
+ \fi
+ \ifNAT@full\let\NAT@nm\NAT@all@names\else
+ \let\NAT@nm\NAT@name\fi
+ \ifNAT@swa
+ \@ifnum{\NAT@ctype>\@ne}{%
+ \@citea
+ \NAT@hyper@{\@ifnum{\NAT@ctype=\tw@}{\NAT@test{\NAT@ctype}}{\NAT@alias}}%
+ }{%
+ \@ifnum{\NAT@cmprs>\z@}{%
+ \NAT@ifcat@num\NAT@num
+ {\let\NAT@nm=\NAT@num}%
+ {\def\NAT@nm{-2}}%
+ \NAT@ifcat@num\NAT@last@num
+ {\@tempcnta=\NAT@last@num\relax}%
+ {\@tempcnta\m@ne}%
+ \@ifnum{\NAT@nm=\@tempcnta}{%
+ \@ifnum{\NAT@merge>\@ne}{}{\NAT@last@yr@mbox}%
+ }{%
+ \advance\@tempcnta by\@ne
+ \@ifnum{\NAT@nm=\@tempcnta}{%
+ \ifx\NAT@last@yr\relax
+ \def@NAT@last@yr{\@citea}%
+ \else
+ \def@NAT@last@yr{--\NAT@penalty}%
+ \fi
+ }{%
+ \NAT@last@yr@mbox
+ }%
+ }%
+ }{%
+ \@tempswatrue
+ \@ifnum{\NAT@merge>\@ne}{\@ifnum{\NAT@last@num=\NAT@num\relax}{\@tempswafalse}{}}{}%
+ \if@tempswa\NAT@citea@mbox\fi
+ }%
+ }%
+ \NAT@def@citea
+ \else
+ \ifcase\NAT@ctype
+ \ifx\NAT@last@nm\NAT@nm \NAT@yrsep\NAT@penalty\NAT@space\else
+ \@citea \NAT@test{\@ne}\NAT@spacechar\NAT@mbox{\NAT@super@kern\NAT@@open}%
+ \fi
+ \if*#1*\else#1\NAT@spacechar\fi
+ \NAT@mbox{\NAT@hyper@{{\citenumfont{\NAT@num}}}}%
+ \NAT@def@citea@box
+ \or
+ \NAT@hyper@citea@space{\NAT@test{\NAT@ctype}}%
+ \or
+ \NAT@hyper@citea@space{\NAT@test{\NAT@ctype}}%
+ \or
+ \NAT@hyper@citea@space\NAT@alias
+ \fi
+ \fi
+ }%
+ }%
+ \@ifnum{\NAT@cmprs>\z@}{\NAT@last@yr}{}%
+ \ifNAT@swa\else
+ \@ifnum{\NAT@ctype=\z@}{%
+ \if*#2*\else\NAT@cmt#2\fi
+ }{}%
+ \NAT@mbox{\NAT@@close}%
+ \fi
+ }}{#1}{#2}%
+}%
+\AtBeginDocument{\NAT@set@cites}
+\DeclareRobustCommand\Latincite
+ {\begingroup\let\NAT@ctype\z@\NAT@partrue\NAT@swatrue
+ \@ifstar{\NAT@fulltrue\NAT@Latin@cites}{\NAT@fullfalse\NAT@Latin@cites}}
+\newcommand\NAT@Latin@cites{\@ifnextchar [{\NAT@@Latin@@citetp}{%
+ \ifNAT@numbers\else
+ \NAT@swafalse
+ \fi
+ \NAT@@Latin@@citetp[]}}
+\newcommand\NAT@@Latin@@citetp{}
+\def\NAT@@Latin@@citetp[#1]{\@ifnextchar[{\@Latincitex[#1]}{\@Latincitex[][#1]}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `natbib-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
new file mode 100644
index 00000000000..8ecd1c94894
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
@@ -0,0 +1,177 @@
+%%
+%% This is file `packages-localise-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `packages-localise-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\آماده‌سازی‌پرونده{packages-localise-xepersian.def}[2011/03/01 v0.1 localising LaTeX2e Packages]
+\@گرسبک‌فراخوانی‌شده{color}{\ورودی{color-localise.def}}{}
+\@ifpackageloaded{multicol}{%
+\newenvironment{چندستونی‌ها}{\begin{multicols}}{\end{multicols}}%
+\newenvironment{چندستونی‌ها*}{\begin{multicols*}}{\end{multicols*}}%
+}{}
+\@ifpackageloaded{verbatim}{%
+\begingroup
+ \vrb@catcodes
+ \lccode`\!=`\\ \lccode`\[=`\{ \lccode`\]=`\}
+ \catcode`\~=\active \lccode`\~=`\^^M
+ \lccode`\C=`\C
+ \lowercase{\endgroup
+ \def\xepersian@localize@verbatim@start#1{%
+ \verbatim@startline
+ \if\noexpand#1\noexpand~%
+ \let\next\xepersian@localize@verbatim@
+ \else \def\next{\xepersian@localize@verbatim@#1}\fi
+ \next}%
+ \def\xepersian@localize@verbatim@#1~{\xepersian@localize@verbatim@@#1!پایان\@nil}%
+ \def\xepersian@localize@verbatim@@#1!پایان{%
+ \verbatim@addtoline{#1}%
+ \futurelet\next\xepersian@localize@verbatim@@@}%
+ \def\xepersian@localize@verbatim@@@#1\@nil{%
+ \ifx\next\@nil
+ \verbatim@processline
+ \verbatim@startline
+ \let\next\xepersian@localize@verbatim@
+ \else
+ \def\@tempa##1!پایان\@nil{##1}%
+ \@temptokena{!پایان}%
+ \def\next{\expandafter\verbatim@test\@tempa#1\@nil~}%
+ \fi \next}%
+ \def\verbatim@test#1{%
+ \let\next\verbatim@test
+ \if\noexpand#1\noexpand~%
+ \expandafter\verbatim@addtoline
+ \expandafter{\the\@temptokena}%
+ \verbatim@processline
+ \verbatim@startline
+ \let\next\xepersian@localize@verbatim@
+ \else \if\noexpand#1
+ \@temptokena\expandafter{\the\@temptokena#1}%
+ \else \if\noexpand#1\noexpand[%
+ \let\@tempc\@empty
+ \let\next\verbatim@testend
+ \else
+ \expandafter\verbatim@addtoline
+ \expandafter{\the\@temptokena}%
+ \def\next{\xepersian@localize@verbatim@#1}%
+ \fi\fi\fi
+ \next}%
+ \def\verbatim@testend#1{%
+ \if\noexpand#1\noexpand~%
+ \expandafter\verbatim@addtoline
+ \expandafter{\the\@temptokena[}%
+ \expandafter\verbatim@addtoline
+ \expandafter{\@tempc}%
+ \verbatim@processline
+ \verbatim@startline
+ \let\next\xepersian@localize@verbatim@
+ \else\if\noexpand#1\noexpand]%
+ \let\next\verbatim@@testend
+ \else\if\noexpand#1\noexpand!%
+ \expandafter\verbatim@addtoline
+ \expandafter{\the\@temptokena[}%
+ \expandafter\verbatim@addtoline
+ \expandafter{\@tempc}%
+ \def\next{\xepersian@localize@verbatim@!}%
+ \else \expandafter\def\expandafter\@tempc\expandafter
+ {\@tempc#1}\fi\fi\fi
+ \next}%
+ \def\verbatim@@testend{%
+ \ifx\@tempc\@currenvir
+ \verbatim@finish
+ \edef\next{\noexpand\end{\@currenvir}%
+ \noexpand\verbatim@rescan{\@currenvir}}%
+ \else
+ \expandafter\verbatim@addtoline
+ \expandafter{\the\@temptokena[}%
+ \expandafter\verbatim@addtoline
+ \expandafter{\@tempc]}%
+ \let\next\xepersian@localize@verbatim@
+ \fi
+ \next}%
+ \def\verbatim@rescan#1#2~{\if\noexpand~\noexpand#2~\else
+ \@warning{Characters dropped after `\string\end{#1}'}\fi}}%
+\def\همانطورکه‌هست{\begingroup\@verbatim \frenchspacing\@vobeyspaces
+ \xepersian@localize@verbatim@start}
+\@namedef{همانطورکه‌هست*}{\begingroup\@verbatim\xepersian@localize@verbatim@start}
+\def\endهمانطورکه‌هست{\endtrivlist\endgroup\@doendpe}
+\expandafter\let\csname endهمانطورکه‌هست*\endcsname =\endهمانطورکه‌هست
+}{}
+\ExplSyntaxOn
+\AtBeginDocument{
+ \xepersian_localize_patch_verbatim:
+}
+\cs_set:Npn \xepersian_localize_patch_verbatim: {
+ \@ifpackageloaded{verbatim}{
+ \cs_set:cpn {همانطورکه‌هست*} {
+ \group_begin: \@verbatim \fontspec_print_visible_spaces: \xepersian@localize@verbatim@start
+ }
+ }{
+ }
+}
+\ExplSyntaxOff
+\@ifpackageloaded{graphicx}{%
+\def\Gin@boolkey#1#2{%
+\expandafter\@ifdefinable \csname Gin@#2درست\endcsname{%
+\expandafter\let\csname Gin@#2درست\expandafter\endcsname\csname Gin@#2true\endcsname}%
+\expandafter\@ifdefinable \csname Gin@#2نادرست\endcsname{%
+\expandafter\let\csname Gin@#2نادرست\expandafter\endcsname\csname Gin@#2false\endcsname}%
+ \csname Gin@#2\ifx\relax#1\relax true\else#1\fi\endcsname}
+\define@key{Grot}{origin}[c]{%
+ \@tfor\@tempa:=#1\do{%
+ \if l\@tempa \Grot@x\z@\else
+ \if چ\@tempa \Grot@x\z@\else
+ \if r\@tempa \Grot@x\width\else
+ \if ر\@tempa \Grot@x\width\else
+ \if t\@tempa \Grot@y\height\else
+ \if ب\@tempa \Grot@y\height\else
+ \if b\@tempa \Grot@y-\depth\else
+ \if ز\@tempa \Grot@y-\depth\else
+ \if B\@tempa \Grot@y\z@\else
+ \if ک\@tempa \Grot@y\z@\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}}
+\معادل@کلید{Gin}{پیش‌نویس}{draft}
+\معادل@کلید{Gin}{مبدا}{origin}
+\معادل@کلید{Grot}{مبدا}{origin}
+\معادل@کلید{Gin}{بی‌اضافه}{clip}
+\معادل@کلید{Gin}{حفظ‌تناسب}{keepaspectratio}
+\معادل@کلید{Gin}{پهنای‌طبیعی}{natwidth}
+\معادل@کلید{Gin}{بلندای‌طبیعی}{natheight}
+\معادل@کلید{Gin}{مختصات}{bb}
+\معادل@کلید{Gin}{محدوده‌نمایش}{viewport}
+\معادل@کلید{Gin}{حذف‌اطراف}{trim}
+\معادل@کلید{Gin}{زاویه}{angle}
+\معادل@کلید{Gin}{پهنا}{width}
+\معادل@کلید{Gin}{بلندا}{height}
+\معادل@کلید{Gin}{بلندای‌کل}{totalheight}
+\معادل@کلید{Gin}{ضریب}{scale}
+\معادل@کلید{Gin}{نوع}{type}
+\معادل@کلید{Gin}{پسوند}{ext}
+\معادل@کلید{Gin}{خواندنی}{read}
+\معادل@کلید{Gin}{فرمان}{command}
+\معادل@کلید{Grot}{طول}{x}
+\معادل@کلید{Grot}{عرض}{y}
+\معادل@کلید{Grot}{واحد}{units}
+}{}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `packages-localise-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
new file mode 100644
index 00000000000..b104e595e5c
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
@@ -0,0 +1,36 @@
+%%
+%% This is file `rapport1-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `rapport1-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{rapport1-xepersian.def}[2010/07/25 v0.1 adaptations for rapport1 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `rapport1-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
new file mode 100644
index 00000000000..1f9e9c5856e
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
@@ -0,0 +1,36 @@
+%%
+%% This is file `rapport3-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `rapport3-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{rapport3-xepersian.def}[2010/07/25 v0.2 adaptations for rapport3 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `rapport3-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
new file mode 100644
index 00000000000..36c34029e8a
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
@@ -0,0 +1,37 @@
+%%
+%% This is file `refrep-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `refrep-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{refrep-xepersian.def}[2010/07/25 v0.2 adaptations for refrep class]
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}
+}%end appendix
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `refrep-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
new file mode 100644
index 00000000000..d50aabdef29
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
@@ -0,0 +1,37 @@
+%%
+%% This is file `report-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `report-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{report-xepersian.def}[2010/07/25 v0.2 adaptations for standard report class]
+\renewcommand \thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}
+}%end appendix
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `report-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
new file mode 100644
index 00000000000..3017f7a0e4c
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
@@ -0,0 +1,58 @@
+%%
+%% This is file `scrartcl-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `scrartcl-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{scrartcl-xepersian.def}[2010/07/25 v0.2 adaptations for scrartcl class]
+\renewcommand*{\thepart}{\@tartibi\c@part}
+\renewcommand*\appendix{\par%
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}%
+ \csname appendixmore\endcsname
+}
+\renewcommand*{\@@maybeautodot}[1]{%
+ \ifx #1\@stop\let\@@maybeautodot\relax
+ \else
+ \ifx #1\harfi \@autodottrue\fi
+ \ifx #1\adadi \@autodottrue\fi
+ \ifx #1\tartibi \@autodottrue\fi
+ \ifx #1\Alph \@autodottrue\fi
+ \ifx #1\alph \@autodottrue\fi
+ \ifx #1\Roman \@autodottrue\fi
+ \ifx #1\roman \@autodottrue\fi
+ \ifx #1\@harfi \@autodottrue\fi
+ \ifx #1\@adadi \@autodottrue\fi
+ \ifx #1\@tartibi \@autodottrue\fi
+ \ifx #1\@Alph \@autodottrue\fi
+ \ifx #1\@alph \@autodottrue\fi
+ \ifx #1\@Roman \@autodottrue\fi
+ \ifx #1\@roman \@autodottrue\fi
+ \ifx #1\romannumeral \@autodottrue\fi
+ \fi
+ \@@maybeautodot
+}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `scrartcl-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
new file mode 100644
index 00000000000..419a7241aa8
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
@@ -0,0 +1,63 @@
+%%
+%% This is file `scrbook-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `scrbook-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{scrbook-xepersian.def}[2010/07/25 v0.2 adaptations for scrbook class]
+\renewcommand*\frontmatter{%
+ \if@twoside\cleardoubleoddpage\else\clearpage\fi
+ \@mainmatterfalse\pagenumbering{harfi}%
+}
+\renewcommand*{\thepart}{\@tartibi\c@part}
+\renewcommand*\appendix{\par%
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}%
+ \csname appendixmore\endcsname
+}
+\renewcommand*{\@@maybeautodot}[1]{%
+ \ifx #1\@stop\let\@@maybeautodot\relax
+ \else
+ \ifx #1\harfi \@autodottrue\fi
+ \ifx #1\adadi \@autodottrue\fi
+ \ifx #1\tartibi \@autodottrue\fi
+ \ifx #1\Alph \@autodottrue\fi
+ \ifx #1\alph \@autodottrue\fi
+ \ifx #1\Roman \@autodottrue\fi
+ \ifx #1\roman \@autodottrue\fi
+ \ifx #1\@harfi \@autodottrue\fi
+ \ifx #1\@adadi \@autodottrue\fi
+ \ifx #1\@tartibi \@autodottrue\fi
+ \ifx #1\@Alph \@autodottrue\fi
+ \ifx #1\@alph \@autodottrue\fi
+ \ifx #1\@Roman \@autodottrue\fi
+ \ifx #1\@roman \@autodottrue\fi
+ \ifx #1\romannumeral \@autodottrue\fi
+ \fi
+ \@@maybeautodot
+}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `scrbook-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
new file mode 100644
index 00000000000..cd43fa91280
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
@@ -0,0 +1,59 @@
+%%
+%% This is file `scrreprt-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `scrreprt-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{scrreprt-xepersian.def}[2010/07/25 v0.2 adaptations for scrreprt class]
+\renewcommand*{\thepart}{\@tartibi\c@part}
+\renewcommand*\appendix{\par%
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}%
+ \csname appendixmore\endcsname
+}
+\renewcommand*{\@@maybeautodot}[1]{%
+ \ifx #1\@stop\let\@@maybeautodot\relax
+ \else
+ \ifx #1\harfi \@autodottrue\fi
+ \ifx #1\adadi \@autodottrue\fi
+ \ifx #1\tartibi \@autodottrue\fi
+ \ifx #1\Alph \@autodottrue\fi
+ \ifx #1\alph \@autodottrue\fi
+ \ifx #1\Roman \@autodottrue\fi
+ \ifx #1\roman \@autodottrue\fi
+ \ifx #1\@harfi \@autodottrue\fi
+ \ifx #1\@adadi \@autodottrue\fi
+ \ifx #1\@tartibi \@autodottrue\fi
+ \ifx #1\@Alph \@autodottrue\fi
+ \ifx #1\@alph \@autodottrue\fi
+ \ifx #1\@Roman \@autodottrue\fi
+ \ifx #1\@roman \@autodottrue\fi
+ \ifx #1\romannumeral \@autodottrue\fi
+ \fi
+ \@@maybeautodot
+}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `scrreprt-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
new file mode 100644
index 00000000000..c45a0427b94
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
@@ -0,0 +1,49 @@
+%%
+%% This is file `tkz-linknodes-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `tkz-linknodes-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{tkz-linknodes-xepersian.def}[2012/06/13 v0.1 adaptations for tkz-linknodes package]
+\renewcommand*{\@SetTab}{%
+ \let\@alph\@latinalph%
+ \ifnum \value{C@NumTab}>25\relax%
+ \setcounter{C@NumTab}{1}%
+ \else%
+ \stepcounter{C@NumTab}%
+ \fi%
+ \setcounter{C@NumGroup}{0}%
+ \newcommand*{\PrefixCurrentTab}{\alph{C@NumTab}}
+ \setboolean{B@FirstLink}{true}
+ \setboolean{B@NewGroup}{false}
+ \setcounter{C@NumGroup}{0}
+ \setcounter{C@CurrentGroup}{0}
+ \setcounter{NumC@Node}{0}
+ \setcounter{NumC@Stop}{0}
+ \setcounter{C@NextNode}{0}
+ \setcounter{C@CurrentStop}{0}
+ \setcounter{C@CurrentNode}{0}
+}%
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `tkz-linknodes-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
new file mode 100644
index 00000000000..553a08ab985
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
@@ -0,0 +1,40 @@
+%%
+%% This is file `tocloft-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `tocloft-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{tocloft-xepersian.def}[2010/07/25 v0.1 bilingual captions for tocloft package]
+\renewcommand*{\cftchapname}{\if@RTL فصل\else chapter\fi}
+\renewcommand*{\cftsecname}{\if@RTL قسمت\else section\fi}
+\renewcommand*{\cftsubsecname}{\if@RTL زیرقسمت\else subsection\fi}
+\renewcommand*{\cftsubsubsecname}{\if@RTL زیرزیرقسمت\else subsubsection\fi}
+\renewcommand*{\cftparaname}{\if@RTL پاراگراف\else paragraph\fi}
+\renewcommand*{\cftsubparaname}{\if@RTL زیرپاراگراف\else subparagraph\fi}
+\renewcommand*{\cftfigname}{\if@RTL شکل\else figure\fi}
+\renewcommand*{\cftsubfigname}{\if@RTL زیرشکل\else subfigure\fi}
+\renewcommand*{\cfttabname}{\if@RTL جدول\else table\fi}
+\renewcommand*{\cftsubtabname}{\if@RTL زیرجدول\else subtable\fi}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `tocloft-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
new file mode 100644
index 00000000000..d9b046862ce
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
@@ -0,0 +1,898 @@
+%%
+%% This is file `xepersian-magazine.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `xepersian-magazine.cls')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{xepersian-magazine}[2010/07/25 v0.2 Typesetting Persian magazines in XeLaTeX]
+\RequirePackage{ifthen}
+\newlength{\xepersian@imgsize}
+\newlength{\xepersian@coltitsize}
+\newlength{\xepersian@pageneed}
+\newlength{\xepersian@pageleft}
+\newlength{\xepersian@indexwidth}
+\newcommand{\xepersian@ncolumns}{0}
+\newlength{\columnlines}
+\setlength{\columnlines}{0 pt} % no lines by default
+\newboolean{xepersian@hyphenatedtitles}
+\setboolean{xepersian@hyphenatedtitles}{true}
+\newboolean{xepersian@ninepoints}
+\setboolean{xepersian@ninepoints}{false}
+\newboolean{xepersian@showgrid}
+\setboolean{xepersian@showgrid}{false}
+\newboolean{xepersian@a3paper}
+\setboolean{xepersian@a3paper}{false}
+\newboolean{xepersian@insidefrontpage}
+\setboolean{xepersian@insidefrontpage}{false}
+\newboolean{xepersian@insideweather}
+\setboolean{xepersian@insideweather}{false}
+\newboolean{xepersian@insideindex}
+\setboolean{xepersian@insideindex}{false}
+\newcount\xepersian@gridrows
+\newcount\xepersian@gridcolumns
+\xepersian@gridrows=40
+\xepersian@gridcolumns=50
+\newcount\minraggedcols
+\minraggedcols=5
+\DeclareOption{10pt}{\PassOptionsToClass{10pt}{article}}
+\DeclareOption{11pt}{\PassOptionsToClass{11pt}{article}}
+\DeclareOption{12pt}{\PassOptionsToClass{12pt}{article}}
+\DeclareOption{twocolumn}%
+{\ClassWarning{xepersian-magazine}{Option 'twocolumn' not available for xepersian-magazine.}}
+\DeclareOption{notitlepage}%
+{\ClassWarning{xepersian-magazine}{Option 'notitlepage' not available for xepersian-magazine.}}
+\DeclareOption{twoside}%
+{\ClassWarning{xepersian-magazine}{Option 'twoside' not available for xepersian-magazine.}}
+\DeclareOption{9pt}{\setboolean{xepersian@ninepoints}{true}}
+\DeclareOption{hyphenatedtitles}{\setboolean{xepersian@hyphenatedtitles}{false}}
+\DeclareOption{columnlines}{\setlength{\columnlines}{0.1 pt}}
+\DeclareOption{showgrid}{\setboolean{xepersian@showgrid}{true}}
+\DeclareOption{a3paper}{\setboolean{xepersian@a3paper}{true}}
+\ProcessOptions\relax
+\LoadClass[10pt, onecolumn, titlepage, a4paper]{article}
+\RequirePackage{ifxetex}
+\RequirePackage{multido}
+\RequirePackage{datetime}
+\RequirePackage{multicol}
+\RequirePackage{fancyhdr}
+\RequirePackage{fancybox}
+\ifthenelse{\boolean{xepersian@a3paper}}{%
+\RequirePackage[a3paper,headsep=0.5cm,vmargin={2cm,2cm},hmargin={1.5cm,1.5cm}]{geometry}
+}{
+\RequirePackage[headsep=0.5cm,vmargin={2cm,2cm},hmargin={1.5cm,1.5cm}]{geometry}
+}
+\RequirePackage[absolute]{textpos} % absoulte positioning
+\RequirePackage{hyphenat} % when hyphenate
+\RequirePackage{lastpage} % to know the last page number
+\RequirePackage{setspace} % set space between lines
+\RequirePackage{ragged2e}
+\newcommand{\raggedFormat}{\RaggedLeft}
+\AtEndOfClass{\xepersianInit}
+\ifthenelse{\boolean{xepersian@showgrid}}{%
+\AtBeginDocument{
+\grid[show]{\xepersian@gridrows}{\xepersian@gridcolumns}}
+\advance\minraggedcols by -1
+}{%
+\AtBeginDocument{
+\grid[]{\xepersian@gridrows}{\xepersian@gridcolumns}}
+\advance\minraggedcols by -1
+}
+\ifthenelse{\boolean{xepersian@ninepoints}}{
+\renewcommand{\normalsize}{%
+ \@setfontsize{\normalsize}{9pt}{10pt}%
+ \setlength{\abovedisplayskip}{5pt plus 1pt minus .5pt}%
+ \setlength{\belowdisplayskip}{\abovedisplayskip}%
+ \setlength{\abovedisplayshortskip}{3pt plus 1pt minus 2pt}%
+ \setlength{\belowdisplayshortskip}{\abovedisplayshortskip}}
+
+\renewcommand{\tiny}{\@setfontsize{\tiny}{5pt}{6pt}}
+
+\renewcommand{\scriptsize}{\@setfontsize{\scriptsize}{7pt}{8pt}}
+
+\renewcommand{\small}{%
+ \@setfontsize{\small}{8pt}{9pt}%
+ \setlength{\abovedisplayskip}{4pt plus 1pt minus 1pt}%
+ \setlength{\belowdisplayskip}{\abovedisplayskip}%
+ \setlength{\abovedisplayshortskip}{2pt plus 1pt}%
+ \setlength{\belowdisplayshortskip}{\abovedisplayshortskip}}
+
+\renewcommand{\footnotesize}{%
+ \@setfontsize{\footnotesize}{8pt}{9pt}%
+ \setlength{\abovedisplayskip}{4pt plus 1pt minus .5pt}%
+ \setlength{\belowdisplayskip}{\abovedisplayskip}%
+ \setlength{\abovedisplayshortskip}{2pt plus 1pt}%
+ \setlength{\belowdisplayshortskip}{\abovedisplayshortskip}}
+
+\renewcommand{\large}{\@setfontsize{\large}{11pt}{13pt}}
+\renewcommand{\Large}{\@setfontsize{\Large}{14pt}{18pt}}
+\renewcommand{\LARGE}{\@setfontsize{\LARGE}{18pt}{20pt}}
+\renewcommand{\huge}{\@setfontsize{\huge}{20pt}{25pt}}
+\renewcommand{\Huge}{\@setfontsize{\Huge}{25pt}{30pt}}
+}{}
+\def\customwwwTxt#1{\gdef\@customwwwTxt{\lr{#1}}}
+\newcommand{\xepersian@wwwFormat}{\sffamily}
+\newcommand{\xepersian@www}{%
+\raisebox{-3pt}{{\xepersian@wwwFormat\@customwwwTxt}}
+}
+\newcommand{\xepersian@edition}{ویرایش من}
+\newcommand{\editionFormat}{\large\bfseries\texttt}
+\newcommand{\xepersian@editionLogo}{%
+\raisebox{-3pt}{%
+{\editionFormat\xepersian@edition}%
+}%
+}
+\newcommand{\indexFormat}{\large\bfseries}
+\newcommand{\xepersian@indexFrameTitle}[1]
+{\begin{flushright}{{\indexFormat #1}}\end{flushright}}
+
+\newcommand{\indexEntryFormat}{\normalsize}
+\newcommand{\xepersian@indexEntry}[1]{\begin{minipage}{13\TPHorizModule}%
+{\indexEntryFormat\noindent\ignorespaces{#1}}%
+\end{minipage}}
+\newcommand{\indexEntrySeparator}{\rule{\xepersian@indexwidth}{.1pt}}
+\newcommand{\indexEntryPageTxt}{صفحهٔ}
+\newcommand{\indexEntryPageFormat}{\footnotesize}
+\newcommand{\xepersian@indexEntryPage}[1]{%
+{\indexEntryPageFormat{\indexEntryPageTxt{}~#1}}%
+}
+\newcommand{\headDateTimeFormat}{}
+\newcommand{\xepersian@headDateTime}{%
+\headDateTimeFormat\date\hspace{5pt}$\parallel$\hspace{5pt}%
+\currenttime %
+}
+\newcommand{\weatherFormat}{\bfseries}
+\newcommand{\xepersian@weather}[1]{%
+\noindent{\weatherFormat #1}%
+}
+\newcommand{\weatherTempFormat}{\small}
+\newcommand{\weatherUnits}{\textdegree{}C}
+\newcommand{\xepersian@section}[0]{صفحهٔ جلو}
+\newcommand{\xepersian@headleft}{%
+{\small\bfseries \@custommagazinename}، \date
+}
+\newcommand{\xepersian@headcenter}{%
+\xepersian@section{}
+}
+\newcommand{\xepersian@headright}{%
+\small\xepersian@edition%
+\hspace*{5pt}\beginL\thepage\ / \pageref{LastPage}\endL
+}
+
+\newcommand{\heading}[3]{%
+\renewcommand{\xepersian@headleft}{\beginR#1\endR}%
+\renewcommand{\xepersian@headcenter}{\beginR#2\endR}%
+\renewcommand{\xepersian@headright}{\beginR#3\endR}%
+}
+\newcommand{\xepersian@footright}{%
+{\footnotesize\lr{\copyright\ \@customwwwTxt{}}---تهیه‌شده توسط \lr{\XePersian}}%
+}
+\newcommand{\xepersian@footcenter}{%
+}
+\newcommand{\xepersian@footleft}{%
+}
+
+\newcommand{\foot}[3]{%
+\renewcommand{\xepersian@footleft}{\beginR#1\endR}%
+\renewcommand{\xepersian@footcenter}{\beginR#2\endR}%
+\renewcommand{\xepersian@footright}{\beginR#3\endR}%
+}
+\newcommand{\firstTitleFormat}{\Huge\bfseries\flushright}
+\newcommand{\xepersian@firstTitle}[1]{%
+{%
+\begin{spacing}{2.0}{%
+\noindent\ignorespaces
+\ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
+{\nohyphens{\firstTitleFormat #1}}%
+{{\firstTitleFormat #1}}%
+}%
+\end{spacing}%
+}%
+}
+\newcommand{\firstTextFormat}{}
+\newcommand{\xepersian@firstText}[1]{%
+{\noindent\ignorespaces\firstTextFormat #1}%
+}
+\newcommand{\secondTitleFormat}{\LARGE\bfseries}
+\newcommand{\xepersian@secondTitle}[1]{%
+\begin{spacing}{1.5}{%
+\noindent\ignorespaces\flushright
+\ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
+{\nohyphens{\secondTitleFormat #1}}%
+{{\secondTitleFormat #1}}%
+}\end{spacing}%
+}
+\newcommand{\secondSubtitleFormat}{\large}
+\newcommand{\xepersian@secondSubtitle}[1]{%
+{\noindent\ignorespaces{\secondSubtitleFormat #1}}%
+}
+\newcommand{\secondTextFormat}{}
+\newcommand{\xepersian@secondText}[1]{%
+\begin{multicols}{2}
+{\noindent\ignorespaces\secondTextFormat #1}
+\end{multicols}
+}
+\newcommand{\thirdTitleFormat}{\Large\bfseries}
+\newcommand{\xepersian@thirdTitle}[1]{%
+\begin{spacing}{1.5}{%
+\noindent\ignorespaces\flushright
+\ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
+{\nohyphens{\thirdTitleFormat #1}}%
+{{\thirdTitleFormat #1}}%
+}\end{spacing}%
+}
+\newcommand{\thirdSubtitleFormat}{\large}
+\newcommand{\xepersian@thirdSubtitle}[1]%
+{{\noindent\ignorespaces\thirdSubtitleFormat #1}}
+\newcommand{\thirdTextFormat}{}
+\newcommand{\xepersian@thirdText}[1]{{\thirdTextFormat #1}}
+\newcommand{\pictureCaptionFormat}{\small\bfseries}
+\newcommand{\xepersian@pictureCaption}[1]{%
+{\noindent\pictureCaptionFormat #1}%
+}
+\newcommand{\pagesFormat}{\bfseries\footnotesize}
+\newcommand{\xepersian@pages}[1]%
+{\noindent{\pagesFormat\MakeUppercase{#1}}}
+\newcommand{\innerTitleFormat}{\Huge}
+\newcommand{\xepersian@innerTitle}[1]{%
+\begin{flushright}{%
+\noindent
+\ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
+{\nohyphens{\innerTitleFormat #1}}%
+{{\innerTitleFormat #1}}%
+}%
+\\%
+\end{flushright}%
+}
+\newcommand{\innerSubtitleFormat}{\large}
+\newcommand{\xepersian@innerSubtitle}[1]{{\innerSubtitleFormat #1}}
+\newcommand{\timestampTxt}{}
+\newcommand{\timestampSeparator}{|}
+\newcommand{\timestampFormat}{\small}
+\newcommand{\timestamp}[1]{%
+{\timestampFormat%
+#1~\timestampTxt{}%
+}~\timestampSeparator{}%
+}
+\newcommand{\innerAuthorFormat}{\footnotesize}
+\newcommand{\innerPlaceFormat}{\footnotesize\bfseries}
+\newcommand{\innerTextFinalMark}{\rule{0.65em}{0.65em}}
+\newcommand{\editorialTitleFormat}{\LARGE\textit}
+\newcommand{\xepersian@editorialTitle}[1]{\editorialTitleFormat{#1}}
+\newcommand{\editorialAuthorFormat}{\textsc}
+\newcommand{\shortarticleTitleFormat}{\LARGE\bfseries}
+\newcommand{\xepersian@shortarticleTitle}[1]{{\shortarticleTitleFormat #1}}
+\newcommand{\shortarticleSubtitleFormat}{\Large}
+\newcommand{\xepersian@shortarticleSubtitle}[1]{{\shortarticleSubtitleFormat #1}}
+\newcommand{\shortarticleItemTitleFormat}{\large\bfseries}
+\newcommand{\xepersian@shortarticleItemTitle}[1]{{\shortarticleItemTitleFormat #1}}
+\renewcommand{\maketitle}{\begin{titlepage}%
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let \footnote \thanks
+ \null\vfil
+ \vskip 60\p@
+ \begin{center}%
+ {\LARGE \@title \par}%
+ \vskip 1em%
+ {\LARGE «\xepersian@edition» \par}%
+ \vskip 3em%
+ {\large
+ \lineskip .75em%
+ \begin{tabular}[t]{c}%
+ \@author
+ \end{tabular}\par}%
+ \vskip 1.5em%
+ {\large \@date \par}%
+ \end{center}\par
+ \@thanks
+ \vfil\null
+ \end{titlepage}%
+ \setcounter{footnote}{0}%
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\title\relax
+ \global\let\author\relax
+ \global\let\date\relax
+ \global\let\and\relax
+}
+\newcommand{\xepersian@say}[1]{\typeout{#1}}
+\newsavebox{\xepersian@fmbox}
+\newenvironment{xepersian@fmpage}[1]
+ {\begin{lrbox}{\xepersian@fmbox}\begin{minipage}{#1}}
+ {\end{minipage}\end{lrbox}\fbox{\usebox{\xepersian@fmbox}}}
+\newcommand{\image}[2]{
+\vspace{5pt}
+\setlength{\fboxsep}{1pt}
+\addtolength{\xepersian@imgsize}{\columnwidth}
+\addtolength{\xepersian@imgsize}{-1\columnsep}
+\ifxetex
+\setlength{\xepersian@pageneed}{1.5\xepersian@imgsize}
+\addtolength{\xepersian@pageneed}{50pt}
+\ClassWarning{xepersian-magazine}{%
+Image #1 needs: \the\xepersian@pageneed \space %
+and there is left: \the\page@free\space%
+}
+\ifdim \xepersian@pageneed < \page@free
+
+{\centering\fbox{%
+\includegraphics[width = \xepersian@imgsize,
+height = \xepersian@imgsize,
+keepaspectratio ]{#1}}}
+\xepersian@pictureCaption{#2}
+
+\vspace{5pt}
+\else
+\ClassWarning{Image #1 needs more space!%
+ It was not inserted!}
+\fi
+\fi
+}
+\textblockorigin{1cm}{1cm}
+\newdimen\xepersian@dx
+\newdimen\xepersian@dy
+\newcount\xepersian@cx
+\newcount\xepersian@cy
+\newcommand{\grid}[3][]{
+\xepersian@dx=\textwidth%
+\xepersian@dy=\textheight%
+\xepersian@cx=#3% %columns
+\xepersian@cy=#2% %rows
+
+\count1=#3%
+\advance\count1 by 1
+
+\count2=#2%
+\advance\count2 by 1
+
+\divide\xepersian@dx by #3
+\divide\xepersian@dy by #2
+
+\setlength{\TPHorizModule}{\xepersian@dx}
+\setlength{\TPVertModule}{\xepersian@dy}
+
+\ifthenelse{\equal{#1}{show}}{
+\multido{\xepersian@nrow=0+1}{\count2}{
+\begin{textblock}{\xepersian@cx}(0,\xepersian@nrow)
+\rule[0pt]{\textwidth}{.1pt}
+\end{textblock}
+}
+
+\multido{\xepersian@ncol=0+1}{\count1}{
+\begin{textblock}{\xepersian@cy}(\xepersian@ncol,0)
+\rule[0pt]{.1pt}{\textheight}
+\end{textblock}
+}
+}{}
+}
+\newcommand{\xepersianInit}{
+\setlength{\headheight}{14pt}
+\renewcommand{\headrulewidth}{0.4pt}
+
+\pagestyle{fancy}
+
+\setlength{\columnseprule}{\columnlines}
+\setlength{\fboxrule}{0.1 pt}
+
+}
+
+\def\customlogo#1{\gdef\@customlogo{\beginR#1\endR}}
+\def\customminilogo#1{\gdef\@customminilogo{\beginR#1\endR}}
+\def\custommagazinename#1{\gdef\@custommagazinename{\beginR#1\endR}}
+\newcommand{\logo}[0]{
+%% Heading %%
+\noindent\hrulefill\hspace{10pt}\xepersian@editionLogo\hspace{5pt}\xepersian@www
+
+\vspace*{-3pt}
+
+{\Large\bfseries \@customlogo}
+\hrulefill
+\hspace{10pt}\xepersian@headDateTime
+
+}
+\newcommand{\minilogo}[0]{
+{\large\bfseries \@customminilogo}
+
+\vspace*{5pt}
+}
+\newcommand{\mylogo}[1]{
+{\beginR#1\endR}
+
+\noindent
+\xepersian@editionLogo\hspace{5pt}
+\hrulefill
+\hspace{5pt}\xepersian@headDateTime
+}
+\newcommand{\edition}[1]{\renewcommand{\xepersian@edition}{#1}}
+\newenvironment{frontpage}[0]
+{
+\setboolean{xepersian@insidefrontpage}{true}
+\thispagestyle{empty}
+\logo
+
+}%
+{
+\thispagestyle{empty}
+\clearpage
+\newpage
+\fancyhead{}
+ \fancyfoot{}
+\fancyhead[RO,LE]{\beginR\xepersian@headright\endR}
+\fancyhead[LO,RE]{\beginR\xepersian@headleft\endR}
+ \fancyhead[C]{\beginR\xepersian@headcenter\endR}
+ \fancyfoot[RO,LE]{\beginR\xepersian@footright\endR}
+ \fancyfoot[LO,RE]{\beginR\xepersian@footleft\endR}
+\fancyfoot[C]{\beginR\xepersian@footcenter\endR}
+\renewcommand{\headrulewidth}{0.4pt}
+\setboolean{xepersian@insidefrontpage}{false}
+
+}
+\newcommand{\firstarticle}[3]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\ifthenelse{\boolean{xepersian@hyphenatedtitles}}{%
+\begin{textblock}{24}(22,5)
+}
+{
+\begin{textblock}{28}(22,5)
+}
+\vspace{-7pt}
+\xepersian@firstTitle{#1}
+\end{textblock}
+\begin{textblock}{29}(22,10)
+\vspace{5pt plus 2pt minus 2pt}
+
+\xepersian@firstText{\timestamp{#3}~#2}
+
+\end{textblock}
+
+\begin{textblock}{50}(0,15)
+\rule{50\TPHorizModule}{.3pt}
+\end{textblock}
+}{%else
+\ClassError{xepersian-magazine}{%
+\protect\firstarticle\space in a wrong place.\MessageBreak
+\protect\firstarticle\space may only appear inside frontpage environment.
+}{%
+\protect\firstarticle\space may only appear inside frontpage environment.
+}%
+}
+}
+\newcommand{\secondarticle}[5]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\begin{textblock}{33}(2,16)
+\xepersian@pages{#4}
+\vspace{-5pt}
+\xepersian@secondTitle{#1}
+
+\vspace*{5pt}
+
+\xepersian@secondSubtitle{#2}
+
+\vspace*{-7pt}
+
+\xepersian@secondText{\timestamp{#5}~#3}
+
+\end{textblock}
+
+\begin{textblock}{33}(2,25)
+\vspace{5pt plus 2pt minus 2pt}
+
+\noindent\ignorespaces\rule{33\TPHorizModule}{.3pt}
+\end{textblock}
+}{%else
+\ClassError{xepersian-magazine}{%
+\protect\secondarticle\space in a wrong place.\MessageBreak
+\protect\secondarticle\space may only appear inside frontpage environment.
+}{%
+\protect\secondarticle\space may only appear inside frontpage environment.
+}%
+}
+}
+\newcommand{\thirdarticle}[6]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\begin{textblock}{32}(2,26)
+\xepersian@pages{#5}
+\vspace{-5pt}
+\setlength{\fboxsep}{1pt}
+\xepersian@thirdTitle{#1}
+
+\vspace*{5pt}
+
+\xepersian@thirdSubtitle{#2}
+
+\vspace*{5pt}
+
+{\noindent\ignorespaces %
+\ifthenelse{\equal{#4}{}}{}
+
+\xepersian@thirdText{\timestamp{#6}~#3}
+
+}
+
+\vspace*{5pt}
+
+\end{textblock}
+}{%else
+\ClassError{xepersian-magazine}{%
+\protect\thirdarticle\space in a wrong place.\MessageBreak
+\protect\thirdarticle\space may only appear inside frontpage environment.
+}{%
+\protect\thirdarticle\space may only appear inside frontpage environment.
+}%
+}
+}
+\newcommand{\firstimage}[2]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\begin{textblock}{18}(2,5)
+\setlength{\fboxsep}{1pt}
+\ifxetex % only in PDF
+\noindent\fbox{\includegraphics[width = 18\TPHorizModule ]{#1}}
+\fi
+
+\xepersian@pictureCaption{#2}
+\end{textblock}%
+}
+{\ClassError{xepersian-magazine}{%
+\protect\firstimage\space in a wrong place.\MessageBreak
+\protect\firstimage\space may only appear inside frontpage environment.
+}{%
+\protect\firstimage\space may only appear inside frontpage environment.
+}}
+}%
+\newcommand{\weatheritem}[5]{%
+\ifthenelse{\boolean{xepersian@insideweather}}{
+\begin{minipage}{45pt}
+\ifxetex
+\includegraphics[width=40pt]{#1}
+\fi
+\end{minipage}
+\begin{minipage}{50pt}
+\weatherTempFormat
+#2\\
+\beginL#3 $\|$ #4 \lr{\weatherUnits{}}\endL\\
+#5
+\end{minipage}
+}{%else
+\ClassError{xepersian-magazine}{%
+\protect\weatheritem\space in a wrong place.\MessageBreak
+\protect\weatheritem\space may only appear inside weatherblock environment.
+}{%
+\protect\weatheritem\space may only appear inside weatherblock environment.\MessageBreak
+weatherblock environment may only appear inside frontpage environment.
+}%
+}
+}
+\newenvironment{weatherblock}[1]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\setboolean{xepersian@insideweather}{true}
+\begin{textblock}{32}(2,38)
+\vspace*{-15pt}
+
+\xepersian@weather{\beginR#1\endR}
+
+\vspace*{5pt}
+
+\noindent\begin{xepersian@fmpage}{32\TPHorizModule}
+\begin{minipage}{32\TPHorizModule}
+\hspace{5pt}
+
+}{%
+\ClassError{xepersian-magazine}{%
+weatherblock in a wrong place.\MessageBreak
+weatherblock may only appear inside frontpage environment.
+}{%
+weatherblock may only appear inside frontpage environment.
+}
+}
+}%
+{
+\end{minipage}
+\end{xepersian@fmpage}
+\end{textblock}
+\setboolean{xepersian@insideweather}{false}
+}
+\newenvironment{authorblock}[0]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\begin{textblock}{15}(36,35)
+\setlength{\fboxsep}{5pt}
+\begin{xepersian@fmpage}{13\TPHorizModule}
+\begin{minipage}{13\TPHorizModule}
+\centering
+\minilogo
+
+}{%else
+\ClassError{xepersian-magazine}{%
+authorblock in a wrong place.\MessageBreak
+authorblock may only appear inside frontpage environment.
+}{%
+authorblock may only appear inside frontpage environment.
+}
+}
+}
+{
+\end{minipage}
+\end{xepersian@fmpage}
+\end{textblock}
+}
+\newenvironment{indexblock}[1]
+{
+\ifthenelse{\boolean{xepersian@insidefrontpage}}{%
+\setboolean{xepersian@insideindex}{true}%let's in
+\begin{textblock}{15}(36,16)
+\setlength{\xepersian@indexwidth}{13\TPHorizModule}
+\xepersian@indexFrameTitle{#1}
+
+\setlength{\fboxsep}{5pt} %espacio entre el frame y la imagen
+\begin{xepersian@fmpage}{\xepersian@indexwidth}
+\begin{minipage}{\xepersian@indexwidth}
+\vspace*{10pt}
+}{%else
+\ClassError{xepersian-magazine}{%
+indexblock in a wrong place.\MessageBreak
+indexblock may only appear inside frontpage environment.
+}{%
+indexblock may only appear inside frontpage environment.
+}
+}
+}%
+{
+\end{minipage}
+\end{xepersian@fmpage}
+\end{textblock}
+\setboolean{xepersian@insideindex}{false}%let's out
+}
+\newcommand{\indexitem}[2]
+{
+\ifthenelse{\boolean{xepersian@insideindex}}{
+\xepersian@indexEntry{#1، \xepersian@indexEntryPage{\pageref{#2}}}
+
+\vspace{0.5cm}
+
+\noindent\ignorespaces\indexEntrySeparator{}
+}{%else
+\ClassError{xepersian-magazine}{%
+\protect\indexitem\space in a wrong place.\MessageBreak
+\protect\indexitem\space may only appear inside indexblock environment.
+}{%
+\protect\indexitem\space may only appear inside indexblock environment.\MessageBreak
+indexblock environment may only appear inside frontpage environment.
+}%
+}
+}
+\newcommand{\xepersian@inexpandedtitle}[1]{
+\begin{minipage}{.95\textwidth}
+\begin{center}
+\noindent\Large\textbf{\beginR#1\endR}
+\end{center}
+\end{minipage}
+}
+\newcommand{\expandedtitle}[2]{
+\end{multicols}
+
+\begin{center}
+\setlength{\fboxsep}{5pt}
+\setlength{\shadowsize}{2pt}
+\ifthenelse{\equal{#1}{shadowbox}}{%
+\shadowbox{%
+\xepersian@inexpandedtitle{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{doublebox}}{%
+\doublebox{%
+\xepersian@inexpandedtitle{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{ovalbox}}{%
+\ovalbox{%
+\xepersian@inexpandedtitle{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{Ovalbox}}{%
+\Ovalbox{%
+\xepersian@inexpandedtitle{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{lines}}{
+\hrule
+\vspace*{8pt}
+\begin{center}
+\noindent\Large\textbf{#2}
+\end{center}
+\vspace*{8pt}
+\hrule
+}{}
+\end{center}
+
+\begin{multicols}{\xepersian@ncolumns{}}
+\ifnum \xepersian@ncolumns > \minraggedcols
+\raggedFormat
+\fi
+}
+\newcommand{\xepersian@incolumntitle}[2]{
+\begin{minipage}{#1}
+\begin{center}
+\noindent\normalsize\textbf{#2}
+\end{center}
+\end{minipage}
+}
+
+\newcommand{\columntitle}[2]{
+\vspace*{5pt}
+\begin{center}
+\setlength{\fboxsep}{5pt}
+\setlength{\shadowsize}{2pt}
+\addtolength{\xepersian@coltitsize}{\columnwidth}
+\addtolength{\xepersian@coltitsize}{-1\columnsep}
+\addtolength{\xepersian@coltitsize}{-5pt}
+\addtolength{\xepersian@coltitsize}{-1\shadowsize}
+\ifthenelse{\equal{#1}{shadowbox}}{%
+\shadowbox{%
+\xepersian@incolumntitle{\xepersian@coltitsize}{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{doublebox}}{%
+\doublebox{%
+\xepersian@incolumntitle{\xepersian@coltitsize}{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{ovalbox}}{%
+\ovalbox{%
+\xepersian@incolumntitle{\xepersian@coltitsize}{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{Ovalbox}}{%
+\Ovalbox{%
+\xepersian@incolumntitle{\xepersian@coltitsize}{#2}%
+}%
+}{}
+\ifthenelse{\equal{#1}{lines}}{
+\hrule
+\vspace*{5pt}
+\begin{center}
+\noindent\normalsize\textbf{#2}
+\end{center}
+\vspace*{5pt}
+\hrule
+}{}
+\end{center}
+}
+\renewcommand{\date}{%
+\longdate{\today}%
+}
+\newcommand{\authorandplace}[2]{%
+\rightline{%
+{\innerAuthorFormat #1},\space{}{\innerPlaceFormat #2}%
+}%
+\par %
+}
+\newcommand{\newsection}[1]{
+\renewcommand{\xepersian@section}{#1}
+}
+\newenvironment{article}[5]
+{
+\xepersian@say{Adding a new piece of article}
+\renewcommand{\xepersian@ncolumns}{#1}
+\begin{multicols}{#1}[
+\xepersian@pages{#4}
+\xepersian@innerTitle{#2}%
+\xepersian@innerSubtitle{#3}%
+][4cm]%
+\label{#5}
+\ifnum #1 > \minraggedcols
+\raggedFormat
+\fi
+}
+{~\innerTextFinalMark{}
+\end{multicols}
+}
+\newcommand{\articlesep}{%
+\setlength{\xepersian@pageneed}{16000pt}
+\setlength\xepersian@pageleft{\pagegoal}
+\addtolength\xepersian@pageleft{-\pagetotal}
+
+\xepersian@say{How much left \the\xepersian@pageleft}
+
+\ifdim \xepersian@pageneed < \xepersian@pageleft
+\xepersian@say{Not enough space}
+\else
+\xepersian@say{Adding sep line between articles}
+\vspace*{10pt plus 10pt minus 5pt}
+\hrule
+\vspace*{10pt plus 5pt minus 5pt}
+\fi
+
+}
+\newcommand{\xepersian@editorialTit}[2]{
+\setlength{\arrayrulewidth}{.1pt}
+\begin{center}
+\begin{tabular}{c}
+\noindent
+\xepersian@editorialTitle{#1}
+\vspace{2pt plus 1pt minus 1pt}
+\\
+\hline
+\vspace{2pt plus 1pt minus 1pt}
+\\
+\editorialAuthorFormat{#2}
+\end{tabular}
+\end{center}
+}
+\newenvironment{editorial}[4]
+{
+\xepersian@say{Adding a new editorial}
+\begin{multicols}{#1}[%
+\xepersian@editorialTit{#2}{#3}%
+][4cm]
+\label{#4}
+\ifnum #1 > \minraggedcols
+\raggedFormat
+\fi
+}
+{
+\end{multicols}
+}
+\newcommand{\xepersian@shortarticleTit}[2]{
+\begin{center}
+\vbox{%
+\noindent
+\xepersian@shortarticleTitle{#1}
+\vspace{4pt plus 2pt minus 2pt}
+\hrule
+\vspace{4pt plus 2pt minus 2pt}
+\xepersian@shortarticleSubtitle{#2}
+}
+\end{center}
+}
+\newenvironment{shortarticle}[4]
+{
+\xepersian@say{Adding a short article block}
+\begin{multicols}{#1}[\xepersian@shortarticleTit{#2}{#3}][4cm] %
+ \label{#4}
+\par %
+\ifnum #1 > \minraggedcols
+\raggedFormat
+\fi
+}
+{
+\end{multicols}
+}
+\newcommand{\shortarticleitem}[2]{
+\goodbreak
+\vspace{5pt plus 3pt minus 3pt}
+{\vbox{\noindent\xepersian@shortarticleItemTitle{#1}}}
+\vspace{5pt plus 3pt minus 3pt}
+{\noindent #2}\\
+}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `xepersian-magazine.cls'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
new file mode 100644
index 00000000000..dbddd850a1f
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
@@ -0,0 +1,237 @@
+%%
+%% This is file `xepersian-mathsdigitspec.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `xepersian-mathsdigitspec.sty')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{xepersian-mathsdigitspec}
+ [2013/04/04 v1.0.3 Unicode Persian maths digits in XeLaTeX]
+\@ifundefined{Umathcode}{\let\Umathcode\XeTeXmathcode}{}
+\@ifundefined{Umathchardef}{\let\Umathchardef\XeTeXmathchardef}{}
+\def\new@mathgroup{\alloc@8\mathgroup\chardef\@cclvi}
+\let\newfam\new@mathgroup
+\def\select@group#1#2#3#4{%
+ \ifx\math@bgroup\bgroup\else\relax\expandafter\@firstofone\fi
+ {%
+ \ifmmode
+ \ifnum\csname c@mv@\math@version\endcsname<\@cclvi
+ \begingroup
+ \escapechar\m@ne
+ \getanddefine@fonts{\csname c@mv@\math@version\endcsname}#3%
+ \globaldefs\@ne \math@fonts
+ \endgroup
+ \init@restore@version
+ \xdef#1{\noexpand\use@mathgroup\noexpand#2%
+ {\number\csname c@mv@\math@version\endcsname}}%
+ \global\advance\csname c@mv@\math@version\endcsname\@ne
+ \else
+ \let#1\relax
+ \@latex@error{Too many math alphabets used in
+ version \math@version}%
+ \@eha
+ \fi
+ \else \expandafter\non@alpherr\fi
+ #1{#4}%
+ }%
+}
+\def\document@select@group#1#2#3#4{%
+ \ifx\math@bgroup\bgroup\else\relax\expandafter\@firstofone\fi
+ {%
+ \ifmmode
+ \ifnum\csname c@mv@\math@version\endcsname<\@cclvi
+ \begingroup
+ \escapechar\m@ne
+ \getanddefine@fonts{\csname c@mv@\math@version\endcsname}#3%
+ \globaldefs\@ne \math@fonts
+ \endgroup
+ \expandafter\extract@alph@from@version
+ \csname mv@\math@version\expandafter\endcsname
+ \expandafter{\number\csname
+ c@mv@\math@version\endcsname}%
+ #1%
+ \global\advance\csname c@mv@\math@version\endcsname\@ne
+ \else
+ \let#1\relax
+ \@latex@error{Too many math alphabets used
+ in version \math@version}%
+ \@eha
+ \fi
+ \else \expandafter\non@alpherr\fi
+ #1{#4}%
+ }%
+}
+\ExplSyntaxOn
+\bool_set_false:N \g_fontspec_math_bool
+\ExplSyntaxOff
+\def\@preamblecmds{}
+\newcommand\xepersian@not@onlypreamble[1]{{%
+ \def\do##1{\ifx#1##1\else\noexpand\do\noexpand##1\fi}%
+ \xdef\@preamblecmds{\@preamblecmds}}}
+\xepersian@not@onlypreamble\@preamblecmds
+\def\xepersian@notprerr{ can be used only in preamble (\on@line)}
+\AtBeginDocument{%
+ \def\do#1{\noexpand\do\noexpand#1}%
+ \edef\@preamblecmds{%
+ \def\noexpand\do##1{%
+ \def##1{\noexpand\xepersian@NotprerrMessage##1}\noexpand\@eha}}%
+ \@preamblecmds}
+\def\xepersian@NotprerrMessage#1{%
+ \PackageError{xepersian}%
+ {\noexpand\string#1 \noexpand\xepersian@notprerr}{}%
+}
+\def\nocite#1{%
+ \@bsphack{\setbox0=\hbox{\cite{#1}}}\@esphack}
+\newcommand\xepersian@PackageInfo[1]{\PackageInfo{xepersian-mathsdigitspec}{#1}}
+\newcommand\SetMathCode[4]{%
+ \Umathcode#1="\mathchar@type#2 \csname sym#3\endcsname #4\relax}
+\newcommand\SetMathCharDef[4]{%
+ \Umathchardef#1="\mathchar@type#2 \csname sym#3\endcsname #4\relax}
+\ExplSyntaxOn
+\cs_new_eq:NN \orig_mathbf:n \mathbf
+\cs_new_eq:NN \orig_mathit:n \mathit
+\cs_new_eq:NN \orig_mathrm:n \mathrm
+\cs_new_eq:NN \orig_mathsf:n \mathsf
+\cs_new_eq:NN \orig_mathtt:n \mathtt
+\NewDocumentCommand \new@mathbf { m } {
+ \orig_mathbf:n {
+ \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \mathcode ##1 = \numexpr "100 * \symnew@mathbf@font@digits + ##1 \relax
+ }
+ #1
+ }
+}
+\NewDocumentCommand \new@mathit { m } {
+ \orig_mathit:n {
+ \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \mathcode ##1 = \numexpr "100 * \symnew@mathit@font@digits + ##1 \relax
+ }
+ #1
+ }
+}
+\NewDocumentCommand \new@mathrm { m } {
+ \orig_mathrm:n {
+ \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \mathcode ##1 = \numexpr "100 * \symnew@mathrm@font@digits + ##1 \relax
+ }
+ #1
+ }
+}
+\NewDocumentCommand \new@mathsf{ m } {
+ \orig_mathsf:n {
+ \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \mathcode ##1 = \numexpr "100 * \symnew@mathsf@font@digits + ##1 \relax
+ }
+ #1
+ }
+}
+\NewDocumentCommand \new@mathtt{ m } {
+ \orig_mathtt:n {
+ \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \mathcode ##1 = \numexpr "100 * \symnew@mathtt@font@digits + ##1 \relax
+ }
+ #1
+ }
+}
+\newcommand\setdigitfont[2][]{%
+ \let\glb@currsize\relax
+ \fontspec_set_family:Nnn \xepersian@digits@family {Mapping=parsidigits,#1}{#2}
+ \xepersian@PackageInfo{Defining the default Persian maths digits font as '#2'}
+ \DeclareSymbolFont{OPERATORS} {EU1}{\xepersian@digits@family} {m}{n}
+ \DeclareSymbolFont{new@mathbf@font@digits}{EU1}{\xepersian@digits@family}{bx}{n}
+ \DeclareSymbolFont{new@mathit@font@digits}{EU1}{\xepersian@digits@family}{m}{it}
+ \DeclareSymbolFont{new@mathrm@font@digits}{EU1}{\xepersian@digits@family}{m}{n}
+ \def\persianmathsdigits{%
+ \SetMathCode{`0}{\mathalpha}{OPERATORS}{`0}
+ \SetMathCode{`1}{\mathalpha}{OPERATORS}{`1}
+ \SetMathCode{`2}{\mathalpha}{OPERATORS}{`2}
+ \SetMathCode{`3}{\mathalpha}{OPERATORS}{`3}
+ \SetMathCode{`4}{\mathalpha}{OPERATORS}{`4}
+ \SetMathCode{`5}{\mathalpha}{OPERATORS}{`5}
+ \SetMathCode{`6}{\mathalpha}{OPERATORS}{`6}
+ \SetMathCode{`7}{\mathalpha}{OPERATORS}{`7}
+ \SetMathCode{`8}{\mathalpha}{OPERATORS}{`8}
+ \SetMathCode{`9}{\mathalpha}{OPERATORS}{`9}
+ \SetMathCharDef{\%}{\mathbin}{OPERATORS}{`٪}
+ \SetMathCharDef{\decimalseparator}{\mathpunct}{OPERATORS}{"066B}
+ \cs_set_eq:NN \mathbf \new@mathbf
+ \cs_set_eq:NN \mathit \new@mathit
+ \cs_set_eq:NN \mathrm \new@mathrm}
+}
+\DeclareDocumentCommand \setmathsfdigitfont { O{} m } {
+ \fontspec_set_family:Nnn \g_fontspec_mathsf_tl {Mapping=parsidigits,#1}{#2}
+ \DeclareSymbolFont{new@mathsf@font@digits}{EU1}{\g_fontspec_mathsf_tl}{m}{n}
+ \def\persianmathsfdigits{\cs_set_eq:NN \mathsf \new@mathsf}
+}
+\DeclareDocumentCommand \setmathttdigitfont { O{} m } {
+ \fontspec_set_family:Nnn \g_fontspec_mathtt_tl {Mapping=parsidigits,#1}{#2}
+ \DeclareSymbolFont{new@mathtt@font@digits}{EU1}{\g_fontspec_mathtt_tl}{m}{n}
+ \def\persianmathttdigits{\cs_set_eq:NN \mathtt \new@mathtt}
+}
+\ExplSyntaxOff
+\ifx\newcommand\undefined\else
+ \newcommand{\ZifferAn}{}
+\fi
+\mathchardef\ziffer@DotOri="013A
+{\ZifferAn
+ \catcode`\.=\active\gdef.{\begingroup\obeyspaces\futurelet\n\ziffer@dcheck}}
+\def\ziffer@dcheck{\ziffer@check\ZifferLeer\ziffer@DotOri}
+\def\ziffer@check#1#2{%
+ \ifx\n1\endgroup#1\else
+ \ifx\n2\endgroup#1\else
+ \ifx\n3\endgroup#1\else
+ \ifx\n4\endgroup#1\else
+ \ifx\n5\endgroup#1\else
+ \ifx\n6\endgroup#1\else
+ \ifx\n7\endgroup#1\else
+ \ifx\n8\endgroup#1\else
+ \ifx\n9\endgroup#1\else
+ \ifx\n0\endgroup#1\else
+ \endgroup#2%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi}
+\mathcode`.="8000\relax
+\def\ZifferLeer{\ifx\decimalseparator\undefied .\else \decimalseparator\fi}
+\def\DefaultMathsDigits{\def\SetMathsDigits{}}
+\def\PersianMathsDigits{\def\SetMathsDigits{%
+\ifx\persianmathsdigits\undefied\else\persianmathsdigits\fi%
+\ifx\persianmathsfdigits\undefied\else\persianmathsfdigits\fi%
+\ifx\persianmathttdigits\undefied\else\persianmathttdigits\fi}}
+\def\AutoMathsDigits{\def\SetMathsDigits{%
+\ifx\persianmathsdigits\undefied\else\if@Latin\else\persianmathsdigits\fi\fi%
+\ifx\persianmathsfdigits\undefied\else\if@Latin\else\persianmathsfdigits\fi\fi%
+\ifx\persianmathttdigits\undefied\else\if@Latin\else\persianmathttdigits\fi\fi}}
+\AutoMathsDigits
+\everymath\expandafter{\the\everymath\SetMathsDigits}
+\g@addto@macro\document{\everydisplay\expandafter{\the\everydisplay\SetMathsDigits}}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `xepersian-mathsdigitspec.sty'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
new file mode 100644
index 00000000000..311d670f2a4
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
@@ -0,0 +1,166 @@
+%%
+%% This is file `xepersian-multiplechoice.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `xepersian-multiplechoice.sty')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{xepersian-multiplechoice}[2010/07/25 v0.2
+ Multiple Choice Questionnaire class for Persian in XeLaTeX]
+\RequirePackage{pifont}
+\RequirePackage{fullpage}
+\RequirePackage{ifthen}
+\RequirePackage{calc}
+\RequirePackage{verbatim}
+\RequirePackage{tabularx}
+\def\@headerfont{\bfseries}
+\newcommand\headerfont[1]{\gdef\@headerfont{#1}}
+\def\@X{X}
+\newcommand\X[1]{\gdef\@X{#1}}
+\def\pbs#1{\let\tmp=\\#1\let\\=\tmp}
+\newcolumntype{D}{>{\pbs\centering}X}
+\newcolumntype{Q}{>{\@headerfont}X}
+
+\renewcommand\tabularxcolumn[1]{m{#1}}
+\newcommand\makeform@nocorrection{%
+ \addtocontents{frm}{\protect\end{tabularx}}
+ \@starttoc{frm}}
+\newcommand\makeform@correction{%
+ \addtocontents{frm}{\protect\end{tabularx}}}
+\newcommand\makemask@nocorrection{%
+ \addtocontents{msk}{\protect\end{tabularx}}
+ \@starttoc{msk}}
+\newcommand\makemask@correction{%
+ \addtocontents{msk}{\protect\end{tabularx}}}
+\newlength\questionspace
+\setlength\questionspace{0pt}
+\newcommand\answerstitle[1]{\gdef\@answerstitle{#1}}
+\def\@answerstitlefont{\bfseries}
+\newcommand\answerstitlefont[1]{\gdef\@answerstitlefont{#1}}
+\def\@answernumberfont{\bfseries}
+\newcommand\answernumberfont[1]{\gdef\@answernumberfont{#1}}
+\newcounter{question}\stepcounter{question}
+\newcounter{@choice}
+\def\@initorcheck{%
+ \xdef\@choices{\the@choice}%
+ \setcounter{@choice}{1}%
+ \gdef\@arraydesc{|Q||}%
+ \gdef\@headerline{}%
+ \whiledo{\not{\value{@choice}>\@choices}}{
+ \xdef\@arraydesc{\@arraydesc D|}
+ \def\@appendheader{\g@addto@macro\@headerline}
+ \@appendheader{&\protect\@headerfont}
+ \edef\@the@choice{{\alph{@choice}}}
+ \expandafter\@appendheader\@the@choice
+ \stepcounter{@choice}}%
+ \addtocontents{frm}{%
+ \protect\begin{tabularx}{\protect\linewidth}{\@arraydesc}
+ \protect\hline
+ \@headerline\protect\\\protect\hline\protect\hline}%
+ \addtocontents{msk}{%
+ \protect\begin{tabularx}{\protect\linewidth}{\@arraydesc}
+ \protect\hline
+ \@headerline\protect\\\protect\hline\protect\hline}%
+ \gdef\@initorcheck{%
+ \ifthenelse{\value{@choice} = \@choices}{}{%
+ \ClassError{xepersian-multiplechoice}{Question \thequestion: wrong number of choices
+ (\the@choice\space instead of \@choices)}{%
+ Questions must all have the same number of proposed answers.%
+ \MessageBreak
+ Type X <return> to quit, fix your MCQ (multiple choice question) and rerun XeLaTeX.}}}}
+\newenvironment{question}[1]{%
+ %% \begin{question}
+ \begin{minipage}{\textwidth}
+ \xdef\@formanswerline{\@questionheader}%
+ \xdef\@maskanswerline{\@questionheader}%
+ \fbox{\parbox[c]{\linewidth}{#1}}
+ \vspace\questionspace\par
+ {\@answerstitlefont\@answerstitle}
+ \begin{list}{\@answernumberfont\alph{@choice})~}{\usecounter{@choice}}}{%
+ %% \end{question}
+ \end{list}
+ \@initorcheck%
+ \addtocontents{frm}{\@formanswerline\protect\\\protect\hline}%
+ \addtocontents{msk}{\@maskanswerline\protect\\\protect\hline}%
+ \end{minipage}
+ \stepcounter{question}}
+\def\@truesymbol{\ding{52}~}
+\def\@falsesymbol{\ding{56}~}
+\newcommand\truesymbol[1]{\gdef\@truesymbol{#1}}
+\newcommand\falsesymbol[1]{\gdef\@falsesymbol{#1}}
+\def\@true@nocorrection{\item}
+\def\@false@nocorrection{\item}
+\def\@true@correction{\item[\@truesymbol\refstepcounter{@choice}]}
+\def\@false@correction{\item[\@falsesymbol\refstepcounter{@choice}]}
+\newcommand\true{%
+ \xdef\@formanswerline{\@formanswerline&}%
+ \xdef\@maskanswerline{\@maskanswerline&\@X}%
+ \@true}%
+\newcommand\false{%
+ \xdef\@formanswerline{\@formanswerline&}%
+ \xdef\@maskanswerline{\@maskanswerline&}%
+ \@false}%
+\def\@correctionstyle{\itshape}
+\newcommand\correctionstyle[1]{\gdef\@correctionstyle{#1}}
+\newenvironment{@correction}{\@correctionstyle}{}
+ \def\@questionheader{سؤال \thequestion}
+ \answerstitle{جوابهای ممکن:}
+\DeclareOption{nocorrection}{%
+ \let\@true\@true@nocorrection
+ \let\@false\@false@nocorrection
+ \let\correction\comment
+ \let\endcorrection\endcomment
+ \def\makeform{\makeform@nocorrection}
+ \def\makemask{\makemask@nocorrection}}
+\DeclareOption{correction}{%
+ \let\@true\@true@correction
+ \let\@false\@false@correction
+ \let\correction\@correction
+ \let\endcorrection\end@correction
+ \def\makeform{\makeform@correction}
+ \def\makemask{\makemask@correction}}
+\ExecuteOptions{nocorrection}
+\newcommand\questiontitle[1]{\gdef\@questiontitle{#1}}
+\def\@questiontitlefont{\bfseries}
+\newcommand\questiontitlefont[1]{\gdef\@questiontitlefont{#1}}
+\newlength\questiontitlespace
+\setlength\questiontitlespace{5pt}
+\newlength\questionsepspace
+\setlength\questionsepspace{20pt}
+\gdef\@questionsepspace{0pt}
+\let\old@question\question
+\let\old@endquestion\endquestion
+\renewenvironment{question}[1]{%
+ %% \begin{question}
+ \vspace\@questionsepspace
+ \fbox{\parbox[c]{0.25\linewidth}{\@questiontitlefont\@questiontitle}}
+ \nopagebreak\vspace\questiontitlespace\par
+ \old@question{#1}}{%
+ %% \end{question}
+ \old@endquestion
+ \gdef\@questionsepspace{\questionsepspace}}
+ \questiontitle{سؤال \thequestion:}
+\ProcessOptions
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `xepersian-multiplechoice.sty'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
new file mode 100644
index 00000000000..c284a0a1602
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
@@ -0,0 +1,200 @@
+%%
+%% This is file `xepersian-persiancal.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `xepersian-persiancal.sty')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{xepersian-persiancal}[2012/07/25 v0.2 provides Persian calendar]
+
+\newif\ifXePersian@leap \newif\ifXePersian@kabiseh
+\newcount\XePersian@i \newcount\XePersian@y \newcount\XePersian@m \newcount\XePersian@d
+\newcount\XePersian@latini \newcount\XePersian@persiani
+\newcount\XePersian@latinii \newcount\XePersian@persianii
+\newcount\XePersian@latiniii \newcount\XePersian@persianiii
+\newcount\XePersian@latiniv \newcount\XePersian@persianiv
+\newcount\XePersian@latinv \newcount\XePersian@persianv
+\newcount\XePersian@latinvi \newcount\XePersian@persianvi
+\newcount\XePersian@latinvii \newcount\XePersian@persianvii
+\newcount\XePersian@latinviii \newcount\XePersian@persianviii
+\newcount\XePersian@latinix \newcount\XePersian@persianix
+\newcount\XePersian@latinx \newcount\XePersian@persianx
+\newcount\XePersian@latinxi \newcount\XePersian@persianxi
+\newcount\XePersian@latinxii \newcount\XePersian@persianxii
+ \newcount\XePersian@persianxiii
+
+\newcount\XePersian@temp
+\newcount\XePersian@temptwo
+\newcount\XePersian@tempthree
+\newcount\XePersian@yModHundred
+\newcount\XePersian@thirtytwo
+\newcount\XePersian@dn
+\newcount\XePersian@sn
+\newcount\XePersian@mminusone
+
+\XePersian@y=\year \XePersian@m=\month \XePersian@d=\day
+\XePersian@temp=\XePersian@y
+\divide\XePersian@temp by 100\relax
+\multiply\XePersian@temp by 100\relax
+\XePersian@yModHundred=\XePersian@y
+\advance\XePersian@yModHundred by -\XePersian@temp\relax
+\ifodd\XePersian@yModHundred
+ \XePersian@leapfalse
+\else
+ \XePersian@temp=\XePersian@yModHundred
+ \divide\XePersian@temp by 2\relax
+ \ifodd\XePersian@temp\XePersian@leapfalse
+ \else
+ \ifnum\XePersian@yModHundred=0%
+ \XePersian@temp=\XePersian@y
+ \divide\XePersian@temp by 400\relax
+ \multiply\XePersian@temp by 400\relax
+ \ifnum\XePersian@y=\XePersian@temp\XePersian@leaptrue\else\XePersian@leapfalse\fi
+ \else\XePersian@leaptrue
+ \fi
+ \fi
+\fi
+\XePersian@latini=31\relax
+\ifXePersian@leap
+ \XePersian@latinii = 29\relax
+\else
+ \XePersian@latinii = 28\relax
+\fi
+\XePersian@latiniii = 31\relax
+\XePersian@latiniv = 30\relax
+\XePersian@latinv = 31\relax
+\XePersian@latinvi = 30\relax
+\XePersian@latinvii = 31\relax
+\XePersian@latinviii = 31\relax
+\XePersian@latinix = 30\relax
+\XePersian@latinx = 31\relax
+\XePersian@latinxi = 30\relax
+\XePersian@latinxii = 31\relax
+\XePersian@thirtytwo=32\relax
+\XePersian@temp=\XePersian@y
+\advance\XePersian@temp by -17\relax
+\XePersian@temptwo=\XePersian@temp
+\divide\XePersian@temptwo by 33\relax
+\multiply\XePersian@temptwo by 33\relax
+\advance\XePersian@temp by -\XePersian@temptwo
+\ifnum\XePersian@temp=\XePersian@thirtytwo\XePersian@kabisehfalse
+\else
+ \XePersian@temptwo=\XePersian@temp
+ \divide\XePersian@temptwo by 4\relax
+ \multiply\XePersian@temptwo by 4\relax
+ \advance\XePersian@temp by -\XePersian@temptwo
+ \ifnum\XePersian@temp=\z@\XePersian@kabisehtrue\else\XePersian@kabisehfalse\fi
+\fi
+\XePersian@tempthree=\XePersian@y % Number of Leap years
+\advance\XePersian@tempthree by -1
+\XePersian@temp=\XePersian@tempthree % T := (MY-1) div 4
+\divide\XePersian@temp by 4\relax
+\XePersian@temptwo=\XePersian@tempthree % T := T - ((MY-1) div 100)
+\divide\XePersian@temptwo by 100\relax
+\advance\XePersian@temp by -\XePersian@temptwo
+\XePersian@temptwo=\XePersian@tempthree % T := T + ((MY-1) div 400)
+\divide\XePersian@temptwo by 400\relax
+\advance\XePersian@temp by \XePersian@temptwo
+\advance\XePersian@tempthree by -611 % Number of Kabise years
+\XePersian@temptwo=\XePersian@tempthree % T := T - ((SY+10) div 33) * 8
+\divide\XePersian@temptwo by 33\relax
+\multiply\XePersian@temptwo by 8\relax
+\advance\XePersian@temp by -\XePersian@temptwo
+\XePersian@temptwo=\XePersian@tempthree %
+\divide\XePersian@temptwo by 33\relax
+\multiply\XePersian@temptwo by 33\relax
+\advance\XePersian@tempthree by -\XePersian@temptwo
+\ifnum\XePersian@tempthree=32\advance\XePersian@temp by 1\fi % if (SY+10) mod 33=32 then Inc(T);
+\divide\XePersian@tempthree by 4\relax % T := T - ((SY+10) mod 33) div 4
+\advance\XePersian@temp by -\XePersian@tempthree
+\advance\XePersian@temp by -137 % T := T - 137 Adjust the value
+\XePersian@persiani=31
+\advance\XePersian@persiani by -\XePersian@temp % now 31 - T is the persiani
+\XePersian@persianii = 30\relax
+\ifXePersian@kabiseh
+ \XePersian@persianiii = 30\relax
+\else
+ \XePersian@persianiii = 29\relax
+\fi
+\XePersian@persianiv = 31\relax
+\XePersian@persianv = 31\relax
+\XePersian@persianvi = 31\relax
+\XePersian@persianvii = 31\relax
+\XePersian@persianviii= 31\relax
+\XePersian@persianix = 31\relax
+\XePersian@persianx = 30\relax
+\XePersian@persianxi = 30\relax
+\XePersian@persianxii = 30\relax
+\XePersian@persianxiii= 30\relax
+\XePersian@dn= 0\relax
+\XePersian@sn= 0\relax
+\XePersian@mminusone=\XePersian@m
+\advance\XePersian@mminusone by -1\relax
+\XePersian@i=0\relax
+\ifnum\XePersian@i < \XePersian@mminusone
+\loop
+\advance \XePersian@i by 1\relax
+\advance\XePersian@dn by \csname XePersian@latin\romannumeral\the\XePersian@i\endcsname
+\ifnum\XePersian@i<\XePersian@mminusone \repeat
+\fi
+\advance \XePersian@dn by \XePersian@d
+\XePersian@i=1\relax
+\XePersian@sn = \XePersian@persiani
+\ifnum \XePersian@sn<\XePersian@dn
+\loop
+\advance \XePersian@i by 1\relax
+\advance\XePersian@sn by \csname XePersian@persian\romannumeral\the\XePersian@i\endcsname
+\ifnum \XePersian@sn<\XePersian@dn \repeat
+\fi
+\ifnum \XePersian@i < 4
+ \XePersian@m = 9 \advance\XePersian@m by \XePersian@i
+ \advance \XePersian@y by -622\relax
+\else
+ \XePersian@m = \XePersian@i \advance \XePersian@m by -3\relax
+ \advance \XePersian@y by -621\relax
+\fi
+\advance\XePersian@sn by -\csname XePersian@persian\romannumeral\the\XePersian@i%
+\endcsname
+\ifnum\XePersian@i = 1
+ \XePersian@d = \XePersian@dn \advance \XePersian@d by 30 \advance\XePersian@d by -\XePersian@persiani
+\else
+ \XePersian@d = \XePersian@dn \advance \XePersian@d by -\XePersian@sn
+\fi
+\newcommand*{\persiantoday}{%
+\number\XePersian@d\space%
+\XePersian@persian@month{\XePersian@m}\space\number\XePersian@y%
+}
+\let\persianyear\XePersian@y
+\let\persianmonth\XePersian@m
+\let\persianday\XePersian@d
+\def\XePersian@persian@month#1{\ifcase#1\or فروردین\or
+اردیبهشت\or
+خرداد\or تیر\or
+مرداد\or
+شهریور\or مهر\or
+آبان\or آذر\or
+دی\or بهمن\or
+اسفند\fi}
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `xepersian-persiancal.sty'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
new file mode 100644
index 00000000000..faaa91f92af
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -0,0 +1,621 @@
+%%
+%% This is file `xepersian.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `xepersian.sty')
+%%
+%% ______________________________________
+%% Copyright © 2008–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\xepersianversion{v12.1}
+\def\xepersiandate{2013/04/04}
+\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
+Persian typesetting in XeLaTeX]
+\RequirePackage{fontspec}
+\RequirePackage{xepersian-persiancal}
+\RequirePackage{xepersian-mathsdigitspec}
+\RequirePackage[RTLdocument]{bidi}
+\edef\xepersianinfo{%
+xepersian package (Persian for LaTeX over XeTeX)^^J
+Description: The package supports Persian^^J
+typesetting, using fonts provided in the distribution.^^J
+Copyright © 2008–2013 Persian TeX Group^^J
+\xepersianversion, \xepersiandate^^J
+License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J
+Location on CTAN: /macros/xetex/latex/xepersian}
+\typeout{\xepersianinfo}
+\edef\xepersian@everyjob{\the\everyjob}
+\everyjob{\xepersian@everyjob\typeout{\xepersianinfo}}
+\def\prq{«}
+\def\plq{»}
+\def\xepersian@cmds@temp#1{%
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname xepersian@#1\endcsname\relax
+ \begingroup
+ \escapechar=-1 %
+ \edef\x{\expandafter\meaning\csname#1\endcsname}%
+ \def\y{#1}%
+ \def\z##1->{}%
+ \edef\y{\expandafter\z\meaning\y}%
+ \expandafter\endgroup
+ \ifx\x\y
+ \expandafter\def\csname xepersian@#1\expandafter\endcsname
+ \expandafter{%
+ \csname#1\endcsname
+ }%
+ \fi
+ \fi
+}%
+\xepersian@cmds@temp{shellescape}
+\newif\ifwritexviii
+\ifnum\xepersian@shellescape=1\relax
+ \writexviiitrue
+\else
+\writexviiifalse
+\fi
+\newfontscript{Parsi}{arab}
+\newfontlanguage{Parsi}{FAR}
+\ExplSyntaxOn
+\DeclareDocumentCommand \settextfont { O{} m } {
+ \fontspec_select:nn{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \use:x {
+ \exp_not:N \DeclareRobustCommand \exp_not:N \persianfont {
+ \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
+ \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
+ }
+ }
+ \cs_set_eq:NN \rmdefault \l_fontspec_family_tl
+ \normalfont
+}
+\settextfont[ExternalLocation,BoldFont={persian-modern-bold},BoldItalicFont={persian-modern-bolditalic},ItalicFont={persian-modern-italic},SlantedFont={persian-modern-oblique},BoldSlantedFont={persian-modern-boldoblique}]{persian-modern-regular}
+\setdigitfont[ExternalLocation,BoldFont={persian-modern-bold},BoldItalicFont={persian-modern-bolditalic},ItalicFont={persian-modern-italic},SlantedFont={persian-modern-oblique},BoldSlantedFont={persian-modern-boldoblique}]{persian-modern-regular}
+\DeclareDocumentCommand \setlatintextfont { O{} m } {
+ \fontspec_select:nn{Mapping=tex-text,#1}{#2}
+ \use:x {
+ \exp_not:N \DeclareRobustCommand \exp_not:N \latinfont {
+ \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
+ \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
+ }
+ }
+}
+\setlatintextfont[ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={lmroman10-bolditalic},ItalicFont={lmroman10-italic},SmallCapsFont={lmromancaps10-regular},SlantedFont={lmromanslant10-regular},BoldSlantedFont={lmromanslant10-bold}]{lmroman10-regular}
+\cs_set_eq:NN \setlatinsansfont \setsansfont
+\cs_set_eq:NN \setlatinmonofont \setmonofont
+\DeclareDocumentCommand \defpersianfont { m O{} m } {
+ \fontspec_select:nn{Script=Parsi,Language=Parsi,Mapping=parsidigits,#2}{#3}
+ \use:x {
+ \exp_not:N \DeclareRobustCommand \exp_not:N #1 {
+ \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
+ \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
+ }
+ }
+}
+\DeclareDocumentCommand \deflatinfont { m O{} m } {
+ \fontspec_select:nn{Mapping=tex-text,#2}{#3}
+ \use:x {
+ \exp_not:N \DeclareRobustCommand \exp_not:N #1 {
+ \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
+ \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
+ }
+ }
+}
+\newcommand\persiansfdefault{}
+\newcommand\persianttdefault{}
+\newcommand\iranicdefault{}
+\newcommand\navardefault{}
+\newcommand\pookdefault{}
+\newcommand\sayehdefault{}
+\DeclareRobustCommand\persiansffamily
+ {\not@math@alphabet\persiansffamily\mathpersiansf
+ \fontfamily\persiansfdefault\selectfont}
+\DeclareRobustCommand\persianttfamily
+ {\not@math@alphabet\persianttfamily\mathpersiantt
+ \fontfamily\persianttdefault\selectfont}
+\DeclareRobustCommand\iranicfamily
+ {\not@math@alphabet\iranicfamily\mathiranic
+ \fontfamily\iranicdefault\selectfont}
+\DeclareRobustCommand\navarfamily
+ {\not@math@alphabet\navarfamily\mathnavar
+ \fontfamily\navardefault\selectfont}
+\DeclareRobustCommand\pookfamily
+ {\not@math@alphabet\pookfamily\mathpook
+ \fontfamily\pookdefault\selectfont}
+\DeclareRobustCommand\sayehfamily
+ {\not@math@alphabet\sayehfamily\mathsayeh
+ \fontfamily\sayehdefault\selectfont}
+\DeclareTextFontCommand{\textpersiansf}{\persiansffamily}
+\DeclareTextFontCommand{\textpersiantt}{\persianttfamily}
+\DeclareTextFontCommand{\textiranic}{\iranicfamily}
+\DeclareTextFontCommand{\textnavar}{\navarfamily}
+\DeclareTextFontCommand{\textpook}{\pookfamily}
+\DeclareTextFontCommand{\textsayeh}{\sayehfamily}
+\DeclareDocumentCommand \setpersiansansfont { O{} m } {
+ \fontspec_set_family:Nnn \persiansfdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\DeclareDocumentCommand \setpersianmonofont { O{} m } {
+ \fontspec_set_family:Nnn \persianttdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\DeclareDocumentCommand \setnavarfont { O{} m } {
+ \fontspec_set_family:Nnn \navardefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\DeclareDocumentCommand \setpookfont { O{} m } {
+ \fontspec_set_family:Nnn \pookdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\setpookfont[ExternalLocation,ItalicFont={persian-modern-italicoutline},SlantedFont={persian-modern-obliqueoutline}]{persian-modern-outline}
+\DeclareDocumentCommand \setsayehfont { O{} m } {
+ \fontspec_set_family:Nnn \sayehdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\setsayehfont[ExternalLocation,ItalicFont={persian-modern-italicshadow},SlantedFont={persian-modern-obliqueshadow}]{persian-modern-shadow}
+\DeclareDocumentCommand \setiranicfont { O{} m } {
+ \fontspec_set_family:Nnn \iranicdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
+ \normalfont
+}
+\ExplSyntaxOff
+\setiranicfont[ExternalLocation,BoldFont={persian-modern-boldoblique}]{persian-modern-oblique}
+\def\resetlatinfont{%
+\let\normalfont\latinfont%
+\let\reset@font\normalfont%
+\latinfont}
+\def\setpersianfont{%
+\let\normalfont\persianfont%
+\let\reset@font\normalfont%
+\persianfont}
+\bidi@newrobustcmd*{\lr}[1]{\LRE{\@Latintrue\latinfont#1}}
+\bidi@newrobustcmd*{\rl}[1]{\RLE{\@Latinfalse\persianfont#1}}
+\def\latin{\LTR\LatinAlphs\@Latintrue\@RTL@footnotefalse\resetlatinfont}
+\def\endlatin{\endLTR}
+\def\persian{\RTL\PersianAlphs\@RTL@footnotetrue\setpersianfont}
+\def\endpersian{\endRTL}
+\let\originaltoday=\today
+\def\latintoday{\lr{\originaltoday}}
+\def\today{\rl{\persiantoday}}
+\def \@LTRmarginparreset {%
+ \reset@font
+ \latinfont
+ \normalsize
+ \@minipagetrue
+ \everypar{\@minipagefalse\everypar{}\beginL}%
+}
+\DeclareRobustCommand\Latincite{%
+ \@ifnextchar [{\@tempswatrue\@Latincitex}{\@tempswafalse\@Latincitex[]}}
+\def\@Latincitex[#1]#2{\leavevmode
+ \let\@citea\@empty
+ \@cite{\lr{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@\@citeb}{\hbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue
+ \@latex@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+ {\@cite@ofmt{\csname b@\@citeb\endcsname}}}}}{#1}}
+\def\@outputpage{%
+\begingroup % the \endgroup is put in by \aftergroup
+ \let \protect \noexpand
+ \@resetactivechars
+ \global\let\@@if@newlist\if@newlist
+ \global\@newlistfalse
+ \@parboxrestore
+ \shipout \vbox{%
+ \set@typeset@protect
+ \aftergroup \endgroup
+ \aftergroup \set@typeset@protect
+ % correct? or just restore by ending
+ % the group?
+ \if@specialpage
+ \global\@specialpagefalse\@nameuse{ps@\@specialstyle}%
+ \fi
+ \if@twoside
+ \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
+ \let\@themargin\oddsidemargin
+ \else \let\@thehead\@evenhead
+ \let\@thefoot\@evenfoot \let\@themargin\evensidemargin
+ \fi
+ \ifx\@thehead\@empty \let\@thehead\hfil \fi
+ \ifx\@thefoot\@empty \let\@thefoot\hfil \fi
+ \else %% not @twoside
+ \ifx\@oddhead\@empty \let\@thehead\hfil \fi
+ \ifx\@oddfoot\@empty \let\@thefoot\hfil \fi
+ \fi
+ \reset@font
+ \normalsize
+ \if@RTLmain\setpersianfont\else\resetlatinfont\fi
+ \normalsfcodes
+ \let\label\@gobble
+ \let\index\@gobble
+ \let\glossary\@gobble
+ \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@
+ \@begindvi
+ \vskip \topmargin
+ \moveright\@themargin \vbox {%
+ \setbox\@tempboxa \vbox to\headheight{%
+ \vfil
+ \color@hbox
+ \normalcolor
+ \hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thehead\if@RTLmain\endR\else\endL\fi}%
+ \color@endbox
+ }% %% 22 Feb 87
+ \dp\@tempboxa \z@
+ \box\@tempboxa
+ \vskip \headsep
+ \box\@outputbox
+ \baselineskip \footskip
+ \color@hbox
+ \normalcolor
+ \hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thefoot\if@RTLmain\endR\else\endL\fi}%
+ \color@endbox
+ }%
+ }%
+ \global\let\if@newlist\@@if@newlist
+ \global \@colht \textheight
+ \stepcounter{page}%
+ \let\firstmark\botmark
+}
+\newcommand\twocolumnstableofcontents{%
+\@ifpackageloaded{multicol}{%
+ \begin{multicols}{2}[\section*{\contentsname}]%
+ \small
+ \@starttoc{toc}%
+ \end{multicols}}
+{\PackageError{xepersian}{Oops! you should load multicol package before xepersian package for being able to use this command}{}}}
+\def\XePersian{\leavevmode$\smash{\hbox{X\lower.5ex
+ \hbox{\kern-.125em\reflect{E}}Persian}}$}
+\def\figurename{\if@RTL شکل\else Figure\fi}
+\def\tablename{\if@RTL جدول\else Table\fi}
+\def\contentsname{\if@RTL فهرست مطالب\else Contents\fi}
+\def\listfigurename{\if@RTL فهرست تصاویر\else List of Figures\fi}
+\def\listtablename{\if@RTL فهرست جداول\else List of Tables\fi}
+\def\appendixname{\if@RTL پیوست\else Appendix\fi}
+\def\indexname{\if@RTL نمایه\else Index\fi}
+\def\refname{\if@RTL مراجع\else References\fi}
+\def\abstractname{\if@RTL چکیده\else Abstract\fi}
+\def\partname{\if@RTL بخش\else Part\fi}
+\def\datename{\if@RTL تاریخ:\else Date:\fi}
+\def\@@and{\if@RTL و\else and\fi}
+\def\bibname{\if@RTL کتاب‌نامه\else Bibliography\fi}
+\def\chaptername{\if@RTL فصل\else Chapter\fi}
+\def\ccname{\if@RTL رونوشت\else cc\fi}
+\def\enclname{\if@RTL پیوست\else encl\fi}
+\def\pagename{\if@RTL صفحه\else Page\fi}
+\def\headtoname{\if@RTL به\else To\fi}
+\def\proofname{\if@RTL اثبات\else Proof\fi}
+\def\@harfi#1{\ifcase#1\or آ‍\or ب\or پ\or ت\or ث\or
+ج\or چ\or ح\or خ\or د\or ذ\or ر\or ز\or ژ\or س\or ش\or ص\or ض\or ط\or ظ\or ع\or غ\or
+ف\or ق\or ک\or گ\or ل\or م\or ن\or و\or ه\or ی\else\@ctrerr\fi}
+\def\harfi#1{\expandafter\@harfi\csname c@#1\endcsname}
+\let\harfinumeral\@harfi
+\newcommand{\adadi}[1]{%
+\expandafter\@adadi\csname c@#1\endcsname%
+}
+\newcommand{\@adadi}[1]{%
+\xepersian@numberstring{#1}\xepersian@yekanii{صفر}{}%
+}
+\let\adadinumeral\@adadi%
+\def\xepersian@numberoutofrange#1#2{%
+\PackageError{xepersian}{The number `#1' is too large %
+to be formatted using xepersian}{The largest possible %
+number is 999,999,999.}%
+}
+\def\xepersian@numberstring#1#2#3#4{%
+\ifnum\number#1<\@ne%
+#3%
+\else\ifnum\number#1<1000000000 %
+\expandafter\xepersian@adadi\expandafter{\number#1}#2%
+\else%
+\xepersian@numberoutofrange{#1}{#4}%
+\fi\fi%
+}
+\def\xepersian@adadi#1#2{%
+\expandafter\xepersian@@adadi%
+\ifcase%
+\ifnum#1<10 1%
+\else\ifnum#1<100 2%
+\else\ifnum#1<\@m 3%
+\else\ifnum#1<\@M 4%
+\else\ifnum#1<100000 5%
+\else\ifnum#1<1000000 6%
+\else\ifnum#1<10000000 7%
+\else\ifnum#1<100000000 8%
+\else9%
+\fi\fi\fi\fi\fi\fi\fi\fi %
+\or00000000#1% case 1: Add 8 leading zeros
+\or0000000#1% case 2: Add 7 leading zeros
+\or000000#1% case 3: Add 6 leading zeros
+\or00000#1% case 4: Add 5 leading zeros
+\or0000#1% case 5: Add 4 leading zeros
+\or000#1% case 6: Add 3 leading zeros
+\or00#1% case 7: Add 2 leading zeros
+\or0#1% case 8: Add 1 leading zero
+\or#1% case 9: Add no leading zeros
+\or%
+\@nil#2%
+\fi%
+}
+\def\xepersian@@adadi#1#2#3#4#5#6#7\or#8\@nil#9{%
+\ifnum#1#2#3>\z@
+\xepersian@milyoongan#1#2#3%
+\ifnum#7>\z@\ifnum#4#5#6>\z@\ و \else\ و \fi\else\ifnum#4#5#6>\z@\ و \fi\fi%
+\fi%
+\ifnum#4#5#6>\z@%
+\xepersian@sadgan#4#5#6{#1#2#3}{#4#5}\xepersian@yekani%
+\ifnum#4#5#6>\@ne‌\fi%
+هزار%
+\ifnum#7>\z@\ و \fi%
+\fi%
+\xepersian@sadgan#7{#4#5#6}1#9%
+}
+\def\xepersian@milyoongan#1#2#3{%
+\ifnum#1#2#3=\@ne%
+\xepersian@sadgan#1#2#301\xepersian@yekaniii%
+‌%
+میلیون%
+\else%
+\xepersian@sadgan#1#2#301\xepersian@yekanii%
+‌%
+میلیون%
+\fi%
+}
+\def\xepersian@sadgan#1#2#3#4#5#6{%
+\ifnum#1>\z@%
+\ifnum#4#1>\@ne\xepersian@yekaniv#1\fi%
+صد%
+\ifnum#2#3>\z@\ و \fi%
+\fi%
+\ifnum#2#3<20%
+\ifnum#5#2#3>\@ne#6{#2#3}\fi%
+\else%
+\xepersian@dahgan#2%
+\ifnum#3>\z@\ و \xepersian@yekani#3\fi%
+#60%
+\fi%
+}
+\def\xepersian@yekani#1{%
+\ifcase#1\@empty\or یک\or دو\or سه\or چهار\or پنج\or شش%
+\or هفت\or هشت\or نه\or ده\or یازده\or دوازده\or سیزده%
+\or چهارده\or پانزده\or شانزده\or هفده%
+\or هجده\or نوزده\fi%
+}
+\def\xepersian@yekanii#1{%
+\ifcase#1\@empty\or یک\else\xepersian@yekani{#1}\fi%
+}
+\def\xepersian@yekaniii#1{%
+\ifcase#1\@empty\or یک\else\xepersian@yekani{#1}\fi%
+}
+\def\xepersian@yekaniv#1{%
+\ifcase#1\@empty\or\or دوی\or سی\or چهار\or پان\or شش%
+\or هفت\or هشت\or نه\fi%
+}
+\def\xepersian@dahgan#1{%
+\ifcase#1\or\or بیست\or سی\or چهل%
+\or پنجاه\or شصت\or هفتاد\or هشتاد%
+\or نود\fi%
+}
+\newcommand{\tartibi}[1]{%
+\expandafter\@tartibi\csname c@#1\endcsname%
+}
+\newcommand{\@tartibi}[1]{%
+\xepersian@numberstring@tartibi{#1}\xepersian@tartibi{صفرم}{م}%
+}
+\let\tartibinumeral\@tartibi%
+\def\xepersian@numberstring@tartibi#1#2#3#4{%
+\ifnum\number#1<\@ne%
+#3%
+\else\ifnum\number#1<1000000000 %
+\expandafter\xepersian@adadi@tartibi\expandafter{\number#1}#2%
+\else%
+\xepersian@numberoutofrange{#1}{#4}%
+\fi\fi%
+}
+\def\xepersian@adadi@tartibi#1#2{%
+\expandafter\xepersian@@adadi@tartibi%
+\ifcase%
+\ifnum#1<10 1%
+\else\ifnum#1<100 2%
+\else\ifnum#1<\@m 3%
+\else\ifnum#1<\@M 4%
+\else\ifnum#1<100000 5%
+\else\ifnum#1<1000000 6%
+\else\ifnum#1<10000000 7%
+\else\ifnum#1<100000000 8%
+\else9%
+\fi\fi\fi\fi\fi\fi\fi\fi %
+\or00000000#1% case 1: Add 8 leading zeros
+\or0000000#1% case 2: Add 7 leading zeros
+\or000000#1% case 3: Add 6 leading zeros
+\or00000#1% case 4: Add 5 leading zeros
+\or0000#1% case 5: Add 4 leading zeros
+\or000#1% case 6: Add 3 leading zeros
+\or00#1% case 7: Add 2 leading zeros
+\or0#1% case 8: Add 1 leading zero
+\or#1% case 9: Add no leading zeros
+\or%
+\@nil#2%
+\fi%
+}
+\def\xepersian@@adadi@tartibi#1#2#3#4#5#6#7\or#8\@nil#9{%
+\ifnum#1#2#3>\z@
+\xepersian@milyoongan@tartibi#1#2#3%
+\ifnum#7>\z@\ifnum#4#5#6>\z@\ و \else\ و \fi\else\ifnum#4#5#6>\z@\ و \fi\fi%
+\fi%
+\ifnum#4#5#6>\z@%
+\xepersian@sadgan#4#5#6{#1#2#3}{#4#5}\xepersian@yekani%
+\ifnum#4#5#6>\@ne ‌\fi%
+هزار%
+\ifnum#7>\z@\ و \fi%
+\fi%
+\xepersian@sadgan@tartibi#7{#4#5#6}1#9%
+}
+\def\xepersian@milyoongan@tartibi#1#2#3{%
+\ifnum#1#2#3=\@ne%
+\xepersian@sadgan@tartibi#1#2#301\xepersian@yekaniii%
+‌%
+میلیون%
+\else%
+\xepersian@sadgan#1#2#301\xepersian@yekanii%
+‌%
+میلیون%
+\fi%
+}
+\def\xepersian@sadgan@tartibi#1#2#3#4#5#6{%
+\ifnum#1>\z@%
+\ifnum#4#1>\@ne\xepersian@yekaniv#1\fi%
+صد%
+\ifnum#2#3>\z@\ و \fi%
+\fi%
+\ifnum#2#3<20%
+\ifnum#5#2#3>\@ne\ifnum#1#2#3#4#5=10001 اول\else#6{#2#3}\fi\fi%
+\else%
+\xepersian@dahgan#2%
+\ifnum#3>\z@\ و \xepersian@yekanv#3\fi%
+#60%
+\fi%
+}
+\def\xepersian@tartibi#1{%
+\ifcase#1م\or یکم\or دوم\or سوم\or چهارم%
+\or پنجم\or ششم\or هفتم\or هشتم\or نهم%
+\or دهم\or یازدهم\or دوازدهم\or سیزدهم%
+\or چهاردهم\or پانزدهم\or شانزدهم%
+\or هفدهم\or هجدهم\or نوزدهم\fi%
+}
+\def\xepersian@yekanv#1{%
+\ifcase#1\@empty\or یک\or دو\or سو\or چهار\or پنج\or شش%
+\or هفت\or هشت\or نه\or ده\or یازده\or دوازده\or سیزده%
+\or چهارده\or پانزده\or شانزده\or هفده%
+\or هجده\or نوزده\fi%
+}
+\providecommand*{\xpg@warning}[1]{%
+ \PackageWarning{XePersian}%
+ {#1}}
+\if@bidi@csundef{abjadnumeral}{%
+\def\abjadnumeral#1{%
+\ifnum#1>1999 \xpg@warning{Illegal value (#1) for abjad numeral} {#1}
+\else
+ \ifnum#1<\z@\space\xpg@warning{Illegal value (#1) for abjad numeral}%
+ \else
+ \ifnum#1<10\expandafter\abj@num@i\number#1%
+ \else
+ \ifnum#1<100\expandafter\abj@num@ii\number#1%
+ \else
+ \ifnum#1<\@m\expandafter\abj@num@iii\number#1%
+ \else
+ \ifnum#1<\@M\expandafter\abj@num@iv\number#1%since #1<2000, we must have 1000
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+\fi
+}
+\def\abjad@zero{}
+\def\abj@num@i#1{%
+ \ifcase#1\or آ\or ب\or ج\or د%
+ \or ه‍\or و\or ز\or ح\or ط\fi
+ \ifnum#1=\z@\abjad@zero\fi}
+\def\abj@num@ii#1{%
+ \ifcase#1\or ی\or ک\or ل\or م\or ن%
+ \or س\or ع\or ف\or ص\fi
+ \ifnum#1=\z@\fi\abj@num@i}
+\def\abj@num@iii#1{%
+ \ifcase#1\or ق\or ر\or ش\or ت\or ث%
+ \or خ\or ذ\or ض\or ظ\fi
+ \ifnum#1=\z@\fi\abj@num@ii}
+\def\abj@num@iv#1{%
+ \ifcase#1\or غ\fi
+ \ifnum#1=\z@\fi\abj@num@iii}
+}{}
+ \let\@latinalph\@alph%
+ \let\@latinAlph\@Alph%
+\def\PersianAlphs{%
+ \let\@alph\abjadnumeral%
+ \let\@Alph\abjadnumeral%
+}
+\def\LatinAlphs{%
+ \let\@alph\@latinalph%
+ \let\@Alph\@latinAlph%
+}
+\PersianAlphs
+\@ifdefinitionfileloaded{loadingorder-bidi}{\input{loadingorder-bidi-xepersian.def}}{}
+\@ifpackageloaded{listings}{\input{listings-xepersian.def}}{}
+\@ifpackageloaded{algorithmic}{\input{algorithmic-xepersian.def}}{}
+\@ifpackageloaded{algorithm}{\input{algorithm-xepersian.def}}{}
+\@ifpackageloaded{backref}{\input{backref-xepersian.def}}{}
+\@ifpackageloaded{flowfram}{\input{flowfram-xepersian.def}}{}
+\@ifpackageloaded{bidi}{\input{footnote-bidi-xepersian.def}}{}
+\@ifpackageloaded{bidituftesidenote}{\input{bidituftesidenote-xepersian.def}}{}
+\@ifpackageloaded{bidicode}{\input{bidicode-xepersian.def}}{}
+\@ifpackageloaded{breqn}{\input{breqn-xepersian.def}}{}
+\@ifpackageloaded{enumerate}{\input{enumerate-xepersian.def}}{}
+\@ifpackageloaded{empheq}{\input{empheq-xepersian.def}}{}
+\@ifpackageloaded{framed}{\input{framed-bidi-xepersian.def}}{}
+\@ifpackageloaded{hyperref}{\input{hyperref-xepersian.def}}{}
+\@ifpackageloaded{minitoc}{\input{minitoc-xepersian.def}}{}
+\@ifpackageloaded{natbib}{\input{natbib-xepersian.def}}{}
+\@ifpackageloaded{tkz-linknodes}{\input{tkz-linknodes-xepersian.def}}{}
+\@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xepersian.def}}}{}
+\@ifclassloaded{article}{\input{article-xepersian.def}}{}
+\@ifclassloaded{extarticle}{\input{extarticle-xepersian.def}}{}
+\@ifclassloaded{artikel1}{\input{artikel1-xepersian.def}}{}
+\@ifclassloaded{artikel2}{\input{artikel2-xepersian.def}}{}
+\@ifclassloaded{artikel3}{\input{artikel3-xepersian.def}}{}
+\@ifclassloaded{amsart}{\input{amsart-xepersian.def}}{}
+\@ifclassloaded{bidimoderncv}{\input{bidimoderncv-xepersian.def}}{}
+\@ifclassloaded{report}{\input{report-xepersian.def}}{}
+\@ifclassloaded{extreport}{\input{extreport-xepersian.def}}{}
+\@ifclassloaded{rapport1}{\input{rapport1-xepersian.def}}{}
+\@ifclassloaded{rapport3}{\input{rapport3-xepersian.def}}{}
+\@ifclassloaded{scrartcl}{\input{scrartcl-xepersian.def}}{}
+\@ifclassloaded{scrbook}{\input{scrbook-xepersian.def}}{}
+\@ifclassloaded{scrreprt}{\input{scrreprt-xepersian.def}}{}
+\@ifclassloaded{amsbook}{\input{amsbook-xepersian.def}}{}
+\@ifclassloaded{boek3}{\input{boek3-xepersian.def}}{}
+\@ifclassloaded{boek}{\input{boek-xepersian.def}}{}
+\@ifclassloaded{bookest}{\input{bookest-xepersian.def}}{}
+\@ifclassloaded{extbook}{\input{extbook-xepersian.def}}{}
+\@ifclassloaded{book}{\input{book-xepersian.def}}{}
+\@ifclassloaded{refrep}{\input{refrep-xepersian.def}}{}
+\@ifclassloaded{memoir}{\input{memoir-xepersian.def}}{}
+\@ifclassloaded{imsproc}{\input{imsproc-xepersian.def}}{}
+\DeclareOption{Kashida}{\input{kashida-xepersian.def}}
+\DeclareOption{localise}{\input{localise-xepersian.def}}
+\DeclareOption{extrafootnotefeatures}{%
+\input{extrafootnotefeatures.def}%
+\input{extrafootnotefeatures-xepersian.def}%
+}
+\DeclareOption{quickindex}{%
+\ifwritexviii%
+\@ifclassloaded{memoir}{\PackageError{xepersian}{This feature does not yet work with the memoir class}{}}{%
+\renewcommand\printindex{\newpage%
+\immediate\closeout\@indexfile
+\immediate\write18{xindy -L persian -C utf8 -M texindy -M page-ranges \jobname.idx}
+\@input@{\jobname.ind}}}%
+\else
+\PackageError{xepersian}{“shell escape” (or “write18”) is not enabled. You need to run “xelatex --shell-escape” on your TeX document for this feature to work}{}
+\fi}
+\ExecuteOptions{localise}
+\ProcessOptions
+%%
+%% Copyright © 2008–2013 Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `xepersian.sty'.
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index a97166ff7d0..e18607070df 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -470,7 +470,7 @@ my @TLP_working = qw(
wnri wnri-latex wordlike
wrapfig wsuipa
xargs xcite xcolor xcomment xcookybooky xdoc
- xecjk xecolor xecyr xeindex xesearch
+ xecjk xecolor xecyr xeindex xepersian xesearch
xetex-def xetex-devanagari xetex-itrans xetex-pstricks xetex-tibetan
xetexfontinfo
xetexref xfor xgreek xhfill
diff --git a/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc b/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc
index 0add8286089..04a247c95ff 100644
--- a/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc
@@ -18,6 +18,7 @@ depend xecjk
depend xecolor
depend xecyr
depend xeindex
+depend xepersian
depend xesearch
depend xetex
depend xetex-def
diff --git a/Master/tlpkg/tlpsrc/xepersian.tlpsrc b/Master/tlpkg/tlpsrc/xepersian.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/xepersian.tlpsrc