#Sed script file for converting code page 708 to ArabTeX 3.0 transliteration. #Note: You can inactivate any command by placing a pound sign in front of it. #This script is intended for use with the following control sequences: #\setverb, \novocalize. Vowels in the original Arabic will be converted, #however. #Not completely tested yet. # #This command converts doubled lams with shaddah. s/ääñ/l-ll/g # #This command converts an alif with tanwin at the end of a word. s/Çë/aN/g # #This command converts an initial alif (i.e. an alif preceded by a space). s/ Ç/ a/g # #This command converts an initial alif at the beginning of a line. s/^Ç/a/g # #These commands ensure that doubled Arabic letters are not converted to a #single letter with a shaddah. s/ÈÈ/b-b/g s/ÊÊ/t-t/g s/ËË/_t-_t/g s/ÌÌ/^g-^g/g s/ÍÍ/.h-.h/g s/ÎÎ/_h-_h/g s/ÏÏ/d-d/g s/ÐÐ/_d-_d/g s/ÑÑ/r-r/g s/ÒÒ/z-z/g s/ÓÓ/s-s/g s/ÔÔ/^s-^s/g s/ÕÕ/.s-.s/g s/ÖÖ/.d-.d/g s/××/.t-.t/g s/ØØ/.z-.z/g s/ÙÙ/`-`/g s/ÚÚ/.g-.g/g s/áá/f-f/g s/ââ/q-q/g s/ãã/k-k/g s/ää/l-l/g s/åå/m-m/g s/ææ/n-n/g s/çç/h-h/g s/èè/w-w/g s/êê/y-y/g # #These commands convert various forms of lam alif. s/äÇ/lA/g s/äÃ/l\'a/g s/äÅ/l\'i/g s/äÂ/l\'A/g # #These commands convert single letters with shaddah to doubled letters. s/Ãñ/\'\'a/g s/Áñ/u\'|\'|/g s/Æñ/\'\'i/g s/Èñ/bb/g s/Êñ/tt/g s/Ëñ/_t_t/g s/Ìñ/^g^g/g s/Íñ/.h.h/g s/Îñ/_h_h/g s/Ïñ/dd/g s/Ðñ/_d_d/g s/Ññ/rr/g s/Òñ/zz/g s/Óñ/ss/g s/Ôñ/^s^s/g s/Õñ/.s.s/g s/Öñ/.d.d/g s/×ñ/.t.t/g s/Øñ/.z.z/g s/Ùñ/``/g s/Úñ/.g.g/g s/áñ/ff/g s/âñ/qq/g s/ãñ/kk/g s/äñ/ll/g s/åñ/mm/g s/æñ/nn/g s/çñ/hh/g s/èñ/ww/g s/êñ/yy/g # #These commands convert single letters. s/Ä/\'w/g s/Á/\'|/g s/Â/\'A/g s/Ã/\'a/g s/Æ/\'y/g s/Å/\'i/g s/Ç/A/g s/È/b/g s/Ê/t/g s/Ë/_t/g s/Ì/^g/g s/Í/.h/g s/Î/_h/g s/Ï/d/g s/Ð/_d/g s/Ñ/r/g s/Ò/z/g s/Ó/s/g s/Ô/^s/g s/Õ/.s/g s/Ö/.d/g s/×/.t/g s/Ø/.z/g s/Ù/`/g s/Ú/.g/g s/á/f/g s/â/q/g s/ã/k/g s/ä/l/g s/å/m/g s/æ/n/g s/ç/h/g s/è/w/g s/ê/y/g s/é/_A/g s/É/T/g # #These commands convert vowels. s/î/"a/g s/ï/"u/g s/ì/uN/g s/ð/"i/g s/í/iN/g # #This command converts connecting lines (tatwil, kashidah). #s/à/--/g # #This command removes connecting lines. s/à//g # #This command removes sukun, which ArabTeX adds automatically. s/ò//g # #This script file may not convert all shaddahs. This command removes any #shaddahs remaining in the original file. s/ñ//g