texlive fonts configuration: cannot find Arial, Times
Anton Shterenlikht
mexas at bris.ac.uk
Mon Jan 20 10:28:26 UTC 2014
Hi
I'm starting to use texlive.
I installed texlive-full-20120701.
I need to build a document with these
declarations:
\usepackage{fontspec}
\usepackage{subfigure}
\setmainfont{Times New Roman}
\setsansfont{Arial}
Which seems to be a new standard way
of choosing fonts.
I get these errors with both lualatex and xelatex:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "TimesNewRoman" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.28 \setmainfont{Times New Roman}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "Arial" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.29 \setsansfont{Arial}
I presume these basic fonts should be available
as part of the default installation, right?
So probably I haven't configured texlive fonts correctly?
I've these directories:
$ ls /usr/local/share/texmf-dist/fonts/
afm enc misc ovf sfd truetype
cid fea ofm ovp source type1
cmap map opentype pk tfm vf
But not sure if this is enough.
Please advise
Many thanks
Anton
More information about the freebsd-questions
mailing list