[NTG-context] Wrong Pi and Gamma with XITS

Aditya Mahajan adityam at umich.edu
Thu Jul 15 17:13:17 CEST 2010


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
-------------- next part --------------
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


More information about the ntg-context mailing list