summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-02 21:24:31 +0000
committerKarl Berry <karl@freefriends.org>2023-01-02 21:24:31 +0000
commit2d76687317021d30c5f447f1a72aa66bbc5890e7 (patch)
tree58251b34184213b576a5ce6168bec6bd5a8af6ad /Master/texmf-dist/doc
parent2feb1f2ef0deb880ed2f399e072fedf92ea05c0c (diff)
beamer-rl (2jan23)
git-svn-id: svn://tug.org/texlive/trunk@65438 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdfbin161779 -> 169340 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex112
-rw-r--r--Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdfbin119572 -> 129512 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex106
-rw-r--r--Master/texmf-dist/doc/lualatex/beamer-rl/README.txt6
5 files changed, 164 insertions, 60 deletions
diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdf b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdf
index 71908632319..235a059c4e9 100644
--- a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdf
+++ b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex
index 0aaf2768c52..408200462d8 100644
--- a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex
+++ b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex
@@ -1,10 +1,8 @@
-\documentclass[arabic,babel={layout=lists.counters}]{beamer-rl}
+\documentclass[arabic-dz]{beamer-rl}
\usepackage{hologo} % pdflatex, xelatex, lualatex logos
\usepackage{listings}
+\usepackage{multicol}
-\usepackage{tikz}
-
-\babelprovide[import=ar-DZ, main]{arabic}
\babelfont{alm}[Script=Arabic,Scale=.88]{ALM Fixed}
% Themes without Navigation Bars
@@ -94,7 +92,8 @@
\begin{frame}[fragile]
\frametitle{مدخل}
انشاء عرض بيمر عربي (اتجاه النص من اليمين لليسار) اعتمادا على
- \hologo{pdfLaTeX} أو \hologo{XeLaTeX} مازال يعترضه الكثير من المشاكل والمعوقات خاصة ما يتعلق بالألوان والروابط والتي لم يوجد لها حلولا~بعد.
+ \hologo{pdfLaTeX} أو \hologo{XeLaTeX}
+ مازال يعترضه الكثير من المشاكل والمعوقات خاصة ما يتعلق بالألوان والروابط والتي لم يوجد لها حلولا~بعد.
فريق \hologo{LuaTeX}
أوجد حلولا لهذه المشاكل، الشكر لهم ولـ
@@ -102,23 +101,21 @@
لأعماله بالحزمة
\verb|babel| وخصوصا الكتابة بالاتجاهين (\verb|bidi| writing)
-هذه الفئة (class) تعدل في بعض اوامر وتعليمات beamer لغرض انشاء عروض من اليمين إلى اليسار (العربية على سبيل المثال)، الفئة تستدعي \verb|babel| مع الخيار
-\verb|bidi=basic|
- والمعالجة تتطلب استخدام
+هذه الفئة (class) تعدل في بعض اوامر وتعليمات beamer لغرض انشاء عروض من اليمين إلى اليسار (العربية على سبيل المثال)، الفئة تستدعي \verb|babel| ضمنيا مع الخيار \verb|bidi=basic| والمعالجة تتطلب استخدام
\hologo{LuaLaTeX}
\end{frame}
\section{كيفية استعمال الفئة}
-\begin{frame}[fragile]
+\begin{frame}[fragile,allowframebreaks]
\frametitle{كيفية استعمال الفئة}
\begin{codeblock}
\documentclass{beamer-rl}
% import languages
-\babelprovide[import=ar-DZ, main]{arabic}
+\babelprovide[import, main]{arabic}
\usetheme{CambridgeUS}
@@ -127,6 +124,65 @@
\end{document}
\end{codeblock}
+نحصل على نتيجة مماثلة باضافة اللغة الأساسية للعرض
+(لغة باتجاه كتابة من اليمين إلى اليسار)
+ ضمن خيار الفئة كما يلي:
+
+\begin{codeblock}
+\documentclass[arabic]{beamer-rl}
+
+\usetheme{CambridgeUS}
+
+\begin{document}
+...
+\end{document}
+\end{codeblock}
+
+يمكن أيضا إضافة خيارات أكثر للغة والتي توفرها التعليمة
+{\textdir TLT \verb|\babelprovide|}
+كما يلي:
+
+\begin{codeblock}
+\documentclass[arabic={mapdigits}]{beamer-rl}
+
+% equivalent to
+% \babelprovide[import,main,mapdigits]{arabic}
+
+\end{codeblock}
+
+الفئة تعرف بنفس الطريقة الخيارات (اللغات المدعومة من الحزمة
+ \verb|babel|
+ وتكتب من اليمين إلى اليسار)
+
+{\selectlanguage{nil}
+\begin{multicols}{3}
+\verb|arabic|\\
+\verb|arabic-dz|\\
+\verb|arabic-tn|\\
+\verb|arabic-ma|\\
+\verb|arabic-eg|\\
+\verb|arabic-sa|\\
+\verb|arabic-iq|\\
+\verb|arabic-sy|\\
+\verb|arabic-lb|\\
+\verb|arabic-ps|\\
+\verb|arabic-jo|\\
+\verb|centralkurdish|\\
+\verb|hebrew|\\
+\verb|kashmiri|\\
+\verb|mazanderani|\\
+\verb|malayalam|\\
+\verb|northernkurdish-arab|\\
+\verb|pashto|\\
+\verb|persian|\\
+\verb|punjabi-arab|\\
+\verb|syriac|\\
+\verb|urdu|\\
+\verb|uyghur|\\
+\verb|uzbek-arab|\\
+\verb|yiddish|\\
+\end{multicols}
+}
\end{frame}
\section{بعض الملاحظات}
@@ -145,18 +201,21 @@
\end{codeblock}
\item
-يمكن اضافة كل الخيارات التي تتيحها الفئة \verb:beamer: عند استدعاء الفئة \verb:beamer-rl:
-
-كما يمكن تمرير خيارات اضافية للحزمة
- \verb:babel:
- عند استدعاء الفئة \verb:beamer-rl: على الشكل:
+الفئة تعرف الخيار
+\verb|layout|
+الذي يمرر محتواه الى الحزمة
+\verb|bebel|
\medskip
\begin{codeblock}
-\documentclass[babel={<babel options>}]{beamer-rl}
+\documentclass[layout={<babel layout>}]{beamer-rl}
\end{codeblock}
+يمكن الاطلاع على المزيد حول الموضوع من دليل الحزمة
+\verb|bebel|
+\href{http://mirrors.ctan.org/macros/latex/required/babel/base/babel.pdf}{\beamergotobutton{الرابط}}
+
\item
الفئة
\verb:beamer-rl: تقوم بتبادل لكل من التعليمتين \cs{blacktriangleright} و \cs{blacktriangleleft} في حالة نص من اليمين لليسار
@@ -181,17 +240,6 @@ RTL context & \selectlanguage{nil}\blacktriangleright & \selectlanguage{nil}\bla
\bigskip
\item
-
-الخيار
-\verb:arabic:
-للفئة يمكن من استدعاء قاموس عربي لترجمة بعض المفردات مثل
-\verb:example: ،\verb:definition: ،\verb:theorem: ....
-
-\begin{codeblock}
-\documentclass[arabic]{beamer-rl}
-\end{codeblock}
-
-\item
في بعض الحالات يمكن استعمال التعليمة
\cs{babelsublr} التي توفرها الحزمة \verb:bebel:
لادراج نص من اليسار لليمين (لاتيني) في وسط نص من اليمين لليسار،
@@ -219,8 +267,7 @@ RTL context & \selectlanguage{nil}\blacktriangleright & \selectlanguage{nil}\bla
\verb:beamer-rl:
\begin{codeblock}
-\documentclass{beamer-rl}
-\babelprovide[import=ar-DZ, main]{arabic}
+\documentclass[arabic]{beamer-rl}
\usetheme{Warsaw}
\usepackage{pgfpages-rl} % adapt pgfpages to TRT pagedir
\setbeamertemplate{note page}[]
@@ -288,7 +335,7 @@ RTL context & \selectlanguage{nil}\blacktriangleright & \selectlanguage{nil}\bla
\item ثانيا
\end{enumerate}
\end{column}
-\begin{column}{8.8cm}
+\begin{column}{9cm}
\begin{codeblock}
\setbeamertemplate{enumerate item}[ball]
\begin{enumerate}
@@ -311,7 +358,7 @@ RTL context & \selectlanguage{nil}\blacktriangleright & \selectlanguage{nil}\bla
\item ثانيا
\end{itemize}
\end{column}
-\begin{column}{8.8cm}
+\begin{column}{9cm}
\begin{codeblock}
% in RTL context
\setbeamertemplate{itemize item}[triangle]
@@ -327,7 +374,6 @@ RTL context & \selectlanguage{nil}\blacktriangleright & \selectlanguage{nil}\bla
\framebreak
\selectlanguage{nil}
-
\begin{columns}[t]
\begin{column}{2cm}
\begin{itemize}
@@ -335,7 +381,7 @@ RTL context & \selectlanguage{nil}\blacktriangleright & \selectlanguage{nil}\bla
\item Second
\end{itemize}
\end{column}
-\begin{column}{8.8cm}
+\begin{column}{9cm}
\begin{codeblock}
% in LTR context
\setbeamertemplate{itemize item}[triangle]
diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdf b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdf
index facfcb1bf09..edd56eb9310 100644
--- a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdf
+++ b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex
index 82d333dd773..6b241e021a5 100644
--- a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex
+++ b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex
@@ -1,9 +1,8 @@
-\documentclass[arabic,babel={layout=lists}]{beamer-rl}
-\usepackage{hologo} % pdflatex, xelatex, lualatex logos
+\documentclass[arabic,english]{beamer-rl}
+\usepackage{hologo} % pdflatex, xelatex, lualatex logos
\usepackage{verbatim}
-
-\babelprovide[import=ar-DZ, main]{arabic}
-\babelprovide[import,language=Default]{english}
+\usepackage{listings}
+\usepackage{multicol}
% Themes without Navigation Bars
%\mode<presentation>{\usetheme{default}}
@@ -79,6 +78,8 @@
\begin{document}
+\selectlanguage{english}
+
\parskip=6pt
\begin{frame}
@@ -95,7 +96,7 @@
\begin{frame}[fragile]
\frametitle{Introduction}
-Creating beamer presentation for right to left languages (like arabic) using \hologo{pdfLaTeX} or \hologo{XeLaTeX} still poses many problems due to bugs not currently resolved especially for colors and hyperlinks
+Creating beamer presentation for languages with script from right to left (like arabic) using \hologo{pdfLaTeX} or \hologo{XeLaTeX} still poses many problems due to bugs not currently resolved especially for colors.
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
@@ -106,7 +107,7 @@ This class provides patchs of some beamer templates and commands to create
\section{How to use beamer-rl}
-\begin{frame}[fragile]
+\begin{frame}[fragile,allowframebreaks]
\frametitle{How to use beamer-rl}
\begin{codeblock}
@@ -122,6 +123,60 @@ This class provides patchs of some beamer templates and commands to create
\end{document}
\end{codeblock}
+We get a similar result by adding the main language of the presentation (language with right-to-left script)
+ as option of class as follows:
+
+\begin{codeblock}
+\documentclass[arabic]{beamer-rl}
+
+\usetheme{CambridgeUS}
+
+\begin{document}
+...
+\end{document}
+\end{codeblock}
+
+We can also add more language options that the command \verb|\babelprovide| provides as follows:
+
+\begin{codeblock}
+\documentclass[arabic={mapdigits}]{beamer-rl}
+
+% equivalent to
+% \babelprovide[import,main,mapdigits]{arabic}
+
+\end{codeblock}
+
+The class define in the same way as options (languages supported by the package \verb|babel| with script from right to left)
+
+\begin{multicols}{3}
+\verb|arabic|\\
+\verb|arabic-dz|\\
+\verb|arabic-tn|\\
+\verb|arabic-ma|\\
+\verb|arabic-eg|\\
+\verb|arabic-sa|\\
+\verb|arabic-iq|\\
+\verb|arabic-sy|\\
+\verb|arabic-lb|\\
+\verb|arabic-ps|\\
+\verb|arabic-jo|\\
+\verb|centralkurdish|\\
+\verb|hebrew|\\
+\verb|kashmiri|\\
+\verb|mazanderani|\\
+\verb|malayalam|\\
+\verb|northernkurdish-arab|\\
+\verb|pashto|\\
+\verb|persian|\\
+\verb|punjabi-arab|\\
+\verb|syriac|\\
+\verb|urdu|\\
+\verb|uyghur|\\
+\verb|uzbek-arab|\\
+\verb|yiddish|\\
+\end{multicols}
+
+
\end{frame}
\section{Some notes}
@@ -140,17 +195,17 @@ modify this in the preambule with
\end{codeblock}
\item
+The class defines option \verb|layout| which passes its content to \verb|babel|
-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
+
\begin{codeblock}
-\documentclass[babel={<babel options>}]{beamer-rl}
+\documentclass[layout={<babel layout>}]{beamer-rl}
\end{codeblock}
+More on the subject can be found in the manual of \verb|babel| package
+\href{http://mirrors.ctan.org/macros/latex/required/babel/base/babel.pdf}{\beamergotobutton{link}}
+
\item
The \verb:beamer-rl: class swap the definition of \verb:\blacktriangleright: with \verb:\blacktriangleleft: in RTL context
@@ -173,15 +228,6 @@ RTL context & \selectlanguage{nil}\blacktriangleright & \selectlanguage{nil}\bla
\bigskip
\item
-
-Class option \verb:arabic: call an Arabic dictionary to translate strings like \verb:theorem:, \verb:example:, \verb:definition: ....
-
-
-\begin{codeblock}
-\documentclass[arabic]{beamer-rl}
-\end{codeblock}
-
-\item
In some cases you need to use \verb:\babelsublr: command from \verb:bebel:
package to insert a left to right text within your right to left text, e.g if you need to insert a \verb:pspicture: drawing in RTL context
@@ -263,6 +309,7 @@ It can also be used with other document classes besides \verb:beamer-rl:
\begin{frame}[fragile,allowframebreaks]
\frametitle{enumerate, itemize}
+\selectlanguage{arabic}
\begin{columns}[t,onlytextwidth]
\begin{column}{2cm}
@@ -336,7 +383,10 @@ It can also be used with other document classes besides \verb:beamer-rl:
\begin{frame}[fragile]
\frametitle{Hyperlinks}
-\begin{itemize}
+
+\selectlanguage{arabic}
+
+\begin{itemize}\shapemode2
\item<1-> First.
\item<2-> Second.
\end{itemize}
@@ -361,6 +411,9 @@ It can also be used with other document classes besides \verb:beamer-rl:
\frametitle{Theorems}
\framesubtitle{The proof uses \textit{reductio ad absurdum}.}
+
+\selectlanguage{arabic}
+
\begin{theorem}
There is no largest prime number.
\end{theorem}
@@ -378,9 +431,14 @@ number not in the first $p$ numbers.\qedhere
\subsection{Zooming}
+\selectlanguage{arabic}
+
+\setbeamertemplate{frametitle}[default][right]
+
\begin{frame}[fragile]
\frametitle{Zooming}
+
\framezoom<1><2>[border=2](1cm,1cm)(2cm,2cm)
\pgfimage[height=4cm]{example-image}
diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt b/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt
index d0f372bf6f3..62fdf411ceb 100644
--- a/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt
+++ b/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt
@@ -1,5 +1,5 @@
The beamer-rl class
-v1.6
+v1.7
This class provides patchs of some beamer templates and commands
for right to left presentation, the class require babel with lualatex engine
@@ -9,12 +9,12 @@ please use the issue tracker:
<https://github.com/seloumi/beamer-rl/issues>
-Current version release date: 2022/06/19
+Current version release date: 2023/01/02
___________________
Salim Bou
-Copyright (c) 2019-2022
+Copyright (c) 2019-2023
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
this license is at: http://www.latex-project.org/lppl.txt