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

[m17n-lib:00346] Re: mim syntax: mapping XKB non-ascii to non-ascii



Hello, thanks for your quick response. A few troubles, however:

> Please find a keysym name by xev and specify that name as
> symbol.  For instance,
> 
> (map (trans ((amacron) "Ä") ...))
> 
> You can also lookup /usr/include/X11/keysymdef.h.  A keysym
> name is the same as a macro name (sans "XK_").

I tried "acaron" for "Ã", that is what both xev and keysymdef.h say.  The
whole file is like this:

 (title "Latin-LOCAL")
 (map (trans ("b" "BBB") ((dollar) ("$$$")) ((aacute) "AAA") ((nonsense) "nonsense") ))
 (state (init (trans)))

The map itself works (tested by b â BB), but neither "dollar" (which is
perfectly ASCII) neither "aacute" work as expected. Apparently symbol
existence is not checked beforehand as "nonsense" does not make the mim
not to be loaded.

Anyway, I noticed that I have libm17n-0 version 1.2.0 (ubuntu dapper), I
will try to upgrade to use debian unstable 1.3.1 packages, if that can
make a difference here. I will get back if that changes anything.

> Check if you have the command "m17n-db".  If you have it,
> you should be able to get a list of available mim files by:
> 
> % m17n-db -l input-method

My version returns invalid paths (like /usr/share/unicode.mim instead of
/usr/share/m17n/unicode.mim), but that might be version / packaging
issue and certainly is not important for me at the moment.

Regards,

VÃclav Åmilauer