lyx-users  

Re: Missing *.sty and/or *.cls files?

Ignacio Garcia
Thu, 04 Feb 2010 04:33:22 -0800

Virgil Stokes <v...@...> writes:

> 
> First, I am trying to get started with LyX (vers. 1.6.4) on a Ubuntu 
> (vers. 9.10) platform. I am also very new with Ubuntu trying to migrate 
> from Windows.
> 
> Second, your work on this package is impressive. It downloaded and 
> installed very easily.
> 
> Third, I started by looking at some of your templates. Many of these 
> would not "compile" --- gave a rather long error message in a window 
> that was labeled
> 
>    LyX: Document class not available

This means that the needed packages are not installed.

Installing LyX on Ubuntu only install by default a set of basic packages

You can have a look at System>Adminstration>Synaptic
search for "texlive-..." and you see many packages uninstalled.

They give support for many several document classes.
E.g., the "elsevier" class is included in the package: "texlive-publishers"
Install it and reconfigure LyX: elsevier should be available now.

> Uwe: The problem is that Ubuntu still installs by default an old version of 
the LaTeX distribution

Right, but it's still usable for the most document classes, and installing
manually texlive 2009 can be a bit hard for newbies in linux/LyX.

I. García