From: Oliver Buerschaper <oliver.buerschaper@mpq.mpg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: bugs in math engine?
Date: Wed, 20 May 2009 16:26:24 +0200 [thread overview]
Message-ID: <6D35B20E-B10C-4F81-A0DB-A171EF1E6C15@mpq.mpg.de> (raw)
In-Reply-To: <alpine.LNX.2.00.0905150951000.25712@ybpnyubfg.ybpnyqbznva>
>> 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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-05-20 14:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-15 12:03 Oliver Buerschaper
2009-05-15 14:03 ` Aditya Mahajan
2009-05-15 14:28 ` Hans Hagen
[not found] ` <330B8D23-9AA4-4BF3-AE82-D665063C6261@mpq.mpg.de>
[not found] ` <alpine.LNX.2.00.0905151310560.25712@ybpnyubfg.ybpnyqbznva>
2009-05-15 20:26 ` Patrick Gundlach
2009-05-15 20:47 ` Aditya Mahajan
2009-05-16 5:45 ` Patrick Gundlach
2009-05-20 14:26 ` Oliver Buerschaper [this message]
2009-05-21 0:10 ` Aditya Mahajan
2009-05-21 9:51 ` Hans Hagen
2009-05-21 13:40 ` Aditya Mahajan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6D35B20E-B10C-4F81-A0DB-A171EF1E6C15@mpq.mpg.de \
--to=oliver.buerschaper@mpq.mpg.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).