提示编译错误:dvipdfmx:fatal: Invalid TTC index number,如何解决?

发布于 2022-07-22 14:25:48

我直接 clone 了李文威老师 Github 上的模板于本地,未作任何修改,然后按照上面的编译方法在命令行中输入latexmk -pdf -pdflatex="xelatex -shell-escape -interaction=nonstopmode %O %S" Al-jabr-1进行编译,但出现了如下错误:

dvipdfmx:fatal: Invalid TTC index number

No output PDF file written.


LaTeX Warning: Citation 'vdW1' on page 1 undefined on input line 12.


LaTeX Warning: Citation 'vdW2' on page 1 undefined on input line 12.

[1
Sorry, but xelatex did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\kingt\AppData\Local\MiKTeX\miktex\log\xelatex.log
Latexmk: fls file doesn't appear to have been made.
Latexmk: Getting log file 'Al-jabr-1.log'
Latexmk: Examining 'Al-jabr-1.log'
Latexmk: Missing bbl file 'Al-jabr-1.bbl' in following:
 No file Al-jabr-1.bbl.
Latexmk: References changed.
Latexmk: Summary of warnings from last run of *latex:
  Latex failed to resolve 2 citation(s)
Latexmk: ====List of undefined refs and citations:
  Citation 'vdW1' on page 1 undefined on input line 12
  Citation 'vdW2' on page 1 undefined on input line 12
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'Al-jabr-1.log' for details
Latexmk: If appropriate, the -f option can be used to get latexmk
  to try to force complete processing.
Reverting Windows console CPs to (in,out) = (936,65001)

这上面提示我似乎没有生成.bbl文件,但我看文件夹中已有.bib文件。搜索 dvipdfmx 似乎是与字体有关,还是存在其他问题?

查看更多

关注者
0
被浏览
1k
M
M 2022-07-22
这家伙很懒,什么也没写!

试了一下,可以编译成功。以下几点你都满足了吗?

  • TeX Live, including the programs latexmk, xindy and biber.
  • Standard fonts included in TeX Live, in particular the Fandol fonts. For some strange reason I used and installed the TeX Gyre Heros fonts in the system. In case of error messages related to these fonts, please look for the OTF files (inside the directories in your computer which store TeX-related fonts) whose names start with texgyreheros, and install them manually in your system.
  • The Noto Sans CJK SC fonts from Noto CJK, which should also be installed system-wide.
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览