summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-21 23:36:20 +0000
committerKarl Berry <karl@freefriends.org>2018-02-21 23:36:20 +0000
commit0751111d87e02c33ba64bd34143fef372b644f1c (patch)
tree66a9a0dc72d3ecd1a0cb4fdd25396ebd785452d0 /Master/texmf-dist/source/xelatex/bidi/bidi.dtx
parent4ca2d9bb9645cacd99fd18f027b9075bf594f81a (diff)
bidi (21feb18)
git-svn-id: svn://tug.org/texlive/trunk@46708 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex/bidi/bidi.dtx')
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.dtx82
1 files changed, 68 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index 2f9d5cdb254..e31d9d76ddd 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
-v32.8
+v32.9
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -39,7 +39,7 @@ choose the appropriate label for your query (i.e. if you are reporting
any bugs, choose `Bug' label).
-Current version release date: 2018/02/18
+Current version release date: 2018/02/22
___________________
Vafa Khalighi
@@ -236,7 +236,7 @@ by Vafa Khalighi.
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 32.8 of the bidi
+ pdftitle={Source documentation for version 32.9 of the bidi
package}%
}
\EnableCrossrefs
@@ -255,7 +255,7 @@ by Vafa Khalighi.
% \GetFileInfo{\jobname.dtx}
% \title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\
%\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-%\large Source documentation for \textcolor{blue!65!black}{version 32.8}}
+%\large Source documentation for \textcolor{blue!65!black}{version 32.9}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -266,7 +266,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
%
%\Large
-%Source documentation for \textcolor{blue!65!black}{version 32.8}}
+%Source documentation for \textcolor{blue!65!black}{version 32.9}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -322,7 +322,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{49648}
+%% \CheckSum{49766}
%% \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
@@ -1945,8 +1945,8 @@ by Vafa Khalighi.
% \section{File \texttt{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2018/02/18}
-\def\bidi@version{32.8}
+\def\bididate{2018/02/22}
+\def\bidi@version{32.9}
\ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -2183,9 +2183,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
%\fi
% \section{File \texttt{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2018/02/18}
+\def\bididate{2018/02/22}
\catcode`@=11
-\def\bidi@version{32.8}
+\def\bidi@version{32.9}
\let \protect \relax
\newlinechar`\^^J
\edef\@bidi@info{****************************************************^^J%
@@ -2949,7 +2949,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
% \section{File \texttt{biditools.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biditools}[2018/02/18 v1.3 Programming tools for bidi package]
+\ProvidesPackage{biditools}[2018/02/22 v1.4 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%
@@ -3583,6 +3583,31 @@ ill-advised in the old versions of bidi package.%
\bidi@newrobustcmd*{\bidi@AtEndPreamble}{\bidi@gappto\bidi@endpreamblehook}
\newcommand*{\bidi@endpreamblehook}{}
+\bidi@newrobustcmd*{\bidi@BeforeOutputPageShipOut}{\bidi@gappto\bidi@beforeoutputpageshipouthook}
+\newcommand*{\bidi@beforeoutputpageshipouthook}{}
+
+\bidi@newrobustcmd*{\bidi@BeforeHeader}{\bidi@gappto\bidi@beforeheaderhook}
+\newcommand*{\bidi@beforeheaderhook}{}
+
+\bidi@newrobustcmd*{\bidi@BeforeOutputBoxOutputPage}{\bidi@gappto\bidi@beforeoutputboxoutputpagehook}
+\newcommand*{\bidi@beforeoutputboxoutputpagehook}{}
+
+\bidi@newrobustcmd*{\bidi@AfterOutputBoxOutputPage}{\bidi@gappto\bidi@afteroutputboxoutputpagehook}
+\newcommand*{\bidi@afteroutputboxoutputpagehook}{}
+
+\bidi@newrobustcmd*{\bidi@BeforeFooter}{\bidi@gappto\bidi@beforefooterhook}
+\newcommand*{\bidi@beforefooterhook}{}
+
+\bidi@newrobustcmd*{\bidi@AfterFooter}{\bidi@gappto\bidi@afterfooterhook}
+\newcommand*{\bidi@afterfooterhook}{}
+
+
+\bidi@newrobustcmd*{\bidi@AfterOutputPageShipOut}{\bidi@gappto\bidi@afteroutputpageshipouthook}
+\newcommand*{\bidi@afteroutputpageshipouthook}{}
+
+\bidi@newrobustcmd*{\bidi@AtEndOutputPage}{\bidi@gappto\bidi@atendoutputpagehook}
+\newcommand*{\bidi@atendoutputpagehook}{}
+
\bidi@preto\document{%
\endgroup
\let\bidi@AtEndPreamble\@firstofone
@@ -11648,7 +11673,7 @@ bidi implementation of tufte title]
%\fi
% \section{File \texttt{flowfram-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{flowfram-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for flowfram package for XeTeX engine]
+\ProvidesFile{flowfram-xetex-bidi.def}[2018/02/22 v0.3 bidi adaptations for flowfram package for XeTeX engine]
\def\@outputdblcol{%
\@nxtcol=\c@thisframe
\c@curpg=\c@page
@@ -11703,6 +11728,8 @@ bidi implementation of tufte title]
\@resetactivechars
\global\let\@@if@newlist\if@newlist
\global\@newlistfalse\@parboxrestore
+ \global\let\bidi@BeforeOutputPageShipOut\@firstofone
+ \bidi@beforeoutputpageshipouthook
\shipout\vbox{\set@typeset@protect
\aftergroup
\endgroup
@@ -11717,19 +11744,30 @@ bidi implementation of tufte title]
\lineskiplimit\z@
\vskip\topmargin\moveright\@themargin
\vbox{%
+ \global\let\bidi@BeforeHeader\@firstofone
+ \bidi@beforeheaderhook
\vskip\headheight
\vskip\headsep
+ \global\let\bidi@BeforeOutputBoxOutputPage\@firstofone
+ \bidi@beforeoutputboxoutputpagehook
\box\@outputbox
+ \global\let\bidi@AfterOutputBoxOutputPage\@firstofone
+ \bidi@afteroutputboxoutputpagehook
\ifvoid\@bidi@copyins@
\else
\vskip\skip\@bidi@copyins@
\unvbox\@bidi@copyins@
\fi
}}%
+ \global\let\bidi@AfterOutputPageShipOut\@firstofone
+ \bidi@afteroutputpageshipouthook
\global\let\if@newlist\@@if@newlist
\stepcounter{page}%
\setcounter{displayedframe}{0}%
- \let\firstmark\botmark}
+ \let\firstmark\botmark
+ \global\let\bidi@AtEndOutputPage\@firstofone
+ \bidi@atendoutputpagehook
+ }
\newcommand*\bidi@s@tfftextcol{\ifthenelse{\equal{\ff@txtcol}{}}{}{%
@@ -21472,7 +21510,7 @@ to\rtside{\box\bslice\hfil}}
%\fi
% \section{File \texttt{latex-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{latex-xetex-bidi.def}[2017/12/29 v1.3.2 bidi adaptations for `latex.ltx' for XeTeX engine]
+\ProvidesFile{latex-xetex-bidi.def}[2018/02/22 v1.3.3 bidi adaptations for `latex.ltx' for XeTeX engine]
\newcommand{\TeXXeTOn}{\TeXXeTstate=1 }
\newcommand{\TeXXeTOff}{\TeXXeTstate=0 }
\TeXXeTOn
@@ -22107,6 +22145,8 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\global\let\@@if@newlist\if@newlist
\global\@newlistfalse
\@parboxrestore
+ \global\let\bidi@BeforeOutputPageShipOut\@firstofone
+ \bidi@beforeoutputpageshipouthook
\shipout \vbox{%
\set@typeset@protect
\aftergroup \endgroup
@@ -22147,6 +22187,8 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\@begindvi
\vskip \topmargin
\moveright\@themargin \vbox {%
+ \global\let\bidi@BeforeHeader\@firstofone
+ \bidi@beforeheaderhook
\setbox\@tempboxa \vbox to\headheight{%
\vfil
\color@hbox
@@ -22157,23 +22199,35 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\dp\@tempboxa \z@
\box\@tempboxa
\vskip \headsep
+ \global\let\bidi@BeforeOutputBoxOutputPage\@firstofone
+ \bidi@beforeoutputboxoutputpagehook
\box\@outputbox
+ \global\let\bidi@AfterOutputBoxOutputPage\@firstofone
+ \bidi@afteroutputboxoutputpagehook
\ifvoid\@bidi@copyins@
\else
\vskip\skip\@bidi@copyins@
\unvbox\@bidi@copyins@
\fi
+ \global\let\bidi@BeforeFooter\@firstofone
+ \bidi@beforefooterhook
\baselineskip \footskip
\color@hbox
\normalcolor
\hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thefoot\if@RTLmain\endR\else\endL\fi}%
\color@endbox
+ \global\let\bidi@AfterFooter\@firstofone
+ \bidi@afterfooterhook
}%
}%
+ \global\let\bidi@AfterOutputPageShipOut\@firstofone
+ \bidi@afteroutputpageshipouthook
\global\let\if@newlist\@@if@newlist
\global \@colht \textheight
\stepcounter{page}%
\let\firstmark\botmark
+ \global\let\bidi@AtEndOutputPage\@firstofone
+ \bidi@atendoutputpagehook
}
\long\def\@makecaption#1#2{%
\vskip\abovecaptionskip