From a709f99db527a31d5752d823fd78940cc9c112a9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 25 Nov 2016 22:40:43 +0000 Subject: xepersian (25nov16) git-svn-id: svn://tug.org/texlive/trunk@42580 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/xelatex/xepersian') 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} -- cgit v1.2.3