diff options
Diffstat (limited to 'Master/texmf-dist/source/xelatex/bidi/bidi.dtx')
-rw-r--r-- | Master/texmf-dist/source/xelatex/bidi/bidi.dtx | 227 |
1 files changed, 88 insertions, 139 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx index fd3acb065d5..0beede04e49 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 -v18.4 +v18.5 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX, using XeTeX engine. @@ -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 18.4}} +%\large Documentation for \textcolor{blue!65!black}{version 18.5}} % \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 18.4}} +%Documentation for \textcolor{blue!65!black}{version 18.5}} % %\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/11/14, v18.4 +%* 2015/11/14, v18.5 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -1138,7 +1138,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{45014} +%% \CheckSum{44962} %% \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 @@ -1163,7 +1163,7 @@ by Vafa Khalighi. % % % \begin{macrocode} -\ProvidesFile{amsart-xetex-bidi.def}[2013/04/26 v0.8 bidi adaptations for amsart class for XeTeX engine] +\ProvidesFile{amsart-xetex-bidi.def}[2015/11/14 v0.9 bidi adaptations for amsart class for XeTeX engine] \def\@tocline#1#2#3#4#5#6#7{\relax \ifnum #1>\c@tocdepth % then omit \else @@ -1189,9 +1189,9 @@ by Vafa Khalighi. \z@{\linespacing\@plus\linespacing}{.5\linespacing}% {\normalfont\bfseries\if@RTL\raggedleft\else\raggedright\fi}} \def\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{\kern-.4\p@ - \hrule\@width 5pc\kern11\p@\kern-\footnotesep}\hfil\endR}} + \kern-.4\p@ + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-5pc\relax \hrulefill } + \kern11\p@\kern-\footnotesep} \def\left@footnoterule{\kern-.4\p@ \hrule\@width 5pc\kern11\p@\kern-\footnotesep} @@ -1388,7 +1388,7 @@ by Vafa Khalighi. %\fi % \subsection{\textsf{amsbook-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{amsbook-xetex-bidi.def}[2013/04/26 v0.9 bidi adaptations for amsbook class for XeTeX engine] +\ProvidesFile{amsbook-xetex-bidi.def}[2015/11/14 v1.0 bidi adaptations for amsbook class for XeTeX engine] \def\@tocline#1#2#3#4#5#6#7{\relax \ifnum #1>\c@tocdepth % then omit \else @@ -1423,9 +1423,9 @@ by Vafa Khalighi. \def\subitem{\par\hangindent \if@RTL-\fi2em\hspace*{1em}} \def\subsubitem{\par\hangindent \if@RTL-\fi3em\hspace*{2em}} \def\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{\kern-.4\p@ - \hrule\@width 5pc\kern11\p@\kern-\footnotesep}\hfil\endR}} + \kern-.4\p@ + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-5pc\relax \hrulefill } + \kern11\p@\kern-\footnotesep} \def\left@footnoterule{\kern-.4\p@ \hrule\@width 5pc\kern11\p@\kern-\footnotesep} @@ -1626,7 +1626,7 @@ by Vafa Khalighi. %\fi % \subsection{\textsf{article-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{article-xetex-bidi.def}[2010/07/25 v0.4 bidi adaptations for standard article class for XeTeX engine] +\ProvidesFile{article-xetex-bidi.def}[2015/11/14 v0.5 bidi adaptations for standard article class for XeTeX engine] \if@titlepage \renewcommand\maketitle{\begin{titlepage}% \let\footnotesize\small @@ -1759,11 +1759,9 @@ by Vafa Khalighi. \hrule\@width.4\columnwidth \kern2.6\p@} \renewcommand\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ - \hrule\@width.4\columnwidth - \kern2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern2.6\p@} \renewcommand\thesubsection {\thesection\@SepMark\@arabic\c@subsection} \renewcommand\thesubsubsection{\thesubsection\@SepMark\@arabic\c@subsubsection} \renewcommand\theparagraph {\thesubsubsection\@SepMark\@arabic\c@paragraph} @@ -1829,7 +1827,7 @@ by Vafa Khalighi. %\fi % \subsection{\textsf{artikel1-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{artikel1-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for artikel1 class for XeTeX engine] +\ProvidesFile{artikel1-xetex-bidi.def}[2015/11/14 v0.3 bidi adaptations for artikel1 class for XeTeX engine] \renewenvironment{theindex}{% \if@twocolumn \@restonecolfalse @@ -1952,13 +1950,10 @@ by Vafa Khalighi. \kern.4\baselineskip } \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ \kern.5\baselineskip - \hrule\@width\unitindent - \kern.4\baselineskip}\hfil\endR} -} + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-\unitindent\relax \hrulefill } + \kern.4\baselineskip} \if@titlepage \renewcommand*\TitleFont{\rmfamily} \renewcommand*\maketitle{% @@ -2087,7 +2082,7 @@ by Vafa Khalighi. %\fi % \subsection{\textsf{artikel2-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{artikel2-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for artikel2 class for XeTeX engine] +\ProvidesFile{artikel2-xetex-bidi.def}[2015/11/14 v0.3 bidi adaptations for artikel2 class for XeTeX engine] \renewenvironment{theindex}{% \if@twocolumn \@restonecolfalse @@ -2197,12 +2192,9 @@ by Vafa Khalighi. \kern 2.6\p@ } \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ - \hrule\@width 3\unitindent - \kern 2.6\p@}\hfil\endR} -} + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-3\unitindent\relax \hrulefill } + \kern 2.6\p@} \renewenvironment{thebibliography}[1] {\section*{\refname}% \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}% @@ -2348,7 +2340,7 @@ by Vafa Khalighi. %\fi % \subsection{\textsf{artikel3-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{artikel3-xetex-bidi.def}[2011/08/26 v0.3 bidi adaptations for artikel3 class for XeTeX engine] +\ProvidesFile{artikel3-xetex-bidi.def}[2015/11/14 v0.4 bidi adaptations for artikel3 class for XeTeX engine] \renewenvironment{theindex}{% \if@twocolumn \@restonecolfalse @@ -2451,13 +2443,10 @@ by Vafa Khalighi. \kern.4\baselineskip } \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ \kern.5\baselineskip - \hrule\@width\unitindent - \kern.4\baselineskip}\hfil\endR} -} + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-\unitindent\relax \hrulefill } + \kern.4\baselineskip} \renewcommand*\thesubsection{\thesection\@SepMark\@arabic\c@subsection} \renewcommand*\thesubsubsection{\thesubsection\@SepMark\@arabic\c@subsubsection} \renewcommand*\theparagraph{\thesubsubsection\@SepMark\@arabic\c@paragraph} @@ -2761,7 +2750,7 @@ by Vafa Khalighi. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \def\bididate{2015/11/14} -\def\bidiversion{v18.4} +\def\bidiversion{v18.5} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -6899,7 +6888,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{boek3-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{boek3-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for boek3 class for XeTeX engine] +\ProvidesFile{boek3-xetex-bidi.def}[2015/11/14 v0.3 bidi adaptations for boek3 class for XeTeX engine] \renewenvironment{theindex}{% \if@twocolumn \@restonecolfalse @@ -7005,13 +6994,10 @@ bidi implementation of tufte title] \kern.4\baselineskip } \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ \kern.5\baselineskip - \hrule\@width\unitindent - \kern.4\baselineskip}\hfil\endR} -} + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-\unitindent\relax \hrulefill } + \kern.4\baselineskip} \renewcommand*\thesection{\thechapter\@SepMark\@arabic\c@section} \renewcommand*\thesubsection{\thesection\@SepMark\@arabic\c@subsection} \renewcommand*\thesubsubsection{\thesubsection\@SepMark\@arabic\c@subsubsection} @@ -7085,7 +7071,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{boek-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{boek-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for boek class for XeTeX engine] +\ProvidesFile{boek-xetex-bidi.def}[2015/11/14 v0.3 bidi adaptations for boek class for XeTeX engine] \renewenvironment{theindex}{% \if@twocolumn \@restonecolfalse @@ -7168,13 +7154,10 @@ bidi implementation of tufte title] \kern.4\baselineskip } \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ \kern.5\baselineskip - \hrule\@width\unitindent - \kern.4\baselineskip}\hfil\endR} -} + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-\unitindent\relax \hrulefill } + \kern.4\baselineskip} \renewenvironment{abstract}{% \titlepage \null\vfil @@ -7311,7 +7294,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{book-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{book-xetex-bidi.def}[2011/08/26 v0.8 bidi adaptations for standard book class for XeTeX engine] +\ProvidesFile{book-xetex-bidi.def}[2015/11/14 v0.9 bidi adaptations for standard book class for XeTeX engine] \renewenvironment{theindex} {\if@twocolumn \@restonecolfalse @@ -7459,11 +7442,9 @@ bidi implementation of tufte title] \hrule\@width.4\columnwidth \kern2.6\p@} \renewcommand\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ - \hrule\@width.4\columnwidth - \kern2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern2.6\p@} \renewcommand\theequation {\ifnum \c@chapter>\z@ \thechapter\@SepMark\fi \@arabic\c@equation} \renewcommand \thefigure @@ -8910,7 +8891,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{extarticle-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{extarticle-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for extarticle class for XeTeX engine] +\ProvidesFile{extarticle-xetex-bidi.def}[2015/11/14 v0.3 bidi adaptations for extarticle class for XeTeX engine] \renewcommand*\l@section[2]{% \ifnum \c@tocdepth >\z@ \addpenalty\@secpenalty @@ -8987,11 +8968,9 @@ bidi implementation of tufte title] \hrule\@width.4\columnwidth \kern2.6\p@} \renewcommand\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ - \hrule\@width.4\columnwidth - \kern2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern2.6\p@} \if@titlepage \renewcommand\maketitle{\begin{titlepage}% \let\footnotesize\small @@ -9271,7 +9250,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{extletter-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{extletter-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for extletter class for XeTeX engine] +\ProvidesFile{extletter-xetex-bidi.def}[2015/11/14 v0.2 bidi adaptations for extletter class for XeTeX engine] \renewcommand*{\opening}[1]{\ifx\@empty\fromaddress \thispagestyle{firstpage}% {\if@RTL\raggedright\else\raggedleft\fi\@date\par}% @@ -9301,11 +9280,9 @@ bidi implementation of tufte title] \hrule \@width .4\columnwidth \kern .6\p@} \renewcommand\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-\p@ - \hrule \@width .4\columnwidth - \kern .6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern .6\p@} % \end{macrocode} % \iffalse %</extletter-xetex-bidi.def> @@ -11126,7 +11103,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{extreport-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{extreport-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for extreport class for XeTeX engine] +\ProvidesFile{extreport-xetex-bidi.def}[2015/11/14 v0.2 bidi adaptations for extreport class for XeTeX engine] \renewcommand*\l@part[2]{% \ifnum \c@tocdepth >-2\relax \addpenalty{-\@highpenalty}% @@ -11182,11 +11159,9 @@ bidi implementation of tufte title] \hrule\@width.4\columnwidth \kern2.6\p@} \renewcommand\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ - \hrule\@width.4\columnwidth - \kern2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern2.6\p@} \renewenvironment{thebibliography}[1] {\chapter*{\bibname \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}% @@ -11648,7 +11623,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{footnote-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{footnote-xetex-bidi.def}[2013/04/26 v0.8 bidi footnote macros for XeTeX engine] +\ProvidesFile{footnote-xetex-bidi.def}[2015/11/14 v0.9 bidi footnote macros for XeTeX engine] \if@RTLmain\@RTL@footnotetrue\else\@RTL@footnotefalse\fi \newif\ifbidi@autofootnoterule \def\bidi@mpfootnoterule{\footnoterule} @@ -11739,11 +11714,11 @@ bidi implementation of tufte title] } \def\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{\kern -3\p@ - \hrule width .4\columnwidth \kern2.6\p@}\hfil\endR}} -\def\left@footnoterule{% - \hrule width .4\columnwidth\kern 2.6\p@} + \kern-3\p@ + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern2.6\p@} +\def\left@footnoterule{\kern-3\p@ + \hrule \@width .4\columnwidth \kern 2.6\p@} \def\textwidth@footnoterule{\kern-3\p@ \hrule \@width \columnwidth \kern 2.6\p@} \def\leftfootnoterule{% @@ -13174,7 +13149,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{letter-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{letter-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for standard letter class for XeTeX engine] +\ProvidesFile{letter-xetex-bidi.def}[2015/11/14 v0.3 bidi adaptations for standard letter class for XeTeX engine] \renewcommand*{\opening}[1]{\ifx\@empty\fromaddress \thispagestyle{firstpage}% {\if@RTL\raggedright\else\raggedleft\fi\@date\par}% @@ -13193,11 +13168,9 @@ bidi implementation of tufte title] \hrule \@width .4\columnwidth \kern .6\p@} \renewcommand\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-\p@ - \hrule \@width .4\columnwidth - \kern .6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern .6\p@} % \end{macrocode} % \iffalse %</letter-xetex-bidi.def> @@ -14262,7 +14235,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{multicol-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{multicol-xetex-bidi.def}[2014/09/20 v0.6 bidi adaptations for multicol package for XeTeX engine] +\ProvidesFile{multicol-xetex-bidi.def}[2015/11/14 v0.7 bidi adaptations for multicol package for XeTeX engine] % \end{macrocode} %\changes{v14.2}{2013/11/11}{Fixed the wrong order of toc, lot, lof, etc with \textsf{multicol} package.} % \begin{macrocode} @@ -14386,9 +14359,9 @@ bidi implementation of tufte title] \columnwidth\textwidth \orig@RTLfootnotetext{#1}\endgroup} \def\right@footnoterule{% - \hbox to \textwidth - {\beginR \vbox{\kern -3\p@ - \hrule width .4\columnwidth \kern2.6\p@}\hfil\endR}} + \kern-3\p@ + \hbox to \textwidth{\hskip \dimexpr\textwidth-.4\columnwidth\relax \hrulefill } + \kern2.6\p@} \def\textwidth@footnoterule{\kern-3\p@ \hrule \@width \textwidth \kern 2.6\p@} % \end{macrocode} @@ -15121,7 +15094,7 @@ to\rtside{\box\bslice\hfil}} %\fi % \subsection{\textsf{rapport1-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{rapport1-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for rapport1 class for XeTeX engine] +\ProvidesFile{rapport1-xetex-bidi.def}[2015/11/14 v0.3 bidi adaptations for rapport1 class for XeTeX engine] \renewenvironment{theindex}{% \if@twocolumn \@restonecolfalse @@ -15222,13 +15195,10 @@ to\rtside{\box\bslice\hfil}} \kern.4\baselineskip } \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ \kern.5\baselineskip - \hrule\@width\unitindent - \kern.4\baselineskip}\hfil\endR} -} + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-\unitindent\relax \hrulefill } + \kern.4\baselineskip} \renewenvironment{thebibliography}[1] {\chapter*{\bibname}% \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}% @@ -15385,7 +15355,7 @@ to\rtside{\box\bslice\hfil}} %\fi % \subsection{\textsf{rapport3-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{rapport3-xetex-bidi.def}[2011/08/26 v0.4 bidi adaptations for rapport3 class for XeTeX engine] +\ProvidesFile{rapport3-xetex-bidi.def}[2015/11/14 v0.5 bidi adaptations for rapport3 class for XeTeX engine] \renewenvironment{theindex}{% \if@twocolumn \@restonecolfalse @@ -15653,13 +15623,10 @@ to\rtside{\box\bslice\hfil}} \kern.4\baselineskip } \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ \kern.5\baselineskip - \hrule\@width\unitindent - \kern.4\baselineskip}\hfil\endR} -} + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-\unitindent\relax \hrulefill } + \kern.4\baselineskip} \renewcommand*\head@style{% \interlinepenalty \@M \hyphenpenalty=\@M \exhyphenpenalty=\@M @@ -15671,7 +15638,7 @@ to\rtside{\box\bslice\hfil}} %\fi % \subsection{\textsf{refrep-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{refrep-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for refrep class for XeTeX engine] +\ProvidesFile{refrep-xetex-bidi.def}[2015/11/14 v0.4 bidi adaptations for refrep class for XeTeX engine] \if@titlepage \renewcommand\maketitle{\begin{titlepage}% \let\footnotesize\small @@ -15818,11 +15785,9 @@ to\rtside{\box\bslice\hfil}} \hrule\@width.4\columnwidth \kern 2.6\p@} \renewcommand\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ - \hrule\@width.4\columnwidth - \kern 2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern2.6\p@} \renewcommand\theequation {\ifnum \c@chapter>\z@ \thechapter\@SepMark\fi \@arabic\c@equation} \renewcommand\thefigure @@ -15861,7 +15826,7 @@ to\rtside{\box\bslice\hfil}} %\fi % \subsection{\textsf{report-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{report-xetex-bidi.def}[2011/08/26 v0.6 bidi adaptations for standard report class for XeTeX engine] +\ProvidesFile{report-xetex-bidi.def}[2015/11/14 v0.7 bidi adaptations for standard report class for XeTeX engine] \renewenvironment{theindex} {\if@twocolumn \@restonecolfalse @@ -16008,11 +15973,9 @@ to\rtside{\box\bslice\hfil}} \hrule\@width.4\columnwidth \kern2.6\p@} \renewcommand\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ - \hrule\@width.4\columnwidth - \kern2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern2.6\p@} \renewcommand\theequation {\ifnum \c@chapter>\z@ \thechapter\@SepMark\fi \@arabic\c@equation} \renewcommand \thefigure @@ -16208,7 +16171,7 @@ to\rtside{\box\bslice\hfil}} %\fi % \subsection{\textsf{scrartcl-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{scrartcl-xetex-bidi.def}[2015/07/04 v0.7 bidi adaptations for scrartcl class for XeTeX engine] +\ProvidesFile{scrartcl-xetex-bidi.def}[2015/11/14 v0.8 bidi adaptations for scrartcl class for XeTeX engine] \newcommand{\scr@saved@LTRfootnotetext}{} \newcommand{\scr@saved@RTLfootnotetext}{} \let\scr@saved@footnotetext\@footnotetext @@ -16260,14 +16223,12 @@ to\rtside{\box\bslice\hfil}} \hrule \@height\ftn@rule@height \@width\ftn@rule@width}}% \kern 2.6\p@} \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{\kern -3\p@ \normalsize\ftn@rule@test@values \kern-\dimexpr 2.6\p@+\ftn@rule@height\relax \ifx\@textbottom\relax\else\vskip \z@ \@plus.05fil\fi {\usekomafont{footnoterule}{% - \hrule \@height\ftn@rule@height \@width\ftn@rule@width}}% - \kern 2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-\ftn@rule@width\relax \leavevmode\leaders\hrule\@height\ftn@rule@height\hfill\kern\z@}}}% + \kern 2.6\p@} \renewcommand*\maketitle[1][1]{% \if@titlepage \begin{titlepage} @@ -16578,12 +16539,10 @@ to\rtside{\box\bslice\hfil}} \hrule\@width.4\columnwidth \kern 2.6\p@} \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ \ifx\@textbottom\relax\else\vskip \z@ \@plus.05fil\fi - \hrule\@width.4\columnwidth - \kern 2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern2.6\p@} \renewcommand*{\raggeddictum}{\if@RTL\raggedright\else\raggedleft\fi} \renewcommand*{\raggeddictumtext}{\if@RTL\raggedleft\else\raggedright\fi} \renewcommand*{\raggeddictumauthor}{\if@RTL\raggedright\else\raggedleft\fi} @@ -16730,7 +16689,7 @@ to\rtside{\box\bslice\hfil}} %\fi % \subsection{\textsf{scrbook-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{scrbook-xetex-bidi.def}[2015/07/04 v0.7 bidi adaptations for scrbook class for XeTeX engine] +\ProvidesFile{scrbook-xetex-bidi.def}[2015/11/14 v0.8 bidi adaptations for scrbook class for XeTeX engine] \newcommand{\scr@saved@LTRfootnotetext}{} \newcommand{\scr@saved@RTLfootnotetext}{} \let\scr@saved@footnotetext\@footnotetext @@ -16782,14 +16741,12 @@ to\rtside{\box\bslice\hfil}} \hrule \@height\ftn@rule@height \@width\ftn@rule@width}}% \kern 2.6\p@} \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{\kern -3\p@ \normalsize\ftn@rule@test@values \kern-\dimexpr 2.6\p@+\ftn@rule@height\relax \ifx\@textbottom\relax\else\vskip \z@ \@plus.05fil\fi {\usekomafont{footnoterule}{% - \hrule \@height\ftn@rule@height \@width\ftn@rule@width}}% - \kern 2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-\ftn@rule@width\relax \leavevmode\leaders\hrule\@height\ftn@rule@height\hfill\kern\z@}}}% + \kern 2.6\p@} \renewcommand*\maketitle[1][1]{% \if@titlepage \begin{titlepage} @@ -17156,12 +17113,10 @@ to\rtside{\box\bslice\hfil}} \hrule\@width.4\columnwidth \kern 2.6\p@} \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ \ifx\@textbottom\relax\else\vskip \z@ \@plus.05fil\fi - \hrule\@width.4\columnwidth - \kern 2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern2.6\p@} \renewcommand*{\raggeddictum}{\if@RTL\raggedright\else\raggedleft\fi} \renewcommand*{\raggeddictumtext}{\if@RTL\raggedleft\else\raggedright\fi} \renewcommand*{\raggeddictumauthor}{\if@RTL\raggedright\else\raggedleft\fi} @@ -17308,7 +17263,7 @@ to\rtside{\box\bslice\hfil}} %\fi % \subsection{\textsf{scrlettr-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{scrlettr-xetex-bidi.def}[2011/09/24 v0.2 bidi adaptations for scrlettr class for XeTeX engine] +\ProvidesFile{scrlettr-xetex-bidi.def}[2015/11/14 v0.3 bidi adaptations for scrlettr class for XeTeX engine] \renewcommand\deffootnote[4][]{% \long\def\@makefntext##1{% \edef\@tempa{#1}\ifx\@tempa\@empty @@ -17335,11 +17290,9 @@ to\rtside{\box\bslice\hfil}} \hrule width 0.4\columnwidth \kern .6\p@} \def\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{\kern -3\p@ - \kern-1\p@ - \hrule width 0.4\columnwidth - \kern .6\p@}\hfil\endR}} + \kern-1\p@ + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern .6\p@} \def\@datefield{\@reffalse \ifx\varyourref\@empty \else \@reftrue \fi \ifx\varyourmail\@empty \else \@reftrue \fi @@ -17425,7 +17378,7 @@ to\rtside{\box\bslice\hfil}} %\fi % \subsection{\textsf{scrreprt-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{scrreprt-xetex-bidi.def}[2015/07/04 v0.7 bidi adaptations for scrreprt class for XeTeX engine] +\ProvidesFile{scrreprt-xetex-bidi.def}[2015/11/14 v0.8 bidi adaptations for scrreprt class for XeTeX engine] \newcommand{\scr@saved@LTRfootnotetext}{} \newcommand{\scr@saved@RTLfootnotetext}{} \let\scr@saved@footnotetext\@footnotetext @@ -17477,14 +17430,12 @@ to\rtside{\box\bslice\hfil}} \hrule \@height\ftn@rule@height \@width\ftn@rule@width}}% \kern 2.6\p@} \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{\kern -3\p@ \normalsize\ftn@rule@test@values \kern-\dimexpr 2.6\p@+\ftn@rule@height\relax \ifx\@textbottom\relax\else\vskip \z@ \@plus.05fil\fi {\usekomafont{footnoterule}{% - \hrule \@height\ftn@rule@height \@width\ftn@rule@width}}% - \kern 2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip \dimexpr\columnwidth-\ftn@rule@width\relax \leavevmode\leaders\hrule\@height\ftn@rule@height\hfill\kern\z@}}}% + \kern 2.6\p@} \renewcommand*\maketitle[1][1]{% \if@titlepage \begin{titlepage} @@ -17808,12 +17759,10 @@ to\rtside{\box\bslice\hfil}} \hrule\@width.4\columnwidth \kern 2.6\p@} \renewcommand*\right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{% \kern-3\p@ \ifx\@textbottom\relax\else\vskip \z@ \@plus.05fil\fi - \hrule\@width.4\columnwidth - \kern 2.6\p@}\hfil\endR}} + \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill } + \kern2.6\p@} \renewcommand*{\raggeddictum}{\if@RTL\raggedright\else\raggedleft\fi} \renewcommand*{\raggeddictumtext}{\if@RTL\raggedleft\else\raggedright\fi} \renewcommand*{\raggeddictumauthor}{\if@RTL\raggedright\else\raggedleft\fi} |