-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Mac cannot find fonts Kaiti SC #540
Comments
Apart from the standard output, please provide a minimal working example (MWE), and the versions of both your macOS and installed |
test.tex |
font Kaiti.ttc can be found in /System/Library/AssetsV2/com_apple_MobileAsset_Font6/XXXXXXXXXXXXXX.asset/AssetData/Kaiti.ttc |
This is a known issue. The system detecting feature of CTeX fails in MikTeX, on both macOS & Linux. Specifying |
It really does not work, but I solve this problem by moving the Kaiti.ttc to /Library/Fonts. It seems that the fc-list program cannot find fonts in non-standard path. |
@wenxingguo |
Miktex manages packages through mpm, not tlmgr. |
Well, specifying Try |
I use this method to make it work. Edit |
This also did the trick for me. I think we should add this to an FAQ or wiki page for all those MikTeX users on Mac. |
macOS 12.0.1
/Users/lzc/Library/Application Support/MiKTeX/texmfs/config/fontconfig/config/localfonts2.conf
Then work OK 😸 |
open the Pages once. It will install Kaiti into you font library. |
Full log
This is XeTeX, Version 3.14159265-2.6-0.999992 (MiKTeX 20.6.29)
entering extended mode
(test.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-09-03>
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/base/
article.cls"
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/base/
size10.clo"))
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
ctex.sty"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/l3ker
nel/expl3.sty"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/l3bac
kend/l3backend-xetex.def"))
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/l3pac
kages/xparse/xparse.sty"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/l3pac
kages/xparse/xparse-generic.tex"))
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/l3pac
kages/l3keys2e/l3keys2e.sty")
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
ctexhook.sty")
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
ctexpatch.sty")
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/base/
fix-cm.sty"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/base/
ts1enc.def"))
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ms/ev
erysel.sty")
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
config/ctexopts.cfg")
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
engine/ctex-engine-xetex.def"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/xelatex/xec
jk/xeCJK.sty"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/l3pac
kages/xtemplate/xtemplate.sty")
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/fonts
pec/fontspec.sty"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/fonts
pec/fontspec-xetex.sty"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/base/
fontenc.sty")
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/fonts
pec/fontspec.cfg")))
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/xelatex/xec
jk/xeCJK.cfg")))
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/zhnum
ber/zhnumber.sty"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/zhnum
ber/zhnumber-utf8.cfg"))
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
scheme/ctex-scheme-chinese.def"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
config/ctex-name-utf8.cfg"))
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/tools
/indentfirst.sty")
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
ctex-c5size.clo")
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
fontset/ctex-fontset-mac.def"
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
fontset/ctex-fontset-macnew.def"Running miktex-makemf...
Running miktex-hbf2gf...
Package fontspec Warning: Font "Songti SC Light" does not contain requested
(fontspec) Script "CJK".
! Package fontspec Error: The font "Kaiti SC" cannot be found.
For immediate help type H .
...
l.99 }
? Running miktex-makemf...
Running miktex-hbf2gf...
! Package fontspec Error: The font "Kaiti SC" cannot be found.
For immediate help type H .
...
l.99 }
? Running miktex-makemf...
Running miktex-hbf2gf...
! Package fontspec Error: The font "Kaiti SC Bold" cannot be found.
For immediate help type H .
...
l.99 }
? Running miktex-makemf...
Running miktex-hbf2gf...
! Package fontspec Error: The font "Kaiti SC Bold" cannot be found.
For immediate help type H .
...
l.99 }
? )))
("/Users/wood/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/
config/ctex.cfg") (test.aux) ABD: EverySelectfont initializing macros [1]
(test.aux) )
Output written on test.pdf (1 page).
Transcript written on test.log.
The text was updated successfully, but these errors were encountered: