[latex3-commits] [git/latex2e] master: Removed CONTRIB. Added some tables to the Arabic sample. (6e6f8c9)

Javier javier at dante.de
Sat Jan 27 11:00:43 CET 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/6e6f8c962f5e81c5465ea379685d91c37a10d418

>---------------------------------------------------------------

commit 6e6f8c962f5e81c5465ea379685d91c37a10d418
Author: Javier <javier at localhost>
Date:   Sat Jan 27 11:00:43 2018 +0100

    Removed CONTRIB. Added some tables to the Arabic sample.


>---------------------------------------------------------------

6e6f8c962f5e81c5465ea379685d91c37a10d418
 required/babel/CONTRIB                |   38 ---------------------------
 required/babel/samples/lua-arabic.pdf |  Bin 74071 -> 84071 bytes
 required/babel/samples/lua-arabic.tex |   46 +++++++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+), 38 deletions(-)

diff --git a/required/babel/CONTRIB b/required/babel/CONTRIB
deleted file mode 100644
index 335502d..0000000
--- a/required/babel/CONTRIB
+++ /dev/null
@@ -1,38 +0,0 @@
-Guidelines for contributed languages
-------------------------------------
-
-Now language files are "outsourced" and are located in a separate
-directory, so that they are contributed directly to CTAN (please, do
-not send to me language styles just to upload them to CTAN):
-
-/macros/latex/contrib/babel-contrib
-
-Of course, placing your style files in this directory is not mandatory,
-but if you want to do it, here are a few guidelines.
-
-- Do not hesitate stating on the file heads you are the author and the
-  maintainer, if you actually are. There is no need to state the babel
-  maintainer(s) as authors if they have not contributed significantly
-  to your language files. 
-- Fonts are not strictly part of a language, so they are best placed
-  in the corresponding TeX tree. This includes not only tfm, vf, ps1,
-  otf, mf files and the like, but also fd ones.
-- Font and input encodings are usually best placed in the
-  corresponding tree, too, but sometimes they belong more naturally to
-  the babel style.  Note you may also need to define a LICR.
-- Babel ldf files may just interface a framework, as it happens often
-  with Oriental languages/scripts. This framework is best placed in its
-  own directory.
-- And do not forget providing a manual (as a stand-alone PDF document).
-
-The following page provides a starting point:
-
-http://www.texnia.com/incubator.html
-
-If your need further assistance and technical advice in the
-development of language styles, I am willing to help you.  And of
-course, you can make any suggestion you like.
-
-------------
-Javier Bezos
-2016/01/07
diff --git a/required/babel/samples/lua-arabic.pdf b/required/babel/samples/lua-arabic.pdf
index 63c81e4..374e969 100644
Binary files a/required/babel/samples/lua-arabic.pdf and b/required/babel/samples/lua-arabic.pdf differ
diff --git a/required/babel/samples/lua-arabic.tex b/required/babel/samples/lua-arabic.tex
index e53fba5..bbefb96 100644
--- a/required/babel/samples/lua-arabic.tex
+++ b/required/babel/samples/lua-arabic.tex
@@ -8,12 +8,14 @@
 \babelfont{rm}
           [ItalicFont=FreeSerif, Numbers=Arabic]
           {FreeSerif}
+\babelfont[english]{rm}{FreeSerif} % We need some italics
 
 \usepackage{microtype}
 \usepackage{graphicx}
 \usepackage{color}
 \usepackage{hyperref}
 \usepackage{multicol}
+\usepackage{booktabs}
 
 \title{كهرباء} \author{From Wikipedia}
 
@@ -213,4 +215,48 @@ Pseudodoxia Epidemica) الذي صدر عام 1646.
   تفاعل أساسي يحدث بين الكهرباء والمغناطيسات.
 \end{multicols}
 
+\subsection{جدول التوزيع الإلكتروني}
+
+\foreignlanguage*{english}{(Also from Wikipedia. These examples show
+the column order and some directions must be still sorted
+out. Furthermore, a bullet is misplaced, so \texttt{bidi=basic-r} must
+be fine-tuned.)}
+
+\begingroup
+
+\addfontfeatures{Numbers=ArabicOff}
+
+\begin{center}
+\begin{tabular}{rlrrrrrrr}
+\toprule
+\multicolumn{1}{c}{الرقم} & العنصر & 1 & 2 & 3 & 4 & 5 & 6 & 7\\
+\cmidrule(l){1-1}\cmidrule{2-2}\cmidrule(l){3-9}
+1 & هيدروجين & 1\\
+2 & هيليوم & 2\\
+37 & روبيديوم & 2 & 8 & 18 & 8 & 1\\
+38 & سترانشيوم & 2 & 8 & 18 & 8 & 2\\
+39 & إيتيريوم & 2 & 8 & 18 & 9 & 2\\
+40 & زركونيوم & 2 & 8 & 18 & 10 & 2\\
+41 & نيوبيوم & 2 & 8 & 18 & 12 & 1\\
+42 & موليبيدنيوم & 2 & 8 & 18 & 13 & 1\\
+\bottomrule
+\end{tabular}
+\end{center}
+
+\endgroup
+
+\begin{tabular}{rp{8cm}}
+  \toprule
+  الشعاب المرجانية
+  & شعب حلقي • Cay • Fringing reef • Microatoll •
+    سمك المرجان • \foreignlanguage{english}{\textit{The Structure and
+    Distribution of Coral Reefs}}\\
+  مناطق الشعاب  المرجانية
+  & Deep water coral • اندروس وجزر البهاما • الحاجز المرجاني لبليز •
+    جزر بحر المرجان • مثلث الشعاب • الحيد المرجاني العظيم • جزر المالديف •
+    Mesoamerican Barrier Reef System • New Caledonia Barrier Reef • Pulley
+    Ridge • جزر راجا أمبات • البحر الأحمر • Southeast Asian coral reefs\\
+  \bottomrule
+\end{tabular}
+
 \end{document}





More information about the latex3-commits mailing list