XeLaTeX xdv2pdf 模式和字体编译问题

XeLaTeX xdv2pdf 模式和字体编译问题

我最近升级到了 TexLive2013 (Basic),这破坏了我用于推荐信的设置。我需要使用传统的大学字体,该字体需要 xdv2pdf 模式下的 XeLaTeX。MWE 如下

%!TEX TS-program = XeLaTeX-xdv2pdf
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{xltxtra} % Loads fontspec, xunicode, metalogo, fxltx2e, and some extra customizations for XeLaTeX
\setmainfont{YaleAdmin}
\begin{document}

 Look at the following data from six different languages and answer the questions below:
\end{document}

我收到以下错误:

(/usr/local/texlive/2013basic/texmf-dist/tex/latex/realscripts/realscripts.sty
*************************************************
* LaTeX warning: "xparse/redefine-command"
* 
* Redefining document command \textsubscript with arg. spec. 's' on line 25.
*************************************************
*************************************************
* LaTeX warning: "xparse/redefine-command"
* 
* Redefining document command \textsuperscript with arg. spec. 's' on line 28.
*************************************************
) (/usr/local/texlive/2013basic/texmf-dist/tex/latex/metalogo/metalogo.sty))
kpathsea: Running mktextfm YaleAdmin
/usr/local/texlive/2013basic/texmf-dist/web2c/mktexnam: Could not map source abbreviation Y for YaleAdmin.
/usr/local/texlive/2013basic/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2013basic/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input YaleAdmin
This is METAFONT, Version 2.718281 (TeX Live 2013)


kpathsea: Running mktexmf YaleAdmin
! I can't find file `YaleAdmin'.
<*> ...jfour; mag:=1; nonstopmode; input YaleAdmin

Please type another input file name
! Emergency stop.
<*> ...jfour; mag:=1; nonstopmode; input YaleAdmin

Transcript written on mfput.log.
grep: YaleAdmin.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input YaleAdmin' failed to make YaleAdmin.tfm.
kpathsea: Appending font creation commands to missfont.log.


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
! 
! The font "YaleAdmin" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  

l.7 \setmainfont{YaleAdmin}

该字体安装在与 fontspec 可以找到的其他字体相同的目录中。

相关内容