summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-16 23:10:04 +0000
committerKarl Berry <karl@freefriends.org>2017-01-16 23:10:04 +0000
commitbbdcfbc2b8f537da6c148a5e3cfc669664657baa (patch)
treeb04062a030a6ed4ad8455a0aab8e5d3e68b8d074 /Master/texmf-dist/tex/xelatex/bidi/bidi.sty
parentf937c24995524ae21094db586f6469ea1b034c93 (diff)
bidi (16jan17)
git-svn-id: svn://tug.org/texlive/trunk@42967 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/bidi.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/bidi.sty29
1 files changed, 24 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
index 1af158a7481..98ab08d7861 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
+++ b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
@@ -7,7 +7,7 @@
%% bidi.dtx (with options: `table,bidi.sty')
%%
%% __________________________________________________
-%% Copyright (c) 2009--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2009--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{47593}
+%% \CheckSum{47651}
%% \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
@@ -35,8 +35,8 @@
%% Right brace \} Tilde \~}
%%
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2016/11/30}
-\def\bidiversion{v20.6}
+\def\bididate{2017/01/16}
+\def\bidiversion{v20.7}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -49,7 +49,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
* and LaTeX. The package includes adaptations^^J%
* for use with many other commonly-used packages.^^J%
* ^^J%
-* Copyright (c) 2009--2016 Vafa Khalighi^^J%
+* Copyright (c) 2009--2017 Vafa Khalighi^^J%
* ^^J%
* \bididate, \bidiversion^^J%
* ^^J%
@@ -65,6 +65,25 @@ Bidirectional typesetting in plain TeX and LaTeX]
\typeout{\@bidi@info}
\edef\bidi@everyjob{\the\everyjob}
\everyjob{\bidi@everyjob\typeout{\@bidi@info}}
+\edef\@bidi@strip@v@bidiversion{\expandafter\@gobble\bidiversion}
+\newcommand*{\IfbidiPackageVersionLater}[1]{%
+ \ifdim\@bidi@strip@v@bidiversion pt > #1 pt %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
+\newcommand*{\IfbidiPackageVersionBefore}[1]{%
+ \ifdim\@bidi@strip@v@bidiversion pt < #1 pt %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
+\newcommand*{\IfbidiPackageVersion}[1]{%
+ \ifdim\@bidi@strip@v@bidiversion pt = #1 pt %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
\RequirePackage{iftex}
\RequireXeTeX
\RequirePackage{biditools}