Hi, I am using ‘xits’ font as math font which was fine for at least 10 days ago. it is defined in ’type-imp-unfonts.mkiv’ under ..tex/context/fonts/mkiv/ \loadtypescriptfile[xits] … \definetypeface [unfonts] [\s!mm] [\s!math] [xits] Suddenly it is not located by ConTeXt. Here is a sample code and a part of its log file. Also, I’d like to know the most prefered math font for math people. Thank you for reading. Best regards, Dalyoung %%%%% \setupbodyfont[unfonts] \starttext This worked fine before. 이 전에는 잘 되었습니다. \startformula \int f(x) dx \stopformula $x^2 + y^2 = z^2$ \stoptext %%%%%%%%%%% log-file … This is LuaTeX, Version 1.05.0 (TeX Live 2017) system commands enabled. open source > level 1, order 1, name '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv' system > system > ConTeXt ver: 2018.02.14 22:56 MKIV beta fmt: 2018.2.16 int: english/english … … fonts > defining > forced type 'otf' of 'xits-math' not found fonts > defining > font with asked name 'xits-math' is not found using lookup 'file' fonts > defining > unknown font 'xits-math', loading aborted fonts > defining > unable to define 'xits-math.otf' as 'unfonts-12pt-mm-mr--3' fonts > defining > forced type 'otf' of 'xits-math' not found fonts > defining > font with asked name 'xits-math' is not found using lookup 'file' fonts > defining > unknown font 'xits-math', loading aborted fonts > defining > unable to define 'xits-math.otf' as 'unfonts-12pt-mm-mr--2' fonts > defining > forced type 'otf' of 'xits-math' not found fonts > defining > font with asked name 'xits-math' is not found using lookup 'file' fonts > defining > unknown font 'xits-math', loading aborted fonts > defining > unable to define 'xits-math.otf' as 'unfonts-12pt-mm-mr--1' fonts > math: unset for global bodyfont unfonts at 12pt fonts > math: unset for global bodyfont unfonts at 12pt backend > xmp > using file '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
On 2/16/2018 1:08 AM, Jeong Dal wrote:
Hi,
I am using ‘xits’ font as math font which was fine for at least 10 days ago.
it is defined in ’type-imp-unfonts.mkiv’ under ..tex/context/fonts/mkiv/ \loadtypescriptfile[xits] … \definetypeface [unfonts] [\s!mm] [\s!math] [xits]
Suddenly it is not located by ConTeXt.
Here is a sample code and a part of its log file.
Also, I’d like to know the most prefered math font for math people. Thank you for reading.
Best regards,
Dalyoung
%%%%% \setupbodyfont[unfonts] \starttext This worked fine before. 이 전에는 잘 되었습니다.
\startformula \int f(x) dx \stopformula
$x^2 + y^2 = z^2$ \stoptext %%%%%%%%%%% log-file
… This is LuaTeX, Version 1.05.0 (TeX Live 2017) system commands enabled. open source > level 1, order 1, name '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv' system > system > ConTeXt ver: 2018.02.14 22:56 MKIV beta fmt: 2018.2.16 int: english/english … … fonts > defining > forced type 'otf' of 'xits-math' not found fonts > defining > font with asked name 'xits-math' is not found using lookup 'file' fonts > defining > unknown font 'xits-math', loading aborted fonts > defining > unable to define 'xits-math.otf' as 'unfonts-12pt-mm-mr--3' fonts > defining > forced type 'otf' of 'xits-math' not found fonts > defining > font with asked name 'xits-math' is not found using lookup 'file' fonts > defining > unknown font 'xits-math', loading aborted fonts > defining > unable to define 'xits-math.otf' as 'unfonts-12pt-mm-mr--2' fonts > defining > forced type 'otf' of 'xits-math' not found fonts > defining > font with asked name 'xits-math' is not found using lookup 'file' fonts > defining > unknown font 'xits-math', loading aborted fonts > defining > unable to define 'xits-math.otf' as 'unfonts-12pt-mm-mr--1' fonts > math: unset for global bodyfont unfonts at 12pt fonts > math: unset for global bodyfont unfonts at 12pt backend > xmp > using file '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml' can you try mtxrun --script font --reload --force
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 16.02.2018 08:37, Hans Hagen wrote:
can you try mtxrun --script font --reload --force
Hans, it's the same problem I reported about a week ago, and in my experience, it recurs intermittently. A reload of the font cache fixes it for a while, but it comes back, and it concerns only XITS math, so something is fishy about this font or about the way context treats it... One thing that could help: is there a tracer that could show more information once the cache gets into this state, so we can see what actually goes wrong? Thomas
On 16.02.2018 08:37, Hans Hagen wrote:
can you try mtxrun --script font --reload --force
Hans, it's the same problem I reported about a week ago, and in my experience, it recurs intermittently. A reload of the font cache fixes it for a while, but it comes back, and it concerns only XITS math, so something is fishy about this font or about the way context treats it... One thing that could help: is there a tracer that could show more information once the cache gets into this state, so we can see what actually goes wrong? you can look into the cache and see what names.tma mentions (and save
On 2/16/2018 11:39 AM, Thomas A. Schmitz wrote: the xits bit for later comparison when it fails) as i can't replicate it here i need that info it could relate to multiple xits on the system and hashing in lua (traversing a hash is kind of random each run) 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 -----------------------------------------------------------------
On 02/16/2018 11:57 AM, Hans Hagen wrote:
you can look into the cache and see what names.tma mentions (and save the xits bit for later comparison when it fails)
as i can't replicate it here i need that info Hans,
I have compared the two files names.tma from my laptop (has the error) and my desktop (works); both run some form of x86_64 linux and have context minimals 2018.02.12. The only difference I could spot relating to xits was this: the working computer has these entries in the table ["otf"] = { ["xits"]=752, ["xitsbold"]=749, ["xitsbolditalic"]=750, ["xitsitalic"]=751, ["xitsmath"]=754, ["xitsmathbold"]=753, ["xitsmathregular"]=754, ["xitsregular"]=752, }, the not-working one only has: ["otf"] = { ["xits"]=749, ["xitsbold"]=744, ["xitsbolditalic"]=745, ["xitsitalic"]=746, ["xitsmath"]=747, ["xitsmathbold"]=748, }, so the entry for xitsmathregular is missing. But I have no idea if this is helpful for you. If you want, I can zip the two files and send them to you. All best Thomas
On 2/18/2018 4:01 PM, Thomas A. Schmitz wrote:
On 02/16/2018 11:57 AM, Hans Hagen wrote:
you can look into the cache and see what names.tma mentions (and save the xits bit for later comparison when it fails)
as i can't replicate it here i need that info Hans,
I have compared the two files names.tma from my laptop (has the error) and my desktop (works); both run some form of x86_64 linux and have context minimals 2018.02.12. The only difference I could spot relating to xits was this: the working computer has these entries in the table
["otf"] = { ["xits"]=752, ["xitsbold"]=749, ["xitsbolditalic"]=750, ["xitsitalic"]=751, ["xitsmath"]=754, ["xitsmathbold"]=753, ["xitsmathregular"]=754, ["xitsregular"]=752, },
the not-working one only has:
["otf"] = { ["xits"]=749, ["xitsbold"]=744, ["xitsbolditalic"]=745, ["xitsitalic"]=746, ["xitsmath"]=747, ["xitsmathbold"]=748, },
so the entry for xitsmathregular is missing. But I have no idea if this is helpful for you. If you want, I can zip the two files and send them to you.
yes, that would help 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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Jeong Dal
-
Thomas A. Schmitz