summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-09-22 22:18:11 +0000
committerKarl Berry <karl@freefriends.org>2014-09-22 22:18:11 +0000
commitb65f1472f84ee9e6a06b49d0a5f0a29822681a8b (patch)
tree1ec8a733e78ae2cb41ead2edc826e3d959fffad1 /Master/texmf-dist/source/xelatex
parentd618f80f8f62c896392904e75aefd221af6fa9e6 (diff)
xepersian (22sep14)
git-svn-id: svn://tug.org/texlive/trunk@35233 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx46
1 files changed, 39 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index 53828f84372..781c46db2dd 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
-v14.9
+v15
XePersian is a package written for XeLaTeX that allows users to typeset
Persian easily.
@@ -18,7 +18,7 @@ This version fixes bugs and adds new features; for more details please see
the Change History section at the end of the documentation.
-Current version release date: 2014/09/21
+Current version release date: 2014/09/22
______________
Vafa Khalighi
tex.ctan@gmail.com
@@ -205,7 +205,7 @@ by Vafa Khalighi.
% Persian for \LaTeX, using {\XeTeX} engine}
% \author{Vafa Khalighi\\
% \url{tex.ctan@gmail.com}}
-% \date{\today\qquad Version 14.9}
+% \date{\today\qquad Version 15}
%\maketitle
% \tableofcontents
%\section{Introduction}
@@ -230,7 +230,7 @@ by Vafa Khalighi.
%*
%* Copyright © 2008–2014 Vafa Khalighi
%*
-%* v14.9, 2014/09/21
+%* v15, 2014/09/22
%*
%* License: LaTeX Project Public License, version
%* 1.3c or higher (your choice)
@@ -2256,7 +2256,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{9899}
+%% \CheckSum{9947}
%% \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
@@ -5563,8 +5563,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v14.9}
-\def\xepersiandate{2014/09/21}
+\def\xepersianversion{v15}
+\def\xepersiandate{2014/09/22}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -6183,6 +6183,38 @@ or load the package with `preloadedlatintextfont' option.}%
\@ifclassloaded{refrep}{\input{refrep-xepersian.def}}{}
\@ifclassloaded{memoir}{\input{memoir-xepersian.def}}{}
\@ifclassloaded{imsproc}{\input{imsproc-xepersian.def}}{}
+\define@choicekey{xepersian.sty}{mathdigits}[\xepersian@tempa\xepersian@tempb]{automatic,default,persian}{%
+ \ifcase\xepersian@tempb\relax
+ \AutoMathsDigits
+ \or
+ \DefaultMathsDigits
+ \or
+ \PersianMathsDigits
+ \fi}
+\define@choicekey{xepersian.sty}{footnoterule}[\xepersian@tempa\xepersian@tempb]{automatic,left,right,split,textwidth}{%
+ \ifcase\xepersian@tempb\relax
+ \autofootnoterule
+ \or
+ \leftfootnoterule
+ \or
+ \rightfootnoterule
+ \or
+ \SplitFootnoteRule
+ \or
+ \textwidthfootnoterule
+ \fi}
+\define@choicekey{xepersian.sty}{footnotedirection}[\xepersian@tempa\xepersian@tempb]{righttoleft,lefttoright}{%
+ \ifcase\xepersian@tempb\relax
+ \@RTL@footnotetrue
+ \or
+ \@RTL@footnotefalse
+ \fi}
+\define@choicekey{xepersian.sty}{debugfootnotedirection}[\xepersian@tempa\xepersian@tempb]{on,off}[on]{%
+ \ifcase\xepersian@tempb\relax
+ \footdir@debugtrue
+ \or
+ \footdir@debugfalse
+ \fi}
\define@choicekey{xepersian.sty}{Kashida}[\xepersian@tempa\xepersian@tempb]{on,off}[on]{%
\ifcase\xepersian@tempb\relax
\input{kashida-xepersian.def}