[NTG-context] Unicode symbols in math mode

Nikolai Weibull mailing-lists.context-users at rawuncut.elitemail.org
Fri May 20 15:52:39 CEST 2005


Hans Hagen wrote:

> Nikolai Weibull wrote:

> > I was wondering if it would be easy to add UTF-8 transformations of
> > symbols like ≥ to \geq in math mode, much like “ and ” are 
> > transformed to `` and '' (atleast I assume this to be true, as it
> > works for me).

> no problem, but someone has to define the vector; there was some
> discussion on this some time ago; so, if you prepare the vector
> (analogue to unic-*.tex) ...

OK, then, I’ll do it...and I did it...and it’s kind of sweet.  There are
some problems however:

1.  Not all symbols have a TeX equivant that I know about.  If anyone is
    interested, please do go through the vector, looking for
    \unknownchar’s and substitute in the appropriate TeX sequence.

2.  Many negated operators are traditionally written using \not.  The
    Unicode transformations don’t work with sequences like these.  I
    don’t know enough about the Unicode vector transformations to
    assertain how to solve this problem.  Can someone perhaps tell me
    how to solve this issue?

Thanks, and do enjoy the wonderful world of Unicode,
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unic-034.tex
Type: application/x-tex
Size: 13341 bytes
Desc: not available
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20050520/2ddd2df4/unic-034-0001.tex


More information about the ntg-context mailing list