diff options
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx | 36 | ||||
-rw-r--r-- | Master/texmf-dist/source/xelatex/xepersian/xepersian.ins | 1 |
2 files changed, 31 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx index e79f29f6e11..1ce210fcedf 100644 --- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx +++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx @@ -5,7 +5,7 @@ %<*readme> ____________________ The XePersian package -v15.8 +v15.9 XePersian is a package written for XeLaTeX that allows users to typeset Persian easily. @@ -70,6 +70,7 @@ by Vafa Khalighi. \generate{\file{algorithm-xepersian.def}{\from{\jobname.dtx}{table,algorithm-xepersian.def}}} \generate{\file{amsart-xepersian.def}{\from{\jobname.dtx}{table,amsart-xepersian.def}}} \generate{\file{amsbook-xepersian.def}{\from{\jobname.dtx}{table,amsbook-xepersian.def}}} +\generate{\file{appendix-xepersian.def}{\from{\jobname.dtx}{table,appendix-xepersian.def}}} \generate{\file{article-xepersian.def}{\from{\jobname.dtx}{table,article-xepersian.def}}} \generate{\file{artikel1-xepersian.def}{\from{\jobname.dtx}{table,artikel1-xepersian.def}}} \generate{\file{artikel2-xepersian.def}{\from{\jobname.dtx}{table,artikel2-xepersian.def}}} @@ -271,7 +272,7 @@ by Vafa Khalighi. %\changes{v13.1}{2013/09/23}{Added implementation of the package.} % \title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\ %\LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt] -%\large Documentation for \textcolor{blue!65!black}{version 15.8}} +%\large Documentation for \textcolor{blue!65!black}{version 15.9}} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} %\setcounter{page}{0} @@ -282,7 +283,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} % %\Large -%Documentation for \textcolor{blue!65!black}{version 15.8}} +%Documentation for \textcolor{blue!65!black}{version 15.9}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -337,7 +338,7 @@ by Vafa Khalighi. %* %* Copyright (c) 2008--2015 Vafa Khalighi %* -%* v15.8, 2015/02/01 +%* v15.9, 2015/02/01 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -2358,7 +2359,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{9995} +%% \CheckSum{10021} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -2536,6 +2537,28 @@ by Vafa Khalighi. % \end{macrocode} % \iffalse %</amsbook-xepersian.def> +%<*appendix-xepersian.def> +%\fi +% \subsection{\textsf{appendix-xepersian.def}} +% \begin{macrocode} +\ProvidesFile{appendix-xepersian.def}[2015/02/01 v0.1 adaptations for appendix package] +\renewcommand{\@resets@pp}{\par + \@ppsavesec + \stepcounter{@pps} + \setcounter{section}{0}% + \if@chapter@pp + \setcounter{chapter}{0}% + \renewcommand\@chapapp{\appendixname}% + \renewcommand\thechapter{\@harfi\c@chapter}% + \else + \setcounter{subsection}{0}% + \renewcommand\thesection{\@harfi\c@section}% + \fi + \restoreapp +} +% \end{macrocode} +% \iffalse +%</appendix-xepersian.def> %<*article-xepersian.def> %\fi % \subsection{\textsf{article-xepersian.def}} @@ -5666,7 +5689,7 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \subsection{\textsf{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v15.8} +\def\xepersianversion{v15.9} \def\xepersiandate{2015/02/01} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] @@ -6247,6 +6270,7 @@ number is 999,999,999.}% for the main Persian text}{Use `\settextfont' to load a font.}% }{}} \@ifdefinitionfileloaded{loadingorder-xetex-bidi}{\input{loadingorder-xepersian.def}}{} +\@ifpackageloaded{appendix}{\input{appendix-xepersian.def}}{} \@ifpackageloaded{fontspec-xetex}{\input{fontspec-xetex-xepersian.def}}{} \@ifpackageloaded{listings}{\input{listings-xepersian.def}}{} \@ifpackageloaded{algorithmic}{\input{algorithmic-xepersian.def}}{} diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins index 20d3a479fec..99f6516db31 100644 --- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins +++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins @@ -39,6 +39,7 @@ \generate{\file{algorithm-xepersian.def}{\from{\jobname.dtx}{table,algorithm-xepersian.def}}} \generate{\file{amsart-xepersian.def}{\from{\jobname.dtx}{table,amsart-xepersian.def}}} \generate{\file{amsbook-xepersian.def}{\from{\jobname.dtx}{table,amsbook-xepersian.def}}} +\generate{\file{appendix-xepersian.def}{\from{\jobname.dtx}{table,appendix-xepersian.def}}} \generate{\file{article-xepersian.def}{\from{\jobname.dtx}{table,article-xepersian.def}}} \generate{\file{artikel1-xepersian.def}{\from{\jobname.dtx}{table,artikel1-xepersian.def}}} \generate{\file{artikel2-xepersian.def}{\from{\jobname.dtx}{table,artikel2-xepersian.def}}} |