texlive[52284] Master/texmf-dist: beamer-rl (4oct19)
commits+karl at tug.org
commits+karl at tug.org
Fri Oct 4 22:49:12 CEST 2019
Revision: 52284
http://tug.org/svn/texlive?view=revision&revision=52284
Author: karl
Date: 2019-10-04 22:49:11 +0200 (Fri, 04 Oct 2019)
Log Message:
-----------
beamer-rl (4oct19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdf
trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex
trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdf
trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex
trunk/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt
Added Paths:
-----------
trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls
Removed Paths:
-------------
trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.sty
Modified: trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex 2019-10-04 20:48:54 UTC (rev 52283)
+++ trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex 2019-10-04 20:49:11 UTC (rev 52284)
@@ -1,7 +1,6 @@
-\documentclass{beamer}
+\documentclass[babel={layout=lists}]{beamer-rl}
\usepackage{hologo} % pdflatex, xelatex, lualatex logos
-\usepackage{beamer-rl}
\babelprovide[import=ar-DZ, main]{arabic}
\babelfont{sf}{Amiri}
@@ -45,7 +44,7 @@
\usecolortheme{spruce}
-\title{حزمة beamer-rl}
+\title{{\ttfamily beamer-rl} class}
\author{Salim Bou}
@@ -87,7 +86,7 @@
لأعماله بالحزمة
\verb|babel| وخصوصا الكتابة بالاتجاهين (\verb|bidi| writing)
-هذه الحزمة تعدل في بعض اوامر وتعليمات beamer لغرض انشاء عروض من اليمين إلى اليسار (العربية على سبيل المثال)، الحزمة تستدعي \verb|babel| مع الخيار
+هذه الفئة (class) تعدل في بعض اوامر وتعليمات beamer لغرض انشاء عروض من اليمين إلى اليسار (العربية على سبيل المثال)، الفئة تستدعي \verb|babel| مع الخيار
\verb|bidi=basic-r|
والمعالجة تتطلب استخدام
\hologo{LuaLaTeX}
@@ -94,16 +93,15 @@
\end{frame}
-\section{كيفية استعمال الحزمة}
+\section{كيفية استعمال الفئة}
\begin{frame}[fragile]
-\frametitle{كيفية استعمال الحزمة}
+\frametitle{كيفية استعمال الفئة}
\selectlanguage{nil}
\begin{verbatim}
-\documentclass{beamer}
-\usepackage{beamer-rl}
+\documentclass{beamer-rl}
\babelprovide[import=ar-DZ, main]{arabic}
\babelfont{sf}{Amiri}
@@ -174,6 +172,7 @@
\selectlanguage{nil}
+
\begin{itemize}
\item first item
\item second item
@@ -241,7 +240,22 @@
\begin{itemize}
\item
-الحزمة
+يمكن اضافة كل الخيارات التي تتيحها الفئة \verb:beamer: عند استدعاء الفئة \verb:beamer-rl:
+
+كما يمكن تمرير خيارات اضافية للحزمة
+ \verb:babel:
+ عند استدعاء الفئة \verb:beamer-rl: على الشكل:
+
+\medskip
+
+{\selectlanguage{nil}
+\verb:\documentclass[babel={<babel options>}]{beamer-rl}:
+}
+
+\medskip
+
+\item
+الفئة
\verb:beamer-rl: تقوم بتبادل لكل من التعليمتين \cs{blacktriangleright} و \cs{blacktriangleleft} في حالة نص من اليمين لليسار
\bigskip
@@ -275,3 +289,4 @@
\end{frame}
\end{document}
+ !
!
!
\ No newline at end of file
Modified: trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex 2019-10-04 20:48:54 UTC (rev 52283)
+++ trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex 2019-10-04 20:49:11 UTC (rev 52284)
@@ -1,7 +1,6 @@
-\documentclass{beamer}
+\documentclass[babel={layout=lists}]{beamer-rl}
\usepackage{hologo} % pdflatex, xelatex, lualatex logos
-\usepackage{beamer-rl}
\babelprovide[import=ar-DZ, main]{arabic}
\babelprovide[import,language=Default]{english}
\babelfont{sf}{Amiri}
@@ -43,8 +42,9 @@
%\mode<presentation>{\usetheme{Luebeck}}
%\mode<presentation>{\usetheme{Malmoe}}
%\mode<presentation>{\usetheme{Warsaw}}
+%\usetheme{Cuerna}\usecolortheme{default}
-\title{The beamer-rl package}
+\title{The beamer-rl class}
\author{Salim Bou}
@@ -73,6 +73,7 @@
\tableofcontents
\end{frame}
+
\section{Introduction}
\begin{frame}[fragile]
@@ -81,7 +82,7 @@
The \hologo{LuaTeX} team set solutions for these issues thanks to them and to \textit{Javier~Bezos} for his works on the package \verb|babel| and \verb|bidi| writing
-This package provides patchs of some beamer templates and commands
+This class provides patchs of some beamer templates and commands
for right to left presentation, this package call babel with \verb|bidi=basic-r| option and require lualatex engine
\end{frame}
@@ -94,8 +95,7 @@
\selectlanguage{nil}
\begin{verbatim}
-\documentclass{beamer}
-\usepackage{beamer-rl}
+\documentclass{beamer-rl}
\babelprovide[import=ar-DZ, main]{arabic}
\babelfont{sf}{Amiri}
@@ -235,9 +235,26 @@
\frametitle{Some notes}
\begin{itemize}
+
\item
-The \verb:beamer-rl: package swap the definition of \verb:\blacktriangleright: with \verb:\blacktriangleleft: in RTL context.
+All options provided by \verb:beamer: can be added with \verb:beamer-rl:
+
+Additional options can also be passed to package
+ \verb:babel:
+ with \verb:beamer-rl: like this
+
+\medskip
+
+{\selectlanguage{nil}
+\verb:\documentclass[babel={<babel options>}]{beamer-rl}:
+}
+
+\medskip
+
+\item
+The \verb:beamer-rl: class swap the definition of \verb:\blacktriangleright: with \verb:\blacktriangleleft: in RTL context
+
\bigskip
{\selectlanguage{nil}
Modified: trunk/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt 2019-10-04 20:48:54 UTC (rev 52283)
+++ trunk/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt 2019-10-04 20:49:11 UTC (rev 52284)
@@ -1,7 +1,7 @@
-The beamer-rl package
-v1.2
+The beamer-rl class
+v1.3
-This package provides patchs of some beamer templates and commands
+This class provides patchs of some beamer templates and commands
for right to left presentation, this package require babel with lualatex engine
If you want to report any bugs or typos and corrections in the
documentation then
@@ -9,7 +9,7 @@
<https://github.com/seloumi/beamer-rl/issues>
-Current version release date: 2019/04/03
+Current version release date: 2019/10/04
___________________
Salim Bou
Added: trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls (rev 0)
+++ trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls 2019-10-04 20:49:11 UTC (rev 52284)
@@ -0,0 +1,493 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{beamer-rl}
+[2019/10/04 v1.3 LaTeX class to patch beamer for right to left presentation with babel]
+
+\RequirePackage{kvoptions}
+\RequirePackage{kvsetkeys}
+
+\SetupKeyvalOptions{
+ family=beamer-rl,
+ prefix=beamer-rl@,
+ setkeys=\kvsetkeys,
+}
+
+% babel options:
+\define at key{beamer-rl}{babel}{%
+ \PassOptionsToPackage{#1}{babel}%
+}
+
+\DeclareDefaultOption{%
+ \PassOptionsToClass{\CurrentOption}{beamer}%
+}
+
+\ProcessKeyvalOptions*\relax
+
+\RequirePackage{ifluatex}
+
+\ifluatex
+\else
+\ClassError{beamer-rl}{beamer-rl require luatex}
+\fi
+
+\LoadClass[hyperref={unicode}]{beamer}
+
+\RequirePackage[nil,bidi=basic-r]{babel}
+
+\def\reset at temp#1#2{\expandafter\let\csname beamer@@tmpop@#1@#2\endcsname\relax}
+\def\@@defbeamertemplate#1#2{\reset at temp{#1}{#2}\defbeamertemplate{#1}{#2}}
+\def\@defbeamertemplate#1#2{\reset at temp{#1}{#2}\defbeamertemplate*{#1}{#2}}
+
+\def\redefbeamertemplate{%
+ \@ifstar{\@defbeamertemplate}{\@@defbeamertemplate}%
+}
+
+\let\old at blacktriangleright\blacktriangleright
+\let\old at blacktriangleleft\blacktriangleleft
+
+\def\blacktriangleright{%
+ \ifcase\bbl at thepardir \old at blacktriangleright\else\old at blacktriangleleft\fi}
+\def\blacktriangleleft{%
+ \ifcase\bbl at thepardir \old at blacktriangleleft\else\old at blacktriangleright\fi}
+
+
+\let\oldpgfpicture\pgfpicture
+\let\oldendpgfpicture\endpgfpicture
+
+\def\pgfpicture{\babelsublr\bgroup\oldpgfpicture}
+\def\endpgfpicture{\oldendpgfpicture\egroup}
+
+\let\oldpgfuseshading\pgfuseshading
+\def\pgfuseshading#1{\babelsublr{\oldpgfuseshading{#1}}}
+
+
+%% beamerbasebox
+
+\newdimen\bmb at dimc
+
+\renewcommand\beamerboxesrounded[2][]{%
+ \global\let\beamer at firstlineitemizeunskip=\relax%
+ \vbox\bgroup%
+ \setkeys{beamerboxes}{upper=block title,lower=block body,width=\textwidth,shadow=false}%
+ \setkeys{beamerboxes}{#1}%
+ {%
+ \usebeamercolor{\bmb at lower}%
+ \globalcolorstrue%
+ \colorlet{lower.bg}{bg}%
+ }%
+ {%
+ \usebeamercolor{\bmb at upper}%
+ \globalcolorstrue%
+ \colorlet{upper.bg}{bg}%
+ }%
+ %
+ % Typeset head
+ %
+ \vskip4bp
+ \setbox\bmb at box=\hbox{%
+ \begin{minipage}[b]{\bmb at width}%
+ \usebeamercolor[fg]{\bmb at upper}%
+ #2%
+ \end{minipage}}%
+ \ifdim\wd\bmb at box=0pt%
+ \setbox\bmb at box=\hbox{}%
+ \ht\bmb at box=1.5pt%
+ \bmb at prevheight=-4.5pt%
+ \else%
+ \wd\bmb at box=\bmb at width%
+ \bmb at temp=\dp\bmb at box%
+ \ifdim\bmb at temp<1.5pt%
+ \bmb at temp=1.5pt%
+ \fi%
+ \setbox\bmb at box=\hbox{\raise\bmb at temp\hbox{\box\bmb at box}}%
+ \dp\bmb at box=0pt%
+ \bmb at prevheight=\ht\bmb at box%
+ \fi%
+ \bmb at temp=\bmb at width%
+ \bmb at dima=\bmb at temp\advance\bmb at dima by2.2bp%
+ \bmb at dimb=\bmb at temp\advance\bmb at dimb by4bp%
+ \bmb at dimc=0pt%
+ \ifdim\wd\bmb at box=0pt
+ \bmb at dimc=\bmb at width%
+ \fi
+ \hbox{%
+ \textdir TLT\begin{pgfpicture}{0bp}{+-\ht\bmb at box}{\bmb at dimc}{+-\ht\bmb at box}
+ \ifdim\wd\bmb at box=0pt%
+ \color{lower.bg}%
+ \else%
+ \color{upper.bg}%
+ \fi%
+ \pgfpathqmoveto{-4bp}{-1bp}
+ \pgfpathqcurveto{-4bp}{1.2bp}{-2.2bp}{3bp}{0bp}{3bp}
+ \pgfpathlineto{\pgfpoint{\bmb at temp}{3bp}}
+ \pgfpathcurveto%
+ {\pgfpoint{\bmb at dima}{3bp}}%
+ {\pgfpoint{\bmb at dimb}{1.2bp}}%
+ {\pgfpoint{\bmb at dimb}{-1bp}}%
+ \bmb at dima=-\ht\bmb at box%
+ \advance\bmb at dima by-2pt%
+ \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+ \pgfpathlineto{\pgfpoint{-4bp}{\bmb at dima}}
+ \pgfusepath{fill}
+ \end{pgfpicture}%
+ \copy\bmb at box%
+ }%
+ \nointerlineskip%
+ \vskip-1pt%
+ \ifdim\wd\bmb at box=0pt%
+ \else%
+ \hbox{%
+ \begin{pgfpicture}{0pt}{0pt}{\bmb at width}{6pt}
+ \bmb at dima=\bmb at width%
+ \advance\bmb at dima by8bp%
+ \pgfpathrectangle{\pgfpoint{-4bp}{-1bp}}{\pgfpoint{\bmb at dima}{8bp}}
+ \pgfusepath{clip}
+ {\pgftransformshift{\pgfpoint{-4bp}{0bp}}\pgftext[left,base]{\pgfuseshading{bmb at transition}}}%
+ \end{pgfpicture}%
+ }%
+ \nointerlineskip%
+ \vskip-0.5pt%
+ \fi%
+ \ifbmb at shadow%
+ \setbox\bmb at boxshadow=\hbox{\pgfuseshading{bmb at shadow}}%
+ \setbox\bmb at boxshadowball=\hbox{\pgfuseshading{bmb at shadowball}}%
+ \setbox\bmb at boxshadowballlarge=\hbox{\pgfuseshading{bmb at shadowballlarge}}%
+ \fi%
+ \setbox\bmb at colorbox=\hbox{{\pgfpicturetrue\pgfsetcolor{lower.bg}}}%
+ \setbox\bmb at box=\hbox\bgroup\begin{minipage}[b]{\bmb at width}%
+ \vskip2pt%
+ \usebeamercolor[fg]{\bmb at lower}%
+ \colorlet{beamerstructure}{upper.bg}%
+ \colorlet{structure}{upper.bg}%
+ %\color{.}%
+ }
+
+ \def\endbeamerboxesrounded{%
+ \end{minipage}\egroup%
+ \wd\bmb at box=\bmb at width%
+ \bmb at temp=\dp\bmb at box%
+ \advance\bmb at temp by.5pt%
+ \setbox\bmb at box=\hbox{\raise\bmb at temp\hbox{\box\bmb at box}}%
+ \dp\bmb at box=0pt%
+ \bmb at temp=\wd\bmb at box%
+ \bmb at dima=\bmb at temp\advance\bmb at dima by2.2bp%
+ \bmb at dimb=\bmb at temp\advance\bmb at dimb by4bp%
+ \hbox{%
+ \textdir TLT\begin{pgfpicture}{0bp}{0bp}{0bp}{0bp}
+ \ifbmb at shadow%
+ {\pgftransformshift{\pgfpoint{4bp}{-3bp}}\pgftext{\copy\bmb at boxshadowball}}
+ \begin{pgfscope}
+ {%
+ \advance\bmb at temp by-1bp%
+ \pgfpathrectangle{\pgfpoint{\bmb at temp}{-7bp}}{\pgfpoint{9bp}{9bp}}%
+ \pgfusepath{clip}
+ }%
+ {\pgftransformshift{\pgfpoint{\bmb at temp}{1bp}}\pgftext{\box\bmb at boxshadowballlarge}}
+ \end{pgfscope}
+ \begin{pgfscope}
+ \advance\bmb at temp by-4bp%
+ \pgfpathrectangle{\pgfpoint{4bp}{-7bp}}{\pgfpoint{\bmb at temp}{5bp}}
+ \pgfusepath{clip}
+ {\pgftransformshift{\pgfpoint{4bp}{-7bp}}\pgftext[left,base]{\copy\bmb at boxshadow}}%
+ \end{pgfscope}
+ \begin{pgfscope}
+ \advance\bmb at temp by 4bp%
+ \bmb at dima=\ht\bmb at box%
+ \advance\bmb at dima by\bmb at prevheight%
+ \advance\bmb at dima by 4bp%
+ \pgfpathrectangle{\pgfpoint{\bmb at temp}{1bp}}{\pgfpoint{4bp}{\bmb at dima}}
+ \pgfusepath{clip}
+ \advance\bmb at dima by-4bp%
+ {\pgftransformshift{\pgfpoint{\bmb at temp}{\bmb at dima}}\pgftext{\box\bmb at boxshadowball}}
+ \advance\bmb at dima by-1bp%
+ \pgfpathrectangle{\pgfpoint{\bmb at temp}{1bp}}{\pgfpoint{4bp}{\bmb at dima}}
+ \pgfusepath{clip}
+ \advance\bmb at temp by4bp%
+ {\pgftransformshift{\pgfpoint{\bmb at temp}{-3bp}}%
+ \pgftransformrotate{90}%
+ \pgftext[left,base]{\box\bmb at boxshadow}}%
+ \end{pgfscope}
+ \fi%
+ \unhbox\bmb at colorbox%
+ \pgfpathqmoveto{-4bp}{1bp}
+ \pgfpathqcurveto{-4bp}{-1.2bp}{-2.2bp}{-3bp}{0bp}{-3bp}
+ \pgfpathlineto{\pgfpoint{\the\bmb at temp}{-3bp}}
+ \pgfpathcurveto%
+ {\pgfpoint{\the\bmb at dima}{-3bp}}%
+ {\pgfpoint{\the\bmb at dimb}{-1.2bp}}%
+ {\pgfpoint{\the\bmb at dimb}{1bp}}%
+ {
+ \bmb at dima=\ht\bmb at box%
+ \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+ \pgfpathlineto{\pgfpoint{-4bp}{\bmb at dima}}
+ \pgfusepath{fill}
+ }
+ \ifbmb at shadow%
+ {
+ \color{black!50!bg}
+ \pgfsetlinewidth{0pt}
+ \pgfpathmoveto{\pgfpoint{\bmb at dimb}{-.5bp}}
+ \bmb at dima=\ht\bmb at box%
+ \advance\bmb at dima by\bmb at prevheight%
+ \advance\bmb at dima by 1bp%
+ \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+ \pgfusepath{stroke}
+ \bmb at temp=\bmb at dima
+ \advance\bmb at dima by 1bp%
+ \color{black!31!bg}
+ \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
+ \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+ \pgfusepath{stroke}
+ \advance\bmb at dima by 1bp%
+ \advance\bmb at temp by 1bp%
+ \color{black!19!bg}
+ \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
+ \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+ \pgfusepath{stroke}
+ \advance\bmb at dima by 1bp%
+ \advance\bmb at temp by 1bp%
+ \color{black!6!bg}
+ \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
+ \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+ \pgfusepath{stroke}
+ \advance\bmb at dima by 1.5bp%
+ \advance\bmb at temp by 1bp%
+ \color{bg}
+ \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
+ \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+ \pgfusepath{stroke}
+ }
+ \fi
+ \end{pgfpicture}%
+ \box\bmb at box%
+ }%
+ \ifbmb at shadow%
+ \vskip4bp minus 2bp%
+ \else%
+ \vskip2bp%
+ \fi%
+ \egroup% of \vbox\bgroup
+}
+
+
+%% beamerbaseauxtemplates
+
+
+% (sub-)section in toc: subsections numbered
+
+\redefbeamertemplate{subsection in toc}{subsections numbered}
+{\leavevmode\leftskip=2em\rlap{\hskip-2em \inserttocsectionnumber\hbox{.}\inserttocsubsectionnumber}\inserttocsubsection\par}
+
+
+%% beamerinnerthemedefault
+
+\redefbeamertemplate*{button}{default}
+{%
+ \setbox\beamer at tempbox=\hbox{{\insertbuttontext}}%
+ \ht\beamer at tempbox=6pt%
+ \dp\beamer at tempbox=0pt%
+ \setbox\beamer at tempbox=\vbox{\box\beamer at tempbox\vskip2pt}%
+ \beamer at tempdim=\wd\beamer at tempbox%
+ \beamer at dima=\beamer at tempdim\advance\beamer at dima by2.2pt
+ \beamer at dimb=\beamer at tempdim\advance\beamer at dimb by4pt
+ \textdir TLT\begin{pgfpicture}{-4pt}{0pt}{\the\beamer at 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 at tempdim}{8pt}}
+ \pgfpathcurveto%
+ {\pgfpoint{\the\beamer at dima}{8pt}}%
+ {\pgfpoint{\the\beamer at dimb}{6.2pt}}%
+ {\pgfpoint{\the\beamer at dimb}{4pt}}
+ \pgfpathcurveto%
+ {\pgfpoint{\the\beamer at dimb}{1.8pt}}%
+ {\pgfpoint{\the\beamer at dima}{0pt}}%
+ {\pgfpoint{\the\beamer at 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 at tempdim}{8pt}}
+ \pgfpathcurveto%
+ {\pgfpoint{\the\beamer at dima}{8pt}}%
+ {\pgfpoint{\the\beamer at dimb}{6.2pt}}%
+ {\pgfpoint{\the\beamer at dimb}{4pt}}
+ \pgfpathcurveto%
+ {\pgfpoint{\the\beamer at dimb}{1.8pt}}%
+ {\pgfpoint{\the\beamer at dima}{0pt}}%
+ {\pgfpoint{\the\beamer at tempdim}{0pt}}
+ \pgfpathclose
+ \pgfusepathqstroke
+ \end{pgfpicture}%
+ \hskip-\beamer at tempdim%
+ \box\beamer at tempbox%
+ \kern4pt%
+}
+
+%% beamerbasenavigation
+
+% User Buttons
+
+\pgfdefobject{beamergotosymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{5pt}{5pt}}
+{
+ \pgfpathqmoveto{1.5bp}{0.5bp}
+ \pgfpathqlineto{3.5bp}{2bp}
+ \pgfpathqlineto{1.5bp}{3.5bp}
+ \pgfusepathqfill
+}
+
+\def\insertgotosymbol{%
+ \begin{pgfpicture}{1pt}{0pt}{6pt}{5pt}
+ \pgfuseobject{\ifcase\bbl at thepardir beamergotosymbol\else beamerreturnsymbol\fi}%
+\end{pgfpicture}}
+
+\pgfdefobject{beamerreturnsymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{5pt}{5pt}}
+{
+ \pgfpathqmoveto{3.5bp}{0.5bp}
+ \pgfpathqlineto{1.5bp}{2bp}
+ \pgfpathqlineto{3.5bp}{3.5bp}
+ \pgfusepathqfill
+}
+
+\def\insertreturnsymbol{%
+ \begin{pgfpicture}{1pt}{0pt}{6pt}{5pt}
+ \pgfuseobject{\ifcase\bbl at thepardir beamerreturnsymbol\else beamergotosymbol\fi}%
+\end{pgfpicture}}
+
+
+\pgfdefobject{beamerskipsymbolrl}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{7pt}{5pt}}
+{
+ \pgfpathqmoveto{3.5bp}{0.5bp}
+ \pgfpathqlineto{1.5bp}{2bp}
+ \pgfpathqlineto{3.5bp}{3.5bp}
+ \pgfpathqmoveto{5.5bp}{0.5bp}
+ \pgfpathqlineto{3.5bp}{2bp}
+ \pgfpathqlineto{5.5bp}{3.5bp}
+ \pgfusepathqfill
+}
+
+\pgfdefobject{beamerskipsymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{7pt}{5pt}}
+{
+ \pgfpathqmoveto{1.5bp}{0.5bp}
+ \pgfpathqlineto{3.5bp}{2bp}
+ \pgfpathqlineto{1.5bp}{3.5bp}
+ \pgfpathqmoveto{3.5bp}{0.5bp}
+ \pgfpathqlineto{5.5bp}{2bp}
+ \pgfpathqlineto{3.5bp}{3.5bp}
+ \pgfusepathqfill
+}
+
+\def\insertskipsymbol{%
+ \begin{pgfpicture}{-1pt}{0pt}{6pt}{5pt}
+ \pgfuseobject{\ifcase\bbl at thepardir beamerskipsymbol\else beamerskipsymbolrl\fi}%
+\end{pgfpicture}}
+
+\def\beamergotobutton#1{\beamerbutton{\insertgotosymbol\ #1}}
+\def\beamerreturnbutton#1{\beamerbutton{\insertreturnsymbol\ #1}}
+\def\beamerskipbutton#1{\beamerbutton{\insertskipsymbol\ #1}}
+
+%% beamerbaseframesize
+
+%
+% Zoom stuff
+%
+
+\def\beamer at framezoom<#1><#2>[#3](#4,#5)(#6,#7){%
+ \par\nointerlineskip%
+ \global\beamer at slidehaszoomtrue%
+ \advance\beamer at zoomcount by1\relax%
+ \def\beamer at zoomborderwidth{0}%
+ \edef\beamer at labelzoomed{beamer at labelzoomed@\the\beamer at zoomframecount @\the\beamer at zoomcount}%
+ \setkeys{beamerzoom}{#3}%
+ \only<#1>{%
+ {\hypersetup{pdfhighlight={/P},pdfborder={0 0 \beamer at zoomborderwidth}}%
+ \global\setbox\@tempboxa=\vbox{\hyperlink{\beamer at labelzoomed}{\vbox to #7{\hbox
+ to#6{\hfil}\vfil}}}}%
+ \ht\@tempboxa=0pt%
+ \wd\@tempboxa=0pt%
+ \dp\@tempboxa=0pt%
+ \setbox\@tempboxa=\vbox{\moveright#4\hbox{\lower#5\vbox{\box\@tempboxa}}}%
+ \ht\@tempboxa=0pt%
+ \wd\@tempboxa=0pt%
+ \dp\@tempboxa=0pt%
+ \global\setbox\beamer at zoombox=\vbox to0pt{\unvbox\beamer at zoombox\box\@tempboxa}%
+ }%
+ \only<#2>{%
+ \pardir TLT%
+ \@ifundefined{\beamer at labelzoomed}%
+ {%
+ \hypertarget{\beamer at labelzoomed}{}%
+ \expandafter\gdef\csname\beamer at labelzoomed\endcsname{}%
+ }{}%
+ \gdef\beamer at zoomer{%
+ % compute zoom factor
+ \@tempdima=\beamer at frametextheight%
+ \@tempdimb=#7\relax%
+ \@tempcnta=\@tempdimb%
+ \divide\@tempcnta by4096\relax%
+ \multiply\@tempdima by16\relax%
+ \divide\@tempdima by\@tempcnta%
+ \@tempdimb=\paperwidth%
+ \ifbeamer at plainframe%
+ \else%
+ \advance\@tempdimb by-\beamer at leftsidebar%
+ \advance\@tempdimb by-\beamer at 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 at temp{\strip at pt\@tempdima}%
+ \@tempdimc=\beamer at frametextheight%
+ \advance\@tempdimc by4pt%
+ \@tempdimb=\paperwidth%
+ \ifbeamer at plainframe%
+ \else%
+ \advance\@tempdimb by-\beamer at leftsidebar%
+ \advance\@tempdimb by-\beamer at rightsidebar\relax%
+ \fi%
+ \setbox\@tempboxa=\vbox{\hsize=\@tempdimb\Acrobatmenu{GoBack}{\vbox to
+ \beamer at frametextheight{\hbox to\@tempdimb{\hfil}\vfil}}}%
+ \ht\@tempboxa=0pt%
+ \wd\@tempboxa=0pt%
+ \dp\@tempboxa=0pt%
+ \setbox\beamer at framebox=\vbox to\beamer at frametextheight{{%
+ \ifbeamer at plainframe\beamer at leftmargin=\Gm at lmargin\fi%
+ \pardir TLT%
+ \begin{pgfpicture}{\beamer at leftmargin}{-\beamer at frametextheight}{\beamer at leftmargin}{0pt}
+ \pgftext[left,top]{\box\@tempboxa}
+ \pgfpathrectangle{\pgfpoint{0pt}{-\@tempdimc}}{\pgfpoint{\@tempdimb}{\@tempdimc}}%
+ \pgfusepath{clip}
+ \begingroup
+ \pgftransformscale{\beamer at temp}
+ \@tempdima=#4\relax%
+ \@tempdimb=#5\relax%
+ {\pgftransformshift{\pgfpoint{-\@tempdima}{\@tempdimb}}%
+ \pgftext[left,top]{\vbox{\vbox{}\nointerlineskip\unvbox\beamer at framebox}}}
+ \endgroup
+ \end{pgfpicture}%
+ }}%
+
+ \setbox\beamer at framebox=\vbox{%
+ \nobreak\vbox{}\nobreak\par\nobreak\beamer at entrycode\nobreak%
+ \nointerlineskip\unvbox\beamer at frametitlebox%
+ \nobreak%
+ \box\beamer at framebox %
+ \nobreak%
+ \vss%
+ \beamer at exitcode%
+ }%
+ \global\setbox\beamer at footins=\box\voidb at x% no footnotes in zoomed slides
+ }%
+ }%
+}
+
+\endinput
Property changes on: trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.sty 2019-10-04 20:48:54 UTC (rev 52283)
+++ trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.sty 2019-10-04 20:49:11 UTC (rev 52284)
@@ -1,467 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamer-rl}
-[2019/04/03 v1.2 LaTeX package to patch beamer for right to left presentation]
-
-\RequirePackage[nil,bidi=basic-r,layout=counters.lists.tabular]{babel}
-
-\def\reset at temp#1#2{\expandafter\let\csname beamer@@tmpop@#1@#2\endcsname\relax}
-\def\@@defbeamertemplate#1#2{\reset at temp{#1}{#2}\defbeamertemplate{#1}{#2}}
-\def\@defbeamertemplate#1#2{\reset at temp{#1}{#2}\defbeamertemplate*{#1}{#2}}
-
-\def\redefbeamertemplate{%
- \@ifstar{\@defbeamertemplate}{\@@defbeamertemplate}%
-}
-
-\let\old at blacktriangleright\blacktriangleright
-\let\old at blacktriangleleft\blacktriangleleft
-
-\def\blacktriangleright{%
- \ifcase\bbl at thepardir \old at blacktriangleright\else\old at blacktriangleleft\fi}
-\def\blacktriangleleft{%
- \ifcase\bbl at thepardir \old at blacktriangleleft\else\old at blacktriangleright\fi}
-
-
-\let\oldpgfpicture\pgfpicture
-\let\oldendpgfpicture\endpgfpicture
-
-\def\pgfpicture{\babelsublr\bgroup\oldpgfpicture}
-\def\endpgfpicture{\oldendpgfpicture\egroup}
-
-\let\oldpgfuseshading\pgfuseshading
-\def\pgfuseshading#1{\babelsublr{\oldpgfuseshading{#1}}}
-
-\hypersetup{unicode}
-
-
-%% beamerbasebox
-
-\newdimen\bmb at dimc
-
-\renewcommand\beamerboxesrounded[2][]{%
- \global\let\beamer at firstlineitemizeunskip=\relax%
- \vbox\bgroup%
- \setkeys{beamerboxes}{upper=block title,lower=block body,width=\textwidth,shadow=false}%
- \setkeys{beamerboxes}{#1}%
- {%
- \usebeamercolor{\bmb at lower}%
- \globalcolorstrue%
- \colorlet{lower.bg}{bg}%
- }%
- {%
- \usebeamercolor{\bmb at upper}%
- \globalcolorstrue%
- \colorlet{upper.bg}{bg}%
- }%
- %
- % Typeset head
- %
- \vskip4bp
- \setbox\bmb at box=\hbox{%
- \begin{minipage}[b]{\bmb at width}%
- \usebeamercolor[fg]{\bmb at upper}%
- #2%
- \end{minipage}}%
- \ifdim\wd\bmb at box=0pt%
- \setbox\bmb at box=\hbox{}%
- \ht\bmb at box=1.5pt%
- \bmb at prevheight=-4.5pt%
- \else%
- \wd\bmb at box=\bmb at width%
- \bmb at temp=\dp\bmb at box%
- \ifdim\bmb at temp<1.5pt%
- \bmb at temp=1.5pt%
- \fi%
- \setbox\bmb at box=\hbox{\raise\bmb at temp\hbox{\box\bmb at box}}%
- \dp\bmb at box=0pt%
- \bmb at prevheight=\ht\bmb at box%
- \fi%
- \bmb at temp=\bmb at width%
- \bmb at dima=\bmb at temp\advance\bmb at dima by2.2bp%
- \bmb at dimb=\bmb at temp\advance\bmb at dimb by4bp%
- \ifdim\wd\bmb at box=0pt
- \bmb at dimc=\bmb at width%
- \else
- \bmb at dimc=0pt%
- \fi
- \hbox{%
- \textdir TLT\begin{pgfpicture}{0bp}{+-\ht\bmb at box}{\bmb at dimc}{+-\ht\bmb at box}
- \ifdim\wd\bmb at box=0pt%
- \color{lower.bg}%
- \else%
- \color{upper.bg}%
- \fi%
- \pgfpathqmoveto{-4bp}{-1bp}
- \pgfpathqcurveto{-4bp}{1.2bp}{-2.2bp}{3bp}{0bp}{3bp}
- \pgfpathlineto{\pgfpoint{\bmb at temp}{3bp}}
- \pgfpathcurveto%
- {\pgfpoint{\bmb at dima}{3bp}}%
- {\pgfpoint{\bmb at dimb}{1.2bp}}%
- {\pgfpoint{\bmb at dimb}{-1bp}}%
- \bmb at dima=-\ht\bmb at box%
- \advance\bmb at dima by-2pt%
- \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
- \pgfpathlineto{\pgfpoint{-4bp}{\bmb at dima}}
- \pgfusepath{fill}
- \end{pgfpicture}%
- \copy\bmb at box%
- }%
- \nointerlineskip%
- \vskip-1pt%
- \ifdim\wd\bmb at box=0pt%
- \else%
- \hbox{%
- \begin{pgfpicture}{0pt}{0pt}{\bmb at width}{6pt}
- \bmb at dima=\bmb at width%
- \advance\bmb at dima by8bp%
- \pgfpathrectangle{\pgfpoint{-4bp}{-1bp}}{\pgfpoint{\bmb at dima}{8bp}}
- \pgfusepath{clip}
- {\pgftransformshift{\pgfpoint{-4bp}{0bp}}\pgftext[left,base]{\pgfuseshading{bmb at transition}}}%
- \end{pgfpicture}%
- }%
- \nointerlineskip%
- \vskip-0.5pt%
- \fi%
- \ifbmb at shadow%
- \setbox\bmb at boxshadow=\hbox{\pgfuseshading{bmb at shadow}}%
- \setbox\bmb at boxshadowball=\hbox{\pgfuseshading{bmb at shadowball}}%
- \setbox\bmb at boxshadowballlarge=\hbox{\pgfuseshading{bmb at shadowballlarge}}%
- \fi%
- \setbox\bmb at colorbox=\hbox{{\pgfpicturetrue\pgfsetcolor{lower.bg}}}%
- \setbox\bmb at box=\hbox\bgroup\begin{minipage}[b]{\bmb at width}%
- \vskip2pt%
- \usebeamercolor[fg]{\bmb at lower}%
- \colorlet{beamerstructure}{upper.bg}%
- \colorlet{structure}{upper.bg}%
- %\color{.}%
- }
-
- \def\endbeamerboxesrounded{%
- \end{minipage}\egroup%
- \wd\bmb at box=\bmb at width%
- \bmb at temp=\dp\bmb at box%
- \advance\bmb at temp by.5pt%
- \setbox\bmb at box=\hbox{\raise\bmb at temp\hbox{\box\bmb at box}}%
- \dp\bmb at box=0pt%
- \bmb at temp=\wd\bmb at box%
- \bmb at dima=\bmb at temp\advance\bmb at dima by2.2bp%
- \bmb at dimb=\bmb at temp\advance\bmb at dimb by4bp%
- \hbox{%
- \textdir TLT\begin{pgfpicture}{0bp}{0bp}{0bp}{0bp}
- \ifbmb at shadow%
- {\pgftransformshift{\pgfpoint{4bp}{-3bp}}\pgftext{\copy\bmb at boxshadowball}}
- \begin{pgfscope}
- {%
- \advance\bmb at temp by-1bp%
- \pgfpathrectangle{\pgfpoint{\bmb at temp}{-7bp}}{\pgfpoint{9bp}{9bp}}%
- \pgfusepath{clip}
- }%
- {\pgftransformshift{\pgfpoint{\bmb at temp}{1bp}}\pgftext{\box\bmb at boxshadowballlarge}}
- \end{pgfscope}
- \begin{pgfscope}
- \advance\bmb at temp by-4bp%
- \pgfpathrectangle{\pgfpoint{4bp}{-7bp}}{\pgfpoint{\bmb at temp}{5bp}}
- \pgfusepath{clip}
- {\pgftransformshift{\pgfpoint{4bp}{-7bp}}\pgftext[left,base]{\copy\bmb at boxshadow}}%
- \end{pgfscope}
- \begin{pgfscope}
- \advance\bmb at temp by 4bp%
- \bmb at dima=\ht\bmb at box%
- \advance\bmb at dima by\bmb at prevheight%
- \advance\bmb at dima by 4bp%
- \pgfpathrectangle{\pgfpoint{\bmb at temp}{1bp}}{\pgfpoint{4bp}{\bmb at dima}}
- \pgfusepath{clip}
- \advance\bmb at dima by-4bp%
- {\pgftransformshift{\pgfpoint{\bmb at temp}{\bmb at dima}}\pgftext{\box\bmb at boxshadowball}}
- \advance\bmb at dima by-1bp%
- \pgfpathrectangle{\pgfpoint{\bmb at temp}{1bp}}{\pgfpoint{4bp}{\bmb at dima}}
- \pgfusepath{clip}
- \advance\bmb at temp by4bp%
- {\pgftransformshift{\pgfpoint{\bmb at temp}{-3bp}}%
- \pgftransformrotate{90}%
- \pgftext[left,base]{\box\bmb at boxshadow}}%
- \end{pgfscope}
- \fi%
- \unhbox\bmb at colorbox%
- \pgfpathqmoveto{-4bp}{1bp}
- \pgfpathqcurveto{-4bp}{-1.2bp}{-2.2bp}{-3bp}{0bp}{-3bp}
- \pgfpathlineto{\pgfpoint{\the\bmb at temp}{-3bp}}
- \pgfpathcurveto%
- {\pgfpoint{\the\bmb at dima}{-3bp}}%
- {\pgfpoint{\the\bmb at dimb}{-1.2bp}}%
- {\pgfpoint{\the\bmb at dimb}{1bp}}%
- {
- \bmb at dima=\ht\bmb at box%
- \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
- \pgfpathlineto{\pgfpoint{-4bp}{\bmb at dima}}
- \pgfusepath{fill}
- }
- \ifbmb at shadow%
- {
- \color{black!50!bg}
- \pgfsetlinewidth{0pt}
- \pgfpathmoveto{\pgfpoint{\bmb at dimb}{-.5bp}}
- \bmb at dima=\ht\bmb at box%
- \advance\bmb at dima by\bmb at prevheight%
- \advance\bmb at dima by 1bp%
- \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
- \pgfusepath{stroke}
- \bmb at temp=\bmb at dima
- \advance\bmb at dima by 1bp%
- \color{black!31!bg}
- \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
- \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
- \pgfusepath{stroke}
- \advance\bmb at dima by 1bp%
- \advance\bmb at temp by 1bp%
- \color{black!19!bg}
- \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
- \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
- \pgfusepath{stroke}
- \advance\bmb at dima by 1bp%
- \advance\bmb at temp by 1bp%
- \color{black!6!bg}
- \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
- \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
- \pgfusepath{stroke}
- \advance\bmb at dima by 1.5bp%
- \advance\bmb at temp by 1bp%
- \color{bg}
- \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
- \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
- \pgfusepath{stroke}
- }
- \fi
- \end{pgfpicture}%
- \box\bmb at box%
- }%
- \ifbmb at shadow%
- \vskip4bp minus 2bp%
- \else%
- \vskip2bp%
- \fi%
- \egroup% of \vbox\bgroup
-}
-
-
-%% beamerbaseauxtemplates
-
-
-% (sub-)section in toc: subsections numbered
-
-\redefbeamertemplate{subsection in toc}{subsections numbered}
-{\leavevmode\leftskip=2em\rlap{\hskip-2em \inserttocsectionnumber\hbox{.}\inserttocsubsectionnumber}\inserttocsubsection\par}
-
-
-%% beamerinnerthemedefault
-
-\redefbeamertemplate*{button}{default}
-{%
- \setbox\beamer at tempbox=\hbox{{\insertbuttontext}}%
- \ht\beamer at tempbox=6pt%
- \dp\beamer at tempbox=0pt%
- \setbox\beamer at tempbox=\vbox{\box\beamer at tempbox\vskip2pt}%
- \beamer at tempdim=\wd\beamer at tempbox%
- \beamer at dima=\beamer at tempdim\advance\beamer at dima by2.2pt
- \beamer at dimb=\beamer at tempdim\advance\beamer at dimb by4pt
- \textdir TLT\begin{pgfpicture}{-4pt}{0pt}{\the\beamer at 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 at tempdim}{8pt}}
- \pgfpathcurveto%
- {\pgfpoint{\the\beamer at dima}{8pt}}%
- {\pgfpoint{\the\beamer at dimb}{6.2pt}}%
- {\pgfpoint{\the\beamer at dimb}{4pt}}
- \pgfpathcurveto%
- {\pgfpoint{\the\beamer at dimb}{1.8pt}}%
- {\pgfpoint{\the\beamer at dima}{0pt}}%
- {\pgfpoint{\the\beamer at 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 at tempdim}{8pt}}
- \pgfpathcurveto%
- {\pgfpoint{\the\beamer at dima}{8pt}}%
- {\pgfpoint{\the\beamer at dimb}{6.2pt}}%
- {\pgfpoint{\the\beamer at dimb}{4pt}}
- \pgfpathcurveto%
- {\pgfpoint{\the\beamer at dimb}{1.8pt}}%
- {\pgfpoint{\the\beamer at dima}{0pt}}%
- {\pgfpoint{\the\beamer at tempdim}{0pt}}
- \pgfpathclose
- \pgfusepathqstroke
- \end{pgfpicture}%
- \hskip-\beamer at tempdim%
- \box\beamer at tempbox%
- \kern4pt%
-}
-
-%% beamerbasenavigation
-
-% User Buttons
-
-\pgfdefobject{beamergotosymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{5pt}{5pt}}
-{
- \pgfpathqmoveto{1.5bp}{0.5bp}
- \pgfpathqlineto{3.5bp}{2bp}
- \pgfpathqlineto{1.5bp}{3.5bp}
- \pgfusepathqfill
-}
-
-\def\insertgotosymbol{%
- \begin{pgfpicture}{1pt}{0pt}{6pt}{5pt}
- \pgfuseobject{\ifcase\bbl at thepardir beamergotosymbol\else beamerreturnsymbol\fi}%
-\end{pgfpicture}}
-
-\pgfdefobject{beamerreturnsymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{5pt}{5pt}}
-{
- \pgfpathqmoveto{3.5bp}{0.5bp}
- \pgfpathqlineto{1.5bp}{2bp}
- \pgfpathqlineto{3.5bp}{3.5bp}
- \pgfusepathqfill
-}
-
-\def\insertreturnsymbol{%
- \begin{pgfpicture}{1pt}{0pt}{6pt}{5pt}
- \pgfuseobject{\ifcase\bbl at thepardir beamerreturnsymbol\else beamergotosymbol\fi}%
-\end{pgfpicture}}
-
-
-\pgfdefobject{beamerskipsymbolrl}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{7pt}{5pt}}
-{
- \pgfpathqmoveto{3.5bp}{0.5bp}
- \pgfpathqlineto{1.5bp}{2bp}
- \pgfpathqlineto{3.5bp}{3.5bp}
- \pgfpathqmoveto{5.5bp}{0.5bp}
- \pgfpathqlineto{3.5bp}{2bp}
- \pgfpathqlineto{5.5bp}{3.5bp}
- \pgfusepathqfill
-}
-
-\pgfdefobject{beamerskipsymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{7pt}{5pt}}
-{
- \pgfpathqmoveto{1.5bp}{0.5bp}
- \pgfpathqlineto{3.5bp}{2bp}
- \pgfpathqlineto{1.5bp}{3.5bp}
- \pgfpathqmoveto{3.5bp}{0.5bp}
- \pgfpathqlineto{5.5bp}{2bp}
- \pgfpathqlineto{3.5bp}{3.5bp}
- \pgfusepathqfill
-}
-
-\def\insertskipsymbol{%
- \begin{pgfpicture}{-1pt}{0pt}{6pt}{5pt}
- \pgfuseobject{\ifcase\bbl at thepardir beamerskipsymbol\else beamerskipsymbolrl\fi}%
-\end{pgfpicture}}
-
-\def\beamergotobutton#1{\beamerbutton{\insertgotosymbol\ #1}}
-\def\beamerreturnbutton#1{\beamerbutton{\insertreturnsymbol\ #1}}
-\def\beamerskipbutton#1{\beamerbutton{\insertskipsymbol\ #1}}
-
-%% beamerbaseframesize
-
-%
-% Zoom stuff
-%
-
-\def\beamer at framezoom<#1><#2>[#3](#4,#5)(#6,#7){%
- \par\nointerlineskip%
- \global\beamer at slidehaszoomtrue%
- \advance\beamer at zoomcount by1\relax%
- \def\beamer at zoomborderwidth{0}%
- \edef\beamer at labelzoomed{beamer at labelzoomed@\the\beamer at zoomframecount @\the\beamer at zoomcount}%
- \setkeys{beamerzoom}{#3}%
- \only<#1>{%
- {\hypersetup{pdfhighlight={/P},pdfborder={0 0 \beamer at zoomborderwidth}}%
- \global\setbox\@tempboxa=\vbox{\hyperlink{\beamer at labelzoomed}{\vbox to #7{\hbox
- to#6{\hfil}\vfil}}}}%
- \ht\@tempboxa=0pt%
- \wd\@tempboxa=0pt%
- \dp\@tempboxa=0pt%
- \setbox\@tempboxa=\vbox{\moveright#4\hbox{\lower#5\vbox{\box\@tempboxa}}}%
- \ht\@tempboxa=0pt%
- \wd\@tempboxa=0pt%
- \dp\@tempboxa=0pt%
- \global\setbox\beamer at zoombox=\vbox to0pt{\unvbox\beamer at zoombox\box\@tempboxa}%
- }%
- \only<#2>{%
- \pardir TLT%
- \@ifundefined{\beamer at labelzoomed}%
- {%
- \hypertarget{\beamer at labelzoomed}{}%
- \expandafter\gdef\csname\beamer at labelzoomed\endcsname{}%
- }{}%
- \gdef\beamer at zoomer{%
- % compute zoom factor
- \@tempdima=\beamer at frametextheight%
- \@tempdimb=#7\relax%
- \@tempcnta=\@tempdimb%
- \divide\@tempcnta by4096\relax%
- \multiply\@tempdima by16\relax%
- \divide\@tempdima by\@tempcnta%
- \@tempdimb=\paperwidth%
- \ifbeamer at plainframe%
- \else%
- \advance\@tempdimb by-\beamer at leftsidebar%
- \advance\@tempdimb by-\beamer at 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 at temp{\strip at pt\@tempdima}%
- \@tempdimc=\beamer at frametextheight%
- \advance\@tempdimc by4pt%
- \@tempdimb=\paperwidth%
- \ifbeamer at plainframe%
- \else%
- \advance\@tempdimb by-\beamer at leftsidebar%
- \advance\@tempdimb by-\beamer at rightsidebar\relax%
- \fi%
- \setbox\@tempboxa=\vbox{\hsize=\@tempdimb\Acrobatmenu{GoBack}{\vbox to
- \beamer at frametextheight{\hbox to\@tempdimb{\hfil}\vfil}}}%
- \ht\@tempboxa=0pt%
- \wd\@tempboxa=0pt%
- \dp\@tempboxa=0pt%
- \setbox\beamer at framebox=\vbox to\beamer at frametextheight{{%
- \ifbeamer at plainframe\beamer at leftmargin=\Gm at lmargin\fi%
- \pardir TLT%
- \begin{pgfpicture}{\beamer at leftmargin}{-\beamer at frametextheight}{\beamer at leftmargin}{0pt}
- \pgftext[left,top]{\box\@tempboxa}
- \pgfpathrectangle{\pgfpoint{0pt}{-\@tempdimc}}{\pgfpoint{\@tempdimb}{\@tempdimc}}%
- \pgfusepath{clip}
- \begingroup
- \pgftransformscale{\beamer at temp}
- \@tempdima=#4\relax%
- \@tempdimb=#5\relax%
- {\pgftransformshift{\pgfpoint{-\@tempdima}{\@tempdimb}}%
- \pgftext[left,top]{\vbox{\vbox{}\nointerlineskip\unvbox\beamer at framebox}}}
- \endgroup
- \end{pgfpicture}%
- }}%
-
- \setbox\beamer at framebox=\vbox{%
- \nobreak\vbox{}\nobreak\par\nobreak\beamer at entrycode\nobreak%
- \nointerlineskip\unvbox\beamer at frametitlebox%
- \nobreak%
- \box\beamer at framebox %
- \nobreak%
- \vss%
- \beamer at exitcode%
- }%
- \global\setbox\beamer at footins=\box\voidb at x% no footnotes in zoomed slides
- }%
- }%
-}
-
-\endinput
More information about the tex-live-commits
mailing list