From a8b67ed6b0c729ae02fbb319aa71f52614e06e60 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 15 Jun 2022 20:12:08 +0000 Subject: bidi (15jun22) git-svn-id: svn://tug.org/texlive/trunk@63607 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/xelatex/bidi/bidi-doc-intro.ltx | 2 +- .../source/xelatex/bidi/bidi-doc-title.ltx | 4 +- Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx | 2 +- Master/texmf-dist/source/xelatex/bidi/bidi.dtx | 69 +++++++++++++++------- 4 files changed, 52 insertions(+), 25 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx index cd02720cccf..855f62b2995 100644 --- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx +++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx @@ -20,7 +20,7 @@ If you use \textsf{bidi} package to write any input \TeX\ document, and then run * Copyright (c) 2007--2022 Vafa Khalighi * Copyright (c) 2018--2020 bidi-tex GitHub Organization * -* v38.2, 2022/06/13 +* v38.3, 2022/06/15 * * License: LaTeX Project Public License, version * 1.3c or higher (your choice) diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx index a394e908fed..cd3c3998c92 100644 --- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx +++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx @@ -3,7 +3,7 @@ \begin{document} \title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\ \LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt] -\large User documentation for \textcolor{blue!65!black}{version 38.2}} +\large User documentation for \textcolor{blue!65!black}{version 38.3}} \author{Vafa Khalighi\thanks{Thanks to the bidi-tex GitHub organization consisted of David Carlisle and other members of the {\LaTeX} team to maintain the package in the period 2018--2020.}} \setcounter{page}{0} \thispagestyle{empty} @@ -13,7 +13,7 @@ \textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}} \Large -User documentation for \textcolor{blue!65!black}{version 38.2}} +User documentation for \textcolor{blue!65!black}{version 38.3}} \vskip 0pt plus 3fill \textit{\large to my Master, \textbf{Ferdowsi The Great}} diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx index 7d0f645539d..075b4e8f0b3 100644 --- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx +++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx @@ -1,7 +1,7 @@ \documentclass{ltxdoc} \input{bidi-doc-preamble.ltx} \hypersetup{% - pdftitle={User documentation for version 38.2 of the bidi + pdftitle={User documentation for version 38.3 of the bidi package}% } \begin{document} diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx index 7195bcf250d..efe01e23bf2 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 -v38.2 +v38.3 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX, using XeTeX engine. @@ -30,7 +30,7 @@ The announcements for the new releases of the package will also appear in the Discussions space under the Announcements category. -Current version release date: 2022/06/13 +Current version release date: 2022/06/15 ___________________________________________ Vafa Khalighi @@ -263,7 +263,7 @@ by Vafa Khalighi. \documentclass{ltxdoc} \input{bidi-doc-preamble.ltx} \hypersetup{% - pdftitle={Source documentation for version 38.2 of the bidi + pdftitle={Source documentation for version 38.3 of the bidi package}% } \EnableCrossrefs @@ -282,7 +282,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 38.2}} +%\large Source documentation for \textcolor{blue!65!black}{version 38.3}} % \author{Vafa Khalighi\thanks{Thanks to the bidi-tex GitHub organization consisted of David Carlisle and other members of the {\LaTeX} team to maintain the package in the period 2018--2020.}} %\setcounter{page}{0} %\thispagestyle{empty} @@ -292,7 +292,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}} % %\Large -%Source documentation for \textcolor{blue!65!black}{version 38.2}} +%Source documentation for \textcolor{blue!65!black}{version 38.3}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -341,7 +341,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{54318} +%% \CheckSum{54385} %% \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 @@ -4225,8 +4225,8 @@ by Vafa Khalighi. % \section{File \texttt{bidi.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\bididate{2022/06/13} -\def\bidi@version{38.2} +\def\bididate{2022/06/15} +\def\bidi@version{38.3} \ProvidesPackage{bidi}[\bididate\space v\bidi@version\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -4314,7 +4314,7 @@ Bidirectional typesetting in plain TeX and LaTeX] } \newcommand*{\@bidi@pdfcustomproperties}{% This is the bidi package, Version \bidi@version, - Released June 13, 2022. + Released June 15, 2022. } \newcommand*{\bidi@beamer@ragged}{} \@RTLmainfalse @@ -4558,9 +4558,9 @@ Bidirectional typesetting in plain TeX and LaTeX] %\fi % \section{File \texttt{bidi.tex}} % \begin{macrocode} -\def\bididate{2022/06/13} +\def\bididate{2022/06/15} \catcode`@=11 -\def\bidi@version{38.2} +\def\bidi@version{38.3} \let \protect \relax \newlinechar`\^^J \edef\@bidi@info{****************************************************^^J% @@ -4662,7 +4662,7 @@ Bidirectional typesetting in plain TeX and LaTeX] } \def\@bidi@pdfcustomproperties{% This is the bidi package, Version \bidi@version, - Released June 13, 2022. + Released June 15, 2022. } \def\bidi@pdfm@mark{% \special{pdf:% @@ -5423,7 +5423,7 @@ Bidirectional typesetting in plain TeX and LaTeX] % \section{File \texttt{biditools.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biditools}[2022/06/06 v2.2 Programming tools for bidi package] +\ProvidesPackage{biditools}[2022/06/15 v2.3 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% @@ -5531,6 +5531,29 @@ ill-advised in the old versions of bidi package.% \expandafter\@gobbletwo\string#3\endcsname {\let#2#3% \let#1#3}} +\def\noteqnewif#1#2{% + \count@\escapechar \escapechar\m@ne + \let#1\iffalse + \let#2\iffalse + \not@eq@if#1#2\iftrue\iffalse + \escapechar\count@} +\def\not@eq@if#1#2#3#4{% + \expandafter\def\csname\expandafter\@gobbletwo\string#1% + \expandafter\@gobbletwo\string#3\endcsname + {\let#1#3% + \let#2#4}% + \expandafter\def\csname\expandafter\@gobbletwo\string#1% + \expandafter\@gobbletwo\string#4\endcsname + {\let#1#4% + \let#2#3}% + \expandafter\def\csname\expandafter\@gobbletwo\string#2% + \expandafter\@gobbletwo\string#3\endcsname + {\let#2#3% + \let#1#4}% + \expandafter\def\csname\expandafter\@gobbletwo\string#2% + \expandafter\@gobbletwo\string#4\endcsname + {\let#2#4% + \let#1#3}} \newcommand*{\SetBoolean}[2]{% \lowercase{\def\@tempa{#2}}% \@ifundefined{@tempswa\@tempa}% @@ -23733,7 +23756,7 @@ to\rtside{\box\bslice\hfil}} %\fi % \section{File \texttt{tocbasic-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{tocbasic-xetex-bidi.def}[2022/05/27 v0.4 bidi adaptations for tocbasic package for XeTeX engine] +\ProvidesFile{tocbasic-xetex-bidi.def}[2022/06/15 v0.5 bidi adaptations for tocbasic package for XeTeX engine] \bidi@undef\scr@dte@def@l@undottedtocline \bidi@undef\scr@dte@undottedtocline@init \DeclareTOCEntryStyle{undottedtocline}[{% @@ -24495,13 +24518,17 @@ to\rtside{\box\bslice\hfil}} \scr@dte@tocline{#1}{##1}{##2}% } -\renewcommand*{\scr@tso@figure@pagenumberformat}[1]{% - {\normalfont\normalcolor #1}% - } - -\renewcommand*{\scr@tso@table@pagenumberformat}[1]{% - {\normalfont\normalcolor #1}% - } +\if@bidi@csdef{scr@tso@figure@pagenumberformat}{% + \renewcommand*{\scr@tso@figure@pagenumberformat}[1]{% + {\normalfont\normalcolor #1}% + }% +}{} + +\if@bidi@csdef{scr@tso@table@pagenumberformat}{% + \renewcommand*{\scr@tso@table@pagenumberformat}[1]{% + {\normalfont\normalcolor #1}% + }% +}{} % \end{macrocode} % \iffalse -- cgit v1.2.3