我正在尝试编译从这里下载的文档:
http://www.latextemplates.com/template/plasmati-graduate-cv
它在一台电脑上可以工作,但在我的新电脑上不行。错误来自
\documentclass[a4paper,10pt]{article}
\usepackage{fontspec} % For loading fonts
\defaultfontfeatures{Mapping=tex-text}
\setmainfont[SmallCapsFont = Fontin SmallCaps]{Fontin} % Main document font
\begin{document}
\setmainfont[SmallCapsFont=Fontin-SmallCaps.otf]{Fontin.otf}\\
\end{document}
xelatex 说:
("C:\Program Files\MiKTeX 2.9\tex\latex\titlesec\titlesec.sty")TFM file
C:\Users\Manuel\AppData\Local\MiKTeX\2.9\fonts/tfm//OT.tfm already exists.
xelatex.EXE: The font file could not be found.
xelatex.EXE: Data: [Fontin.otf]/OT
texify: xelatex failed for some reason (see log file).
文件中.log
说:
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\rerunfilecheck.sty"
Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
Package rerunfilecheck Info: Feature \pdfmdfivesum is not available
(rerunfilecheck) (e.g. pdfTeX or LuaTeX with package `pdftexcmds').
(rerunfilecheck) Therefore file contents cannot be checked efficien
tly
(rerunfilecheck) and the loading of the package is aborted.
)