[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xemacs and Chinese input



Robert Storey wrote:

On Sun, 27 Apr 2003 11:25:45 +0800
Petr Simon <debian@klubko.net> wrote:

Thanks Robert,
I have recetly posted this problem to xemacs-mule, let's see what they can do :-). I wiil inform you and others interested.

Have you found a good mailing list for Emacs? Please let me know where -
I'd like to subscribe.

As for emacs and xemacs. I use xemacs now, because it gives me nice fonts. How do you handle fonts in emacs, because both gb and big5 are italics-like, not very clear.

I just asked that question a couple of days on this list. I received
several good replies, and it seemed there was more than one way to do it,
so the way I chose was to add a line to file .Xresources that says the
following:

 emacs*font:             9x15

You can, of course, choose a different font, or different size:

 emacs*font:             10x20

And another thing, when I try to
set these fonts in emacs bigger, ,chinese char change to squares. Eh.

I've seen that before - apparently package xfonts-intl-chinese doesn't
support such large sizes, but you might try installing
xfonts-intl-chinese-big (let me know if that works, I can't try it myself
since I don't have Xemacs installed, only Emacs).

By the way, what screen resolution are you using? I use 800x600 - I just
cannot work with 1024x768 because it makes everything too small.

I found char tables with pinyin (accented roman letters) and I am still struggling to input them, but I probably also need IPA, because I need more accurate phonetic transcription for my thesis and I assume that only IPA would have that. Or unicode. I have to experiment I guess, but there must be someone who's using these things. My present problem are fonts, because I can list IPA characters, but alll appear as squares,

If they appear as squares, that would indicate there is no font installed
to support those characters. I have doubts that GB or BIG5 files could work
with IPA-encoded characters, but in Unicode it should be OK. I believe that
Emacs 21 does not support Unicode, but that this is planned for Emacs 22.
Thanks for any other suggetions. And by the way, don't you need to type pinyin (tone marks, roman letters) sometimes? How do you do it if so. I found that I can input these eg in KWord via KCharSellect, but only for few fonts, like Arial and other MS fonts, which work really well.

There's been a discussion on the list just over the past few days about
inputting special characters such as ñ à á â ã ä å æ ç è é ê ë. Yes, you
can do it in Emacs, example: "C-x 8 ` e" will produce è. I don't know how
to do it in Xemacs though. BUT if you input these special characters into a
file and then set the code page to GB or BIG5, the special characters will
morph into Chinese characters. This is a problem of double-byte characters,
and Unicode is intended to solve that problem. But I can tell you for a
fact that GB (but not BIG5) does include a set of Roman characters with
Pinyin tone marks - it's part of the actual GB character set - I just don't
know how to get Emacs to input them.

regards,
Robert


Hi Robert,
So I solved ipa problem. It was in fonts. I haven't installed xfonts-intl-phonetic. Tipa is about something different. I found some help on xemacs-mule@xemacs.org and there is comp.emacs which might be helpful too, but didn't proof to be too fruitfull for me so far. But I will probably look there time to time. I have solved the chinese font problem by setting it to standard: 16 dot medium, which is not very nice for chinese, but I need to type with diacritics and this is only option which is readable. I use both resolution s you have mentioned (prehistoric laptop and desktop), but both seem the same. As for emacs21 and unicode, it works pretty well and I set utf-8 as my environment for everything. I was following the mentioned discussion about diacritics. Well, right now I have replied to one guy (hopefully big guru) on xemacs-mule@xemacs.org with this problem. I will inform you about the result. What I really need right now, is to learn how to bind characters from utf-8 or gb2312 (i am talking about pinyin marks, of course, and more ;-)) to some reasonable combination of key strokes. What are macros for anyway, would these be useful?
OK, if find something about anything, let me (us interested know)
Thanks a lot
Petr



Reply to: