Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!linc.cis.upenn.edu!kalita From: kalita@linc.cis.upenn.edu (Jugal Kolita) Newsgroups: comp.text.tex Subject: MF questions for a Indo-Iranian langauge; handling vowels Message-ID: <39672@netnews.upenn.edu> Date: 23 Mar 91 16:43:31 GMT References: <037D7690B6017C82@Post-Office.UH.EDU> <9103220256.AA01258@orion.arc.nasa.gov> Sender: news@netnews.upenn.edu Reply-To: kalita@linc.cis.upenn.edu (Jugal Kolita) Organization: University of Pennsylvania Lines: 70 Nntp-Posting-Host: linc.cis.upenn.edu Hi! I am trying to create a font for an Indo-Iranian language called Assamese and am having a few problems to which I have no solutions. I would appreciate if someone who knows MF well would kindly respond to them. THE PROBELM: PRINTING VOWELS ---------------------------- The way vowels are printed depends on the context. In some cases the vowel is printed as itself. But, the more interesting case is when the vowel follows a consonent and is replaced by a different character (which is a "short" form of the vowel--called a {\em kar} or sign). For example, let us take the vowel `a' as in the English word `car' which can be phonetically written as `kar' (or, let's so assume). When we print the word `kar' in Assamese, what we actually print is something like `k|r' where the vertical bar is a "short" form or sign for the vowel `a'. This is because the vowel `a' follows a consonent `k'. Let us take another more complex example. There is a vowel that corresponds to the dipthong "oe" (Let's assume it can be typed as one character--say capital `U'). It's printed as itself when it is the first letter of a word or in some other special situations. But, when it occurs after a consonent, say `k' as in `kUr', ther way it is printed as something like `[k|r' where the vowel's short form or sign has two parts a) one (i.e., the `[') occuring before the consonent `k', and b) the other (i.e., the `|') occuring after the consonent. LIGTABLES DON'T WORK -------------------- Since I will type the original text in Roman script, I was trying to use ligtables to replace vowels by the proper printed characters depending on context. But, ligtable does not allow you to replace a single character (e.g. the `U' above) by two or more characters. For example, in the example of `U' above, I would have liked to have a ligtable entry similar to "k": "U" =: "[" "k" "|"; That is, replace the sequence of two characters "kU" (i.e., `k' followed by `U') by a sequence of three characters "[k|". This is, of course, illegal. Ligtables don't even seem to replace a single character by some other character. That is, it does not allow an entry similar to "k": "a" =:"k" "|"; That is the consonent `k' remains as it is, but the vowel `a' is replaced by its sign `|'. (In other words, replace the sequence "ka" by "k|"). ----- If any of you know how I might handle this problem, I would appreciate very much your letting me know. Jugal Kalita