From ad28836b367a58ff60ea945996802f23b79404eb Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 11 Jun 2022 20:06:37 +0000
Subject: bidi (11jun22)

git-svn-id: svn://tug.org/texlive/trunk@63548 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/xelatex/bidi/bidi.dtx | 41 +++++++++++++++++---------
 1 file changed, 27 insertions(+), 14 deletions(-)

(limited to 'Master/texmf-dist/source/xelatex/bidi/bidi.dtx')

diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index e422d53e7f5..2d3b5d24971 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
-v37.9
+v38.0
 
 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/10
+Current version release date: 2022/06/11
 
 ___________________________________________
 Vafa Khalighi
@@ -259,7 +259,7 @@ by Vafa Khalighi.
 \documentclass{ltxdoc}
 \input{bidi-doc-preamble.ltx}
 \hypersetup{%
-  pdftitle={Source documentation for version 37.9 of the bidi
+  pdftitle={Source documentation for version 38.0 of the bidi
                 package}%
 }
 \EnableCrossrefs
@@ -278,7 +278,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 37.9}}
+%\large Source documentation for \textcolor{blue!65!black}{version 38.0}}
 % \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}
@@ -288,7 +288,7 @@ by Vafa Khalighi.
 %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
 %
 %\Large
-%Source documentation for \textcolor{blue!65!black}{version 37.9}}
+%Source documentation for \textcolor{blue!65!black}{version 38.0}}
 %
 %\vskip 0pt plus 3fill
 %\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -337,7 +337,7 @@ by Vafa Khalighi.
 %\iffalse
 %<*table>
 %\fi
-%% \CheckSum{53802}
+%% \CheckSum{53812}
 %% \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
@@ -3513,7 +3513,20 @@ by Vafa Khalighi.
 %\fi
 % \section{File \texttt{beamerouterthemeshadow-xetex-bidi.def}}
 %    \begin{macrocode}
-\ProvidesFile{beamerouterthemeshadow-xetex-bidi.def}[2022/06/07 v0.2 bidi adaptations for beamerouterthemeshadow package for XeTeX engine]
+\ProvidesFile{beamerouterthemeshadow-xetex-bidi.def}[2022/06/11 v0.3 bidi adaptations for beamerouterthemeshadow package for XeTeX engine]
+\pgfdeclarehorizontalshading[frametitle.bg,frametitle right.bg]{bidi@beamer@RTL@frametitleshade}{\paperheight}{%
+  color(0pt)=(frametitle right.bg);
+  color(\paperwidth)=(frametitle.bg)
+}
+
+\newcommand*{\bidi@beamer@frametitleshade}{%
+  \if@RTLmain
+    \pgfuseshading{bidi@beamer@RTL@frametitleshade}%
+  \else
+    \pgfuseshading{beamer@frametitleshade}%
+  \fi
+}
+
 \bidi@csundef{beamer@@tmpop@frametitle@shadow theme}
 
 \defbeamertemplate*{frametitle}{shadow theme}
@@ -3551,7 +3564,7 @@ by Vafa Khalighi.
           \usebeamercolor{frametitle right}%
           \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\paperwidth}{\beamer@tempdim}}%
           \pgfusepath{clip}%
-          \pgftext[left,base]{\pgfuseshading{beamer@frametitleshade}}%
+          \pgftext[left,base]{\bidi@beamer@frametitleshade}%
         \end{pgfscope}
       \end{pgfpicture}
       \hskip-\paperwidth%
@@ -3872,8 +3885,8 @@ by Vafa Khalighi.
 % \section{File \texttt{bidi.sty}}
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\def\bididate{2022/06/10}
-\def\bidi@version{37.9}
+\def\bididate{2022/06/11}
+\def\bidi@version{38.0}
 \ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
 Bidirectional typesetting in plain TeX and LaTeX]
 \edef\@bidi@info{****************************************************^^J%
@@ -3961,7 +3974,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
 }
 \newcommand*{\@bidi@pdfcustomproperties}{%
   This is the bidi package, Version \bidi@version,
-  Released June 10, 2022. 
+  Released June 11, 2022. 
 }
 \newcommand*{\bidi@beamer@ragged}{}
 \@RTLmainfalse
@@ -4205,9 +4218,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
 %\fi
 % \section{File \texttt{bidi.tex}}
 %    \begin{macrocode}
-\def\bididate{2022/06/10}
+\def\bididate{2022/06/11}
 \catcode`@=11
-\def\bidi@version{37.9}
+\def\bidi@version{38.0}
 \let \protect \relax
 \newlinechar`\^^J
 \edef\@bidi@info{****************************************************^^J%
@@ -4309,7 +4322,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
 }
 \def\@bidi@pdfcustomproperties{%
   This is the bidi package, Version \bidi@version,
-  Released June 10, 2022. 
+  Released June 11, 2022. 
 }
 \def\bidi@pdfm@mark{%
   \special{pdf:%
-- 
cgit v1.2.3

