diff options
author | Karl Berry <karl@freefriends.org> | 2016-11-25 22:40:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-11-25 22:40:43 +0000 |
commit | a709f99db527a31d5752d823fd78940cc9c112a9 (patch) | |
tree | a9bdb12115b42144a4a478a0ac478f252301fd56 /Master/texmf-dist/tex | |
parent | b2a893506b40c68f8087a9218a02bbf3623b2d46 (diff) |
xepersian (25nov16)
git-svn-id: svn://tug.org/texlive/trunk@42580 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty index ab2faebe319..a1c11f9cfb9 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty @@ -35,8 +35,8 @@ %% Right brace \} Tilde \~} %% \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v16.9} -\def\xepersiandate{2016/10/06} +\def\xepersianversion{v17} +\def\xepersiandate{2016/11/25} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -352,12 +352,12 @@ Persian typesetting in XeLaTeX] \let\firstmark\botmark } \newcommand\twocolumnstableofcontents{% -\@ifpackageloaded{multicol}{% +\if@bidi@csundef{multi@column@out}{% +\PackageError{xepersian}{Oops! you should load multicol package before xepersian package for being able to use this command}{}}{% \begin{multicols}{2}[\section*{\contentsname}]% \small \@starttoc{toc}% - \end{multicols}} -{\PackageError{xepersian}{Oops! you should load multicol package before xepersian package for being able to use this command}{}}} + \end{multicols}}} \bidi@newrobustcmd*{\XePersian}{\leavevmode$\smash{\hbox{X\lower.5ex \hbox{\kern-.125em\bidi@reflect@box{E}}Persian}}$} \def\figurename{\if@RTL شکل\else Figure\fi} |