summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-08-04 21:30:08 +0000
committerKarl Berry <karl@freefriends.org>2020-08-04 21:30:08 +0000
commit66fdc918b7ac192f7391f4815e69c56f96abcf2f (patch)
tree230f3e378a9847dce199402e81736b8330dfa78c /Master/texmf-dist
parentffc452da990fb4a368ce248e03876eb792a6663a (diff)
beamer-rl (4aug20)
git-svn-id: svn://tug.org/texlive/trunk@56045 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdfbin125490 -> 129688 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.texbin15023 -> 15412 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdfbin98613 -> 102905 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex40
-rw-r--r--Master/texmf-dist/doc/lualatex/beamer-rl/README.txt6
-rw-r--r--Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls8
-rw-r--r--Master/texmf-dist/tex/lualatex/beamer-rl/translator-basic-dictionary-Arabic.dict87
-rw-r--r--Master/texmf-dist/tex/lualatex/beamer-rl/translator-bibliography-dictionary-Arabic.dict21
-rw-r--r--Master/texmf-dist/tex/lualatex/beamer-rl/translator-environment-dictionary-Arabic.dict10
-rw-r--r--Master/texmf-dist/tex/lualatex/beamer-rl/translator-numbers-dictionary-Arabic.dict53
-rw-r--r--Master/texmf-dist/tex/lualatex/beamer-rl/translator-theorem-dictionary-Arabic.dict82
11 files changed, 294 insertions, 13 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 a3a333bf727..8c73409ff3e 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 da7a779f9b1..0a68f44768c 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
Binary files differ
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 4811144d9f4..68a81c83297 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 e0846e501be..662992fd66a 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,4 +1,4 @@
-\documentclass[babel={layout=lists}]{beamer-rl}
+\documentclass[arabic,babel={layout=lists}]{beamer-rl}
\usepackage{hologo} % pdflatex, xelatex, lualatex logos
\babelprovide[import=ar-DZ, main]{arabic}
@@ -57,8 +57,6 @@
\date{{\selectlanguage{english} \today}}
\setbeamercovered{transparent=10}
-\newtheorem*{prf}{Proof}
-
\begin{document}
@@ -168,6 +166,7 @@ for right to left presentation, this package call babel with \verb|bidi=basic-r|
\end{itemize}
\selectlanguage{nil}
+\shapemode=2
\begin{itemize}
\item first item
@@ -201,7 +200,7 @@ for right to left presentation, this package call babel with \verb|bidi=basic-r|
\begin{theorem}
There is no largest prime number.
\end{theorem}
-\begin{prf}
+\begin{proof}
\begin{enumerate}[<+-| alert@+>]
\item Suppose $p$ were the largest prime number.
\item Let $q$ be the product of the first $p$ numbers.
@@ -209,7 +208,7 @@ There is no largest prime number.
\item But $q + 1$ is greater than $1$, thus divisible by some prime
number not in the first $p$ numbers.\qedhere
\end{enumerate}
-\end{prf}
+\end{proof}
\end{frame}
@@ -231,7 +230,7 @@ number not in the first $p$ numbers.\qedhere
\section{Some notes}
-\begin{frame}[fragile]
+\begin{frame}[fragile,allowframebreaks]
\frametitle{Some notes}
\begin{itemize}
@@ -257,15 +256,15 @@ The \verb:beamer-rl: class swap the definition of \verb:\blacktriangleright: wit
\bigskip
-{\selectlanguage{nil}
+{\renewcommand{\arraystretch}{1.3}
\centering
-\begin{tabular}{c|cc}
+\begin{tabular}{ccc}
\hline
& \verb:\blacktriangleright: & \verb:\blacktriangleleft: \\
\hline
LTR context & \blacktriangleright & \blacktriangleleft \\
\hline
-RTL context & {\selectlanguage{arabic}\blacktriangleright} & {\selectlanguage{arabic}\blacktriangleleft} \\
+RTL context & \selectlanguage{nil}\blacktriangleright & \selectlanguage{nil}\blacktriangleleft \\
\hline
\end{tabular}
\par
@@ -273,11 +272,34 @@ RTL context & {\selectlanguage{arabic}\blacktriangleright} & {\selectlanguage{ar
\bigskip
+
+\item
+
+Class option \verb:arabic: call an Arabic dictionary to translate strings like \verb:theorem:, \verb:example:, \verb:definition: ....
+
+
+\medskip
+
+{\selectlanguage{nil}
+\verb:\documentclass[arabic]{beamer-rl}:
+}
+
+\medskip
+
+
\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
+
+\medskip
+
+{\selectlanguage{nil}
+\verb:\bebelsublr{LTR context ... }:
+}
+
\end{itemize}
+
\end{frame}
\end{document}
diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt b/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt
index c42d9bbb4b3..2b06f7ab976 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.3
+v1.4
This class provides patchs of some beamer templates and commands
for right to left presentation, this package 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: 2019/10/04
+Current version release date: 2020/08/04
___________________
Salim Bou
-Copyright (c) 2019
+Copyright (c) 2020
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
diff --git a/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls b/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls
index 33fe45343b9..034c26597ac 100644
--- a/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls
+++ b/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.cls
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{beamer-rl}
-[2019/10/04 v1.3 LaTeX class to patch beamer for right to left presentation with babel]
+[2020/08/04 v1.4 LaTeX class to patch beamer for right to left presentation with babel]
\RequirePackage{kvoptions}
\RequirePackage{kvsetkeys}
@@ -16,6 +16,12 @@
\PassOptionsToPackage{#1}{babel}%
}
+\DeclareVoidOption{arabic}{%
+ \@expandtwoargs\@removeelement\CurrentOption\@classoptionslist\@classoptionslist % remove arabic option from global list
+ % \PassOptionsToPackage{arabic}{translator}%
+ \AtBeginDocument{\uselanguage{Arabic}\languagealias{arabic}{Arabic}}
+}
+
\DeclareDefaultOption{%
\PassOptionsToClass{\CurrentOption}{beamer}%
}
diff --git a/Master/texmf-dist/tex/lualatex/beamer-rl/translator-basic-dictionary-Arabic.dict b/Master/texmf-dist/tex/lualatex/beamer-rl/translator-basic-dictionary-Arabic.dict
new file mode 100644
index 00000000000..6f44d3c37eb
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/beamer-rl/translator-basic-dictionary-Arabic.dict
@@ -0,0 +1,87 @@
+\ProvidesDictionary{translator-basic-dictionary}{Arabic}
+
+\providetranslation{Abstract}{ملخص}
+\providetranslation{Addresses}{عناوين}
+\providetranslation{addresses}{عناوين}
+\providetranslation{Address}{عنوان}
+\providetranslation{address}{عنوان}
+\providetranslation{and}{و}
+\providetranslation{Appendix}{ملحق}
+\providetranslation{Authors}{المؤلفين}
+\providetranslation{authors}{المؤلفين}
+\providetranslation{Author}{المؤلف}
+\providetranslation{author}{المؤلف}
+\providetranslation{Bibliography}{مصادر}
+\providetranslation{cc}{نسخة لـ}
+\providetranslation{Chapters}{أبواب}
+\providetranslation{chapters}{أبواب}
+\providetranslation{Chapter}{باب}
+\providetranslation{chapter}{باب}
+\providetranslation{Conclusion}{نتيجة}
+\providetranslation{conclusion}{نتيجة}
+\providetranslation{Contents}{المحتويات}
+\providetranslation{Continuation}{تابع}
+\providetranslation{continuation}{تابع}
+\providetranslation{cont}{تابع} % FIXME: unsure
+\providetranslation{encl (plural)}{}
+\providetranslation{encl (singular)}{}
+\providetranslation{encl}{}
+\providetranslation{Figures}{أشكال}
+\providetranslation{figures}{أشكال}
+\providetranslation{Figure}{شكل}
+\providetranslation{figure}{شكل}
+\providetranslation{From}{من}
+\providetranslation{from}{من}
+\providetranslation{Glossary}{قاموس}
+\providetranslation{Index}{فهرس}
+\providetranslation{Introduction}{مدخل}
+\providetranslation{introduction}{مدخل}
+\providetranslation{List of Figures and Tables}{قائمة الأشكال والجداول}
+\providetranslation{List of Figures}{قائمة الأشكال}
+\providetranslation{List of Tables}{قائمة الجداول}
+\providetranslation{or}{أو}
+\providetranslation{Outline}{الخطوط العريضة}
+\providetranslation{Overview}{نظرة عامة}
+\providetranslation{Pages}{صفحات}
+\providetranslation{pages}{صفحات}
+\providetranslation{Page}{صفحة}
+\providetranslation{page}{صفحة}
+\providetranslation{Paragraphs}{فقرات}
+\providetranslation{paragraphs}{فقرات}
+\providetranslation{Paragraph}{فقرة}
+\providetranslation{paragraph}{فقرة}
+\providetranslation{Parts}{أقسام}
+\providetranslation{parts}{أقسام}
+\providetranslation{Part}{قسم}
+\providetranslation{part}{قسم}
+\providetranslation{Preface}{تمهيد}
+\providetranslation{Proofs}{براهين}
+\providetranslation{proofs}{براهين}
+\providetranslation{Proof}{برهان}
+\providetranslation{proof}{برهان}
+\providetranslation{References}{مراجع}
+\providetranslation{Related work}{أعمال مرتبطة}
+\providetranslation{Related Work}{أعمال مرتبطة}
+\providetranslation{Sections}{فصول}
+\providetranslation{sections}{فصول}
+\providetranslation{Section}{فصل}
+\providetranslation{section}{فصل}
+\providetranslation{See also}{أنظر أيضا}
+\providetranslation{see also}{أنظر أيضا}
+\providetranslation{See}{أنظر}
+\providetranslation{see}{أنظر}
+\providetranslation{Sketch of Proofs}{رسم البراهين}
+\providetranslation{Sketch of proofs}{رسم البراهين}
+\providetranslation{Sketch of Proof}{رسم البرهان}
+\providetranslation{Sketch of proof}{رسم البرهان}
+\providetranslation{Subsections}{فصول فرعية}
+\providetranslation{subsections}{فصول فرعية}
+\providetranslation{Subsection}{فصل فرعي}
+\providetranslation{subsection}{فصل فرعي}
+\providetranslation{Summary}{ملخص}
+\providetranslation{Tables}{جداول}
+\providetranslation{tables}{جداول}
+\providetranslation{Table}{جدول}
+\providetranslation{table}{جدول}
+\providetranslation{To}{إلى}
+\providetranslation{to}{إلى}
diff --git a/Master/texmf-dist/tex/lualatex/beamer-rl/translator-bibliography-dictionary-Arabic.dict b/Master/texmf-dist/tex/lualatex/beamer-rl/translator-bibliography-dictionary-Arabic.dict
new file mode 100644
index 00000000000..53953faadb2
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/beamer-rl/translator-bibliography-dictionary-Arabic.dict
@@ -0,0 +1,21 @@
+\ProvidesDictionary{translator-bibliography-dictionary}{Arabic}
+
+\providetranslation{ed.}{}%?
+\providetranslation{Editions}{طبعات}
+\providetranslation{editions}{طبعات}
+\providetranslation{Edition}{طبعة}
+\providetranslation{edition}{طبعة}
+\providetranslation{Editors}{المحررين}
+\providetranslation{editors}{المحررين}
+\providetranslation{Editor}{المحرر}
+\providetranslation{editor}{المحرر}
+\providetranslation{eds.}{}%?
+\providetranslation{Extended edition}{طبعة موسعة}%?
+\providetranslation{extended edition}{طبعة موسعة}%?
+\providetranslation{in (bibliography)}{في}
+\providetranslation{In (bibliography)}{في}
+\providetranslation{Tech. Rep.}{}%?
+\providetranslation{Technical Reports}{تقارير تقنية}
+\providetranslation{technical reports}{تقارير تقنية}
+\providetranslation{Technical Report}{تقرير تقني}
+\providetranslation{technical report}{تقرير تقني}
diff --git a/Master/texmf-dist/tex/lualatex/beamer-rl/translator-environment-dictionary-Arabic.dict b/Master/texmf-dist/tex/lualatex/beamer-rl/translator-environment-dictionary-Arabic.dict
new file mode 100644
index 00000000000..66d039a73f1
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/beamer-rl/translator-environment-dictionary-Arabic.dict
@@ -0,0 +1,10 @@
+\ProvidesDictionary{translator-environment-dictionary}{Arabic}
+
+\providetranslation{advantage}{ميزة}
+\providetranslation{Advantage}{ميزة}
+\providetranslation{advantages}{ميزات}
+\providetranslation{Advantages}{ميزات}
+\providetranslation{disadvantage}{مسيئة}
+\providetranslation{Disadvantage}{مسيئة}
+\providetranslation{disadvantages}{مساوئ}
+\providetranslation{Disadvantages}{مساوئ}
diff --git a/Master/texmf-dist/tex/lualatex/beamer-rl/translator-numbers-dictionary-Arabic.dict b/Master/texmf-dist/tex/lualatex/beamer-rl/translator-numbers-dictionary-Arabic.dict
new file mode 100644
index 00000000000..e5281a4889d
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/beamer-rl/translator-numbers-dictionary-Arabic.dict
@@ -0,0 +1,53 @@
+\ProvidesDictionary{translator-numbers-dictionary}{Arabic}
+
+\providetranslation{one}{واحد}
+\providetranslation{two}{اثنان}
+\providetranslation{three}{ثلاثة}
+\providetranslation{four}{أربعة}
+\providetranslation{five}{خمسة}
+\providetranslation{six}{ستة}
+\providetranslation{seven}{سبعة}
+\providetranslation{eight}{ثمانية}
+\providetranslation{nine}{تسعة}
+\providetranslation{ten}{عشرة}
+\providetranslation{eleven}{احدى عشرة}
+\providetranslation{twelve}{اثنى عشرة}
+
+\providetranslation{One}{واحد}
+\providetranslation{Two}{اثنان}
+\providetranslation{Three}{ثلاثة}
+\providetranslation{Four}{أربعة}
+\providetranslation{Five}{خمسة}
+\providetranslation{Six}{ستة}
+\providetranslation{Seven}{سبعة}
+\providetranslation{Eight}{ثمانية}
+\providetranslation{Nine}{تسعة}
+\providetranslation{Ten}{عشرة}
+\providetranslation{Eleven}{احدى عشرة}
+\providetranslation{Twelve}{اثنى عشرة}
+
+\providetranslation{first}{الأول}
+\providetranslation{second}{الثاني}
+\providetranslation{third}{الثالث}
+\providetranslation{fourth}{الرابع}
+\providetranslation{fifth}{الخامس}
+\providetranslation{sixth}{السادس}
+\providetranslation{seventh}{السابع}
+\providetranslation{eighth}{الثامن}
+\providetranslation{ninth}{التاسع}
+\providetranslation{tenth}{العاشر}
+\providetranslation{eleventh}{الحادي عشر}
+\providetranslation{twelfth}{الثاني عشر}
+
+\providetranslation{1st}{1.}
+\providetranslation{2nd}{2.}
+\providetranslation{3rd}{3.}
+\providetranslation{4th}{4.}
+\providetranslation{5th}{5.}
+\providetranslation{6th}{6.}
+\providetranslation{7th}{7.}
+\providetranslation{8th}{8.}
+\providetranslation{9th}{9.}
+\providetranslation{10th}{10.}
+\providetranslation{11th}{11.}
+\providetranslation{12th}{12.}
diff --git a/Master/texmf-dist/tex/lualatex/beamer-rl/translator-theorem-dictionary-Arabic.dict b/Master/texmf-dist/tex/lualatex/beamer-rl/translator-theorem-dictionary-Arabic.dict
new file mode 100644
index 00000000000..1625d7c1a69
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/beamer-rl/translator-theorem-dictionary-Arabic.dict
@@ -0,0 +1,82 @@
+\ProvidesDictionary{translator-theorem-dictionary}{Arabic}
+
+\providetranslation{Comments}{تعليقات}
+\providetranslation{comments}{تعليقات}
+\providetranslation{Comment}{تعليق}
+\providetranslation{comment}{تعليق}
+\providetranslation{Corollaries}{نتائج}
+\providetranslation{corollaries}{نتائج}
+\providetranslation{Corollary}{نتيجة}
+\providetranslation{corollary}{نتيجة}
+\providetranslation{Definitions}{تعريفات}
+\providetranslation{definitions}{تعريفات}
+\providetranslation{Definition}{تعريف}
+\providetranslation{definition}{تعريف}
+\providetranslation{Examples}{أمثلة}
+\providetranslation{examples}{أمثلة}
+\providetranslation{Example}{مثال}
+\providetranslation{example}{مثال}
+\providetranslation{Exercises}{تمارين}
+\providetranslation{exercises}{تمارين}
+\providetranslation{Exercise}{تمرين}
+\providetranslation{exercise}{تمرين}
+\providetranslation{Facts}{حقائق}
+\providetranslation{facts}{حقائق}
+\providetranslation{Fact}{حقيقة}
+\providetranslation{fact}{حقيقة}
+\providetranslation{Key Lemmas}{لازمات أساسية}
+\providetranslation{key lemmas}{لازمات أساسية}
+\providetranslation{Key Lemma}{لازمة أساسية}
+\providetranslation{key lemma}{لازمة أساسية}
+\providetranslation{Key Observations}{ملاحظات حاسمة}
+\providetranslation{key observations}{ملاحظات حاسمة}
+\providetranslation{Key Observation}{ملاحظة حاسمة}
+\providetranslation{key observation}{ملاحظة حاسمة}
+\providetranslation{Lemmas}{لازمات}
+\providetranslation{lemmas}{لازمات}
+\providetranslation{Lemma}{لازمة}
+\providetranslation{lemma}{لازمة}
+\providetranslation{Main Theorems}{النظريات الأساسية}
+\providetranslation{main theorems}{النظريات الأساسية}
+\providetranslation{Main Theorem}{النظرية الأساسية}
+\providetranslation{main theorem}{النظرية الأساسية}
+\providetranslation{Observations}{ملاحظات}
+\providetranslation{observations}{ملاحظات}
+\providetranslation{Observation}{ملاحظة}
+\providetranslation{observation}{ملاحظة}
+\providetranslation{Problems}{مسائل}
+\providetranslation{problems}{مسائل}
+\providetranslation{Problem}{مسألة}
+\providetranslation{problem}{مسألة}
+\providetranslation{Proofs}{براهين}
+\providetranslation{proofs}{براهين}
+\providetranslation{Proof}{برهان}
+\providetranslation{proof}{برهان}
+\providetranslation{Proof Sketch}{مخطط البرهان}
+\providetranslation{Proof sketch}{مخطط البرهان}
+\providetranslation{proof sketch}{مخطط البرهان}
+\providetranslation{Proof Sketches}{مخططات البرهان}
+\providetranslation{Proof sketches}{مخططات البرهان}
+\providetranslation{proof sketches}{مخططات البرهان}
+\providetranslation{Sketch of Proof}{Esquisse de preuve}
+\providetranslation{Sketch of Proofs}{Esquisse de preuves}
+\providetranslation{Sketch of proof}{Esquisse de preuve}
+\providetranslation{Sketch of proofs}{Esquisse de preuves}
+\providetranslation{sketch of proof}{esquisse de preuve}
+\providetranslation{sketch of proofs}{esquisse de preuves}
+\providetranslation{Propositions}{Propositions}
+\providetranslation{propositions}{propositions}
+\providetranslation{Proposition}{Proposition}
+\providetranslation{proposition}{proposition}
+\providetranslation{Remarks}{ملاحظات}
+\providetranslation{remarks}{ملاحظات}
+\providetranslation{Remark}{ملاحظة}
+\providetranslation{remark}{ملاحظة}
+\providetranslation{Solutions}{حلول}
+\providetranslation{solutions}{حلول}
+\providetranslation{Solution}{حلول}
+\providetranslation{solution}{حلول}
+\providetranslation{Theorems}{نظريات}
+\providetranslation{theorems}{نظريات}
+\providetranslation{Theorem}{نظرية}
+\providetranslation{theorem}{نظرية}