From d28917f9c5b9050df841e1879d918a6082d0f29f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 23 Apr 2013 22:09:54 +0000 Subject: xepersian (23apr13) git-svn-id: svn://tug.org/texlive/trunk@30074 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/xepersian/ChangeLog | 5 +++ Master/texmf-dist/doc/xelatex/xepersian/README | 4 +- .../texmf-dist/doc/xelatex/xepersian/xepersian.pdf | Bin 260967 -> 260978 bytes .../source/xelatex/xepersian/xepersian.dtx | 45 ++++++++++++--------- .../xelatex/xepersian/footnote-bidi-xepersian.def | 8 ++-- .../xepersian/packages-localise-xepersian.def | 20 ++++----- .../texmf-dist/tex/xelatex/xepersian/xepersian.sty | 4 +- 7 files changed, 48 insertions(+), 38 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/xelatex/xepersian/ChangeLog b/Master/texmf-dist/doc/xelatex/xepersian/ChangeLog index c7d828369fa..9f94e6dedd4 100644 --- a/Master/texmf-dist/doc/xelatex/xepersian/ChangeLog +++ b/Master/texmf-dist/doc/xelatex/xepersian/ChangeLog @@ -1,3 +1,8 @@ +2013/04/24 version 12.5 Persian TeX Group + * Version 12.5 released. + * Fixed localizations of `verbatim' package. + * Synced with version 12.8 of `bidi' package. + 2013/04/12 version 12.4 Persian TeX Group * Version 12.4 released. * Removed redefinition of `\text' from `empheq-xepersian.def'. diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README index 25d864fe0b9..e51f8c9a899 100644 --- a/Master/texmf-dist/doc/xelatex/xepersian/README +++ b/Master/texmf-dist/doc/xelatex/xepersian/README @@ -1,6 +1,6 @@ ____________________ The XePersian package -v12.4 +v12.5 XePersian is a package written for XeLaTeX that allows users to typeset Persian easily. @@ -20,7 +20,7 @@ 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/12 +Current version release date: 2013/04/24 ______________ Persian TeX Group persian-tex@tug.org diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf index 47bdc09ea5e..90274d6178b 100644 Binary files a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf and b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf differ diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx index 050d15821db..2b2fa39ab2e 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 -v12.4 +v12.5 XePersian is a package written for XeLaTeX that allows users to typeset Persian easily. @@ -27,7 +27,7 @@ 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/12 +Current version release date: 2013/04/24 ______________ Persian TeX Group persian-tex@tug.org @@ -42,6 +42,11 @@ This work is “maintained” (as per LPPL maintenance status) by Persian TeX Group. % %<*changelog> +2013/04/24 version 12.5 Persian TeX Group + * Version 12.5 released. + * Fixed localizations of `verbatim' package. + * Synced with version 12.8 of `bidi' package. + 2013/04/12 version 12.4 Persian TeX Group * Version 12.4 released. * Removed redefinition of `\text' from `empheq-xepersian.def'. @@ -254,7 +259,7 @@ by Persian TeX Group. % Persian for \LaTeXe{} over \XeTeX} % \author{Persian TeX Group\\ % \url{persian-tex@tug.org}} -% \date{\today\qquad Version 12.4} +% \date{\today\qquad Version 12.5} %\maketitle %\tableofcontents %\section{Introduction} @@ -273,7 +278,7 @@ by Persian TeX Group. %Description: The package supports Persian %typesetting, using fonts provided in the distribution. %Copyright © 2008-2013 Persian TeX Group -%v12.4, 2013/04/12 +%v12.5, 2013/04/24 %License: LaTeX Project Public License, version 1.3c or higher (your choice) %Location on CTAN: /macros/xetex/latex/xepersian %\end{lstlisting} @@ -3938,7 +3943,7 @@ by Persian TeX Group. %\fi % \subsection{\textsf{footnote-bidi-xepersian.def}} % \begin{macrocode} -\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] @@ -4002,7 +4007,7 @@ by Persian TeX Group. \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 @@ -4020,7 +4025,7 @@ by Persian TeX Group. \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 @@ -4035,7 +4040,7 @@ by Persian TeX Group. \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 @@ -5166,7 +5171,7 @@ by Persian TeX Group. %\fi % \subsection{\textsf{packages-localise-xepersian.def}} % \begin{macrocode} -\آماده‌سازی‌پرونده{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}}% @@ -5197,10 +5202,10 @@ by Persian TeX Group. \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}% @@ -5211,14 +5216,14 @@ by Persian TeX Group. \@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[}% @@ -5228,7 +5233,7 @@ by Persian TeX Group. \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[}% @@ -5238,11 +5243,11 @@ by Persian TeX Group. \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[}% @@ -5251,7 +5256,7 @@ by Persian TeX Group. \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} @@ -5584,8 +5589,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \subsection{\textsf{xepersian.sty}} % \begin{macrocode} \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} 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} -- cgit v1.2.3