summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-06-27 20:20:20 +0000
committerKarl Berry <karl@freefriends.org>2022-06-27 20:20:20 +0000
commit6c98b862f04e0ca2623272b2c10eb82da11c9532 (patch)
tree6e50651e8429223995b9fe67033f3ccb1e4d86b4 /Master/texmf-dist/source/xelatex
parenta8a66eaffa6fc2d687bc9d188c621c8c8f6d8b66 (diff)
bidi (27jun22)
git-svn-id: svn://tug.org/texlive/trunk@63737 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx2
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi-doc-latex-basics.ltx8
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi-doc-plain-basics.ltx6
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx4
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx2
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.dtx498
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.ins3
7 files changed, 469 insertions, 54 deletions
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 855f62b2995..379a7d228a3 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.3, 2022/06/15
+* v38.4, 2022/06/27
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-latex-basics.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-latex-basics.ltx
index d796aab54de..09d98a40b19 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-latex-basics.ltx
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-latex-basics.ltx
@@ -102,7 +102,7 @@ There is also \texttt{extrafootnotefeatures} option that allows footnotes to be
\item With any of the commands in the first row, you can typeset LTR paragraphs.
\item With any of the commands in the second row, you can typeset RTL paragraphs.
\end{itemize}
-\begin{lstlisting}[morekeywords={newfontfamily,Parsifont}]
+\begin{lstlisting}
\documentclass{article}
\usepackage{bidi}
\begin{document}
@@ -221,7 +221,7 @@ Also please note that in \texttt{twocolumn} documents, the width of the \Lcs{foo
\Lcs{text}\Largb{\Larga{main}}
\end{BDef}
\Lcs{RTLcases} is defined in bidi for typesetting RTL cases. \Lcs{text} is defined in \textsf{amsmath} package, so this means that you need to load \textsf{amsmath} package too.
-\begin{lstlisting}[morekeywords={RTLcases,text}]
+\begin{lstlisting}
\documentclass{article}
\usepackage{amsmath}
\usepackage{bidi}
@@ -242,7 +242,7 @@ Also please note that in \texttt{twocolumn} documents, the width of the \Lcs{foo
\Lcs{SepMark}\Largb{\Larga{mark}}\quad\Lcs{@SepMark}
\end{BDef}
Generally in Standard \LaTeX, dot is used for separation between section numbers, equation numbers any anything else which needs to be seperated. You can use \Lcs{SepMark} to use any other mark as the seperation mark instead a dot.
-\begin{lstlisting}[morekeywords={SepMark,subsection,subsubsection}]
+\begin{lstlisting}
\documentclass{article}
\usepackage{bidi}
\SepMark{-}
@@ -255,7 +255,7 @@ Generally in Standard \LaTeX, dot is used for separation between section numbers
If you decide to change the numbering of chapters, sections, subsections, equations, figures and \ldots, you should either load \textsf{amsmath} package and use \Lcs{numberwithin} macro to do this or do the ordinary way, but instead dot write \Lcs{@SepMark}. Using dot instead \Lcs{@SepMark} will certainly make trouble.
-\begin{lstlisting}[morekeywords={theequation,thesection,SepMark}]
+\begin{lstlisting}
\documentclass{article}
\usepackage{bidi}
\SepMark{-}
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-plain-basics.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-plain-basics.ltx
index b14374307a2..6b2d4194699 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-plain-basics.ltx
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-plain-basics.ltx
@@ -41,7 +41,7 @@ The bidirectional typesetting in \XeTeX{} is based on TeX-{-}XeT algorithm and \
\item With any of the commands in the first row, you can typeset LTR paragraphs.
\item With any of the commands in the second row, you can typeset RTL paragraphs.
\end{itemize}
-\begin{lstlisting}[morekeywords={newfontfamily,Parsifont}]
+\begin{lstlisting}
\input bidi
\setRTL%
Anyone who reads Old and Middle English literary texts will be
@@ -63,7 +63,7 @@ Anyone who reads Old and Middle English literary texts will be
\item With \texttt{LTR} environment, you can typeset LTR paragraphs.
\item With \texttt{RTL} environment, you can typeset RTL paragraphs.
\end{itemize}
-\begin{lstlisting}[morekeywords={RTL,endRTL,LTR,endLTR}]
+\begin{lstlisting}
\input bidi
\RTL
Anyone who reads Old and Middle English literary texts will be familiar
@@ -87,7 +87,7 @@ And we are still typesetting right to left.
\item With any of the commands in the first row, you can typeset short LTR text inside RTL paragraphs.
\item With any of the commands in the second row, you can typeset short RTL text inside LTR paragraphs.
\end{itemize}
-\begin{lstlisting}[morekeywords={RTL,endRTL,LTR,endLTR}]
+\begin{lstlisting}
\input bidi
\RTL
Anyone who reads Old and Middle English \LRE{Short left to right text} literary texts will be familiar
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 cd3c3998c92..0cbab0ad640 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.3}}
+\large User documentation for \textcolor{blue!65!black}{version 38.4}}
\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.3}}
+User documentation for \textcolor{blue!65!black}{version 38.4}}
\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 075b4e8f0b3..1bc2374333c 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.3 of the bidi
+ pdftitle={User documentation for version 38.4 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 efe01e23bf2..c6e8d6b6818 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.3
+v38.4
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/15
+Current version release date: 2022/06/27
___________________________________________
Vafa Khalighi
@@ -87,8 +87,11 @@ by Vafa Khalighi.
\generate{\file{beamerbaseauxtemplates-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaseauxtemplates-xetex-bidi.def}}}
\generate{\file{beamerbaseboxes-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaseboxes-xetex-bidi.def}}}
\generate{\file{beamerbasecolor-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbasecolor-xetex-bidi.def}}}
+\generate{\file{beamerbasecompatibility-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbasecompatibility-xetex-bidi.def}}}
\generate{\file{beamerbaseframecomponents-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaseframecomponents-xetex-bidi.def}}}
+\generate{\file{beamerbaseframesize-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaseframesize-xetex-bidi.def}}}
\generate{\file{beamerbaselocalstructure-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaselocalstructure-xetex-bidi.def}}}
+\generate{\file{beamerbasemisc-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbasemisc-xetex-bidi.def}}}
\generate{\file{beamerbasenavigation-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbasenavigation-xetex-bidi.def}}}
\generate{\file{beamerbaseoverlay-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaseoverlay-xetex-bidi.def}}}
\generate{\file{beamerinnerthemedefault-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerinnerthemedefault-xetex-bidi.def}}}
@@ -263,7 +266,7 @@ by Vafa Khalighi.
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 38.3 of the bidi
+ pdftitle={Source documentation for version 38.4 of the bidi
package}%
}
\EnableCrossrefs
@@ -282,7 +285,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.3}}
+%\large Source documentation for \textcolor{blue!65!black}{version 38.4}}
% \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 +295,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
%
%\Large
-%Source documentation for \textcolor{blue!65!black}{version 38.3}}
+%Source documentation for \textcolor{blue!65!black}{version 38.4}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -341,7 +344,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{54385}
+%% \CheckSum{55044}
%% \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
@@ -2411,6 +2414,17 @@ by Vafa Khalighi.
% \end{macrocode}
% \iffalse
%</beamerbasecolor-xetex-bidi.def>
+%<*beamerbasecompatibility-xetex-bidi.def>
+%\fi
+% \section{File \texttt{beamerbasecompatibility-xetex-bidi.def}}
+% \begin{macrocode}
+\ProvidesFile{beamerbasecompatibility-xetex-bidi.def}[2022/06/27 v0.1 bidi adaptations for beamerbasecompatibility package for XeTeX engine]
+\def\insertvrule#1#2{\hbox{{\color{#2}\hskip-\Gm@lmargin\vrule width \paperwidth height #1\hskip-\Gm@rmargin}}}
+
+
+% \end{macrocode}
+% \iffalse
+%</beamerbasecompatibility-xetex-bidi.def>
%<*beamerbaseframecomponents-xetex-bidi.def>
%\fi
% \section{File \texttt{beamerbaseframecomponents-xetex-bidi.def}}
@@ -2816,6 +2830,136 @@ by Vafa Khalighi.
% \end{macrocode}
% \iffalse
%</beamerbaseframecomponents-xetex-bidi.def>
+%<*beamerbaseframesize-xetex-bidi.def>
+%\fi
+% \section{File \texttt{beamerbaseframesize-xetex-bidi.def}}
+% \begin{macrocode}
+\ProvidesFile{beamerbaseframesize-xetex-bidi.def}[2022/06/27 v0.1 bidi adaptations for beamerbaseframesize package for XeTeX engine]
+\def\beamer@framezoom<#1><#2>[#3](#4,#5)(#6,#7){%
+ \par\nointerlineskip%
+ \global\beamer@slidehaszoomtrue%
+ \advance\beamer@zoomcount by1\relax%
+ \def\beamer@zoomborderwidth{0}%
+ \edef\beamer@labelzoomed{beamer@labelzoomed@\the\beamer@zoomframecount @\the\beamer@zoomcount}%
+ \setkeys{beamerzoom}{#3}%
+ \only<#1>{%
+ {\hypersetup{pdfhighlight={/P},pdfborder={0 0 \beamer@zoomborderwidth}}%
+ \global\setbox\@tempboxa=\vbox{\hyperlink{\beamer@labelzoomed}{%
+ \expandafter\ifx\csname XeTeXrevision\endcsname\relax
+ \vbox to #7{%
+ \hbox to#6{\hfil}%
+ \vfil%
+ }%
+ \else%
+ \begingroup%
+ \normalsize%
+ \begin{pgfpicture}{0pt}{0pt}{#6}{#7}%
+ \pgfsetfillopacity{0}
+ \pgftext[x=0cm,y=3pt]{.}
+ \pgftext[x=#6,y=\dimexpr#7-\baselineskip+3pt]{.}
+ \end{pgfpicture}%
+ \endgroup%
+ \fi%
+ }}}%
+ \ht\@tempboxa=0pt%
+ \wd\@tempboxa=0pt%
+ \dp\@tempboxa=0pt%
+ \setbox\@tempboxa=\vbox{\if@RTL\moveleft\else\moveright\fi#4\hbox{\lower#5\vbox{\box\@tempboxa}}}%
+ \ht\@tempboxa=0pt%
+ \wd\@tempboxa=0pt%
+ \dp\@tempboxa=0pt%
+ \global\setbox\beamer@zoombox=\vbox to0pt{\unvbox\beamer@zoombox\box\@tempboxa}%
+ }%
+ \only<#2>{%
+ \@ifundefined{\beamer@labelzoomed}%
+ {%
+ \hypertarget{\beamer@labelzoomed}{}%
+ \expandafter\gdef\csname\beamer@labelzoomed\endcsname{}%
+ }{}%
+ \gdef\beamer@zoomer{%
+ % compute zoom factor
+ \@tempdima=\beamer@frametextheight%
+ \@tempdimb=#7\relax%
+ \@tempcnta=\@tempdimb%
+ \divide\@tempcnta by4096\relax%
+ \multiply\@tempdima by16\relax%
+ \divide\@tempdima by\@tempcnta%
+ \@tempdimb=\paperwidth%
+ \ifbeamer@plainframe%
+ \else%
+ \advance\@tempdimb by-\beamer@leftsidebar%
+ \advance\@tempdimb by-\beamer@rightsidebar\relax%
+ \fi%
+ \@tempdimc=#6\relax%
+ \@tempcntb=\@tempdimc%
+ \divide\@tempcntb by4096\relax%
+ \multiply\@tempdimb by16\relax%
+ \divide\@tempdimb by\@tempcntb%
+ \ifdim\@tempdimb<\@tempdima%
+ \@tempdima=\@tempdimb%
+ \fi%
+ \edef\beamer@temp{\strip@pt\@tempdima}%
+ \@tempdimc=\beamer@frametextheight%
+ \advance\@tempdimc by4pt%
+ \@tempdimb=\paperwidth%
+ \ifbeamer@plainframe%
+ \else%
+ \advance\@tempdimb by-\beamer@leftsidebar%
+ \advance\@tempdimb by-\beamer@rightsidebar\relax%
+ \fi%
+ \setbox\@tempboxa=\vbox{\hsize=\@tempdimb\Acrobatmenu{GoBack}{\vbox to
+ \beamer@frametextheight{\hbox to\@tempdimb{\hfil}\vfil}}}%
+ \ht\@tempboxa=0pt%
+ \wd\@tempboxa=0pt%
+ \dp\@tempboxa=0pt%
+ \setbox\beamer@framebox=\vbox to\beamer@frametextheight{{%
+ \ifbeamer@plainframe\beamer@leftmargin=\Gm@lmargin\fi%
+ \if@RTL
+ \begin{pgfpicture}{\paperwidth-\beamer@leftmargin}{-\beamer@frametextheight}{\paperwidth-\beamer@leftmargin}{0pt}
+ \pgftext[right,top]{\box\@tempboxa}
+ \pgfpathrectangle{\pgfpoint{0pt}{-\@tempdimc}}{\pgfpoint{\@tempdimb}{\@tempdimc}}%
+ \pgfusepath{clip}
+ \begingroup
+ \pgftransformscale{\beamer@temp}
+ \@tempdima=#4\relax%
+ \@tempdimb=#5\relax%
+ {\pgftransformshift{\pgfpoint{\@tempdima+#6}{\@tempdimb}}%
+ \pgftext[right,top]{\vbox{\vbox{}\nointerlineskip\unvbox\beamer@framebox}}}
+ \endgroup
+ \end{pgfpicture}%
+ \else
+ \begin{pgfpicture}{\beamer@leftmargin}{-\beamer@frametextheight}{\beamer@leftmargin}{0pt}
+ \pgftext[left,top]{\box\@tempboxa}
+ \pgfpathrectangle{\pgfpoint{0pt}{-\@tempdimc}}{\pgfpoint{\@tempdimb}{\@tempdimc}}%
+ \pgfusepath{clip}
+ \begingroup
+ \pgftransformscale{\beamer@temp}
+ \@tempdima=#4\relax%
+ \@tempdimb=#5\relax%
+ {\pgftransformshift{\pgfpoint{-\@tempdima}{\@tempdimb}}%
+ \pgftext[left,top]{\vbox{\vbox{}\nointerlineskip\unvbox\beamer@framebox}}}
+ \endgroup
+ \end{pgfpicture}%
+ \fi
+ }}%
+ \setbox\beamer@framebox=\vbox{%
+ \nobreak\vbox{}\nobreak\par\nobreak\beamer@entrycode\nobreak%
+ \nointerlineskip\unvbox\beamer@frametitlebox%
+ \nobreak%
+ \box\beamer@framebox%
+ \nobreak%
+ \vss%
+ \beamer@exitcode%
+ }%
+ \global\setbox\beamer@footins=\box\voidb@x% no footnotes in zoomed slides
+ }%
+ }%
+}
+
+
+% \end{macrocode}
+% \iffalse
+%</beamerbaseframesize-xetex-bidi.def>
%<*beamerbaselocalstructure-xetex-bidi.def>
%\fi
% \section{File \texttt{beamerbaselocalstructure-xetex-bidi.def}}
@@ -2909,11 +3053,29 @@ by Vafa Khalighi.
% \end{macrocode}
% \iffalse
%</beamerbaselocalstructure-xetex-bidi.def>
+%<*beamerbasemisc-xetex-bidi.def>
+%\fi
+% \section{File \texttt{beamerbasemisc-xetex-bidi.def}}
+% \begin{macrocode}
+\ProvidesFile{beamerbasemisc-xetex-bidi.def}[2022/06/27 v0.1 bidi adaptations for beamerbasemisc package for XeTeX engine]
+\define@key{beamerst}{width}{%
+ \def\beamer@ststart{%
+ \begin{minipage}[t]{#1}%
+ \bidi@beamer@ragged
+ \beamer@stalign
+ \beamer@stlinebreakrule
+ }%
+ \def\beamer@stend{\end{minipage}}}
+
+
+% \end{macrocode}
+% \iffalse
+%</beamerbasemisc-xetex-bidi.def>
%<*beamerbasenavigation-xetex-bidi.def>
%\fi
% \section{File \texttt{beamerbasenavigation-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{beamerbasenavigation-xetex-bidi.def}[2022/06/09 v0.1 bidi adaptations for beamerbasenavigation package for XeTeX engine]
+\ProvidesFile{beamerbasenavigation-xetex-bidi.def}[2022/06/27 v0.2 bidi adaptations for beamerbasenavigation package for XeTeX engine]
\def\slideentry#1#2#3#4#5#6{%
%section number, subsection number, slide number, first/last frame, page number, part number
\ifnum#6=\c@part\ifnum#1>0\ifnum#3>0%
@@ -2965,6 +3127,70 @@ by Vafa Khalighi.
\fakeslideentry{#1}{#2}{#3}{#4}{#5}{#6}%
\fi\ignorespaces
}
+
+\pgfdefobject{bidi@beamer@RTL@gotosymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{5pt}{5pt}}
+{
+ \pgfpathqmoveto{3.5bp}{0.5bp}
+ \pgfpathqlineto{1.5bp}{2bp}
+ \pgfpathqlineto{3.5bp}{3.5bp}
+ \pgfusepathqfill
+}
+
+\def\insertgotosymbol{%
+\if@RTL
+ \begin{pgfpicture}{-1pt}{0pt}{4pt}{5pt}
+ \pgfuseobject{bidi@beamer@RTL@gotosymbol}%
+ \end{pgfpicture}%
+\else
+ \begin{pgfpicture}{1pt}{0pt}{6pt}{5pt}
+ \pgfuseobject{beamergotosymbol}%
+ \end{pgfpicture}%
+\fi
+}
+
+\pgfdefobject{bidi@beamer@RTL@skipsymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{7pt}{5pt}}
+{
+ \pgfpathqmoveto{5.5bp}{0.5bp}
+ \pgfpathqlineto{3.5bp}{2bp}
+ \pgfpathqlineto{5.5bp}{3.5bp}
+ \pgfpathqmoveto{3.5bp}{0.5bp}
+ \pgfpathqlineto{1.5bp}{2bp}
+ \pgfpathqlineto{3.5bp}{3.5bp}
+ \pgfusepathqfill
+}
+
+\def\insertskipsymbol{%
+\if@RTL
+ \begin{pgfpicture}{-1pt}{0pt}{6pt}{5pt}
+ \pgfuseobject{bidi@beamer@RTL@skipsymbol}%
+ \end{pgfpicture}%
+\else
+ \begin{pgfpicture}{1pt}{0pt}{8pt}{5pt}
+ \pgfuseobject{beamerskipsymbol}%
+ \end{pgfpicture}%
+\fi
+}
+
+\pgfdefobject{bidi@beamer@RTL@returnsymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{5pt}{5pt}}
+{
+ \pgfpathqmoveto{1.5bp}{0.5bp}
+ \pgfpathqlineto{3.5bp}{2bp}
+ \pgfpathqlineto{1.5bp}{3.5bp}
+ \pgfusepathqfill
+}
+
+\def\insertreturnsymbol{%
+\if@RTL
+ \begin{pgfpicture}{-1pt}{0pt}{4pt}{5pt}
+ \pgfuseobject{bidi@beamer@RTL@returnsymbol}%
+ \end{pgfpicture}%
+\else
+ \begin{pgfpicture}{1pt}{0pt}{6pt}{5pt}
+ \pgfuseobject{beamerreturnsymbol}%
+ \end{pgfpicture}%
+\fi
+}
+
% \end{macrocode}
% \iffalse
@@ -2984,7 +3210,7 @@ by Vafa Khalighi.
%\fi
% \section{File \texttt{beamerinnerthemedefault-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{beamerinnerthemedefault-xetex-bidi.def}[2022/06/10 v0.5 bidi adaptations for beamerinnerthemedefault package for XeTeX engine]
+\ProvidesFile{beamerinnerthemedefault-xetex-bidi.def}[2022/06/27 v0.6 bidi adaptations for beamerinnerthemedefault package for XeTeX engine]
\newcommand*{\bidi@beamer@leftskip}{%
\if@RTL
\rightskip
@@ -3124,6 +3350,65 @@ by Vafa Khalighi.
\defbeamertemplate*{abstract begin}{default}
{\beamercolorbox[vmode]{abstract}\bidi@beamer@leftskip2em\bidi@beamer@rightskip2em plus 1fill\usebeamerfont*{abstract}}
+\bidi@undef\beamer@@tmpop@button@default
+
+\defbeamertemplate*{button}{default}
+{%
+ \setbox\beamer@tempbox=\hbox{{\insertbuttontext}}%
+ \ht\beamer@tempbox=6pt%
+ \dp\beamer@tempbox=0pt%
+ \setbox\beamer@tempbox=\vbox{\box\beamer@tempbox\vskip2pt}%
+ \beamer@tempdim=\wd\beamer@tempbox%
+ \beamer@dima=\beamer@tempdim\advance\beamer@dima by2.2pt
+ \beamer@dimb=\beamer@tempdim\advance\beamer@dimb by4pt
+ \if@RTL
+ \kern4pt%
+ \box\beamer@tempbox%
+ \hskip-\beamer@tempdim%
+ \fi
+ \begin{pgfpicture}{-4pt}{0pt}{\the\beamer@tempdim}{8pt}
+ \color{bg}
+ \pgfsetlinewidth{0.8pt}
+ \pgfpathqmoveto{0pt}{0pt}
+ \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt}
+ \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt}
+ \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}}
+ \pgfpathcurveto%
+ {\pgfpoint{\the\beamer@dima}{8pt}}%
+ {\pgfpoint{\the\beamer@dimb}{6.2pt}}%
+ {\pgfpoint{\the\beamer@dimb}{4pt}}
+ \pgfpathcurveto%
+ {\pgfpoint{\the\beamer@dimb}{1.8pt}}%
+ {\pgfpoint{\the\beamer@dima}{0pt}}%
+ {\pgfpoint{\the\beamer@tempdim}{0pt}}
+ \pgfpathclose
+ \pgfusepathqfill
+ \colorlet{bg}{parent.bg}
+ \usebeamercolor[fg]{button border}
+ \pgfpathqmoveto{0pt}{0pt}
+ \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt}
+ \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt}
+ \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}}
+ \pgfpathcurveto%
+ {\pgfpoint{\the\beamer@dima}{8pt}}%
+ {\pgfpoint{\the\beamer@dimb}{6.2pt}}%
+ {\pgfpoint{\the\beamer@dimb}{4pt}}
+ \pgfpathcurveto%
+ {\pgfpoint{\the\beamer@dimb}{1.8pt}}%
+ {\pgfpoint{\the\beamer@dima}{0pt}}%
+ {\pgfpoint{\the\beamer@tempdim}{0pt}}
+ \pgfpathclose
+ \pgfusepathqstroke
+ \end{pgfpicture}%
+ \if@RTL
+ \else
+ \hskip-\beamer@tempdim%
+ \box\beamer@tempbox%
+ \kern4pt%
+ \fi
+}
+
+
% \end{macrocode}
% \iffalse
%</beamerinnerthemedefault-xetex-bidi.def>
@@ -3472,7 +3757,7 @@ by Vafa Khalighi.
%\fi
% \section{File \texttt{beamerouterthemedefault-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{beamerouterthemedefault-xetex-bidi.def}[2022/06/07 v0.1 bidi adaptations for beamerouterthemedefault package for XeTeX engine]
+\ProvidesFile{beamerouterthemedefault-xetex-bidi.def}[2022/06/27 v0.2 bidi adaptations for beamerouterthemedefault package for XeTeX engine]
\def\beamer@fteleft{\if@RTLmain\vskip0.35cm\advance\leftskip by 1.7cm\advance\rightskip by1.7cm\else\fi}
\def\beamer@fteright{\if@RTLmain\else\vskip0.35cm\advance\leftskip by 1.7cm\advance\rightskip by1.7cm\fi}
@@ -3483,6 +3768,84 @@ by Vafa Khalighi.
\fi
}
+\bidi@csundef{beamer@@tmpop@note page@default}
+
+\newcommand*{\bidi@beamer@today}{%
+\the\year-\ifnum\month<10\relax0\fi\the\month-\ifnum\day<10\relax0\fi\the\day}
+
+\defbeamertemplate*{note page}{default}
+{%
+ {%
+ \scriptsize
+ \usebeamerfont{note title}\usebeamercolor[fg]{note title}%
+ \ifbeamercolorempty[bg]{note title}{}{%
+ \insertvrule{.25\paperheight}{note title.bg}%
+ \vskip-.25\paperheight%
+ \nointerlineskip%
+ }%
+ \vbox{
+ \hfill\insertslideintonotes{0.25}\hskip-\Gm@rmargin\hskip0pt%
+ \vskip-0.25\paperheight%
+ \nointerlineskip
+ \if@RTL
+ \begin{pgfpicture}{-\textwidth}{0cm}{-\textwidth}{0cm}
+ \begin{pgflowlevelscope}{\pgftransformrotate{-90}}
+ {\pgftransformshift{\pgfpoint{2cm}{0.2cm}}%
+ \pgftext[base,right]{\usebeamerfont{note date}\usebeamercolor[fg]{note date}\bidi@beamer@today}}
+ \end{pgflowlevelscope}
+ \end{pgfpicture}%
+ \else
+ \begin{pgfpicture}{0cm}{0cm}{0cm}{0cm}
+ \begin{pgflowlevelscope}{\pgftransformrotate{90}}
+ {\pgftransformshift{\pgfpoint{-2cm}{0.2cm}}%
+ \pgftext[base,left]{\usebeamerfont{note date}\usebeamercolor[fg]{note date}\bidi@beamer@today}}
+ \end{pgflowlevelscope}
+ \end{pgfpicture}%
+ \fi}
+ \nointerlineskip
+ \vbox to .25\paperheight{\vskip0.5em
+ \if@RTL
+ \moveright0.25\textwidth
+ \fi
+ \hbox{\insertshorttitle[width=0.75\textwidth]}%
+ \setbox\beamer@tempbox=\hbox{\insertsection}%
+
+\if@RTL
+ \moveright\dimexpr0.29\textwidth-14pt\relax
+\fi
+\hbox{\if@RTL\beginR\fi\ifdim\wd\beamer@tempbox>1pt{\hskip4pt\raise3pt\hbox{\vrule
+ width0.4pt height7pt\vrule width 9pt
+ height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{0.71\textwidth}\def\breakhere{}\insertsection\end{minipage}}\fi%
+ \if@RTL\endR\fi}%
+ \setbox\beamer@tempbox=\hbox{\insertsubsection}%
+
+\if@RTL
+ \moveright\dimexpr0.29\textwidth-27.4pt\relax
+\fi \hbox{\if@RTL\beginR\fi\ifdim\wd\beamer@tempbox>1pt{\hskip17.4pt\raise3pt\hbox{\vrule
+ width0.4pt height7pt\vrule width 9pt
+ height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{0.71\textwidth}\def\breakhere{}\insertsubsection\end{minipage}}\fi%
+ \if@RTL\endR\fi}%
+ \setbox\beamer@tempbox=\hbox{\insertshortframetitle}%
+
+\if@RTL
+ \moveright\dimexpr0.33\textwidth-40.8pt\relax
+\fi \hbox{\if@RTL\beginR\fi\ifdim\wd\beamer@tempbox>1pt{\hskip30.8pt\raise3pt\hbox{\vrule
+ width0.4pt height7pt\vrule width 9pt
+ height0.4pt}}\hskip1pt\hbox{\insertshortframetitle[width=0.67\textwidth]}\fi%
+ \if@RTL\endR\fi}%
+ \vfil}%
+ }%
+ \ifbeamercolorempty[bg]{note page}{}{%
+ \nointerlineskip%
+ \insertvrule{.75\paperheight}{note page.bg}%
+ \vskip-.75\paperheight%
+ }%
+ \vskip.25em
+ \nointerlineskip
+ \insertnote
+}
+
+
% \end{macrocode}
% \iffalse
@@ -4225,8 +4588,8 @@ by Vafa Khalighi.
% \section{File \texttt{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2022/06/15}
-\def\bidi@version{38.3}
+\def\bididate{2022/06/27}
+\def\bidi@version{38.4}
\ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -4314,7 +4677,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
}
\newcommand*{\@bidi@pdfcustomproperties}{%
This is the bidi package, Version \bidi@version,
- Released June 15, 2022.
+ Released June 27, 2022.
}
\newcommand*{\bidi@beamer@ragged}{}
\@RTLmainfalse
@@ -4558,9 +4921,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
%\fi
% \section{File \texttt{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2022/06/15}
+\def\bididate{2022/06/27}
\catcode`@=11
-\def\bidi@version{38.3}
+\def\bidi@version{38.4}
\let \protect \relax
\newlinechar`\^^J
\edef\@bidi@info{****************************************************^^J%
@@ -4662,7 +5025,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
}
\def\@bidi@pdfcustomproperties{%
This is the bidi package, Version \bidi@version,
- Released June 15, 2022.
+ Released June 27, 2022.
}
\def\bidi@pdfm@mark{%
\special{pdf:%
@@ -4758,37 +5121,83 @@ Bidirectional typesetting in plain TeX and LaTeX]
\RequirePackage{showexpl}
\definecolor{hellgelb}{rgb}{1,1,0.85}
\definecolor{colKeys}{rgb}{0,0,1}
+\definecolor{colCS}{rgb}{0,0,1}
\definecolor{colIdentifier}{rgb}{0,0,0}
\definecolor{colComments}{rgb}{1,0,0}
\definecolor{colString}{rgb}{0,0.5,0}
-\lstset{
- language=[LaTeX]TEX,
- float=hbp,
- basicstyle=\ttfamily\small,
- identifierstyle=\color{colIdentifier},
- keywordstyle=\color{colKeys},
- stringstyle=\color{colString},
- commentstyle=\color{colComments},
- backgroundcolor=\color{hellgelb},
- columns=flexible,
- tabsize=4,
- extendedchars=true,
- showspaces=false,
- showstringspaces=false,
- numbers=left,
- numbersep=0.9em,
- numberstyle=\tiny, %
- frame=single,
- captionpos=b,
- xleftmargin=1em,
- breaklines=true,
- breakautoindent=false,
- breakindent=0pt,
- escapeinside=**,
- pos=r,
+\lstset{%
+ language=TeX,%
+ float=hbp,%
+ basicstyle=\ttfamily\small,%
+ identifierstyle=\color{colIdentifier},%
+ keywordstyle=\color{colKeys},%
+ texcsstyle=*\color{colCS},%
+ stringstyle=\color{colString},%
+ commentstyle=\color{colComments},%
+ backgroundcolor=\color{hellgelb},%
+ columns=flexible,%
+ tabsize=4,%
+ extendedchars=true,%
+ showspaces=false,%
+ showstringspaces=false,%
+ numbers=left,%
+ numbersep=0.9em,%
+ numberstyle=\tiny,%
+ frame=single,%
+ captionpos=b,%
+ xleftmargin=1em,%
+ breaklines=true,%
+ breakautoindent=false,%
+ breakindent=0pt,%
+ escapeinside=**,%
+ pos=r,%
explpreset={%
- xleftmargin=1em,columns=flexible,language=[LaTeX]TEX},
- morekeywords={setLTR,setLR,setRTL,setRL,LRE,LR,RLE,RL,lr,bidiversion,bididate}
+ xleftmargin=1em,%
+ columns=flexible,%
+ language=TeX%
+ },%
+ moretexcs={%
+ bididate,%
+ bidiversion,%
+ deflatinfont,%
+ defpersianfont,%
+ ding,%
+ endLTR,%
+ endRTL,%
+ false,%
+ falsesymbol,%
+ junicode,%
+ lr,%
+ LR,%
+ LRE,%
+ LTR,%
+ maketitle,%
+ Nastaliq,%
+ newfontfamily,%
+ Parsifont,%
+ part,%
+ RL,%
+ RLE,%
+ RTL,%
+ RTLcases,%
+ SepMark,%
+ setLR,%
+ setLTR,%
+ setRL,%
+ setRTL,%
+ settextfont,%
+ subsection,%
+ subsubsection,%
+ tableofcontents,%
+ text,%
+ theequation,%
+ thesection,%
+ true,%
+ truesymbol,%
+ XePersian,%
+ xepersiandate,%
+ xepersianversion%
+ }%
}
\newcommand\HLON{%
\gdef\lst@alloverstyle##1{%
@@ -25120,7 +25529,7 @@ to\rtside{\box\bslice\hfil}}
%\fi
% \section{File \texttt{latex-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{latex-xetex-bidi.def}[2022/06/13 v1.4.7 bidi adaptations for `latex.ltx' for XeTeX engine]
+\ProvidesFile{latex-xetex-bidi.def}[2022/06/27 v1.4.8 bidi adaptations for `latex.ltx' for XeTeX engine]
\newcommand{\TeXXeTOn}{\TeXXeTstate\@ne}
\newcommand{\TeXXeTOff}{\TeXXeTstate\z@}
\TeXXeTOn
@@ -26076,8 +26485,11 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\@ifpackageloaded{beamerbaseauxtemplates}{\input{beamerbaseauxtemplates-xetex-bidi.def}}{}
\@ifpackageloaded{beamerbaseboxes}{\input{beamerbaseboxes-xetex-bidi.def}}{}
\@ifpackageloaded{beamerbasecolor}{\input{beamerbasecolor-xetex-bidi.def}}{}
+\@ifpackageloaded{beamerbasecompatibility}{\input{beamerbasecompatibility-xetex-bidi.def}}{}
\@ifpackageloaded{beamerbaseframecomponents}{\input{beamerbaseframecomponents-xetex-bidi.def}}{}
+\@ifpackageloaded{beamerbaseframesize}{\input{beamerbaseframesize-xetex-bidi.def}}{}
\@ifpackageloaded{beamerbaselocalstructure}{\input{beamerbaselocalstructure-xetex-bidi.def}}{}
+\@ifpackageloaded{beamerbasemisc}{\input{beamerbasemisc-xetex-bidi.def}}{}
\@ifpackageloaded{beamerbasenavigation}{\input{beamerbasenavigation-xetex-bidi.def}}{}
\@ifpackageloaded{beamerbaseoverlay}{\input{beamerbaseoverlay-xetex-bidi.def}}{}
\@ifpackageloaded{beamerinnerthemedefault}{\input{beamerinnerthemedefault-xetex-bidi.def}}{}
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.ins b/Master/texmf-dist/source/xelatex/bidi/bidi.ins
index 8efd21bcadc..88f3ec9a976 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi.ins
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi.ins
@@ -56,8 +56,11 @@
\generate{\file{beamerbaseauxtemplates-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaseauxtemplates-xetex-bidi.def}}}
\generate{\file{beamerbaseboxes-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaseboxes-xetex-bidi.def}}}
\generate{\file{beamerbasecolor-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbasecolor-xetex-bidi.def}}}
+\generate{\file{beamerbasecompatibility-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbasecompatibility-xetex-bidi.def}}}
\generate{\file{beamerbaseframecomponents-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaseframecomponents-xetex-bidi.def}}}
+\generate{\file{beamerbaseframesize-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaseframesize-xetex-bidi.def}}}
\generate{\file{beamerbaselocalstructure-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaselocalstructure-xetex-bidi.def}}}
+\generate{\file{beamerbasemisc-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbasemisc-xetex-bidi.def}}}
\generate{\file{beamerbasenavigation-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbasenavigation-xetex-bidi.def}}}
\generate{\file{beamerbaseoverlay-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerbaseoverlay-xetex-bidi.def}}}
\generate{\file{beamerinnerthemedefault-xetex-bidi.def}{\from{\jobname.dtx}{table,beamerinnerthemedefault-xetex-bidi.def}}}