diff options
author | Karl Berry <karl@freefriends.org> | 2016-11-25 22:40:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-11-25 22:40:29 +0000 |
commit | b2a893506b40c68f8087a9218a02bbf3623b2d46 (patch) | |
tree | 867d99c05d8e4f414a180729201e38027ec8cc78 /Master/texmf-dist/source | |
parent | 8c211e270bafc63c31c2b5fa88c7e6371d820e34 (diff) |
bidi (25nov16)
git-svn-id: svn://tug.org/texlive/trunk@42579 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/xelatex/bidi/bidi.dtx | 42 |
1 files changed, 33 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx index 5011830ad3a..a3418f2de3b 100644 --- a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx +++ b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx @@ -5,7 +5,7 @@ %<*readme> ___________________ The bidi package -v20.3 +v20.4 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX, using XeTeX engine. @@ -25,7 +25,7 @@ a minimal working example showing the issue, and always choose the appropriate label for your query (i.e. if you are reporting any bugs, choose `Bug' label). -Current version release date: 2016/11/08 +Current version release date: 2016/11/25 ___________________ Vafa Khalighi @@ -322,7 +322,7 @@ by Vafa Khalighi. %\changes{v13.9}{2013/09/23}{Added implementaion of the package.} % \title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\ %\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt] -%\large Documentation for \textcolor{blue!65!black}{version 20.3}} +%\large Documentation for \textcolor{blue!65!black}{version 20.4}} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} %\setcounter{page}{0} @@ -333,7 +333,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}} % %\Large -%Documentation for \textcolor{blue!65!black}{version 20.3}} +%Documentation for \textcolor{blue!65!black}{version 20.4}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -384,7 +384,7 @@ by Vafa Khalighi. %* %* Copyright (c) 2009--2016 Vafa Khalighi %* -%* 2016/11/08, v20.3 +%* 2016/11/25, v20.4 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -1141,7 +1141,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{47539} +%% \CheckSum{47575} %% \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 @@ -2984,8 +2984,8 @@ by Vafa Khalighi. % \subsection{\textsf{bidi.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\bididate{2016/11/08} -\def\bidiversion{v20.3} +\def\bididate{2016/11/25} +\def\bidiversion{v20.4} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -3923,7 +3923,7 @@ Bidirectional typesetting in plain TeX and LaTeX] % \subsection{\textsf{biditools.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biditools}[2015/11/14 v0.8 Programming tools for bidi package] +\ProvidesPackage{biditools}[2016/11/25 v0.9 Programming tools for bidi package] \providecommand{\@bidi@saveprimitive}[2]{\begingroup\escapechar`\\\relax \edef\@tempa{\string#1}\edef\@tempb{\meaning#1}% \ifx\@tempa\@tempb \global\let#2#1% @@ -4040,6 +4040,30 @@ ill-advised in the old versions of bidi package.% \fi}% \expandafter\xdef\csname cl@#2\endcsname{% \csname cl@#2\endcsname}}} +\newcommand*{\ifRtoL}{% + \if@RTL + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi} +\newcommand*{\ifLtoR}{% + \if@RTL + \expandafter\@secondoftwo + \else + \expandafter\@firstoftwo + \fi} +\newcommand*{\iflatin}{% + \if@nonlatin + \expandafter\@secondoftwo + \else + \expandafter\@firstoftwo + \fi} +\newcommand*{\ifnonlatin}{% + \if@nonlatin + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi} \newcommand*{\if@bidi@csdef}[1]{% \ifcsname#1\endcsname \expandafter\@firstoftwo |