[NTG-context] using · in math mode

2011-02-14 Thread Paul Menzel
Dear ConTeXt folks,


I am using the Neo keyboard layout [1], which enables me to directly
enter several UTF-8 characters.

The dot »·« is one of those characters [2] and I like to use it in math
mode instead of `\cdot`.

But in math mode it is some kind of bold lower dot (see attachment) and
not ·. In works fine “text mode”.

\starttext
$a · b = a \cdot \text{ (\\cdot) } b = ab$

in text ·
\stoptext

Is the wrong UTF-8 character used or can ConTeXt be adapted to use »·«
as would like to?


Thanks,

Paul


[1] http://www.neo-layout.org/
[2] http://wiki.neo-layout.org/browser/A-REFERENZ-A/neo20.txt#L225


cdot.pdf
Description: Adobe PDF document
\starttext
$a · b = a \cdot \text{ (\\cdot) } b = ab$

in text ·
\stoptext


signature.asc
Description: This is a digitally signed message part
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] using · in math mode

2011-02-14 Thread Aditya Mahajan

On Mon, 14 Feb 2011, Paul Menzel wrote:


Dear ConTeXt folks,


I am using the Neo keyboard layout [1], which enables me to directly
enter several UTF-8 characters.

The dot »·« is one of those characters [2] and I like to use it in math
mode instead of `\cdot`.

But in math mode it is some kind of bold lower dot (see attachment) and
not ·. In works fine “text mode”.

   \starttext
   $a · b = a \cdot \text{ (\\cdot) } b = ab$

   in text ·
   \stoptext

Is the wrong UTF-8 character used or can ConTeXt be adapted to use »·«
as would like to?


The dot that you have entered is 0x00B7 which is periodcentered. The cdot 
maps to 22C5.


Everything works fine if you use a unicode math font (cambria or xits). In 
LM, there is a bug in the mappings. For some reason 00B7 is mapped to 
squaresmallsolid in tex-ma. I need to check why that definition is there 
before determining how to fix it (which is relatively easy).


OT: Is there a timeline for LM OpenType Math?

Aditya___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] using · in math mode

2011-02-14 Thread Hans Hagen

On 15-2-2011 12:07, Aditya Mahajan wrote:

On Mon, 14 Feb 2011, Paul Menzel wrote:


Dear ConTeXt folks,


I am using the Neo keyboard layout [1], which enables me to directly
enter several UTF-8 characters.

The dot »·« is one of those characters [2] and I like to use it in math
mode instead of `\cdot`.

But in math mode it is some kind of bold lower dot (see attachment) and
not ·. In works fine “text mode”.

\starttext
$a · b = a \cdot \text{ (\\cdot) } b = ab$

in text ·
\stoptext

Is the wrong UTF-8 character used or can ConTeXt be adapted to use »·«
as would like to?


The dot that you have entered is 0x00B7 which is periodcentered. The
cdot maps to 22C5.

Everything works fine if you use a unicode math font (cambria or xits).
In LM, there is a bug in the mappings. For some reason 00B7 is mapped to
squaresmallsolid in tex-ma. I need to check why that definition is there
before determining how to fix it (which is relatively easy).


ok


OT: Is there a timeline for LM OpenType Math?


an elastic one -)

and even than, we will keep the virtual ones around as we also use them 
for torture testing that mechanism


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___