From owner-freebsd-questions@freebsd.org Wed Sep 16 10:17:36 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 807C69CE6D2 for ; Wed, 16 Sep 2015 10:17:36 +0000 (UTC) (envelope-from ac@acampbell.uk) Received: from shcp05.hosting.zen.net.uk (shcp05.hosting.zen.net.uk [82.71.205.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 41CBE1198 for ; Wed, 16 Sep 2015 10:17:35 +0000 (UTC) (envelope-from ac@acampbell.uk) Received: from [88.97.55.211] (port=45850 helo=localhost) by shcp05.hosting.zen.net.uk with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85) (envelope-from ) id 1Zc90m-000WAD-Uy for freebsd-questions@freebsd.org; Wed, 16 Sep 2015 10:28:26 +0100 Date: Wed, 16 Sep 2015 10:28:21 +0100 From: Anthony Campbell To: freebsd-questions@freebsd.org Subject: Re: LyX/TeX problem: can't find classes Message-ID: <20150916092820.GA7983@ithaca.acampbell.uk> Mail-Followup-To: Anthony Campbell , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - shcp05.hosting.zen.net.uk X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - acampbell.uk X-Get-Message-Sender-Via: shcp05.hosting.zen.net.uk: authenticated_id: ac@acampbell.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2015 10:17:36 -0000 On 16 Sep 2015, Will Parsons wrote: > At some point fairly recently (I'm not sure the exact circumstances), > my LyX installation can't produce PDF files anymore because (almost) > all document classes are marked unavailable. Googling has been no > help - the common recommendations of running (from LyX) "Tools => > Reconfigure" and (from the command line) "fmtutil-sys --all" have not > solved the problem. > > The document that I am currenlty working on uses the "article" class, > and under /usr/local/share/texmf-dist/tex/latex/base there is a file > "article.cls" (among other *.cls files). I'm at a loss. Can anyone > shed light on what is wrong? > Do you have the tex-formats package installed (as well as texlive-texmf)? I had a similar problem to yours when getting LyX to edit my Beamer files, even though beamer.cls seemed to be present. You need tex-formats to be able to use pdflatex. -- Anthony Campbell http://www.acampbell.uk