summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def6
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty8
2 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
index 438347ffeb1..776bfaab45d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
@@ -8,9 +8,9 @@
%% License information appended.
%%
%%
-\ProvidesFile{listings-xepersian.def}[2010/07/25 v0.1 bilingual captions for listings package]
-\def\lstlistingname{برنامهٔ}
-\def\lstlistlistingname{فهرست برنامه‌ها}
+\ProvidesFile{listings-xepersian.def}[2010/07/25 v0.2 bilingual captions for listings package]
+\def\lstlistingname{\if@RTL برنامهٔ\else Listing\fi}
+\def\lstlistlistingname{\if@RTL فهرست برنامه‌ها\else Listings\fi}
%%
%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index d115ff66f6b..c89894c4b35 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -9,8 +9,8 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v1.0.6}
-\def\xepersiancommit{commit 18}
+\def\xepersianversion{v1.0.7}
+\def\xepersiancommit{commit 20}
\def\xepersiandate{2010/07/25}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space <\xepersiancommit>
Persian typesetting in XeLaTeX]
@@ -236,7 +236,7 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\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
+\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 ی\else\@ctrerr\fi}
\def\harfi#1{\expandafter\@harfi\csname c@#1\endcsname}
@@ -269,7 +269,7 @@ Location on CTAN: /macros/xetex/latex/xepersian}
}
\def\abjad@zero{}
\def\abj@num@i#1{%
- \ifcase#1\or الف\or ب\or ج\or د%
+ \ifcase#1\or آ\or ب\or ج\or د%
\or ه‍\or و\or ز\or ح\or ط\fi
\ifnum#1=\z@\abjad@zero\fi}
\def\abj@num@ii#1{%