summaryrefslogtreecommitdiff
path: root/Master/texmf/xindy/modules/lang/persian/utf8.pl.in
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/xindy/modules/lang/persian/utf8.pl.in')
-rw-r--r--Master/texmf/xindy/modules/lang/persian/utf8.pl.in79
1 files changed, 79 insertions, 0 deletions
diff --git a/Master/texmf/xindy/modules/lang/persian/utf8.pl.in b/Master/texmf/xindy/modules/lang/persian/utf8.pl.in
new file mode 100644
index 00000000000..480de4b4ac1
--- /dev/null
+++ b/Master/texmf/xindy/modules/lang/persian/utf8.pl.in
@@ -0,0 +1,79 @@
+#!/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';