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UgYW5kIG1hbmFn ZWQgdG8gZmluZCBzb21lIG1vcmUgREVBRAprZXlzIGl0IGNhbid0IGhhbmRsZS4gVGhlc2UgY3Jl YXRlIGFuIGV4Y2VwdGlvbiBpbiBFZGl0YWJsZS5weQp3aGVuIGFjY2Vzc2luZyBldmVudC51bmlj b2RlLiBTbyBJIHRoaW5rIGluc3RlYWQgb2YgaGF2aW5nIGEgYmxhY2sgbGlzdAppbiBFZGl0YWJs ZSB5b3Ugc2hvdWxkIGNoZWNrIGZvciBvdGhlciBkZWFkIGtleXMgaW1tZWRpYXRlbHkKYWZ0ZXIg aGFuZGxpbmcgYWxsIHRoZSBzcGVjaWFsIGFuZCBvciBkZWFkIGtleXMgeW91IHdhbnQgdG8gaGFu ZGxlLgpUaGUgcGF0Y2ggZGVhZGtleXMucGF0Y2ggY2hhbmdlcyB0aGlzLgpBcyBJIGhhdmUgc2Vl biB0aGVyZSBoYXMgYmVlbiBhIHJlY2VudCBjaGFuZ2UgaW4gRWRpdGFibGUucHkgaW4gQ1ZTLgpT byBJIGRpZCBhIHBhdGNoIGRlYWRrZXlzMV8yOV8yXzQucGF0Y2ggYWxzbywgYnV0IHRoaXMgb25l IGlzbid0IHRlc3RlZC4KCkJ5IHRoZSB3YXksIHRoZSBkZWFkIGtleSBJIHdhcyB0cnlpbmcgd2Fz IHRoZSBDb21wb3NlIGtleS4KSSBhbSBvbiBMaW51eC9YMTEvY3R3bS4gSXMgdGhlcmUgYW55IGNo YW5jZSB0byBnZXQgaXQgd29ya2luZwp1bmRlciBTREwvcHlnYW1lPyBUaGUga2V5IGV2ZW50cyBs b29rIHNvbWV3aGF0IHJhdy4KCkdyZWV0aW5ncywKTWF0dGhpYXMgS2lldmVybmFnZWwKKG1raWV2 ZXIuYXQud2ViLmRvdC5kZSkK |
From: Marcus v. A. <ma...@sy...> - 2007-01-31 23:24:28
|
On, Wed Jan 31, 2007, mki...@tl... wrote: [...] > I translated the manual to info-files using docbook2texi and makeinfo. > docbook2texi cannot handle the code-tags you used for inline code. > Apart from that it works fine (except for the pictures of course). > It's just missing the info title and category. > The patch 'texinfo.patch' adds a title/category to manual.xml > to be used by info. > As I don't know docbook I can't say if this gets rendered > when translating to html/pdf or other. I hope not. I'll look into it and add your patch then. Thanks for it. =20 > I tried the 'entry'-example and managed to find some more DEAD > keys it can't handle. These create an exception in Editable.py > when accessing event.unicode. So I think instead of having a black list > in Editable you should check for other dead keys immediately > after handling all the special and or dead keys you want to handle. I have no idea, what you mean with that, but you are right, some keys might be missing. If they are not supported by SDL in some way we cannot deal with them correctly if we don't want to break certain input. > The patch deadkeys.patch changes this. > As I have seen there has been a recent change in Editable.py in CVS. > So I did a patch deadkeys1_29_2_4.patch also, but this one isn't tested. >=20 > By the way, the dead key I was trying was the Compose key. Right. This one is not listed in the pygame key constants although it exists in SDL. I applied your patch using len() instead of !=3D "" for the additional event.unicode check. Thanks. > I am on Linux/X11/ctwm. Is there any chance to get it working > under SDL/pygame? The key events look somewhat raw. The Compose key is listed as key.code =3D 314 in the SDL headers, but not as pygame constant. You could define your own constant to check for it. Regards Marcus |