From e746dae5fade789c4be1073331a088f8ed9fe05d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 8 May 2016 22:29:38 +0000 Subject: bidi (8may16) git-svn-id: svn://tug.org/texlive/trunk@40957 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/xelatex/bidi/bidi.dtx | 58 +++++++++++++++++--------- 1 file changed, 39 insertions(+), 19 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx index c6a113cda8e..7e28f0781c9 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 -v19.3 +v19.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/05/07 +Current version release date: 2016/05/09 ___________________ 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 19.3}} +%\large Documentation for \textcolor{blue!65!black}{version 19.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 19.3}} +%Documentation for \textcolor{blue!65!black}{version 19.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/05/07, v19.3 +%* 2016/05/09, v19.4 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -1141,7 +1141,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{46416} +%% \CheckSum{46457} %% \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/05/07} -\def\bidiversion{v19.3} +\def\bididate{2016/05/09} +\def\bidiversion{v19.4} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -9525,7 +9525,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{extrafootnotefeatures-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2016/05/07 v0.8 bidi extra footnote features for XeTeX engine] +\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2016/05/09 v0.9 bidi extra footnote features for XeTeX engine] \let\autofootnoterule\relax \let\rightfootnoterule\relax \let\leftfootnoterule\relax @@ -9644,7 +9644,6 @@ bidi implementation of tufte title] \def\m@m@float@spacing{#1} % } \setSingleSpace{1} -\newinsert\sideins \bidi@ensure@newcommand*{\multiplefootnotemarker}{3sp} \bidi@ensure@newcommand*{\m@mmf@prepare}{% \kern-\multiplefootnotemarker @@ -9713,6 +9712,7 @@ bidi implementation of tufte title] \expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}} \bidi@ensure@newcommand{\m@make@footstart}[1]{% \@namedef{@footstart#1}{% + \bidi@mopfn@bottom \vskip\bigskipamount \leftskip=\z@ \rightskip=\z@ @@ -11328,18 +11328,24 @@ bidi implementation of tufte title] \@tempdima\dp\@cclv \unvbox\@cclv \vskip-\@tempdima + \bidi@mopfn@bottom \vskip \skip\footins \color@begingroup \normalcolor \footnoterule \unvbox \footins \color@endgroup}} -\bidi@ensure@newcommand*{\m@mopsidebar}{% - \ifvoid\sideins\else - \setbox\@outputbox \vbox{% - \sidecontents - \unvbox\@outputbox} - \fi} +\newcommand*{\bidi@mopfootnotebf}{% + \setbox\@outputbox \vbox{% + \boxmaxdepth\@maxdepth + \unvbox\@outputbox + \bidi@mopfn@bottom + \vskip\skip\footins + \color@begingroup + \normalcolor + \footnoterule + \unvbox \footins + \color@endgroup}} \gdef\mem@makecol{% \m@m@makecolintro \ifvoid\footins @@ -11349,11 +11355,25 @@ bidi implementation of tufte title] \fi \m@mdoextrafeet \m@m@makecolfloats - \m@mopsidebar \m@m@makecoltext \global \maxdepth \@maxdepth} -\bidi@ensure@newcommand{\feetabovefloat}{\gdef\@makecol{\mem@makecol}} -\feetabovefloat% +\gdef\bidi@makecolbf{% + \m@m@makecolintro + \setbox\@outputbox \box\@cclv + \m@m@makecolfloats + \ifvoid\footins + \else + \bidi@mopfootnotebf + \fi + \m@mdoextrafeet + \m@m@makecoltext + \global \maxdepth \@maxdepth} +\newcommand{\FeetAboveFloat}{\gdef\@makecol{\mem@makecol}} +\newcommand{\FeetBelowFloat}{\gdef\@makecol{\bidi@makecolbf}} +\newcommand\FeetAtBottom{\def\bidi@mopfn@bottom{\vfill\relax}} +\newcommand\FeetBelowRagged{\let\bidi@mopfn@bottom\relax} +\FeetAboveFloat +\FeetBelowRagged % \end{macrocode} % \iffalse % -- cgit v1.2.3