diff options
Diffstat (limited to 'Master/texmf-dist/source/xelatex/bidi/bidi.dtx')
-rw-r--r-- | Master/texmf-dist/source/xelatex/bidi/bidi.dtx | 101 |
1 files changed, 85 insertions, 16 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx index 78d52f392bf..7f2e83194c8 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 -v35.0 +v35.1 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX, using XeTeX engine. @@ -44,7 +44,7 @@ mailing list whenever I have time. You can subscribe to the mailing list at <http://tug.org/mailman/listinfo/persiantex> -Current version release date: 2018/10/17 +Current version release date: 2018/11/11 ___________________ Vafa Khalighi @@ -242,7 +242,7 @@ by Vafa Khalighi. \documentclass{ltxdoc} \input{bidi-doc-preamble.ltx} \hypersetup{% - pdftitle={Source documentation for version 35.0 of the bidi + pdftitle={Source documentation for version 35.1 of the bidi package}% } \EnableCrossrefs @@ -261,7 +261,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 35.0}} +%\large Source documentation for \textcolor{blue!65!black}{version 35.1}} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} %\setcounter{page}{0} @@ -272,7 +272,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}} % %\Large -%Source documentation for \textcolor{blue!65!black}{version 35.0}} +%Source documentation for \textcolor{blue!65!black}{version 35.1}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -338,7 +338,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{49973} +%% \CheckSum{50046} %% \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 @@ -1951,8 +1951,8 @@ by Vafa Khalighi. % \section{File \texttt{bidi.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\bididate{2018/10/17} -\def\bidi@version{35.0} +\def\bididate{2018/11/11} +\def\bidi@version{35.1} \ProvidesPackage{bidi}[\bididate\space v\bidi@version\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -2037,7 +2037,7 @@ Bidirectional typesetting in plain TeX and LaTeX] } \newcommand*{\@bidi@pdfcustomproperties}{% This is the bidi package, Version \bidi@version, - Released October 17, 2018. + Released November 11, 2018. } \@RTLmainfalse \AtBeginDocument{% @@ -2279,9 +2279,9 @@ Bidirectional typesetting in plain TeX and LaTeX] %\fi % \section{File \texttt{bidi.tex}} % \begin{macrocode} -\def\bididate{2018/10/17} +\def\bididate{2018/11/11} \catcode`@=11 -\def\bidi@version{35.0} +\def\bidi@version{35.1} \let \protect \relax \newlinechar`\^^J \edef\@bidi@info{****************************************************^^J% @@ -2380,7 +2380,7 @@ Bidirectional typesetting in plain TeX and LaTeX] } \def\@bidi@pdfcustomproperties{% This is the bidi package, Version \bidi@version, - Released October 17, 2018. + Released November 11, 2018. } \def\bidi@pdfm@mark{% \special{pdf:% @@ -13117,7 +13117,7 @@ bidi implementation of tufte title] %\fi % \section{File \texttt{hyperref-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{hyperref-xetex-bidi.def}[2017/08/09 v1.0 bidi adaptations for hyperref package for XeTeX engine] +\ProvidesFile{hyperref-xetex-bidi.def}[2018/11/11 v1.1 bidi adaptations for hyperref package for XeTeX engine] \AtBeginDocument{% \def\contentsline#1#2#3#4{% \ifx\\#4\\% @@ -13661,8 +13661,8 @@ bidi implementation of tufte title] \let\LR\@firstofone \let\RLE\@firstofone \let\RL\@firstofone -\def\XeTeX{Xe\TeX} -\def\XeLaTeX{Xe\LaTeX} +\def\XeTeX{Xe\TeX}% +\def\XeLaTeX{Xe\LaTeX}% } \@ifpackageloaded{longtable}{% \begingroup @@ -13695,6 +13695,72 @@ bidi implementation of tufte title] }% \expandafter\x\LT@start\@nil }{} +\bidi@patchcmd\@TextField{% + \@pdfm@mark +}{% + \if@RTL + \hskip\Fld@width + \fi + \@pdfm@mark +}{}{} +\bidi@patchcmd\@TextField{% + \unhbox +}{% + \if@RTL + \hskip-\Fld@width + \fi + \unhbox +}{}{} +\bidi@patchcmd\@@Radio{% + \@pdfm@mark +}{% + \if@RTL + \hskip\Fld@width + \fi + \@pdfm@mark +}{}{} +\bidi@patchcmd\@@Radio{% + \unhcopy +}{% + \if@RTL + \hskip-\Fld@width + \fi + \unhcopy +}{}{} +\bidi@patchcmd\@Submit{% + \@pdfm@mark +}{% + \if@RTL + \null + \hskip\wd\pdfm@box + \fi + \@pdfm@mark +}{}{} +\bidi@patchcmd\@Submit{% + \unhbox +}{% + \if@RTL + \hskip-\wd\pdfm@box + \fi + \unhbox +}{}{} +\bidi@patchcmd\@Reset{% + \@pdfm@mark +}{% + \if@RTL + \null + \hskip\wd\pdfm@box + \fi + \@pdfm@mark +}{}{} +\bidi@patchcmd\@Reset{% + \unhbox +}{% + \if@RTL + \hskip-\wd\pdfm@box + \fi + \unhbox +}{}{} % \end{macrocode} % \iffalse %</hyperref-xetex-bidi.def> @@ -20026,7 +20092,7 @@ to\rtside{\box\bslice\hfil}} %\fi % \section{File \texttt{tcolorbox-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{tcolorbox-xetex-bidi.def}[2017/08/15 v0.1 bidi adaptations for tcolorbox package for XeTeX engine] +\ProvidesFile{tcolorbox-xetex-bidi.def}[2018/11/11 v0.2 bidi adaptations for tcolorbox package for XeTeX engine] \let\endtcb@lrbox=\endminipage \let\endtcb@savebox=\endtcb@lrbox @@ -20043,6 +20109,9 @@ to\rtside{\box\bslice\hfil}} }{% \bidi@mpfootnoterule% }{}{} +\bidi@apptocmd\tcb@@icolorbox{% + \@bidi@list@minipage@parboxfalse +}{}{} % \end{macrocode} % \iffalse %</tcolorbox-xetex-bidi.def> |