From 907af35dafa46d17a41a5ed33ce30587f024313c Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Fri, 18 Oct 2013 09:49:22 +0000 Subject: xindy: Update persian alphabet git-svn-id: svn://tug.org/texlive/trunk@31940 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/utils/xindy/xindy-2.4-PATCHES/ChangeLog | 4 + .../utils/xindy/xindy-2.4-PATCHES/patch-70-persian | 184 ++++++++++++++++++--- .../xindy-2.4/make-rules/alphabets/Makefile.am | 13 +- .../xindy-2.4/make-rules/alphabets/Makefile.in | 13 +- .../make-rules/alphabets/persian/Makefile.am | 10 +- .../make-rules/alphabets/persian/Makefile.in | 13 +- .../xindy-2.4/make-rules/alphabets/persian/README | 34 ++++ .../make-rules/alphabets/persian/utf8.pl.in | 79 --------- .../alphabets/persian/variant1-utf8.pl.in | 82 +++++++++ .../alphabets/persian/variant2-utf8.pl.in | 82 +++++++++ 10 files changed, 400 insertions(+), 114 deletions(-) create mode 100644 Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/README delete mode 100644 Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/utf8.pl.in create mode 100644 Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/variant1-utf8.pl.in create mode 100644 Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/variant2-utf8.pl.in diff --git a/Build/source/utils/xindy/xindy-2.4-PATCHES/ChangeLog b/Build/source/utils/xindy/xindy-2.4-PATCHES/ChangeLog index 89c414a9932..3c4db307d6d 100644 --- a/Build/source/utils/xindy/xindy-2.4-PATCHES/ChangeLog +++ b/Build/source/utils/xindy/xindy-2.4-PATCHES/ChangeLog @@ -1,3 +1,7 @@ +2013-10-18 Peter Breitenlohner + + * patch-70-persian: Update persian alphabet. + 2013-04-10 Peter Breitenlohner * patch-65-win32 (new): More Win32 changes (from Akira): diff --git a/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian b/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian index ae7d6ccb92c..a50fbb9d5d3 100644 --- a/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian +++ b/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian @@ -1,6 +1,6 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/configure.ac xindy-2.4/configure.ac --- xindy-2.4.orig/configure.ac 2010-05-11 01:12:10.000000000 +0200 -+++ xindy-2.4/configure.ac 2011-11-04 16:30:05.867744680 +0100 ++++ xindy-2.4/configure.ac 2011-11-04 16:30:06.000000000 +0100 @@ -142,6 +142,7 @@ make-rules/alphabets/macedonian/Makefile \ make-rules/alphabets/mongolian/Makefile \ @@ -11,27 +11,32 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/configure.ac xindy-2 make-rules/alphabets/romanian/Makefile \ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/Makefile.am xindy-2.4/make-rules/alphabets/Makefile.am --- xindy-2.4.orig/make-rules/alphabets/Makefile.am 2011-03-02 18:03:12.000000000 +0100 -+++ xindy-2.4/make-rules/alphabets/Makefile.am 2011-11-04 16:52:28.025580000 +0100 -@@ -557,6 +557,18 @@ ++++ xindy-2.4/make-rules/alphabets/Makefile.am 2013-10-18 11:18:09.000000000 +0200 +@@ -557,6 +557,23 @@ DISTCLEANFILES += \ norwegian/utf8.pl +persiandir = $(langdir)/persian + +PERSIAN = \ -+ persian/utf8-lang.xdy \ -+ persian/utf8-test.xdy \ -+ persian/utf8.xdy ++ persian/README \ ++ persian/variant1-utf8-lang.xdy \ ++ persian/variant1-utf8-test.xdy \ ++ persian/variant1-utf8.xdy \ ++ persian/variant2-utf8-lang.xdy \ ++ persian/variant2-utf8-test.xdy \ ++ persian/variant2-utf8.xdy + +nodist_persian_DATA = $(PERSIAN) + +DISTCLEANFILES += \ -+ persian/utf8.pl ++ persian/variant1-utf8.pl \ ++ persian/variant2-utf8.pl + polishdir = $(langdir)/polish POLISH = \ -@@ -940,6 +952,7 @@ +@@ -940,6 +957,7 @@ macedonian \ mongolian \ norwegian \ @@ -39,7 +44,7 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets polish \ portuguese \ romanian \ -@@ -992,6 +1005,7 @@ +@@ -992,6 +1010,7 @@ $(MACEDONIAN) \ $(MONGOLIAN) \ $(NORWEGIAN) \ @@ -47,7 +52,7 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets $(POLISH) \ $(PORTUGUESE) \ $(ROMANIAN) \ -@@ -1176,7 +1190,8 @@ +@@ -1176,7 +1195,8 @@ greek/utf8-doc.tex \ greek/polytonic-utf8-doc.tex \ hebrew/utf8-doc.tex \ @@ -59,8 +64,8 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets $(DOCS_CP1250) \ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/persian/Makefile.am xindy-2.4/make-rules/alphabets/persian/Makefile.am --- xindy-2.4.orig/make-rules/alphabets/persian/Makefile.am 1970-01-01 01:00:00.000000000 +0100 -+++ xindy-2.4/make-rules/alphabets/persian/Makefile.am 2011-11-04 16:38:55.897313524 +0100 -@@ -0,0 +1,27 @@ ++++ xindy-2.4/make-rules/alphabets/persian/Makefile.am 2013-10-18 11:18:06.000000000 +0200 +@@ -0,0 +1,31 @@ +## Use `autoreconf' in top-level directory to recreate all +## autoconf/automake files. +## Or, call `automake Makefile' to create only Makefile.in. @@ -82,24 +87,155 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets +## Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +## Boston, MA 02110-1301 USA. + -+EXTRA_DIST = utf8.pl.in ++EXTRA_DIST = \ ++ variant1-utf8.pl.in \ ++ variant2-utf8.pl.in + +CLEANFILES = \ -+ utf8.raw \ -+ utf8-doc.tex ++ variant1-utf8.raw \ ++ variant1-utf8-doc.tex \ ++ variant2-utf8.raw \ ++ variant2-utf8-doc.tex + -diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/persian/utf8.pl.in xindy-2.4/make-rules/alphabets/persian/utf8.pl.in ---- xindy-2.4.orig/make-rules/alphabets/persian/utf8.pl.in 1970-01-01 01:00:00.000000000 +0100 -+++ xindy-2.4/make-rules/alphabets/persian/utf8.pl.in 2011-11-04 00:07:20.000000000 +0100 -@@ -0,0 +1,79 @@ +diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/persian/README xindy-2.4/make-rules/alphabets/persian/README +--- xindy-2.4.orig/make-rules/alphabets/persian/README 1970-01-01 01:00:00.000000000 +0100 ++++ xindy-2.4/make-rules/alphabets/persian/README 2013-10-18 00:50:29.000000000 +0200 +@@ -0,0 +1,34 @@ ++________________________ ++The “xindy-persian” package ++v0.6 ++ ++The “xindy-persian” package is the Persian language ++support for xindy program. ++ ++Two Variants are provided: ++ * Variant One: Sorts آ as ا ++ * Variant Two: Sorts آ as a separate letter ++ ++If you want to report any bugs or typos and corrections in the documentation, ++or ask for any new features, or suggest any improvements, or ask any questions ++about the package, then please do not send any direct emails to us; we will not ++answer any direct emails. Instead please use the issue tracker: ++ ++In doing so, please always explain your issue well enough, always include ++a minimal working examples showing the issue, and always choose the appropriate ++label for your query (i.e. if you are reporting any bugs, choose `bug' label). ++ ++Current version release date: 2013/10/14 ++_________________ ++Vafa Khalighi ++persian-tex@tug.org ++ ++Copyright © 2011–2013 Vafa Khalighi ++Distributed under the LaTeX Project Public License ++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 ++ ++This work is “maintained” (as per LPPL maintenance status) ++by Vafa Khalighi. ++ +diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/persian/variant1-utf8.pl.in xindy-2.4/make-rules/alphabets/persian/variant1-utf8.pl.in +--- xindy-2.4.orig/make-rules/alphabets/persian/variant1-utf8.pl.in 1970-01-01 01:00:00.000000000 +0100 ++++ xindy-2.4/make-rules/alphabets/persian/variant1-utf8.pl.in 2013-10-18 00:50:29.000000000 +0200 +@@ -0,0 +1,82 @@ ++#!/usr/bin/perl ++ ++$language = "Persian"; ++$variant = "One"; ++$prefix = "pe"; ++$script = "arabic"; ++ ++$alphabet = [ ++['ا',['آ']], ++['ا',['أ']], ++['ا',['ا']], ++['ب',['ب']], ++['پ',['پ']], ++['ت',['ت']], ++['ث',['ث']], ++['ج',['ج']], ++['چ',['چ']], ++['ح',['ح']], ++['خ',['خ']], ++['د',['د']], ++['ذ',['ذ']], ++['ر',['ر']], ++['ز',['ز']], ++['ژ',['ژ']], ++['س',['س']], ++['ش',['ش']], ++['ص',['ص']], ++['ض',['ض']], ++['ط',['ط']], ++['ظ',['ظ']], ++['ع',['ع']], ++['غ',['غ']], ++['ف',['ف']], ++['ق',['ق']], ++['ک',['ک']], ++['گ',['گ']], ++['ل',['ل']], ++['م',['م']], ++['ن',['ن']], ++['و',['ؤ','و']], ++['ه',['ه']], ++['ی',['ئ','ی']], ++['A', ['a','A'],['à','À']], ++['B', ['b','B']], ++['C', ['c','C'],['ç','Ç']], ++['D', ['d','D'],['ð','Ð']], ++['E', ['e','E'],['é','É'],['è','È'],['ë','Ë'],['ê','Ê']], ++['F', ['f','F']], ++['G', ['g','G']], ++['H', ['h','H']], ++['I', ['i','I'],['ï','Ï']], ++['J', ['j','J']], ++['K', ['k','K']], ++['L', ['l','L']], ++['M', ['m','M']], ++['N', ['n','N'],['ñ','Ñ']], ++['O', ['o','O'],['ö','Ö'],['ô','Ô']], ++['P', ['p','P']], ++['Q', ['q','Q']], ++['R', ['r','R']], ++['S', ['s','S']], ++['T', ['t','T']], ++['U', ['u','U']], ++['V', ['v','V']], ++['W', ['w','W']], ++['X', ['x','X']], ++['Y', ['y','Y']], ++['Z', ['z','Z']], ++['Þ', ['þ','Þ']], ++]; ++ ++$sortcase = "Aa"; ++#$sortcase = "aA"; ++ ++$ligatures = [ ++[['æ','Æ'], 'after', [['a','e'], ['A','e']]], ++[['œ','Œ'], 'after', [['o','e'], ['O','e']]] ++]; ++ ++@special = ('?', '!', '.', 'letters', '-', '\'', '{', '}','ّ','َ','ِ','ُ','ً','ٍ','ٌ','ْ','ٔ','ء','‌','«','»','ـ'); ++ ++do 'make-rules.pl'; +diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/persian/variant2-utf8.pl.in xindy-2.4/make-rules/alphabets/persian/variant2-utf8.pl.in +--- xindy-2.4.orig/make-rules/alphabets/persian/variant2-utf8.pl.in 1970-01-01 01:00:00.000000000 +0100 ++++ xindy-2.4/make-rules/alphabets/persian/variant2-utf8.pl.in 2013-10-18 00:50:29.000000000 +0200 +@@ -0,0 +1,82 @@ +#!/usr/bin/perl + +$language = "Persian"; ++$variant = "Two"; +$prefix = "pe"; +$script = "arabic"; + +$alphabet = [ -+['ا',['أ','ا','آ']], ++['آ',['آ']], ++['ا',['أ']], ++['ا',['ا']], +['ب',['ب']], +['پ',['پ']], +['ت',['ت']], @@ -171,3 +307,11 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets +@special = ('?', '!', '.', 'letters', '-', '\'', '{', '}','ّ','َ','ِ','ُ','ً','ٍ','ٌ','ْ','ٔ','ء','‌','«','»','ـ'); + +do 'make-rules.pl'; +diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/tex2xindy/tex2xindy.c xindy-2.4/tex2xindy/tex2xindy.c +--- xindy-2.4.orig/tex2xindy/tex2xindy.c 2012-09-27 14:37:38.000000000 +0200 ++++ xindy-2.4/tex2xindy/tex2xindy.c 2013-03-26 23:30:23.000000000 +0100 +@@ -2479,4 +2479,3 @@ + Revision 1.1 1996/06/24 08:53:57 kehr + Initial checkin of the Makefile, README and tex2xindy. + */ +- diff --git a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/Makefile.am b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/Makefile.am index 29f02be4474..f5b439ccf8b 100644 --- a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/Makefile.am +++ b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/Makefile.am @@ -560,14 +560,19 @@ DISTCLEANFILES += \ persiandir = $(langdir)/persian PERSIAN = \ - persian/utf8-lang.xdy \ - persian/utf8-test.xdy \ - persian/utf8.xdy + persian/README \ + persian/variant1-utf8-lang.xdy \ + persian/variant1-utf8-test.xdy \ + persian/variant1-utf8.xdy \ + persian/variant2-utf8-lang.xdy \ + persian/variant2-utf8-test.xdy \ + persian/variant2-utf8.xdy nodist_persian_DATA = $(PERSIAN) DISTCLEANFILES += \ - persian/utf8.pl + persian/variant1-utf8.pl \ + persian/variant2-utf8.pl polishdir = $(langdir)/polish diff --git a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/Makefile.in b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/Makefile.in index f9e0a023116..114ade688dd 100644 --- a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/Makefile.in +++ b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/Makefile.in @@ -366,7 +366,8 @@ DISTCLEANFILES = albanian/utf8.pl belarusian/utf8.pl bulgarian/utf8.pl \ klingon/utf8.pl kurdish/bedirxan-utf8.pl \ kurdish/turkish-i-utf8.pl latin/utf8.pl latvian/utf8.pl \ lithuanian/utf8.pl lower-sorbian/utf8.pl macedonian/utf8.pl \ - mongolian/cyrillic-utf8.pl norwegian/utf8.pl persian/utf8.pl \ + mongolian/cyrillic-utf8.pl norwegian/utf8.pl \ + persian/variant1-utf8.pl persian/variant2-utf8.pl \ polish/utf8.pl portuguese/utf8.pl romanian/utf8.pl \ russian/translit-iso-utf8.pl russian/utf8.pl serbian/utf8.pl \ slovak/large-utf8.pl slovak/small-utf8.pl slovenian/utf8.pl \ @@ -748,9 +749,13 @@ NORWEGIAN = \ nodist_norwegian_DATA = $(NORWEGIAN) persiandir = $(langdir)/persian PERSIAN = \ - persian/utf8-lang.xdy \ - persian/utf8-test.xdy \ - persian/utf8.xdy + persian/README \ + persian/variant1-utf8-lang.xdy \ + persian/variant1-utf8-test.xdy \ + persian/variant1-utf8.xdy \ + persian/variant2-utf8-lang.xdy \ + persian/variant2-utf8-test.xdy \ + persian/variant2-utf8.xdy nodist_persian_DATA = $(PERSIAN) polishdir = $(langdir)/polish diff --git a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/Makefile.am b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/Makefile.am index ba351adc36d..6ddbae6458f 100644 --- a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/Makefile.am +++ b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/Makefile.am @@ -19,9 +19,13 @@ ## Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ## Boston, MA 02110-1301 USA. -EXTRA_DIST = utf8.pl.in +EXTRA_DIST = \ + variant1-utf8.pl.in \ + variant2-utf8.pl.in CLEANFILES = \ - utf8.raw \ - utf8-doc.tex + variant1-utf8.raw \ + variant1-utf8-doc.tex \ + variant2-utf8.raw \ + variant2-utf8-doc.tex diff --git a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/Makefile.in b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/Makefile.in index dfb8ddfedcf..70c51e00f37 100644 --- a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/Makefile.in +++ b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/Makefile.in @@ -77,7 +77,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = xindy-2.4/make-rules/alphabets/persian -DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am README ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \ $(top_srcdir)/../../m4/kpse-progs.m4 \ @@ -218,10 +218,15 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -EXTRA_DIST = utf8.pl.in +EXTRA_DIST = \ + variant1-utf8.pl.in \ + variant2-utf8.pl.in + CLEANFILES = \ - utf8.raw \ - utf8-doc.tex + variant1-utf8.raw \ + variant1-utf8-doc.tex \ + variant2-utf8.raw \ + variant2-utf8-doc.tex all: all-am diff --git a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/README b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/README new file mode 100644 index 00000000000..835649167fd --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/README @@ -0,0 +1,34 @@ +________________________ +The “xindy-persian” package +v0.6 + +The “xindy-persian” package is the Persian language +support for xindy program. + +Two Variants are provided: + * Variant One: Sorts آ as ا + * Variant Two: Sorts آ as a separate letter + +If you want to report any bugs or typos and corrections in the documentation, +or ask for any new features, or suggest any improvements, or ask any questions +about the package, then please do not send any direct emails to us; we will not +answer any direct emails. Instead please use the issue tracker: + +In doing so, please always explain your issue well enough, always include +a minimal working examples showing the issue, and always choose the appropriate +label for your query (i.e. if you are reporting any bugs, choose `bug' label). + +Current version release date: 2013/10/14 +_________________ +Vafa Khalighi +persian-tex@tug.org + +Copyright © 2011–2013 Vafa Khalighi +Distributed under the LaTeX Project Public License +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 + +This work is “maintained” (as per LPPL maintenance status) +by Vafa Khalighi. + diff --git a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/utf8.pl.in b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/utf8.pl.in deleted file mode 100644 index 480de4b4ac1..00000000000 --- a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/utf8.pl.in +++ /dev/null @@ -1,79 +0,0 @@ -#!/usr/bin/perl - -$language = "Persian"; -$prefix = "pe"; -$script = "arabic"; - -$alphabet = [ -['ا',['أ','ا','آ']], -['ب',['ب']], -['پ',['پ']], -['ت',['ت']], -['ث',['ث']], -['ج',['ج']], -['چ',['چ']], -['ح',['ح']], -['خ',['خ']], -['د',['د']], -['ذ',['ذ']], -['ر',['ر']], -['ز',['ز']], -['ژ',['ژ']], -['س',['س']], -['ش',['ش']], -['ص',['ص']], -['ض',['ض']], -['ط',['ط']], -['ظ',['ظ']], -['ع',['ع']], -['غ',['غ']], -['ف',['ف']], -['ق',['ق']], -['ک',['ک']], -['گ',['گ']], -['ل',['ل']], -['م',['م']], -['ن',['ن']], -['و',['ؤ','و']], -['ه',['ه']], -['ی',['ئ','ی']], -['A', ['a','A'],['à','À']], -['B', ['b','B']], -['C', ['c','C'],['ç','Ç']], -['D', ['d','D'],['ð','Ð']], -['E', ['e','E'],['é','É'],['è','È'],['ë','Ë'],['ê','Ê']], -['F', ['f','F']], -['G', ['g','G']], -['H', ['h','H']], -['I', ['i','I'],['ï','Ï']], -['J', ['j','J']], -['K', ['k','K']], -['L', ['l','L']], -['M', ['m','M']], -['N', ['n','N'],['ñ','Ñ']], -['O', ['o','O'],['ö','Ö'],['ô','Ô']], -['P', ['p','P']], -['Q', ['q','Q']], -['R', ['r','R']], -['S', ['s','S']], -['T', ['t','T']], -['U', ['u','U']], -['V', ['v','V']], -['W', ['w','W']], -['X', ['x','X']], -['Y', ['y','Y']], -['Z', ['z','Z']], -['Þ', ['þ','Þ']], -]; - -$sortcase = "Aa"; -#$sortcase = "aA"; - -$ligatures = [ -[['æ','Æ'], 'after', [['a','e'], ['A','e']]], -[['œ','Œ'], 'after', [['o','e'], ['O','e']]] -]; - -@special = ('?', '!', '.', 'letters', '-', '\'', '{', '}','ّ','َ','ِ','ُ','ً','ٍ','ٌ','ْ','ٔ','ء','‌','«','»','ـ'); - -do 'make-rules.pl'; diff --git a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/variant1-utf8.pl.in b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/variant1-utf8.pl.in new file mode 100644 index 00000000000..9d14f9f37c3 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/variant1-utf8.pl.in @@ -0,0 +1,82 @@ +#!/usr/bin/perl + +$language = "Persian"; +$variant = "One"; +$prefix = "pe"; +$script = "arabic"; + +$alphabet = [ +['ا',['آ']], +['ا',['أ']], +['ا',['ا']], +['ب',['ب']], +['پ',['پ']], +['ت',['ت']], +['ث',['ث']], +['ج',['ج']], +['چ',['چ']], +['ح',['ح']], +['خ',['خ']], +['د',['د']], +['ذ',['ذ']], +['ر',['ر']], +['ز',['ز']], +['ژ',['ژ']], +['س',['س']], +['ش',['ش']], +['ص',['ص']], +['ض',['ض']], +['ط',['ط']], +['ظ',['ظ']], +['ع',['ع']], +['غ',['غ']], +['ف',['ف']], +['ق',['ق']], +['ک',['ک']], +['گ',['گ']], +['ل',['ل']], +['م',['م']], +['ن',['ن']], +['و',['ؤ','و']], +['ه',['ه']], +['ی',['ئ','ی']], +['A', ['a','A'],['à','À']], +['B', ['b','B']], +['C', ['c','C'],['ç','Ç']], +['D', ['d','D'],['ð','Ð']], +['E', ['e','E'],['é','É'],['è','È'],['ë','Ë'],['ê','Ê']], +['F', ['f','F']], +['G', ['g','G']], +['H', ['h','H']], +['I', ['i','I'],['ï','Ï']], +['J', ['j','J']], +['K', ['k','K']], +['L', ['l','L']], +['M', ['m','M']], +['N', ['n','N'],['ñ','Ñ']], +['O', ['o','O'],['ö','Ö'],['ô','Ô']], +['P', ['p','P']], +['Q', ['q','Q']], +['R', ['r','R']], +['S', ['s','S']], +['T', ['t','T']], +['U', ['u','U']], +['V', ['v','V']], +['W', ['w','W']], +['X', ['x','X']], +['Y', ['y','Y']], +['Z', ['z','Z']], +['Þ', ['þ','Þ']], +]; + +$sortcase = "Aa"; +#$sortcase = "aA"; + +$ligatures = [ +[['æ','Æ'], 'after', [['a','e'], ['A','e']]], +[['œ','Œ'], 'after', [['o','e'], ['O','e']]] +]; + +@special = ('?', '!', '.', 'letters', '-', '\'', '{', '}','ّ','َ','ِ','ُ','ً','ٍ','ٌ','ْ','ٔ','ء','‌','«','»','ـ'); + +do 'make-rules.pl'; diff --git a/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/variant2-utf8.pl.in b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/variant2-utf8.pl.in new file mode 100644 index 00000000000..9c7fdfaa290 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/make-rules/alphabets/persian/variant2-utf8.pl.in @@ -0,0 +1,82 @@ +#!/usr/bin/perl + +$language = "Persian"; +$variant = "Two"; +$prefix = "pe"; +$script = "arabic"; + +$alphabet = [ +['آ',['آ']], +['ا',['أ']], +['ا',['ا']], +['ب',['ب']], +['پ',['پ']], +['ت',['ت']], +['ث',['ث']], +['ج',['ج']], +['چ',['چ']], +['ح',['ح']], +['خ',['خ']], +['د',['د']], +['ذ',['ذ']], +['ر',['ر']], +['ز',['ز']], +['ژ',['ژ']], +['س',['س']], +['ش',['ش']], +['ص',['ص']], +['ض',['ض']], +['ط',['ط']], +['ظ',['ظ']], +['ع',['ع']], +['غ',['غ']], +['ف',['ف']], +['ق',['ق']], +['ک',['ک']], +['گ',['گ']], +['ل',['ل']], +['م',['م']], +['ن',['ن']], +['و',['ؤ','و']], +['ه',['ه']], +['ی',['ئ','ی']], +['A', ['a','A'],['à','À']], +['B', ['b','B']], +['C', ['c','C'],['ç','Ç']], +['D', ['d','D'],['ð','Ð']], +['E', ['e','E'],['é','É'],['è','È'],['ë','Ë'],['ê','Ê']], +['F', ['f','F']], +['G', ['g','G']], +['H', ['h','H']], +['I', ['i','I'],['ï','Ï']], +['J', ['j','J']], +['K', ['k','K']], +['L', ['l','L']], +['M', ['m','M']], +['N', ['n','N'],['ñ','Ñ']], +['O', ['o','O'],['ö','Ö'],['ô','Ô']], +['P', ['p','P']], +['Q', ['q','Q']], +['R', ['r','R']], +['S', ['s','S']], +['T', ['t','T']], +['U', ['u','U']], +['V', ['v','V']], +['W', ['w','W']], +['X', ['x','X']], +['Y', ['y','Y']], +['Z', ['z','Z']], +['Þ', ['þ','Þ']], +]; + +$sortcase = "Aa"; +#$sortcase = "aA"; + +$ligatures = [ +[['æ','Æ'], 'after', [['a','e'], ['A','e']]], +[['œ','Œ'], 'after', [['o','e'], ['O','e']]] +]; + +@special = ('?', '!', '.', 'letters', '-', '\'', '{', '}','ّ','َ','ِ','ُ','ً','ٍ','ٌ','ْ','ٔ','ء','‌','«','»','ـ'); + +do 'make-rules.pl'; -- cgit v1.2.3