使用しようとしていますゼラテックス独自のクラスとフォントで別のStackExchangeサイト。
以下は最小限の動作例です。Roboto
フォントは というサブディレクトリ内の同じフォルダにありますRoboto
。 の内容は次のとおりa.tex
です。
\documentclass[]{b}
\begin{document}
some text
\end{document}
の内容は次のとおりb.cls
です。
\LoadClass{article}
\RequirePackage[quiet]{fontspec}
\setmainfont[Mapping=tex-text, Color=textcolor]{Roboto/Roboto-Light.ttf}
私は走っています
xelatex a.tex
次のエラーが発生します。
LaTeX Font Warning: Font shape `EU1/Roboto/Roboto-Light.ttf(0)/m' undefined
(Font) using `EU1/lmr/m/n' instead on input line 2.
! Missing number, treated as zero.
<to be read again>
n
l.2 ..., Color=textcolor]{Roboto/Roboto-Light.ttf}
誰かこれを解決するのを手伝ってくれませんか?
私はDebian Wheezyを使用しており、texlive 2013を使用しています