summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def67
1 files changed, 65 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def
index 6f8e73b8f94..170abe5504c 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def
+++ b/Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \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
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\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%
@@ -90,6 +90,69 @@
\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
+}
+
\endinput
%%
%% End of file `beamerbasenavigation-xetex-bidi.def'.