Torsten Bronger writes:

 > it's full of "\ifmmode ... \else ... \fi" constructs.  So I must be
 > aware of the current mode for *most* characters.  One line says
 > e.g.:
 >
 > 0x107   cacute                   "\ifmmode \acute{c}\else \'{c}\fi{}"
 >
 > My dream is to just insert the UTF-8 sequence of 0x107 and it
 > works.

have a look at

  http://www.latex-project.org/code/experimental/inpmath.zip

then,  to make your dream come through  :-)

(perhaps you may want to work on filling the tables as that is not done yet)


 > Of course, the "cacute" doesn't make sense in math mode, and

it is not that, it is that TeX has different font models in text and math and
is not unicode aware. in fact even the above code is not working in TeX but
needs "eTeX"


frank