On Monday, June 2, 2014 11:35:24 PM UTC+5:30, giacomo boffi wrote:
> Rusi Mody writes:
>
> > [...]
> > \setmathfont{XITS Math}
> > [...]
>
> > kpathsea:make_tex: Invalid fontname `XITS Math/ICU', contains ' '
Ok so I tried
\setmathfont{XITS}
kpathsea: Running mktexmf ICU
! I can't find file `ICU'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input ICU
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input ICU
Transcript written on mfput.log.
grep: ICU.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ICU' failed to make ICU.tfm.
kpathsea: Appending font creation commands to missfont.log.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "XITS" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
--------------------------------------
Then tried
\setmathfont{xits-math}
since I see a xits-math.otf file in
/usr/share/texlive/texmf-dist/fonts/opentype/public/xits
pathsea: Running mktexmf ICU
! I can't find file `ICU'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input ICU
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input ICU
Transcript written on mfput.log.
grep: ICU.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ICU' failed to make ICU.tfm.
kpathsea: Appending font creation commands to missfont.log.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "xits-math" cannot be found.
!
! See the fontspec documentation for further information.
Finally with
\setmathfont{xits-math.otf}
it seems to have worked
--------------------------------
--------------------------------
So now my question becomes a little narrower:
How to specify fonts? Use file-system names?
Whats the current accepted practice?