summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-23 22:09:54 +0000
committerKarl Berry <karl@freefriends.org>2013-04-23 22:09:54 +0000
commitd28917f9c5b9050df841e1879d918a6082d0f29f (patch)
treedeea1b9276d2b9703c593e78fb22e4f979dd36d3 /Master/texmf-dist/tex
parent0d7fc835562c9bb65c3ae6f64e46499031721fd2 (diff)
xepersian (23apr13)
git-svn-id: svn://tug.org/texlive/trunk@30074 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def8
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def20
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty4
3 files changed, 16 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
index 1ffc1c0fc3a..e4868608d08 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
@@ -13,7 +13,7 @@
%%
%%
-\ProvidesFile{footnote-bidi-xepersian.def}[2010/07/25 v0.2 footnote macros for xepersian package]
+\ProvidesFile{footnote-bidi-xepersian.def}[2013/04/24 v0.3 footnote macros for xepersian package]
\long\def\@footnotetext#1{\insert\footins{%
\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
@@ -65,7 +65,7 @@
\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%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\if@RTL@footnote\global\let\bidi@mpfootnoterule\right@footnoterule\else\global\let\bidi@mpfootnoterule\left@footnoterule\fi\fi\fi%
\global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
\unvbox\@mpfootins
\reset@font\footnotesize
@@ -79,7 +79,7 @@
\color@endgroup}}
\long\def\@mpRTLfootnotetext#1{%
- \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\rightfootnoterule\fi\fi%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\global\let\bidi@mpfootnoterule\right@footnoterule\fi\fi%
\global\setbox\@mpfootins\vbox{\@RTLtrue%
\unvbox\@mpfootins
\reset@font\footnotesize
@@ -93,7 +93,7 @@
\color@endgroup}}
\long\def\@mpLTRfootnotetext#1{%
- \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\leftfootnoterule\fi\fi%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\global\let\bidi@mpfootnoterule\left@footnoterule\fi\fi%
\global\setbox\@mpfootins\vbox{\@RTLfalse%
\unvbox\@mpfootins
\reset@font\footnotesize
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
index cf4c720ba2f..55264fc595e 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
@@ -13,7 +13,7 @@
%%
%%
-\آماده‌سازی‌پرونده{packages-localise-xepersian.def}[2011/03/01 v0.1 localising LaTeX2e Packages]
+\آماده‌سازی‌پرونده{packages-localise-xepersian.def}[2013/04/24 v0.2 localising LaTeX2e Packages]
\@گرسبک‌فراخوانی‌شده{color}{\ورودی{color-localise.def}}{}
\@ifpackageloaded{multicol}{%
\newenvironment{چندستونی‌ها}{\begin{multicols}}{\end{multicols}}%
@@ -44,10 +44,10 @@
\else
\def\@tempa##1!پایان\@nil{##1}%
\@temptokena{!پایان}%
- \def\next{\expandafter\verbatim@test\@tempa#1\@nil~}%
+ \def\next{\expandafter\xepersian@localize@verbatim@test\@tempa#1\@nil~}%
\fi \next}%
- \def\verbatim@test#1{%
- \let\next\verbatim@test
+ \def\xepersian@localize@verbatim@test#1{%
+ \let\next\xepersian@localize@verbatim@test
\if\noexpand#1\noexpand~%
\expandafter\verbatim@addtoline
\expandafter{\the\@temptokena}%
@@ -58,14 +58,14 @@
\@temptokena\expandafter{\the\@temptokena#1}%
\else \if\noexpand#1\noexpand[%
\let\@tempc\@empty
- \let\next\verbatim@testend
+ \let\next\xepersian@localize@verbatim@testend
\else
\expandafter\verbatim@addtoline
\expandafter{\the\@temptokena}%
\def\next{\xepersian@localize@verbatim@#1}%
\fi\fi\fi
\next}%
- \def\verbatim@testend#1{%
+ \def\xepersian@localize@verbatim@testend#1{%
\if\noexpand#1\noexpand~%
\expandafter\verbatim@addtoline
\expandafter{\the\@temptokena[}%
@@ -75,7 +75,7 @@
\verbatim@startline
\let\next\xepersian@localize@verbatim@
\else\if\noexpand#1\noexpand]%
- \let\next\verbatim@@testend
+ \let\next\xepersian@localize@verbatim@@testend
\else\if\noexpand#1\noexpand!%
\expandafter\verbatim@addtoline
\expandafter{\the\@temptokena[}%
@@ -85,11 +85,11 @@
\else \expandafter\def\expandafter\@tempc\expandafter
{\@tempc#1}\fi\fi\fi
\next}%
- \def\verbatim@@testend{%
+ \def\xepersian@localize@verbatim@@testend{%
\ifx\@tempc\@currenvir
\verbatim@finish
\edef\next{\noexpand\end{\@currenvir}%
- \noexpand\verbatim@rescan{\@currenvir}}%
+ \noexpand\xepersian@localize@verbatim@rescan{\@currenvir}}%
\else
\expandafter\verbatim@addtoline
\expandafter{\the\@temptokena[}%
@@ -98,7 +98,7 @@
\let\next\xepersian@localize@verbatim@
\fi
\next}%
- \def\verbatim@rescan#1#2~{\if\noexpand~\noexpand#2~\else
+ \def\xepersian@localize@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}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index 378f1ad1127..dad3314c267 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -14,8 +14,8 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v12.4}
-\def\xepersiandate{2013/04/12}
+\def\xepersianversion{v12.5}
+\def\xepersiandate{2013/04/24}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}