ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Wrong Pi and Gamma with XITS
@ 2010-07-14 20:30 Khaled Hosny
  2010-07-14 21:18 ` Aditya Mahajan
  0 siblings, 1 reply; 10+ messages in thread
From: Khaled Hosny @ 2010-07-14 20:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I get double struck instead of regular ones.

\setupbodyfont[xits]
\starttext
$\mathit{Γ\quadΠ}$
\stoptext

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Wrong Pi and Gamma with XITS
  2010-07-14 20:30 Wrong Pi and Gamma with XITS Khaled Hosny
@ 2010-07-14 21:18 ` Aditya Mahajan
  2010-07-14 21:22   ` Khaled Hosny
  0 siblings, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2010-07-14 21:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 346 bytes --]

On Wed, 14 Jul 2010, Khaled Hosny wrote:

> I get double struck instead of regular ones.
>
> \setupbodyfont[xits]
> \starttext
> $\mathit{Γ\quadΠ}$
> \stoptext

This was fixed a while back. Not sure if Hans released a beta after that. 
IIRC, in math-map.lua table.merge needs to be changed to table.merged (or 
vice versa?)

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] 10+ messages in thread

* Re: Wrong Pi and Gamma with XITS
  2010-07-14 21:18 ` Aditya Mahajan
@ 2010-07-14 21:22   ` Khaled Hosny
  2010-07-14 21:41     ` Aditya Mahajan
  2010-07-15  7:25     ` Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: Khaled Hosny @ 2010-07-14 21:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jul 14, 2010 at 05:18:07PM -0400, Aditya Mahajan wrote:
> On Wed, 14 Jul 2010, Khaled Hosny wrote:
> 
> >I get double struck instead of regular ones.
> >
> >\setupbodyfont[xits]
> >\starttext
> >$\mathit{Γ\quadΠ}$
> >\stoptext
> 
> This was fixed a while back. Not sure if Hans released a beta after
> that. IIRC, in math-map.lua table.merge needs to be changed to
> table.merged (or vice versa?)

Sorry, I should have mentioned that I'm testing against texlive-2010
pretest.

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Wrong Pi and Gamma with XITS
  2010-07-14 21:22   ` Khaled Hosny
@ 2010-07-14 21:41     ` Aditya Mahajan
  2010-07-15 11:10       ` Taco Hoekwater
  2010-07-15  7:25     ` Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2010-07-14 21:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 719 bytes --]

On Thu, 15 Jul 2010, Khaled Hosny wrote:

> On Wed, Jul 14, 2010 at 05:18:07PM -0400, Aditya Mahajan wrote:
>> On Wed, 14 Jul 2010, Khaled Hosny wrote:
>> 
>> >I get double struck instead of regular ones.
>> >
>> >\setupbodyfont[xits]
>> >\starttext
>> >$\mathit{Γ\quadΠ}$
>> >\stoptext
>> 
>> This was fixed a while back. Not sure if Hans released a beta after
>> that. IIRC, in math-map.lua table.merge needs to be changed to
>> table.merged (or vice versa?)
>
> Sorry, I should have mentioned that I'm testing against texlive-2010
> pretest.

This bug was fixed two weeks back, and as such is not fixed in TL.

@Taco: Does it deserve a hotfix in TL? It is just a change of two lines.

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] 10+ messages in thread

* Re: Wrong Pi and Gamma with XITS
  2010-07-14 21:22   ` Khaled Hosny
  2010-07-14 21:41     ` Aditya Mahajan
@ 2010-07-15  7:25     ` Hans Hagen
  2010-07-15  7:36       ` Khaled Hosny
  1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2010-07-15  7:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 14-7-2010 11:22, Khaled Hosny wrote:

> Sorry, I should have mentioned that I'm testing against texlive-2010
> pretest.

Already months ago texlive 2010 was frozen and therefore the context
on it is one of a few month ago. I get the impression that other tex 
macro packages keep updating but we keep frozen. After all, it's a 
snapshot and users can update any time. We could of course push a recent 
version but the luatex binary used on tl is not the latest and we don't 
want to enter testing new cache code in tl 2010 now.

So .. do no use the tl 2010 version as benchmark (esp not for things 
that evolve due to fixes in the engine, improved insight, more benchmark 
fonts, etc).

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] 10+ messages in thread

* Re: Wrong Pi and Gamma with XITS
  2010-07-15  7:25     ` Hans Hagen
@ 2010-07-15  7:36       ` Khaled Hosny
  2010-07-15 15:16         ` Aditya Mahajan
  0 siblings, 1 reply; 10+ messages in thread
From: Khaled Hosny @ 2010-07-15  7:36 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Thu, Jul 15, 2010 at 09:25:47AM +0200, Hans Hagen wrote:
> On 14-7-2010 11:22, Khaled Hosny wrote:
> 
> >Sorry, I should have mentioned that I'm testing against texlive-2010
> >pretest.
> 
> Already months ago texlive 2010 was frozen and therefore the context
> on it is one of a few month ago. I get the impression that other tex
> macro packages keep updating but we keep frozen. After all, it's a
> snapshot and users can update any time. We could of course push a
> recent version but the luatex binary used on tl is not the latest
> and we don't want to enter testing new cache code in tl 2010 now.

AFAIK, texlive 2010 freeze will start from tomorrow, so it was not frozen
before.


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Wrong Pi and Gamma with XITS
  2010-07-14 21:41     ` Aditya Mahajan
@ 2010-07-15 11:10       ` Taco Hoekwater
  2010-07-15 15:13         ` Aditya Mahajan
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2010-07-15 11:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Aditya Mahajan wrote:
> 
> @Taco: Does it deserve a hotfix in TL? It is just a change of two lines.

Sure, if you send me tested patch against TL10/pretest
(I don't run pretest any more, and I don't trust copying files
from the current beta).

Best wishes,
Taco
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Wrong Pi and Gamma with XITS
  2010-07-15 11:10       ` Taco Hoekwater
@ 2010-07-15 15:13         ` Aditya Mahajan
  2010-07-16  5:19           ` Taco Hoekwater
  0 siblings, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2010-07-15 15:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 480 bytes --]

On Thu, 15 Jul 2010, Taco Hoekwater wrote:

> Aditya Mahajan wrote:
>>
>> @Taco: Does it deserve a hotfix in TL? It is just a change of two lines.
>
> Sure, if you send me tested patch against TL10/pretest
> (I don't run pretest any more, and I don't trust copying files
> from the current beta).

See attached patch, for the Gamma and Pi as well as the corrected 
definition of \mathgreekitalic.

(I tested with Cambria rather than xits, but that should not matter here).

Aditya

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1675 bytes --]

diff --git a/math-ini.mkiv b/math-ini.mkiv
index 828a6ec..9dbadc1 100644
--- a/math-ini.mkiv
+++ b/math-ini.mkiv
@@ -54,8 +54,8 @@
 
 % todo: only in mmode
 
-\unexpanded\def\mathgreekupright{\attribute\mathgreekattribute11 }
-\unexpanded\def\mathgreekitalic {\attribute\mathgreekattribute22 }
+\unexpanded\def\mathgreekupright{\attribute\mathgreekattribute22 }
+\unexpanded\def\mathgreekitalic {\attribute\mathgreekattribute33 }
 \unexpanded\def\mathgreekdefault{\attribute\mathgreekattribute\attributeunsetvalue}
 
 \let\mathgreeknormal\mathgreekupright
diff --git a/math-map.lua b/math-map.lua
index 2d34dc1..d3e8cc1 100644
--- a/math-map.lua
+++ b/math-map.lua
@@ -303,9 +303,9 @@ alphabets.monospaced.it         = alphabets.sansserif.tf
 alphabets.monospaced.bf         = alphabets.sansserif.tf
 alphabets.monospaced.bi         = alphabets.sansserif.bf
 
-alphabets.blackboard.tf.symbols = table.merge(alphabets.regular.tf.symbols, alphabets.blackboard.tf.symbols)
-alphabets.blackboard.tf.lcgreek = table.merge(alphabets.regular.tf.lcgreek, alphabets.blackboard.tf.lcgreek)
-alphabets.blackboard.tf.ucgreek = table.merge(alphabets.regular.tf.ucgreek, alphabets.blackboard.tf.ucgreek)
+alphabets.blackboard.tf.symbols = table.merged(alphabets.regular.tf.symbols, alphabets.blackboard.tf.symbols)
+alphabets.blackboard.tf.lcgreek = table.merged(alphabets.regular.tf.lcgreek, alphabets.blackboard.tf.lcgreek)
+alphabets.blackboard.tf.ucgreek = table.merged(alphabets.regular.tf.ucgreek, alphabets.blackboard.tf.ucgreek)
 
 alphabets.blackboard.it         = alphabets.blackboard.tf
 alphabets.blackboard.bf         = alphabets.blackboard.tf

[-- Attachment #3: 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] 10+ messages in thread

* Re: Wrong Pi and Gamma with XITS
  2010-07-15  7:36       ` Khaled Hosny
@ 2010-07-15 15:16         ` Aditya Mahajan
  0 siblings, 0 replies; 10+ messages in thread
From: Aditya Mahajan @ 2010-07-15 15:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 15 Jul 2010, Khaled Hosny wrote:

> On Thu, Jul 15, 2010 at 09:25:47AM +0200, Hans Hagen wrote:
>> On 14-7-2010 11:22, Khaled Hosny wrote:
>>
>>> Sorry, I should have mentioned that I'm testing against texlive-2010
>>> pretest.
>>
>> Already months ago texlive 2010 was frozen and therefore the context
>> on it is one of a few month ago. I get the impression that other tex
>> macro packages keep updating but we keep frozen. After all, it's a
>> snapshot and users can update any time. We could of course push a
>> recent version but the luatex binary used on tl is not the latest
>> and we don't want to enter testing new cache code in tl 2010 now.
>
> AFAIK, texlive 2010 freeze will start from tomorrow, so it was not frozen
> before.

Yes, but the TL binary freeze is much sooner (and for good reason). 
Freezing luatex effectively freezes ConTeXt MkIV. Bugfixes and new 
features must be added selectively to pretest, which makes testing much 
harder.
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Wrong Pi and Gamma with XITS
  2010-07-15 15:13         ` Aditya Mahajan
@ 2010-07-16  5:19           ` Taco Hoekwater
  0 siblings, 0 replies; 10+ messages in thread
From: Taco Hoekwater @ 2010-07-16  5:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Aditya Mahajan wrote:
> On Thu, 15 Jul 2010, Taco Hoekwater wrote:
> 
>> Aditya Mahajan wrote:
>>>
>>> @Taco: Does it deserve a hotfix in TL? It is just a change of two lines.
>>
>> Sure, if you send me tested patch against TL10/pretest
>> (I don't run pretest any more, and I don't trust copying files
>> from the current beta).
> 
> See attached patch, for the Gamma and Pi as well as the corrected
> definition of \mathgreekitalic.

Thanks, applied.

best wishes,
Taco
___________________________________________________________________________________
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] 10+ messages in thread

end of thread, other threads:[~2010-07-16  5:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-14 20:30 Wrong Pi and Gamma with XITS Khaled Hosny
2010-07-14 21:18 ` Aditya Mahajan
2010-07-14 21:22   ` Khaled Hosny
2010-07-14 21:41     ` Aditya Mahajan
2010-07-15 11:10       ` Taco Hoekwater
2010-07-15 15:13         ` Aditya Mahajan
2010-07-16  5:19           ` Taco Hoekwater
2010-07-15  7:25     ` Hans Hagen
2010-07-15  7:36       ` Khaled Hosny
2010-07-15 15:16         ` Aditya Mahajan

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