I want to use xelatex together with TexGyreTerms:
\ifxetex
\newcommand{\lsCoverTitleFont}[1]{\fontspec[LetterSpace=-2.0]{TeXGyreTermes} \fontshape{sc}\fontsize{52pt}{16.75mm}\selectfont #1}
\else
However, although the packages are installed (Mac, texlive 2012), I get the following complaint:
kpathsea: Running mktextfm TeXGyreTermes
/usr/local/texlive/2012/texmf/web2c/mktexnam: Could not map source abbreviation T for TeXGyreTermes.
/usr/local/texlive/2012/texmf/web2c/mktexnam: Need to update /usr/local/texlive/2012/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input TeXGyreTermes
This is METAFONT, Version 2.718281 (TeX Live 2012)
kpathsea: Running mktexmf TeXGyreTermes
! I can't find file `TeXGyreTermes'.
<*> ...r; mag:=1; nonstopmode; input TeXGyreTermes
Please type another input file name
! Emergency stop.
<*> ...r; mag:=1; nonstopmode; input TeXGyreTermes
Transcript written on mfput.log.
grep: TeXGyreTermes.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input TeXGyreTermes' failed to make TeXGyreTermes.tfm.
kpathsea: Appending font creation commands to missfont.log.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "TeXGyreTermes" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.21
What can I do?
Thanks for the prompt reply. I tried this, but the result is:
kpathsea: Running mktextfm TeXGyreTermes-Regular
/usr/local/texlive/2012/texmf/web2c/mktexnam: Could not map source abbreviation T for TeXGyreTermes-Regular.
/usr/local/texlive/2012/texmf/web2c/mktexnam: Need to update /usr/local/texlive/2012/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input TeXGyreTermes-Regular
This is METAFONT, Version 2.718281 (TeX Live 2012)
kpathsea: Running mktexmf TeXGyreTermes-Regular
! I can't find file `TeXGyreTermes-Regular'.
<*> ...1; nonstopmode; input TeXGyreTermes-Regular
Please type another input file name
! Emergency stop.
<*> ...1; nonstopmode; input TeXGyreTermes-Regular
Transcript written on mfput.log.
grep: TeXGyreTermes-Regular.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input TeXGyreTermes-Regular' failed to make TeXGyreTermes-Regular.tfm.
kpathsea: Appending font creation commands to missfont.log.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "TeXGyreTermes-Regular" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.21
?
I do have this font:
$ otfinfo -f /usr/local/texlive/2012/texmf-dist/fonts/opentype/public/tex-gyre/texgyretermes-regular.otf
aalt Access All Alternates
c2sc Small Capitals From Capitals
cpsp Capital Spacing
dlig Discretionary Ligatures
frac Fractions
kern Kerning
liga Standard Ligatures
lnum Lining Figures
onum Oldstyle Figures
pnum Proportional Figures
salt Stylistic Alternates
size Optical Size
smcp Small Capitals
ss01 Stylistic Set 1
ss02 Stylistic Set 2
ss03 Stylistic Set 3
ss04 Stylistic Set 4
tnum Tabular Figures
zero Slashed Zero
fc-list | grep Termesand see, what it puts out. It might be something likeTeX Gyre Termes:style=.... That means XeLaTeX can find the font by loading it via\fontspec{TeX Gyre Termes}. (Tested on OpenSUSE 12.1 with TeXLive 2011) – Henri Menke Jun 13 '13 at 07:12\fontspec{texgyretermes-regular.otf}. (Tested on Mac OS X 10.8 with MacTeX 2012) – Henri Menke Jun 13 '13 at 07:39