texlive[60262] Master/texmf-dist: beamer-rl (17aug21)

commits+karl at tug.org commits+karl at tug.org
Tue Aug 17 22:50:44 CEST 2021


Revision: 60262
          http://tug.org/svn/texlive?view=revision&revision=60262
Author:   karl
Date:     2021-08-17 22:50:44 +0200 (Tue, 17 Aug 2021)
Log Message:
-----------
beamer-rl (17aug21)

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
    trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/lualatex/beamer-rl/pgfpages-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	2021-08-17 20:50:26 UTC (rev 60261)
+++ trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex	2021-08-17 20:50:44 UTC (rev 60262)
@@ -206,6 +206,35 @@
 
 \end{frame}
 
+\section{الحزمة pgfpages-rl}
+
+\begin{frame}[fragile]
+\frametitle{الحزمة pgfpages-rl}
+الحزمة pgfpages-rl تضيف الى الحزمة pgfpages القدرة على دعم الصفحات من اليمين الى اليسار 
+ (\verb:pagedir TRT:) 
+ تتطلب المعالجة باستعمال 
+\hologo{LuaLaTeX} 
+
+يمكن استعمالها أيضا مع الفئات الأخرى عدا عن الفئة 
+\verb:beamer-rl:
+
+\begin{codeblock}
+\documentclass{beamer-rl}
+\babelprovide[import=ar-DZ, main]{arabic}
+\usetheme{Warsaw}
+\usepackage{pgfpages-rl} % adapt pgfpages to TRT pagedir
+\setbeamertemplate{note page}[]
+\setbeameroption{show notes on second screen=right}
+\begin{document}
+...
+\end{document}
+
+\end{codeblock}
+
+
+\end{frame}
+
+
 \section{أمثلة}
 
 \begin{frame}[plain]{}

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	2021-08-17 20:50:26 UTC (rev 60261)
+++ trunk/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex	2021-08-17 20:50:44 UTC (rev 60262)
@@ -193,6 +193,30 @@
 
 \end{frame}
 
+\section{pgfpages-rl package}
+
+\begin{frame}[fragile]
+\frametitle{pgfpages-rl package}
+
+\verb:pgfpages-rl: adds to \verb:pgfpages: the ability to support TRT pagedir, the package requires \hologo{LuaLaTeX} engine. 
+It can also be used with other document classes besides \verb:beamer-rl: 
+
+\begin{codeblock}
+\documentclass{beamer-rl}
+\babelprovide[import=ar-DZ, main]{arabic}
+\usetheme{Warsaw}
+\usepackage{pgfpages-rl} % adapt pgfpages to TRT pagedir
+\setbeamertemplate{note page}[]
+\setbeameroption{show notes on second screen=right}
+\begin{document}
+...
+\end{document}
+
+\end{codeblock}
+
+
+\end{frame}
+
 \section{Examples}
 
 \begin{frame}[plain]{}

Modified: trunk/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt	2021-08-17 20:50:26 UTC (rev 60261)
+++ trunk/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt	2021-08-17 20:50:44 UTC (rev 60262)
@@ -1,5 +1,5 @@
 The beamer-rl class
-v1.4c
+v1.5
 
 This class provides patchs of some beamer templates and commands 
 for right to left presentation, the class require babel with lualatex engine  
@@ -9,7 +9,7 @@
 
   <https://github.com/seloumi/beamer-rl/issues>
 
-Current version release date: 2021/08/03 
+Current version release date: 2021/08/17 
 
 ___________________
 Salim Bou

Modified: trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls	2021-08-17 20:50:26 UTC (rev 60261)
+++ trunk/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls	2021-08-17 20:50:44 UTC (rev 60262)
@@ -1,6 +1,6 @@
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{beamer-rl}
-[2021/08/03 v1.4c  LaTeX class to patch beamer for right to left presentation with babel]
+[2021/08/17 v1.5  LaTeX class to patch beamer for right to left presentation with babel]
 
 \RequirePackage{kvoptions}
 \RequirePackage{kvsetkeys}

Added: trunk/Master/texmf-dist/tex/lualatex/beamer-rl/pgfpages-rl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/beamer-rl/pgfpages-rl.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/lualatex/beamer-rl/pgfpages-rl.sty	2021-08-17 20:50:44 UTC (rev 60262)
@@ -0,0 +1,666 @@
+% The package will be deleted if TRT pagedir is supported by  package pgfpages
+% https://github.com/pgf-tikz/pgf/issues/911
+
+\ProvidesPackage{pgfpages-rl}[2021/08/15 ver 1 adapt pgfpages for TRT pagedir (lualatex)]
+
+\RequirePackage{pgfpages,ifluatex}
+
+\ifluatex
+\else
+\PackageError{pgfpages-rl}{pgfpages-rl require lualatex}
+\fi
+
+
+\def\pgfpagespoint{\pgfpages at test@pagedir\pgfpagespoint}
+
+\def\pgfpages at test@pagedir{%
+  \let\pgfpagespoint\pgfpoint
+    \ifcase\pagedirection
+        % 0, TLT (latin)
+    \or % 1, TRT (arabic)
+      \def\pgfpagespoint##1##2{\pgfpoint{##1}{##2}\pgf at x=-\pgf at x}%
+    \fi
+  }
+
+
+\renewcommand\pgfpagesdeclarelayout[3]{%
+  \expandafter\let\csname pgfpages at layoutbefore@#1\endcsname\relax
+  \expandafter\let\csname pgfpages at layout@#1\endcsname\relax
+  \expandafter\newcommand\csname pgfpages at layoutbefore@#1\endcsname{#2}
+  \expandafter\newcommand\csname pgfpages at layout@#1\endcsname{#3}
+  }
+
+\define at key{pgfpagesuselayoutoption}{second right}[]%
+{%
+  \def\pgfpageoptionfirstcenter{%
+  \ifcase\pagedirection
+  \pgfpoint{.5\paperwidth}{.5\paperheight}% 
+  \or
+  \pgfpoint{-1.5\paperwidth}{.5\paperheight}% 
+  \fi}
+  \def\pgfpageoptionsecondcenter{%
+  \ifcase\pagedirection
+  \pgfpoint{1.5\paperwidth}{.5\paperheight}% 
+  \or
+  \pgfpoint{-.5\paperwidth}{.5\paperheight}% 
+  \fi}
+  \def\pgfpageoptiontwoheight{\paperheight}%
+  \def\pgfpageoptiontwowidth{2\paperwidth}%
+}
+
+\define at key{pgfpagesuselayoutoption}{second left}[]%
+{%
+  \def\pgfpageoptionfirstcenter{%
+  \ifcase\pagedirection
+  \pgfpoint{1.5\paperwidth}{.5\paperheight}% 
+  \or
+  \pgfpoint{-.5\paperwidth}{.5\paperheight}% 
+  \fi}
+  \def\pgfpageoptionsecondcenter{%
+  \ifcase\pagedirection
+  \pgfpoint{.5\paperwidth}{.5\paperheight}% 
+  \or
+  \pgfpoint{-1.5\paperwidth}{.5\paperheight}% 
+  \fi}
+  \def\pgfpageoptiontwoheight{\paperheight}%
+  \def\pgfpageoptiontwowidth{2\paperwidth}%
+}
+
+\define at key{pgfpagesuselayoutoption}{second top}[]%
+{%
+  \def\pgfpageoptionfirstcenter{\pgfpagespoint{.5\paperwidth}{.5\paperheight}}%
+  \def\pgfpageoptionsecondcenter{\pgfpagespoint{.5\paperwidth}{1.5\paperheight}}%
+  \def\pgfpageoptiontwoheight{2\paperheight}%
+  \def\pgfpageoptiontwowidth{\paperwidth}%
+}
+
+\define at key{pgfpagesuselayoutoption}{second bottom}[]%
+{%
+  \def\pgfpageoptionfirstcenter{\pgfpagespoint{.5\paperwidth}{1.5\paperheight}}%
+  \def\pgfpageoptionsecondcenter{\pgfpagespoint{.5\paperwidth}{.5\paperheight}}%
+  \def\pgfpageoptiontwoheight{2\paperheight}%
+  \def\pgfpageoptiontwowidth{\paperwidth}%
+}
+
+\pgfpagesdeclarelayout{rounded corners}
+{
+  \def\pgfpageoptioncornerwidth{10pt}
+}
+{
+  \pgfpagesphysicalpageoptions
+  {%
+    logical pages=1
+  }
+  \pgfpageslogicalpageoptions{1}
+  {%
+    center=\pgfpagespoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight},%
+    corner width=\pgfpageoptioncornerwidth%
+  }%
+}
+
+\pgfpagesdeclarelayout{resize to}
+{
+  \def\pgfpageoptionborder{0pt}
+}
+{
+  \pgfpagesphysicalpageoptions
+  {%
+    logical pages=1,%
+    physical height=\pgfpageoptionheight,%
+    physical width=\pgfpageoptionwidth%
+  }
+  \pgfpageslogicalpageoptions{1}
+  {%
+    resized width=\pgfphysicalwidth,%
+    resized height=\pgfphysicalheight,%
+    border shrink=\pgfpageoptionborder,%
+    center=\pgfpagespoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight}%
+  }%
+}
+
+\pgfpagesdeclarelayout{2 on 1}
+{
+  \edef\pgfpageoptionheight{\the\paperwidth} % landscaped by default
+  \edef\pgfpageoptionwidth{\the\paperheight}
+  \def\pgfpageoptionborder{0pt}
+  \def\pgfpageoptionfirstshipout{1}
+}
+{
+  \pgfpagesphysicalpageoptions
+  {%
+    logical pages=2,%
+    physical height=\pgfpageoptionheight,%
+    physical width=\pgfpageoptionwidth,%
+    current logical shipout=\pgfpageoptionfirstshipout%
+  }
+  \ifdim\paperheight>\paperwidth\relax
+    % put side-by-side
+    \pgfpageslogicalpageoptions{1}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=\pgfphysicalheight,%
+      center=\pgfpagespoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{2}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=\pgfphysicalheight,%
+      center=\pgfpagespoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight}%
+    }%
+  \else
+    % stack on top of one another
+    \pgfpageslogicalpageoptions{1}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.5\pgfphysicalwidth}{.75\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{2}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.5\pgfphysicalwidth}{.25\pgfphysicalheight}%
+    }%
+  \fi    
+}
+
+\pgfpagesdeclarelayout{4 on 1}
+{
+  \edef\pgfpageoptionheight{\the\paperheight} 
+  \edef\pgfpageoptionwidth{\the\paperwidth}
+  \edef\pgfpageoptionborder{0pt}
+}
+{
+  \pgfpagesphysicalpageoptions
+  {%
+    logical pages=4,%
+    physical height=\pgfpageoptionheight,%
+    physical width=\pgfpageoptionwidth%
+  }
+  \pgfpageslogicalpageoptions{1}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.5\pgfphysicalwidth,%
+    resized height=.5\pgfphysicalheight,%
+    center=\pgfpagespoint{.25\pgfphysicalwidth}{.75\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{2}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.5\pgfphysicalwidth,%
+    resized height=.5\pgfphysicalheight,%
+    center=\pgfpagespoint{.75\pgfphysicalwidth}{.75\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{3}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.5\pgfphysicalwidth,%
+    resized height=.5\pgfphysicalheight,%
+    center=\pgfpagespoint{.25\pgfphysicalwidth}{.25\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{4}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.5\pgfphysicalwidth,%
+    resized height=.5\pgfphysicalheight,%
+    center=\pgfpagespoint{.75\pgfphysicalwidth}{.25\pgfphysicalheight}%
+  }%
+}
+
+\pgfpagesdeclarelayout{6 on 1}
+{
+  \edef\pgfpageoptionheight{\the\paperwidth} % landscaped by default
+  \edef\pgfpageoptionwidth{\the\paperheight}
+  \def\pgfpageoptionborder{0pt}
+}
+{
+  \pgfpagesphysicalpageoptions
+  {%
+    logical pages=6,%
+    physical height=\pgfpageoptionheight,%
+    physical width=\pgfpageoptionwidth%
+  }
+  \ifdim\paperheight>\paperwidth\relax
+    % put side-by-side
+    \pgfpageslogicalpageoptions{1}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.167\pgfphysicalwidth}{.75\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{2}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.5\pgfphysicalwidth}{.75\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{3}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.833\pgfphysicalwidth}{.75\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{4}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.167\pgfphysicalwidth}{.25\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{5}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.5\pgfphysicalwidth}{.25\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{6}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.833\pgfphysicalwidth}{.25\pgfphysicalheight}%
+    }%
+  \else
+    % stack on top of one another
+    \pgfpageslogicalpageoptions{1}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.25\pgfphysicalwidth}{.833\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{2}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.75\pgfphysicalwidth}{.833\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{3}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{4}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{5}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.25\pgfphysicalwidth}{.167\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{6}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.75\pgfphysicalwidth}{.167\pgfphysicalheight}%
+    }%
+  \fi    
+}
+
+\pgfpagesdeclarelayout{8 on 1}
+{
+  \edef\pgfpageoptionheight{\the\paperwidth} % landscaped by default
+  \edef\pgfpageoptionwidth{\the\paperheight}
+  \def\pgfpageoptionborder{0pt}
+}
+{
+  \pgfpagesphysicalpageoptions
+  {%
+    logical pages=8,%
+    physical height=\pgfpageoptionheight,%
+    physical width=\pgfpageoptionwidth%
+  }
+  \ifdim\paperheight>\paperwidth\relax
+    % put side-by-side
+    \pgfpageslogicalpageoptions{1}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.125\pgfphysicalwidth}{.75\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{2}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.375\pgfphysicalwidth}{.75\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{3}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.625\pgfphysicalwidth}{.75\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{4}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.875\pgfphysicalwidth}{.75\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{5}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.125\pgfphysicalwidth}{.25\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{6}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.375\pgfphysicalwidth}{.25\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{7}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.625\pgfphysicalwidth}{.25\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{8}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.25\pgfphysicalwidth,%
+      resized height=.5\pgfphysicalheight,%
+      center=\pgfpagespoint{.875\pgfphysicalwidth}{.25\pgfphysicalheight}%
+    }%
+  \else
+    % stack on top of one another
+    \pgfpageslogicalpageoptions{1}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.25\pgfphysicalwidth}{.875\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{2}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.75\pgfphysicalwidth}{.875\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{3}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.25\pgfphysicalwidth}{.625\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{4}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.75\pgfphysicalwidth}{.625\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{5}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.25\pgfphysicalwidth}{.375\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{6}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.75\pgfphysicalwidth}{.375\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{7}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.25\pgfphysicalwidth}{.125\pgfphysicalheight}%
+    }%
+    \pgfpageslogicalpageoptions{8}
+    {%
+      border shrink=\pgfpageoptionborder,%
+      resized width=.5\pgfphysicalwidth,%
+      resized height=.25\pgfphysicalheight,%
+      center=\pgfpagespoint{.75\pgfphysicalwidth}{.125\pgfphysicalheight}%
+    }%
+  \fi    
+}
+
+\pgfpagesdeclarelayout{16 on 1}
+{
+  \edef\pgfpageoptionheight{\the\paperheight} 
+  \edef\pgfpageoptionwidth{\the\paperwidth}
+  \edef\pgfpageoptionborder{0pt}
+}
+{
+  \pgfpagesphysicalpageoptions
+  {%
+    logical pages=16,%
+    physical height=\pgfpageoptionheight,%
+    physical width=\pgfpageoptionwidth%
+  }
+  \pgfpageslogicalpageoptions{1}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.125\pgfphysicalwidth}{.875\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{2}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.375\pgfphysicalwidth}{.875\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{3}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.625\pgfphysicalwidth}{.875\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{4}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.875\pgfphysicalwidth}{.875\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{5}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.125\pgfphysicalwidth}{.625\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{6}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.375\pgfphysicalwidth}{.625\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{7}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.625\pgfphysicalwidth}{.625\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{8}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.875\pgfphysicalwidth}{.625\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{9}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.125\pgfphysicalwidth}{.375\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{10}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.375\pgfphysicalwidth}{.375\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{11}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.625\pgfphysicalwidth}{.375\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{12}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.875\pgfphysicalwidth}{.375\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{13}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.125\pgfphysicalwidth}{.125\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{14}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.375\pgfphysicalwidth}{.125\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{15}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.625\pgfphysicalwidth}{.125\pgfphysicalheight}%
+  }%
+  \pgfpageslogicalpageoptions{16}
+  {%
+    border shrink=\pgfpageoptionborder,%
+    resized width=.25\pgfphysicalwidth,%
+    resized height=.25\pgfphysicalheight,%
+    center=\pgfpagespoint{.875\pgfphysicalwidth}{.125\pgfphysicalheight}%
+  }%
+}
+
+
+
+\def\pgfpages at buildshipoutbox{%
+  \setbox\pgfpages at shipoutbox=\vbox{{%
+    \set at typeset@protect%
+    \offinterlineskip%
+    \pgfsys at beginpicture%
+    \pgf at cpn=1\relax%
+    \loop%
+      \setbox0=\hbox to \csname pgfpages at p@\the\pgf at cpn @width\endcsname{%
+        \hskip1in%
+        \vbox to \csname pgfpages at p@\the\pgf at cpn @height\endcsname%
+          {\vskip1in\offinterlineskip\expandafter\copy\csname
+            pgfpages at box@\the\pgf at cpn\endcsname\vss}\hss}%
+      \pgfsys at beginscope%
+        % Translate lower left corner
+        \expandafter\ifx\csname pgfpages at p@\the\pgf at cpn @center\endcsname\relax%
+        \else%
+          \pgflowlevel{\pgftransformshift{\csname pgfpages at p@\the\pgf at cpn @center\endcsname}}%
+        \fi%
+        \expandafter\ifx\csname pgfpages at p@\the\pgf at cpn @scale\endcsname\relax%
+        \else%
+          \pgflowlevel{\pgftransformscale{\csname pgfpages at p@\the\pgf at cpn @scale\endcsname}}%
+        \fi%
+        \expandafter\ifx\csname pgfpages at p@\the\pgf at cpn @xscale\endcsname\relax%
+        \else%
+          \pgflowlevel{\pgftransformxscale{\csname pgfpages at p@\the\pgf at cpn @xscale\endcsname}{1}}%
+        \fi%
+        \expandafter\ifx\csname pgfpages at p@\the\pgf at cpn @yscale\endcsname\relax%
+        \else%
+          \pgflowlevel{\pgftransformyscale{\csname pgfpages at p@\the\pgf at cpn @yscale\endcsname}}%
+        \fi%
+        \pgfscope%
+        \expandafter\ifx\csname pgfpages at p@\the\pgf at cpn @rotation\endcsname\relax%
+        \else%
+        \pgflowlevel{\pgftransformrotate{\csname
+            pgfpages at p@\the\pgf at cpn @rotation\endcsname}}%
+        \fi%
+        \pgfutil at tempdima=\csname pgfpages at p@\the\pgf at cpn @width\endcsname\relax%
+        \pgfutil at tempdimb=\csname pgfpages at p@\the\pgf at cpn @height\endcsname\relax%
+        \pgflowlevel{\pgftransformshift{\pgfpagespoint{-.5\pgfutil at tempdima}{-.5\pgfutil at tempdimb}}}%
+        \expandafter\ifx\csname pgfpages at p@\the\pgf at cpn @bordercode\endcsname\relax%
+        \else%
+          \pgfpathmoveto{\pgfpointorigin}%
+          \pgfpathlineto{\pgfpagespoint{\wd0}{0pt}}%
+          \pgfpathlineto{\pgfpagespoint{\wd0}{\ht0}}%
+          \pgfpathlineto{\pgfpoint{0pt}{\ht0}}%
+          \pgfpathclose%
+          {\csname pgfpages at p@\the\pgf at cpn @bordercode\endcsname}%
+        \fi%
+        \expandafter\ifx\csname pgfpages at p@\the\pgf at cpn @cornerwidth\endcsname\relax%
+        \else%
+          {\ifcase\pagedirection
+          \or%
+          \pgftransformcm{-1}{0}{0}{1}{\pgfpointorigin}%
+          \fi%
+            \expandafter\pgfutil at tempdima\csname pgfpages at p@\the\pgf at cpn @cornerwidth\endcsname\relax%
+            \color{black}
+            \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\pgfutil at tempdima}{\pgfutil at tempdima}}%
+            \pgfpathrectangle{\pgfpoint{0pt}{\ht0-\pgfutil at tempdima}}{\pgfpoint{\pgfutil at tempdima}{\pgfutil at tempdima}}%
+            \pgfpathrectangle{\pgfpoint{\wd0-\pgfutil at tempdima}{0pt}}{\pgfpoint{\pgfutil at tempdima}{\pgfutil at tempdima}}%
+            \pgfpathrectangle{\pgfpoint{\wd0-\pgfutil at tempdima}{\ht0-\pgfutil at tempdima}}{\pgfpoint{\pgfutil at tempdima}{\pgfutil at tempdima}}%
+            \pgfusepath{fill}%
+            \pgfpathmoveto{\pgfpoint{0pt}{\pgfutil at tempdima}}
+            \pgfpathcurveto{\pgfpoint{0pt}{0.555\pgfutil at tempdima}}{\pgfpoint{.555\pgfutil at tempdima}{0pt}}{\pgfpoint{\pgfutil at tempdima}{0pt}}
+            \pgfpathlineto{\pgfpoint{\wd0-\pgfutil at tempdima}{0pt}}
+            \pgfpathcurveto{\pgfpoint{\wd0-.555\pgfutil at tempdima}{0pt}}{\pgfpoint{\wd0}{.555\pgfutil at tempdima}}{\pgfpoint{\wd0}{\pgfutil at tempdima}}
+            \pgfpathlineto{\pgfpoint{\wd0}{\ht0-\pgfutil at tempdima}}
+            \pgfpathcurveto{\pgfpoint{\wd0}{\ht0-.555\pgfutil at tempdima}}{\pgfpoint{\wd0-.555\pgfutil at tempdima}{\ht0}}{\pgfpoint{\wd0-\pgfutil at tempdima}{\ht0}}
+            \pgfpathlineto{\pgfpoint{\pgfutil at tempdima}{\ht0}}
+            \pgfpathcurveto{\pgfpoint{.555\pgfutil at tempdima}{\ht0}}{\pgfpoint{0pt}{\ht0-.555\pgfutil at tempdima}}{\pgfpoint{0pt}{\ht0-\pgfutil at tempdima}}
+            \pgfpathclose
+            \pgfusepath{clip}
+            \color{white}
+            \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\wd0}{\ht0}}
+            \pgfusepath{fill}
+          }
+        \fi%
+        \ht0=0pt%
+        \wd0=0pt%
+        \dp0=0pt%
+        \pgfsys at hbox0%
+        \endpgfscope%
+      \pgfsys at endscope%
+    \ifnum\pgf at cpn<\pgf at logicalpages%
+      \advance \pgf at cpn by 1\relax%  
+    \repeat%
+    \pgfsys at endpicture%
+    }}%
+}


Property changes on: trunk/Master/texmf-dist/tex/lualatex/beamer-rl/pgfpages-rl.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the tex-live-commits mailing list.