From owner-freebsd-questions@FreeBSD.ORG  Mon Jan 20 10:28:26 2014
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 7820CEF3
 for <freebsd-questions@freebsd.org>; Mon, 20 Jan 2014 10:28:26 +0000 (UTC)
Received: from eu1sys200aog123.obsmtp.com (eu1sys200aog123.obsmtp.com
 [207.126.144.155])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id C997A18F8
 for <freebsd-questions@freebsd.org>; Mon, 20 Jan 2014 10:28:25 +0000 (UTC)
Received: from mail-wg0-f46.google.com ([74.125.82.46]) (using TLSv1) by
 eu1sys200aob123.postini.com ([207.126.147.11]) with SMTP
 ID DSNKUtz6Qj9uGGxWGfD+pLCm1GzWdToUUWUQ@postini.com;
 Mon, 20 Jan 2014 10:28:25 UTC
Received: by mail-wg0-f46.google.com with SMTP id x12so6583448wgg.13
 for <freebsd-questions@freebsd.org>; Mon, 20 Jan 2014 02:28:18 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:date:from:message-id:to:subject:reply-to;
 bh=CHlQAACE4X8oT0r7rjqV5a3fw7oKjdD8xdUssjXLTfY=;
 b=TiO6jtg+kv73Y9zmOKPZM1z7fZKeRjUmpqe+QbUPP1VMGBEZlx6DQXw/qOmVdNY+vL
 ca/WdfilNnuOlxyxpl9/wnWNsXIFWWVqP6K0x4eJe0zWWH7xhfqbz9gdh5HHIELMwMaV
 QywdrgZkTyv0kUyqSfh04i/PHC1DSng462S6is1NrcQ6xk2yFR1gPN4OmaO5A/2gLUWE
 4WXDHVeEO1ws0YUPIwWFFgD+wb9GuWOoSv0WF8sgh0LgnJNMaMTxsGSub5kkCcmQjK3q
 DFX8HFh/c6sfhUdyPvZCd/0BJO7aLUYnctjiTa4NUtXGa2djInICSN8ItQRTnQ2gKeQ1
 U76g==
X-Received: by 10.180.98.42 with SMTP id ef10mr6093412wib.49.1390213364351;
 Mon, 20 Jan 2014 02:22:44 -0800 (PST)
X-Gm-Message-State: ALoCoQlJzrsyJc39KEFPM8utcGpc6wWdy+hgYjSJML6WBArZYO3hfekBCgBG8LVTTadSR2o01WEVqAmooTY6ghNu9j+8xqE4TDbE4y8KhiU2yuCfrEsFi8sGPT8ROL6lE/mVEqAK8nQhiTs+G8evvLT4Oc3hlgqOnsPM4dMxKEZJopmyEVPBAA+ijGQceJd0o6PqbIuW6erH
X-Received: by 10.180.98.42 with SMTP id ef10mr6093409wib.49.1390213364283;
 Mon, 20 Jan 2014 02:22:44 -0800 (PST)
Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk.
 [137.222.187.241])
 by mx.google.com with ESMTPSA id z2sm1378909wiy.11.2014.01.20.02.22.42
 for <freebsd-questions@freebsd.org>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 20 Jan 2014 02:22:43 -0800 (PST)
Sender: Anton Shterenlikht <mexas@bristol.ac.uk>
Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1])
 by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id s0KAMe6h005897
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
 for <freebsd-questions@freebsd.org>; Mon, 20 Jan 2014 10:22:40 GMT
 (envelope-from mexas@mech-cluster241.men.bris.ac.uk)
Received: (from mexas@localhost)
 by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id s0KAMecZ005896
 for freebsd-questions@freebsd.org; Mon, 20 Jan 2014 10:22:40 GMT
 (envelope-from mexas)
Date: Mon, 20 Jan 2014 02:22:43 -0800 (PST)
From: Anton Shterenlikht <mexas@bris.ac.uk>
Message-Id: <201401201022.s0KAMecZ005896@mech-cluster241.men.bris.ac.uk>
To: freebsd-questions@freebsd.org
Subject: texlive fonts configuration: cannot find Arial, Times
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: mexas@bris.ac.uk
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jan 2014 10:28:26 -0000

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