ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unicode symbols in math mode
@ 2005-05-19 16:48 Nikolai Weibull
  2005-05-19 21:45 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Nikolai Weibull @ 2005-05-19 16:48 UTC (permalink / raw)


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).

Thanks,
        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);}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unicode symbols in math mode
  2005-05-19 16:48 Unicode symbols in math mode Nikolai Weibull
@ 2005-05-19 21:45 ` Hans Hagen
  2005-05-20 13:52   ` Nikolai Weibull
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2005-05-19 21:45 UTC (permalink / raw)


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) ...

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unicode symbols in math mode
  2005-05-19 21:45 ` Hans Hagen
@ 2005-05-20 13:52   ` Nikolai Weibull
  0 siblings, 0 replies; 3+ messages in thread
From: Nikolai Weibull @ 2005-05-20 13:52 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]

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);}

[-- Attachment #2: unic-034.tex --]
[-- Type: application/x-tex, Size: 13621 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-20 13:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-19 16:48 Unicode symbols in math mode Nikolai Weibull
2005-05-19 21:45 ` Hans Hagen
2005-05-20 13:52   ` Nikolai Weibull

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).