1. The symbols for number sets in Cambria Math aren't taken from the double-struck variant.

Hans, please apply the following patch to math-def.mkiv

diff --git a/math-def.mkiv b/math-def.mkiv
index 31db66e..30beb5c 100644
--- a/math-def.mkiv
+++ b/math-def.mkiv
@@ -97,12 +97,12 @@
\definemathcommand [tanh]    [nolop] {\mfunction{tanh}}
\definemathcommand [tan]     [nolop] {\mfunction{tan}}

-\definemathcommand [integers]        {\mfunction{Z}}
-\definemathcommand [reals]           {\mfunction{R}}
-\definemathcommand [rationals]       {\mfunction{Q}}
-\definemathcommand [naturalnumbers]  {\mfunction{N}}
-\definemathcommand [complexes]       {\mfunction{C}}
-\definemathcommand [primes]          {\mfunction{P}}
+\definemathcommand [integers]        {\mathblackboard{Z}}
+\definemathcommand [reals]           {\mathblackboard{R}}
+\definemathcommand [rationals]       {\mathblackboard{Q}}
+\definemathcommand [naturalnumbers]  {\mathblackboard{N}}
+\definemathcommand [complexes]       {\mathblackboard{C}}
+\definemathcommand [primes]          {\mathblackboard{P}}

% using attributes

Many thanks! Although this doesn't quite solve the bug yet, now I know where to look ...

Test case:

---
\starttext

\math{\primes P},
\math{\naturalnumbers N},
\math{\integers Z},
\math{\rationals Q},
\math{\reals R},
\math{\complexes C}

\stoptext
---

Proposed patch:

diff math-def.mkiv.orig math-def.mkiv
100,105c100,105
< \definemathcommand [integers]      {\mathblackboard{Z}}
< \definemathcommand [reals]         {\mathblackboard{R}}
< \definemathcommand [rationals]     {\mathblackboard{Q}}
< \definemathcommand [naturalnumbers]{\mathblackboard{N}}
< \definemathcommand [complexes]     {\mathblackboard{C}}
< \definemathcommand [primes]        {\mathblackboard{P}}
---
> \definemathcommand [integers]      {{\mathblackboard Z}}
> \definemathcommand [reals]         {{\mathblackboard R}}
> \definemathcommand [rationals]     {{\mathblackboard Q}}
> \definemathcommand [naturalnumbers]{{\mathblackboard N}}
> \definemathcommand [complexes]     {{\mathblackboard C}}
> \definemathcommand [primes]        {{\mathblackboard P}}

Hans, Aditya, does this make sense?

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

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to