How to use noto sans math font?
Hi, I try to use the Noto Sans Math fnt which can be downloaded from https://fonts.google.com/noto/specimen/Noto+Sans+Math But I use it like the following \definefontfamily[myfonts][rm][latin modern roman] \definefontfamily[myfonts][mm][noto sans math] \setupbodyfont[myfonts,rm,12pt] \starttext Test Noto Sasn Math Fonts \startformula a^2 \quad \sqrt{a} \stopformula \stoptext I get the errors `Math error: parameter 'supshiftup' with id 51 in style 0 is not set'. Is there some method to solve it? -- Best regards, Li Yanrui
Hi,
No intend to be complete or so (not by computer either, so could not look
into it), it was just for a test a while back. But it could serve as a
start.
/Mikael
Den ons 5 apr. 2023 12:07Li Yanrui (李延瑞) via ntg-context
Hi,
I try to use the Noto Sans Math fnt which can be downloaded from https://fonts.google.com/noto/specimen/Noto+Sans+Math
But I use it like the following
\definefontfamily[myfonts][rm][latin modern roman] \definefontfamily[myfonts][mm][noto sans math] \setupbodyfont[myfonts,rm,12pt] \starttext Test Noto Sasn Math Fonts \startformula a^2 \quad \sqrt{a} \stopformula \stoptext
I get the errors `Math error: parameter 'supshiftup' with id 51 in style 0 is not set'.
Is there some method to solve it?
-- Best regards,
Li Yanrui
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net
___________________________________________________________________________________
Mikael Sundqvist via ntg-context
Hi,
No intend to be complete or so (not by computer either, so could not look into it), it was just for a test a while back. But it could serve as a start.
/Mikael
Hi Mikael, Thanks for your reply. I used the typescript you provided but still get the error as below Math error: parameter 'supshiftup' with id 51 in style 2 is not set -- Best regards, Li Yanrui
Hi,
On Thu, Apr 6, 2023 at 2:56 AM Li Yanrui (李延瑞) via ntg-context
Mikael Sundqvist via ntg-context
于2023年4月5日周三 18:26写道: Hi,
No intend to be complete or so (not by computer either, so could not look into it), it was just for a test a while back. But it could serve as a start.
/Mikael
Hi Mikael,
Thanks for your reply. I used the typescript you provided but still get the error as below
Math error: parameter 'supshiftup' with id 51 in style 2 is not set
OK. I see the link to google fonts above. I am not sure they have the latest version. There were lots of fixes in this font recently (in particular I think a math table was added, so that the font really is identified as a math font, but I might be wrong about that). The one I used was downloaded from https://github.com/notofonts/math/releases/tag/NotoSansMath-v2.539 and that still seems to be the latest. I now compiled my file again, and still no error here. /Mikael
Mikael Sundqvist via ntg-context
Hi,
On Thu, Apr 6, 2023 at 2:56 AM Li Yanrui (李延瑞) via ntg-context
wrote: Mikael Sundqvist via ntg-context
于2023年4月5日周三 Hi,
No intend to be complete or so (not by computer either, so could not
look into it), it was just for a test a while back. But it could serve as a start.
/Mikael
Hi Mikael,
Thanks for your reply. I used the typescript you provided but still get
18:26写道: the error as below
Math error: parameter 'supshiftup' with id 51 in style 2 is not set
OK. I see the link to google fonts above. I am not sure they have the latest version. There were lots of fixes in this font recently (in particular I think a math table was added, so that the font really is identified as a math font, but I might be wrong about that). The one I used was downloaded from
That font is indeed not the latest. I use the font you provided and no problem now. Thank you very much! -- Best regards, Li Yanrui
On 4/6/2023 6:59 AM, Mikael Sundqvist via ntg-context wrote:
Hi,
On Thu, Apr 6, 2023 at 2:56 AM Li Yanrui (李延瑞) via ntg-context
wrote: Mikael Sundqvist via ntg-context
于2023年4月5日周三 18:26写道: Hi,
No intend to be complete or so (not by computer either, so could not look into it), it was just for a test a while back. But it could serve as a start.
/Mikael
Hi Mikael,
Thanks for your reply. I used the typescript you provided but still get the error as below
Math error: parameter 'supshiftup' with id 51 in style 2 is not set
OK. I see the link to google fonts above. I am not sure they have the latest version. There were lots of fixes in this font recently (in particular I think a math table was added, so that the font really is identified as a math font, but I might be wrong about that). The one I used was downloaded from
https://github.com/notofonts/math/releases/tag/NotoSansMath-v2.539
and that still seems to be the latest. I now compiled my file again, and still no error here. Wondering. I didn't check but why start with a sans math and not a serif ... are the sans alphabets replaced by a serif?
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
I will have to check, but a bit later. Meeting with my student soon.
/Mikael (who did not run the output from ChatGPT. Looked to me as if it was
the wrong way to give flags to shutdown anyways...)
Den tors 6 apr. 2023 09:07Hans Hagen via ntg-context
Hi,
On Thu, Apr 6, 2023 at 2:56 AM Li Yanrui (李延瑞) via ntg-context
wrote: Mikael Sundqvist via ntg-context
于2023年4月5日周三 18:26写道:
Hi,
No intend to be complete or so (not by computer either, so could not
look into it), it was just for a test a while back. But it could serve as a start.
/Mikael
Hi Mikael,
Thanks for your reply. I used the typescript you provided but still get
On 4/6/2023 6:59 AM, Mikael Sundqvist via ntg-context wrote: the error as below
Math error: parameter 'supshiftup' with id 51 in style 2 is not set
OK. I see the link to google fonts above. I am not sure they have the latest version. There were lots of fixes in this font recently (in particular I think a math table was added, so that the font really is identified as a math font, but I might be wrong about that). The one I used was downloaded from
https://github.com/notofonts/math/releases/tag/NotoSansMath-v2.539
and that still seems to be the latest. I now compiled my file again, and still no error here. Wondering. I didn't check but why start with a sans math and not a serif ... are the sans alphabets replaced by a serif?
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net
___________________________________________________________________________________
Hi all,
On Thu, Apr 6, 2023 at 9:44 AM Mikael Sundqvist
I will have to check, but a bit later. Meeting with my student soon.
/Mikael (who did not run the output from ChatGPT. Looked to me as if it was the wrong way to give flags to shutdown anyways...)
Sorry for that, I thought I was answering Hans, and tried to answer two mails in one. I don't know how the font is supposed to be used. I looked into it, and found that these alphabets (I only give the first entry) are indeed sans serif. 0041: an uppercase sans serif A 0061 a lowercase sans serif a 0391 an uppercase sans serif Alpha 03B1 a lowercase sans serif alpha For the rest of the alphabets, it seems to me (but I might have missed something) that the font follows the usual pattern, with for example the lowercase italic alphabet (starting with 1D44E for lowercase italic a), with serifs. It has some arabic glyphs. I have not compared to see if they are the same as the ones from Xits. /Mikael
participants (3)
-
Hans Hagen
-
Li Yanrui (李延瑞)
-
Mikael Sundqvist