D
Dung Ping
I posted a similar question quite a while ago, but didn't get positive
answer. Beofore turning to other approaches, I would like to check
again. Following is what I like to do:
Chinese is a tone language. There are four tones that are referred to
as Tone 1 through Tone 4. The language is usually written with an
ideographic script of characters. But there is a less-used alphabetic
writing that consists of the 26 letters for English and 4 diacritics
for the 4 tones.
I like to develop a very simple word processor contained preferably in
a textarea of form. When the numbers 1 to 4 are typed after a letter
spelling, they will become a superscript. This is a must because that
when reading the script, the tone marks are not part of the spelling
process as the letters are. They only indicate a feature of the sound.
Therefore, by nature they are diacritics. If appearing after letter
spellings as regular-sized numbers, they would obstruct the smooth
spelling process. Native speakers of Chinese don't like that.
I know MS Keyboard Layout Creator may accomplish this. But I like to
know whether this can also be done with Javascript, because I intend to
put the program on the Internet for other people to test and discuss
it.
Another thing is that if the numbers 1 to 4 do not immediately follow
an alphabetic letter, they will appear as regular-sized numbers. I
don't think I have the ability to do the programing on the MSKLC.
I am a very slow learner for Javascript, in fact for any programing
language. But I am still interested to learn Javascript for its
usefulness on the Internet. So first of all, I like to know whether or
not this can be accomplished with Javasript, no matter how difficult or
complicated the programing would be.
Thanks in advance.
Dung Ping
answer. Beofore turning to other approaches, I would like to check
again. Following is what I like to do:
Chinese is a tone language. There are four tones that are referred to
as Tone 1 through Tone 4. The language is usually written with an
ideographic script of characters. But there is a less-used alphabetic
writing that consists of the 26 letters for English and 4 diacritics
for the 4 tones.
I like to develop a very simple word processor contained preferably in
a textarea of form. When the numbers 1 to 4 are typed after a letter
spelling, they will become a superscript. This is a must because that
when reading the script, the tone marks are not part of the spelling
process as the letters are. They only indicate a feature of the sound.
Therefore, by nature they are diacritics. If appearing after letter
spellings as regular-sized numbers, they would obstruct the smooth
spelling process. Native speakers of Chinese don't like that.
I know MS Keyboard Layout Creator may accomplish this. But I like to
know whether this can also be done with Javascript, because I intend to
put the program on the Internet for other people to test and discuss
it.
Another thing is that if the numbers 1 to 4 do not immediately follow
an alphabetic letter, they will appear as regular-sized numbers. I
don't think I have the ability to do the programing on the MSKLC.
I am a very slow learner for Javascript, in fact for any programing
language. But I am still interested to learn Javascript for its
usefulness on the Internet. So first of all, I like to know whether or
not this can be accomplished with Javasript, no matter how difficult or
complicated the programing would be.
Thanks in advance.
Dung Ping