I have been trying to start using xelatex.
My configuration:
Debian: testing
Texlive: 2013.20140408-1
Taking the minimal example from
unicode-math and amsmath environments viz
\documentclass{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\setmathfont{XITS Math}
\usepackage{xltxtra}
\begin{document}
\begin{equation}
α = \beta^2_i + β^2_i
\end{equation}
\end{document}
and running xelatex on it I get:
kpathsea:make_tex: Invalid fontname `XITS Math/ICU', contains ' '
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "XITS Math" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.4 \setmathfont{XITS Math}
?
With some help from comp.text.tex, I tried replacing the:
\setmathfont{XITS Math}
with
\setmathfont{XITS}
\setmathfont{xits-math}
None of this worked until I tried:
\setmathfont{xits-math.otf}
Can you point me someplace where I can study how to specify xetex fonts under debian?
I was pointed to:
texdocs
which is evidently needed for linux users.
However, the file which I am supposed to copy to /etc
:
/var/lib/texmf/fonts/conf/texlive-fontconfig.conf
does not exist on my system.
So, in addition to figuring out how to handle xetex fonts in debian, my more general question is:
Would you recommend that I dump Debian's texlive and move to a CTAN download?
fc-list | sed '/:.*$/s///'
that should print on the terminal the list of available fonts?texlive-fontconfig.conf
by itself; you should find something in/etc/fonts