diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-26 23:18:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-26 23:18:16 +0000 |
commit | 5c4fbd786de54e60d670b7d6c7a7ee8585afe7a2 (patch) | |
tree | 8abd70fb941906b4bbd7b967da26ad2dcf8c7789 /Master/texmf-dist/tex | |
parent | 41df67827361413ee26350b95c26e3f3723c3401 (diff) |
xepersian (26apr13)
git-svn-id: svn://tug.org/texlive/trunk@30130 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
6 files changed, 23 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def index 80164985221..eceac74f918 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def @@ -13,7 +13,7 @@ %% %% -\ProvidesFile{amsart-xepersian.def}[2010/07/25 v0.2 adaptations for amsart class] +\ProvidesFile{amsart-xepersian.def}[2013/04/26 v0.3 adaptations for amsart class] \renewcommand \thepart {\@tartibi\c@part} \def\appendix{\par\c@section\z@ \c@subsection\z@ \let\sectionname\appendixname @@ -58,7 +58,7 @@ \@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@footnotetext\@footnotetext{\bidi@footdir@footnote}% \footdir@temp\footdir@ORG@xepersian@amsart@RTLfootnotetext\@RTLfootnotetext{R}% \footdir@temp\footdir@ORG@xepersian@amsart@LTRfootnotetext\@LTRfootnotetext{L}% diff --git a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def index 107d79d8af4..ac07e5d86b4 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def @@ -13,7 +13,7 @@ %% %% -\ProvidesFile{amsbook-xepersian.def}[2010/07/25 v0.3 adaptations for amsbook class] +\ProvidesFile{amsbook-xepersian.def}[2013/04/26 v0.4 adaptations for amsbook class] \def\frontmatter{\cleardoublepage\pagenumbering{harfi}} \renewcommand \thepart {\@tartibi\c@part} \def\appendix{\par @@ -60,7 +60,7 @@ \@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@footnotetext\@footnotetext{\bidi@footdir@footnote}% \footdir@temp\footdir@ORG@xepersian@amsbook@RTLfootnotetext\@RTLfootnotetext{R}% \footdir@temp\footdir@ORG@xepersian@amsbook@LTRfootnotetext\@LTRfootnotetext{L}% 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 e4868608d08..80fd5901266 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}[2013/04/24 v0.3 footnote macros for xepersian package] +\ProvidesFile{footnote-bidi-xepersian.def}[2013/04/26 v0.4 footnote macros for xepersian package] \long\def\@footnotetext#1{\insert\footins{% \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% @@ -60,7 +60,7 @@ \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@footnotetext\@footnotetext{\bidi@footdir@footnote}% \footdir@temp\footdir@ORG@xepersian@RTLfootnotetext\@RTLfootnotetext{R}% \footdir@temp\footdir@ORG@xepersian@LTRfootnotetext\@LTRfootnotetext{L}% diff --git a/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def index af83f3337dc..fc941e7a8b5 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def @@ -13,38 +13,42 @@ %% %% -\ProvidesFile{glossaries-xepersian.def}[2013/04/08 v0.1 xepersian adaptations for glossaries package for XeTeX engine] +\ProvidesFile{glossaries-xepersian.def}[2013/04/27 v0.2 xepersian adaptations for glossaries package for XeTeX engine] \newcommand*{\gls@harfipage}{\@harfi\c@page} \newcommand*{\gls@tartibipage}{\@tartibi\c@page} \newcommand*{\gls@adadipage}{\@adadi\c@page} \renewcommand{\gls@protected@pagefmts}{% - \gls@numberpage,\gls@alphpage,\gls@Alphpage,\gls@romanpage,\gls@harfipage,\gls@tartibipage,\gls@adadipage + \gls@numberpage,\gls@alphpage,\gls@Alphpage,\gls@romanpage,\gls@Romanpage,\gls@harfipage,\gls@tartibipage,\gls@adadipage% } \renewcommand*{\@@do@wrglossary}[1]{% \begingroup + \let\orgthe\the \let\orgnumber\number \let\orgromannumeral\romannumeral \let\orgalph\@alph \let\orgAlph\@Alph + \let\orgRoman\@Roman \let\orgharfi\@harfi \let\orgadadi\@adadi \let\orgtartibi\@tartibi \def\the##1{% - \ifx##1\c@page \gls@numberpage\else\orgnumber##1\fi}% + \ifx##1\c@page \gls@numberpage\else\orgthe##1\fi}% \def\number##1{% \ifx##1\c@page \gls@numberpage\else\orgnumber##1\fi}% \def\romannumeral##1{% - \ifx##1\c@page \gls@romanpage\else\orgnumber##1\fi}% + \ifx##1\c@page \gls@romanpage\else\orgromannumeral##1\fi}% + \def\@Roman##1{% + \ifx##1\c@page \gls@Romanpage\else\orgRoman##1\fi}% \def\@alph##1{% - \ifx##1\c@page \gls@alphpage\else\orgnumber##1\fi}% + \ifx##1\c@page \gls@alphpage\else\orgalph##1\fi}% \def\@Alph##1{% - \ifx##1\c@page \gls@Alphpage\else\orgnumber##1\fi}% + \ifx##1\c@page \gls@Alphpage\else\orgAlph##1\fi}% \def\@harfi##1{% - \ifx##1\c@page \gls@harfipage\else\orgnumber##1\fi}% + \ifx##1\c@page \gls@harfipage\else\orgharfi##1\fi}% \def\@adadi##1{% - \ifx##1\c@page \gls@adadipage\else\orgnumber##1\fi}% + \ifx##1\c@page \gls@adadipage\else\orgadadi##1\fi}% \def\@tartibi##1{% - \ifx##1\c@page \gls@tartibipage\else\orgnumber##1\fi}% + \ifx##1\c@page \gls@tartibipage\else\orgtartibi##1\fi}% \gls@disablepagerefexpansion \protected@xdef\@glslocref{\theglsentrycounter}% \endgroup diff --git a/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def index e68bf9ac6b9..d69bcbdcc35 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def @@ -13,7 +13,7 @@ %% %% -\ProvidesFile{imsproc-xepersian.def}[2012/12/12 v0.1 implementation of imsproc class for xepersian package] +\ProvidesFile{imsproc-xepersian.def}[2013/04/26 v0.3 implementation of imsproc class for xepersian package] \newenvironment{thebibliography}[1]{% \@bibtitlestyle \normalfont\bibliofont\labelsep .5em\relax @@ -94,7 +94,7 @@ \@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@footnotetext\@footnotetext{\bidi@footdir@footnote}% \footdir@temp\footdir@ORG@xepersian@imsproc@RTLfootnotetext\@RTLfootnotetext{R}% \footdir@temp\footdir@ORG@xepersian@imsproc@LTRfootnotetext\@LTRfootnotetext{L}% diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty index dad3314c267..f25d8ea41bd 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.5} -\def\xepersiandate{2013/04/24} +\def\xepersianversion{v12.7} +\def\xepersiandate{2013/04/27} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} |