[openi18n-im:01377] Re: Help with defining a new module

Hideki Hiura <[email protected]> Sun, 15 May 2005 23:50:28 -0700 (PDT)
Newsgroups gmane.comp.internationalization.input-methods
Message-ID <[email protected]>
> From: Giuseppe Castagna <[email protected]>
>     I am not sure if this is the right place to ask for help.

You've come to the right place!

> so I thought to write an iiimf module that transformed the latex
> commands as the above into the corresponding Unicode symbols.

Excellent idea!!

> 4) Added in /usr/lib/im/locale/UNIT/sysime.cfg the lines
> 
> [ tex ]
> latex common/xctim.so LATEX
               ^^^^^
It may be this. Instead of xctim.so, it should be ctim.so as follows;

latex common/ctim.so LATEX

xctim was originally developed as a specific variant of ctim just for 
incorporating the Compose IM of Xlib, so ctim should be the right unit
submodule for this kind of composition rules.

Also, as Jens already pointed out, 

> MaxCodes:    5
$:
> \lambda    λ

MaxCodes needs to be 7.

Hope it helps!
Hideki