#Sed script file for converting code page 720 to ArabTeX transliteration. #ArabTeX transliterates an initial alif as `a' and a medial or final alif #as `A'. In order to distinguish between the two positions of alif, this #script file substitutes `a' for all alifs preceded by a space and #substitutes `A' for all alifs not preceded by a space. If an initial alif #comes at the beginning of a line it will normally not be preceded by a #space and `A' will be substitued for it instead of `a'. To prevent this #from happening add a space in front of every initial alif at the #beginning of a line before running the sed command. #ArabTeX transliterates a hamzah on a waw as an apostrophe either #preceded or followed by `u' (i.e. u' or 'u). This script file #substitutes an apostrophe followed by `u' for every hamzah on a waw. #This substitution, however, may not produce the correct vocalization of a #given word. In such a case manual correction will be required. s/ / a/g 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 s//lA/g s//l\'A/g s//l\'i/g s//\'/g s//\'A/g s//\'a/g s//\'u/g s//\'i/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