[latex3-commits] [git/LaTeX3-latex3-babel] master: Syriac (5d543ca)

Javier jbezos at dante.de
Sat Mar 21 11:05:47 CET 2020


Repository : https://github.com/latex3/babel
On branch  : master
Link       : https://github.com/latex3/babel/commit/5d543cadda210a44fe279a0f844e962bfba37f19

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

commit 5d543cadda210a44fe279a0f844e962bfba37f19
Author: Javier <jbezos at localhost>
Date:   Sat Mar 21 11:05:47 2020 +0100

    Syriac


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

5d543cadda210a44fe279a0f844e962bfba37f19
 locale/cu/babel-cu.ini                             |   8 +-
 locale/syr/babel-syr.ini                           |  88 +++++++++++++++++++++
 .../babel-afrikaans.tex => syr/babel-syriac.tex}   |   2 +-
 samples/lua-syriac.pdf                             | Bin 0 -> 31175 bytes
 samples/lua-syriac.tex                             |  65 +++++++++++++++
 5 files changed, 155 insertions(+), 8 deletions(-)

diff --git a/locale/cu/babel-cu.ini b/locale/cu/babel-cu.ini
index 609ae02..3b6ec4b 100644
--- a/locale/cu/babel-cu.ini
+++ b/locale/cu/babel-cu.ini
@@ -1,13 +1,7 @@
 ; This file is part of babel. For further details see:
 ;   https://www.ctan.org/pkg/babel
 ; Data has been collected mainly from the following sources:
-; * babel language styles (license LPPL):
-;   https://www.ctan.org/pkg/babel-contrib
-; * polyglossia language styles (license LPPL)
-;   https://www.ctan.org/pkg/polyglossia
-; * Common Locale Data Repository (license Unicode):
-;   http://cldr.unicode.org/
-;   http://unicode.org/copyright.html
+
 
 [identification]
 charset = utf8
diff --git a/locale/syr/babel-syr.ini b/locale/syr/babel-syr.ini
new file mode 100644
index 0000000..12070f8
--- /dev/null
+++ b/locale/syr/babel-syr.ini
@@ -0,0 +1,88 @@
+; This file is part of babel. For further details see:
+;   https://www.ctan.org/pkg/babel
+; Data has been collected mainly from the following sources:
+; * babel language styles (license LPPL):
+;   https://www.ctan.org/pkg/babel-contrib
+; * polyglossia language styles (license LPPL)
+;   https://www.ctan.org/pkg/polyglossia
+
+[identification]
+charset = utf8
+version = 0.5
+date = 2020-03-21
+name.local = ܠܫܢܐ ܣܘܪܝܝܐ
+name.english = Syriac
+name.babel = syriac
+tag.bcp47 = syr
+tag.bcp47.likely = syr-Syrc-IQ
+tag.opentype = SYR
+script.name = Syriac
+script.tag.bcp47 = Syrc
+script.tag.opentype = syrc
+level = 1
+encodings = 
+derivate = no
+
+[captions]
+preface    = 
+ref        = 
+abstract   = 
+bib        = 
+chapter    = 
+appendix   = 
+contents   = 
+listfigure = 
+listtable  = 
+index      = 
+figure     = 
+table      = 
+part       = 
+encl       = 
+cc         = 
+headto     = 
+page       = 
+see        = 
+also       = 
+proof      = 
+glossary   = 
+
+[date.gregorian]
+date.long = [d] [MMMM] [y]
+date.short = [d]‏/[M]‏/[y]
+months.wide.1  = ܟܢܘܢ ܐܚܪܝ
+months.wide.2  = ܫܒܛ
+months.wide.3  = ܐܕܪ
+months.wide.4  = ܢܝܣܢ
+months.wide.5  = ܐܝܪ
+months.wide.6  = ܚܙܝܪܢ
+months.wide.7  = ܬܡܘܙ
+months.wide.8  = ܐܒ
+months.wide.9  = ܐܝܠܘܠ   
+months.wide.10 = ܬܫܪܝܢ ܩܕܡ
+months.wide.11 = ܬܫܪܝܢ ܐܚܪܝ
+months.wide.12 = ܟܢܘܢ ܩܕܡ
+
+[time.gregorian]
+time.medium = [h]:[mm]:[ss] [a]
+time.short = [h]:[mm] [a]
+
+[typography]
+frenchspacing = 
+hyphenrules = 
+lefthyphenmin = 
+righthyphenmin = 
+hyphenchar = 
+prehyphenchar = 
+posthyphenchar = 
+exhyphenchar = 
+preexhyphenchar = 
+postexhyphenchar = 
+hyphenationmin = 
+
+[counters]
+letters.1 = ܐ ܒ ܓ ܕ ܗ ܘ ܙ ܚ ܛ
+letters.2 = ܝ ܟ ܠ ܡ ܢ ܣ ܥ ܦ ܨ
+letters.3 = ܩ ܪ ܫ ܬ ܢ̇ ܣ̇ ܥ̇ ܦ̇ ܨ̇
+letters.4 = ܐ݈ ܒ݈ ܓ݈ ܕ݈ ܗ݈ ܘ݈ ܙ݈ ܚ݈ ܛ݈
+
+
diff --git a/locale/af/babel-afrikaans.tex b/locale/syr/babel-syriac.tex
similarity index 90%
copy from locale/af/babel-afrikaans.tex
copy to locale/syr/babel-syriac.tex
index d85248e..4f28345 100644
--- a/locale/af/babel-afrikaans.tex
+++ b/locale/syr/babel-syriac.tex
@@ -7,6 +7,6 @@
     {Just use babel as documented.}%
   \stop
 \fi
-\BabelBeforeIni{af}{%
+\BabelBeforeIni{syr}{%
 }
 \endinput
\ No newline at end of file
diff --git a/samples/lua-syriac.pdf b/samples/lua-syriac.pdf
new file mode 100644
index 0000000..dfb97ca
Binary files /dev/null and b/samples/lua-syriac.pdf differ
diff --git a/samples/lua-syriac.tex b/samples/lua-syriac.tex
new file mode 100644
index 0000000..82040fb
--- /dev/null
+++ b/samples/lua-syriac.tex
@@ -0,0 +1,65 @@
+\documentclass{article}
+
+\usepackage[bidi=basic,english, layout=sectioning]{babel}
+
+\babelprovide[onchar=ids fonts]{english}
+\babelprovide[import, onchar=ids fonts]{syriac}
+
+\babelfont[syriac]{rm}[Renderer=Harfbuzz]{Segoe UI Historic}
+
+% \babelcharproperty{`0}[`9]{locale}{} 
+
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{1.5mm}
+
+\begin{document}
+
+The font for Syriac is Segoe UI Historic, a Windows font. Estrangelo
+Edessa is an alternative, but it does not render abbreviations
+correctly, nor does FreeSans or Noto. I have found no Mac font for
+Syriac.
+
+\section{Numerals}
+
+\selectlanguage{syriac}
+
+\localenumeral{letters}{765}
+
+\localenumeral{letters}{9164}
+
+\localenumeral{letters}{834}
+
+\localenumeral{letters}{21}
+
+\localenumeral{letters}{9}
+
+\section{From the Gospels}
+
+% \today
+
+1 ܟܬܒܐ ܕܝܠܝܕܘܬܗ ܕܝܫܘܥ ܡܫܝܚܐ ܒܪܗ ܕܕܘܝܕ ܒܪܗ ܕܐܒܪܗܡ ܀
+
+2 ܐܒܪܗܡ ܐܘܠܕ ܠܐܝܤܚܩ ܐܝܤܚܩ ܐܘܠܕ ܠܝܥܩܘܒ ܝܥܩܘܒ ܐܘܠܕ ܠܝܗܘܕܐ ܘܠܐܚܘܗܝ ܀
+
+3 ܝܗܘܕܐ ܐܘܠܕ ܠܦܪܨ ܘܠܙܪܚ ܡܢ ܬܡܪ ܦܪܨ ܐܘܠܕ ܠܚܨܪܘܢ ܚܨܪܘܢ ܐܘܠܕ ܠܐܪܡ ܀
+
+4 ܐܪܡ ܐܘܠܕ ܠܥܡܝܢܕܒ ܥܡܝܢܕܒ ܐܘܠܕ ܠܢܚܫܘܢ ܢܚܫܘܢ ܐܘܠܕ ܠܤܠܡܘܢ ܀
+
+\selectlanguage{english}
+
+\section{From Wikipedia}
+
+The East Syriac dialect is usually written in the \textit{Maḏnḥāyā}
+(ܡܲܕ݂ܢܚܵܝܵܐ‎, ‘Eastern’) form of the alphabet. Other names for the
+script include \textit{Swāḏāyā} (ܣܘܵܕ݂ܵܝܵܐ‎, ‘conversational’ or
+‘vernacular’, often translated as ‘contemporary’, reflecting its use in
+writing modern Neo-Aramaic), \textit{ʾĀṯūrāyā} (ܐܵܬ݂ܘܼܪܵܝܵܐ‎,
+‘Assyrian’, not to be confused with the traditional name for the Hebrew
+alphabet), \textit{Kaldāyā} (ܟܲܠܕܵܝܵܐ‎, ‘Chaldean’), and, inaccurately,
+“Nestorian” (a term that was originally used to refer to the Church of
+the East in the Sasanian Empire). The Eastern script resembles
+\textit{ʾEsṭrangēlā} somewhat more closely than the Western script.
+
+abcd ܐ܏ܒܓܕ efgh
+
+\end{document}
\ No newline at end of file





More information about the latex3-commits mailing list.