* using · in math mode
@ 2011-02-14 19:32 Paul Menzel
2011-02-14 23:07 ` Aditya Mahajan
0 siblings, 1 reply; 3+ messages in thread
From: Paul Menzel @ 2011-02-14 19:32 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1.1: Type: text/plain, Size: 692 bytes --]
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
[-- Attachment #1.1.2: cdot.pdf --]
[-- Type: application/pdf, Size: 14524 bytes --]
[-- Attachment #1.1.3: cdot.tex --]
[-- Type: text/x-tex, Size: 82 bytes --]
\starttext
$a · b = a \cdot \text{ (\\cdot) } b = ab$
in text ·
\stoptext
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: using · in math mode
2011-02-14 19:32 using · in math mode Paul Menzel
@ 2011-02-14 23:07 ` Aditya Mahajan
2011-02-14 23:29 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2011-02-14 23:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1069 bytes --]
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
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: using · in math mode
2011-02-14 23:07 ` Aditya Mahajan
@ 2011-02-14 23:29 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2011-02-14 23:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-14 23:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14 19:32 using · in math mode Paul Menzel
2011-02-14 23:07 ` Aditya Mahajan
2011-02-14 23:29 ` Hans Hagen
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).