diff options
author | Karl Berry <karl@freefriends.org> | 2016-11-30 22:25:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-11-30 22:25:34 +0000 |
commit | d3aa19f2fc5afa9977b1c1091de42262fc8c772c (patch) | |
tree | 1b3f68f578641e0c7a6ea145a83f0c091eeef4c7 /Master/texmf-dist/tex/xelatex/bidi/bidi.sty | |
parent | fe071a3248b7f619d72c83bed1ac96acb78abbfe (diff) |
bidi (30nov16)
git-svn-id: svn://tug.org/texlive/trunk@42611 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.sty | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty index d4c7c6a0e65..1af158a7481 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty @@ -17,7 +17,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{47549} +%% \CheckSum{47593} %% \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/27} -\def\bidiversion{v20.5} +\def\bididate{2016/11/30} +\def\bidiversion{v20.6} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -58,7 +58,7 @@ Bidirectional typesetting in plain TeX and LaTeX] * ^^J% * Location on CTAN: /macros/xetex/latex/bidi^^J% * ^^J% -* Issue tracker: https://github.com/vafa/bidi/issues^^J% +* Issue tracker: https://github.com/tex-xet/bidi/issues^^J% * ^^J% * Support: persian-tex@tug.org^^J% ****************************************************} @@ -75,7 +75,10 @@ Bidirectional typesetting in plain TeX and LaTeX] \eqnewif{\if@RTLmain}{\if@rlmain} \eqnewif{\if@RTL}{\if@rl} \newif\if@nonlatin +\newcommand*{\setlatin}{\@nonlatinfalse} +\newcommand*{\setnonlatin}{\@nonlatintrue} \eqnewif{\if@RTLtab}{\if@tab@rl} +\newif\if@hboxRconstruct \newcommand*{\setRTLtable}{\@RTLtabtrue} \newcommand*{\setLTRtable}{\@RTLtabfalse} \newif\if@RTLmarginpar @@ -111,6 +114,18 @@ Bidirectional typesetting in plain TeX and LaTeX] \or \@RTLfalse \fi} +\define@choicekey{bidi.sty}{documentdirection}[\bidi@tempa\bidi@tempb]{righttoleft,lefttoright}{% + \ifcase\bidi@tempb\relax + \@RTLtrue + \or + \@RTLfalse + \fi} +\define@choicekey{bidi.sty}{tabledirection}[\bidi@tempa\bidi@tempb]{righttoleft,lefttoright}{% + \ifcase\bidi@tempb\relax + \@RTLtabtrue + \or + \@RTLtabfalse + \fi} \define@choicekey{bidi.sty}{script}[\bidi@tempa\bidi@tempb]{latin,nonlatin}[latin]{% \ifcase\bidi@tempb\relax \@nonlatinfalse |