提问于:
浏览数:
2272
## 编译环境
操作系统
* [ ] Windows 7/8/10
* [] macOS
* [centos7] Linux
`若需勾选,请把[ ]改成[x]`
Tex发行版
* [2020] TexLive `年份`
* [ ] MikTeX `版本号`
* [ ] CTeX
`若需勾选,请把[ ]改成[x]`
## 我的问题
直接编译模板[站内模板](https://www.latexstudio.net/index/details/index/mid/480.html "站内模板")的文档(xelatex)就跑不通,然后github[github模板](https://github.com/ivan-cukic/latex-beamer-theme-elegance "github模板")爬了一下,也跑不通(lualatex)
这个是直接跑站内模板的报错
```
开始 : xelatex -synctex=1 -interaction=nonstopmode "main".tex
kpathsea:make_tex: Invalid filename `Noto Sans', contains ' '
kpathsea:make_tex: Invalid filename `Noto Sans', contains ' '
kpathsea:make_tex: Invalid filename `Noto Sans', contains ' '
kpathsea:make_tex: Invalid filename `Noto Sans/BI', contains ' ' kpathsea:make_tex: Invalid filename `Noto Sans', contains ' ' kpathsea:make_tex: Invalid filename `Noto Sans/B', contains ' '
kpathsea:make_tex: Invalid filename `Noto Sans', contains ' ' kpathsea:make_tex: Invalid filename `Noto Sans/I', contains ' ' kpathsea:make_tex: Invalid filename `Noto Sans', contains ' ' kpathsea:make_tex: Invalid filename `Noto Sans', contains ' '
kpathsea:make_tex: Invalid filename `Noto Sans', contains ' ' kpathsea:make_tex: Invalid filename `Noto Sans', contains ' ' kpathsea:make_tex: Invalid filename `Noto Sans', contains ' '
kpathsea: Running mktextfm Inconsolata
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for Inconsolata. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf)
kpathsea: Running mktexmf Inconsolata
! I can't find file `Inconsolata'. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Please type another input file name ! Emergency stop. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Transcript written on mfput.log.
grep: Inconsolata.log
: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata' failed to make Inconsolata.tfm.
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running mktextfm Inconsolata
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for Inconsolata. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf)
kpathsea: Running mktexmf Inconsolata
! I can't find file `Inconsolata'. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Please type another input file name ! Emergency stop. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Transcript written on mfput.log.
grep: Inconsolata.log: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata' failed to make Inconsolata.tfm.
kpathsea: Running mktextfm Inconsolata
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for Inconsolata. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf)
kpathsea: Running mktexmf Inconsolata
! I can't find file `Inconsolata'. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Please type another input file name ! Emergency stop. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Transcript written on mfput.log.
grep: Inconsolata.log: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata' failed to make Inconsolata.tfm.
kpathsea: Running mktextfm Inconsolata/BI
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation B for BI. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input BI
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf)
kpathsea: Running mktexmf BI
! I can't find file `BI'. <*> \mode:=ljfour; mag:=1; ; nonstopmode; input BI Please type another input file name ! Emergency stop. <*> \mode:=ljfour; mag:=1; ; nonstopmode; input BI Transcript written on mfput.log.
grep: BI.log: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input BI' failed to make BI.tfm.
kpathsea: Running mktextfm Inconsolata
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for Inconsolata. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf)
kpathsea: Running mktexmf Inconsolata
! I can't find file `Inconsolata'. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Please type another input file name ! Emergency stop. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Transcript written on mfput.log.
grep: Inconsolata.log: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata' failed to make Inconsolata.tfm.
kpathsea: Running mktextfm Inconsolata/B
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation B for B. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input B
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf)
kpathsea: Running mktexmf B
! I can't find file `B'. <*> \mode:=ljfour; mag:=1; ; nonstopmode; input B Please type another input file name ! Emergency stop. <*> \mode:=ljfour; mag:=1; ; nonstopmode; input B Transcript written on mfput.log.
grep: B.log: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input B' failed to make B.tfm.
kpathsea: Running mktextfm Inconsolata
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for Inconsolata. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf)
kpathsea: Running mktexmf Inconsolata
! I can't find file `Inconsolata'. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Please type another input file name ! Emergency stop. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Transcript written on mfput.log.
grep: Inconsolata.log: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata' failed to make Inconsolata.tfm.
kpathsea: Running mktextfm Inconsolata/I
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for I. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input I
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf) kpathsea: Running mktexmf I
! I can't find file `I'. <*> \mode:=ljfour; mag:=1; ; nonstopmode; input I Please type another input file name ! Emergency stop. <*> \mode:=ljfour; mag:=1; ; nonstopmode; input I Transcript written on mfput.log.
grep: I.log: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input I' failed to make I.tfm.
kpathsea: Running mktextfm Inconsolata
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for Inconsolata. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf)
kpathsea: Running mktexmf Inconsolata
! I can't find file `Inconsolata'. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Please type another input file name ! Emergency stop. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Transcript written on mfput.log.
grep: Inconsolata.log: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata' failed to make Inconsolata.tfm.
kpathsea: Running mktextfm Inconsolata
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for Inconsolata. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf) kpathsea: Running mktexmf Inconsolata
! I can't find file `Inconsolata'. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Please type another input file name ! Emergency stop. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Transcript written on mfput.log.
grep: Inconsolata.log: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata' failed to make Inconsolata.tfm.
kpathsea:make_tex: Invalid filename `Noto Sans', contains ' '
kpathsea:make_tex: Invalid filename `Noto Sans', contains ' ' kpathsea:make_tex: Invalid filename `Noto Sans', contains ' ' kpathsea:make_tex: Invalid filename `Noto Sans', contains ' ' kpathsea:make_tex: Invalid filename `Noto Sans', contains ' '
kpathsea:make_tex: Invalid filename `Noto Sans', contains ' '
kpathsea: Running mktextfm Inconsolata
/usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for Inconsolata. /usr/local/texlive/2020/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2020/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata
This is METAFONT, Version 2.7182818 (TeX Live 2020) (preloaded base=mf)
kpathsea: Running mktexmf Inconsolata
! I can't find file `Inconsolata'. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Please type another input file name ! Emergency stop. <*> ...r; mag:=1; ; nonstopmode; input Inconsolata Transcript written on mfput.log.
grep: Inconsolata.log: 没有那个文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Inconsolata' failed to make Inconsolata.tfm.
kpathsea:make_tex: Invalid filename `Noto Sans', contains ' '
出现错误
```
这个是跑github模板的报错
```
开始 : lualatex -synctex=1 -interaction=nonstopmode "main".tex
出现错误
```
这个报错就很简洁。。。。