; This file is part of babel. For further details see:
;   https://www.ctan.org/pkg/babel

; Yannis Haralambous' system in his 'dad'. Only two rules are missing.
; 3-letter
transliteration.dad.1.0 = { {+}a{*} }
transliteration.dad.1.1 =   { string = ٰ }
transliteration.dad.1.2 =   { string = ّ }
transliteration.dad.1.3 =   { remove }
transliteration.dad.2.0 = { {+}([aui])N }
transliteration.dad.2.1 =   { string = {1|aui|ًٌٍ} }
transliteration.dad.2.2 =   { string = ّ }
transliteration.dad.2.3 =   { remove }
; 2-letter
transliteration.dad.3.0 = { ([aui])N }
transliteration.dad.3.1 =   { string = {1|aui|ًٌٍ} }
transliteration.dad.3.2 =   { remove }
transliteration.dad.4.0 = { ([tAa]){*} }
transliteration.dad.4.1 =   { string = {1|tAa|ةٱٰ} }
transliteration.dad.4.2 =   { remove }
transliteration.dad.5.0 = { ([tds])h }
transliteration.dad.5.1 =   { string = {1|tds|ثذش} }
transliteration.dad.5.2 =   { remove }
transliteration.dad.6.0 = { {+}([aui]) }
transliteration.dad.6.1 =   { string = {1|aui|َُِ} }
transliteration.dad.6.2 =   { string = ّ }
transliteration.dad.7.0 = { '([AauiIbnf]) }
transliteration.dad.7.1 =   { remove }
transliteration.dad.7.2 =   { string = {1|AauiIbnf|آأؤإئٮںڡ} }
; 1-letter
transliteration.dad.8.0 = { ([{007C}AbtjHxdrzsSDTZ`RfqklmnhUIYaui+opCvgJe]) }
transliteration.dad.8.1 =   { string = {1|{007C}AbtjHxdrzsSDTZ`RfqklmnhUIYaui+opCvgJe|ءابتجحخدرزسصضطظعغفقكلمنهوىيَُِّْپچڤگژۀ} }
; 
kashida.plain.1.0 = { ()[يئهشسقفغعضصنمكلظطخحجثتب]()[ًٍَُِّ]*[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
kashida.plain.1.1 =   { kashida = 500 }
kashida.plain.2.0 = { ()ل()[ًٍَُِّ]*[اأإآ] }
kashida.plain.2.1 =   { kashida = 0 }
;
; Contributed by Christian Lück (@lueck)
kashida.base.1.0 = { ()[يئهشسقفغعضصنمكلظطخحجثتب]()[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
kashida.base.1.1 =   { kashida = 500 }
; one diacritic mark: insert kashida behind it
kashida.base.2.0 = { [يئهشسقفغعضصنمكلظطخحجثتب]()[ًٍَُِّ]()[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
kashida.base.2.1 =   { kashida = 500 }
; two diacritic marks: insert kashida behind them
kashida.base.3.0 = { [يئهشسقفغعضصنمكلظطخحجثتب][ًٍَُِّ]()[ًٍَُِّ]()[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
kashida.base.3.1 =   { kashida = 500 }
kashida.base.4.0 = { ()ل()[ًٍَُِّ]*[اأإآ] }
kashida.base.4.1 =   { kashida = 0 }
kashida.base.5.0 = { ل()[ًٍَُِّ]()[اأإآ] }
kashida.base.5.1 =   { kashida = 0 }