On, Wed Jan 31, 2007, mkieverpy@... 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.
> 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.
> 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.