On Fri, 15 May 2009, Oliver Buerschaper wrote:
Dear list,
the following are probably bugs in the new math engine as of yesterday's beta
(2009.05.14 16:44):
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
2. Vector arrows look somewhat strange in Cambria Math ... is this perhaps
due to the font itself?
---
\usetypescript[cambria]
\setupbodyfont[cambria]
\starttext
The arrows should neither extend over the right bracket nor into the primes:
\startformula{}
[\alpha(\vec{k})\alpha(\vec{k}'),\alpha^\dagger(\vec{k}'')]
\stopformula
\stoptext
---
I don't know whether the font or luatex/context is at fault.
3. The command \implies is undefined (see previous posting).
Hans, can we add this somewhere?
%D This is a temporary hack until we figure out how to do this correctly.
\unexpanded\def\implies {\mathrel{\;\Longrightarrow\;}}
\unexpanded\def\impliedby {\mathrel{\;\Longleftarrow\;}}
\unexpanded\def\And {\mathrel{\;\internalAnd\;}}
\unexpanded\def\iff {\;\Longleftrightarrow\;}
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________