diff options
author | Karl Berry <karl@freefriends.org> | 2015-10-08 20:41:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-10-08 20:41:20 +0000 |
commit | d7eaf4003b06ed40a415100f4f9886efe3979ee8 (patch) | |
tree | 709d9b5eb284cffce8931a2110b783902ea8b770 /Master/texmf-dist/source/xelatex | |
parent | 46161b428da1154ea784a48b9db0e5fb962a235c (diff) |
bidi (8oct15)
git-svn-id: svn://tug.org/texlive/trunk@38591 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r-- | Master/texmf-dist/source/xelatex/bidi/bidi.dtx | 88 |
1 files changed, 13 insertions, 75 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx index b12dafffe38..8f26b6d0911 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 -v17.7 +v17.8 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: 2015/10/03 +Current version release date: 2015/10/08 ___________________ Vafa Khalighi @@ -319,7 +319,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 17.7}} +%\large Documentation for \textcolor{blue!65!black}{version 17.8}} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} %\setcounter{page}{0} @@ -330,7 +330,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}} % %\Large -%Documentation for \textcolor{blue!65!black}{version 17.7}} +%Documentation for \textcolor{blue!65!black}{version 17.8}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -381,7 +381,7 @@ by Vafa Khalighi. %* %* Copyright (c) 2009--2015 Vafa Khalighi %* -%* 2015/10/03, v17.7 +%* 2015/10/08, v17.8 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -1138,7 +1138,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{44780} +%% \CheckSum{44655} %% \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 @@ -2760,8 +2760,8 @@ by Vafa Khalighi. % \subsection{\textsf{bidi.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\bididate{2015/10/03} -\def\bidiversion{v17.7} +\def\bididate{2015/10/08} +\def\bidiversion{v17.8} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -2883,7 +2883,7 @@ Bidirectional typesetting in plain TeX and LaTeX] %\fi % \subsection{\textsf{bidi.tex}} % \begin{macrocode} -\def\bididate{2015/10/03} +\def\bididate{2015/10/08} \def\bidiversion{v0.2} \catcode`@=11 \let \protect \relax @@ -19198,11 +19198,11 @@ to\rtside{\box\bslice\hfil}} %\fi % \subsection{\textsf{latex-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{latex-xetex-bidi.def}[2015/02/01 v1.1.9 bidi adaptations for `latex.ltx' for XeTeX engine] +\ProvidesFile{latex-xetex-bidi.def}[2015/10/08 v1.2.0 bidi adaptations for `latex.ltx' for XeTeX engine] \newcommand{\TeXXeTOn}{\TeXXeTstate=1 } \newcommand{\TeXXeTOff}{\TeXXeTstate=0 } \TeXXeTOn -\def\bidi@RTL@everypar{\if@RTL{\setbox\z@\lastbox\beginR\ifvoid\z@\else\usebox\z@\fi}\fi} +\def\bidi@RTL@everypar{{\setbox\z@\lastbox\if@RTL\beginR\else\beginL\fi\ifvoid\z@\else\usebox\z@\fi}} \let\bidi@o@everypar=\everypar \newtoks\bidi@n@everypar \bidi@n@everypar\expandafter{\the\bidi@o@everypar} @@ -19244,12 +19244,12 @@ to\rtside{\box\bslice\hfil}} \bgroup \aftergroup\egroup }\vbox} -\def\LTR{\par\@RTLfalse\@RTL@footnotefalse\if@bidi@list@minipage@parbox\beginL\else\if@RTLtab\beginL\fi\fi\hsize\linewidth\parshape\z@} +\def\LTR{\par\@RTLfalse\@RTL@footnotefalse\hsize\linewidth\parshape\z@} \def\endLTR{\par} \def\RTL{\par\@RTLtrue\@RTL@footnotetrue\hsize\linewidth\parshape\z@} \def\endRTL{\par} \def\setRTL{\@RTLtrue\@RTL@footnotetrue} -\def\setLTR{\@RTLfalse\@RTL@footnotefalse\if@bidi@list@minipage@parbox\beginL\else\if@RTLtab\beginL\fi\fi} +\def\setLTR{\@RTLfalse\@RTL@footnotefalse} \let\unsetRTL=\setLTR \let\unsetLTR=\setRTL \let\LR=\LRE @@ -19338,68 +19338,6 @@ to\rtside{\box\bslice\hfil}} \fi\fi\fi \parshape \@ne \@totalleftmargin \linewidth \ignorespaces} -\def\@item[#1]{% - \if@noparitem - \@donoparitem - \else - \if@inlabel - \indent \par - \fi - \ifhmode - \unskip\unskip \par - \fi - \if@newlist - \if@nobreak - \@nbitem - \else - \addpenalty\@beginparpenalty - \addvspace\@topsep - \addvspace{-\parskip}% - \fi - \else - \addpenalty\@itempenalty - \addvspace\itemsep - \fi - \global\@inlabeltrue - \fi - \everypar{\if@bidi@list@minipage@parbox\if@RTL\else\beginL\fi\else\if@RTLtab\if@RTL\else\beginL\fi\fi\fi% - \@minipagefalse - \global\@newlistfalse - \if@inlabel - \global\@inlabelfalse - {\setbox\z@\lastbox - \ifvoid\z@ - \kern-\itemindent - \fi}% - \box\@labels - \penalty\z@ - \fi - \if@nobreak - \@nobreakfalse - \clubpenalty \@M - \else - \clubpenalty \@clubpenalty - \everypar{}% - \fi}% - \if@noitemarg - \@noitemargfalse - \if@nmbrlist - \refstepcounter\@listctr - \fi - \fi - \sbox\@tempboxa{\makelabel{#1}}% - \global\setbox\@labels\hbox{% - \unhbox\@labels - \hskip \itemindent - \hskip -\labelwidth - \hskip -\labelsep - \ifdim \wd\@tempboxa >\labelwidth - \box\@tempboxa - \else - \hbox to\labelwidth {\unhbox\@tempboxa}% - \fi - \hskip \labelsep}% - \ignorespaces} \long\def\@iiiparbox#1#2[#3]#4#5{% \leavevmode \@pboxswfalse |