Re: Missing *.sty and/or *.cls files?
On 2010-02-04, Ignacio Garcia wrote: 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. Debian/testing finally updated to TeXLive 2009, I suppose Ubuntu will follow soon (or already did in some repository). Installing missing LaTeX styles or packages is relatively easy: * Install apt-file (via the package manager, e.g. aptitude). * Run `apt-file find the-style-I-need.sty`. (Replace the-style-I-need.sty with a search pattern matching your needs.) * Install the Debian/Ubuntu package providing this style via the package manager. As apt-file searches on a cached database, run `apt-file update` periodically. Günter
Re: Missing *.sty and/or *.cls files?
On 2010-02-04, Ignacio Garcia wrote: 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. Debian/testing finally updated to TeXLive 2009, I suppose Ubuntu will follow soon (or already did in some repository). Installing missing LaTeX styles or packages is relatively easy: * Install apt-file (via the package manager, e.g. aptitude). * Run `apt-file find the-style-I-need.sty`. (Replace the-style-I-need.sty with a search pattern matching your needs.) * Install the Debian/Ubuntu package providing this style via the package manager. As apt-file searches on a cached database, run `apt-file update` periodically. Günter
Re: Missing *.sty and/or *.cls files?
On 2010-02-04, Ignacio Garcia wrote: >> 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. Debian/testing finally updated to TeXLive 2009, I suppose Ubuntu will follow soon (or already did in some repository). Installing missing LaTeX styles or packages is relatively easy: * Install apt-file (via the package manager, e.g. aptitude). * Run `apt-file find the-style-I-need.sty`. (Replace "the-style-I-need.sty" with a search pattern matching your needs.) * Install the Debian/Ubuntu package providing this style via the package manager. As apt-file searches on a cached database, run `apt-file update` periodically. Günter
Re: Missing *.sty and/or *.cls files?
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 SystemAdminstrationSynaptic 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
Re: Missing *.sty and/or *.cls files?
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 SystemAdminstrationSynaptic 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
Re: Missing *.sty and/or *.cls files?
Virgil Stokeswrites: > > 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
Re: Missing *.sty and/or *.cls files?
On Wed, 3 Feb 2010, Virgil Stokes wrote: 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 There's nothing to compile. Recommendation: take the tutorial. On main menu Help - Tutorial. Rich
Re: Missing *.sty and/or *.cls files?
Am 03.02.2010 20:05, schrieb Virgil Stokes: 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... LyX: Document class not available This is because every LaTeX distribution only offers a basic set of document classes in the default installation. I did look at Customization documentation as suggested in the error message in this window; however, I still could not understand how to fix the problem. Unfortunately, the error message does not give any information on what *.sty and/or *.cls files are missing. For example, when I tried the template elsarticle.lyx this error message came up. elsarticle is a template for the Elsevier scientific article document class. It is used for journal publications in Elsevier journals. If you need to use this document class, you have to install it. This is easily done using the TeXLive package manager. The problem is that Ubuntu still installs by default an old version of the LaTeX distribution TeXLive. It is recommended to use TeXLive 2008 or 2009 instead of the predefined version 2007 because since version 2008 there is a package manager available. On Windows the package handling is easier than on Ubuntu: When installing LyX, all LaTeX-packages supported and used by LyX will automatically also installed. When you later compile a document and LaTeX cannot find a package or document class, it will automatically try to install it from the Internet without bothering you. regards Uwe
Re: Missing *.sty and/or *.cls files?
On Wed, 3 Feb 2010, Virgil Stokes wrote: 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 There's nothing to compile. Recommendation: take the tutorial. On main menu Help - Tutorial. Rich
Re: Missing *.sty and/or *.cls files?
Am 03.02.2010 20:05, schrieb Virgil Stokes: 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... LyX: Document class not available This is because every LaTeX distribution only offers a basic set of document classes in the default installation. I did look at Customization documentation as suggested in the error message in this window; however, I still could not understand how to fix the problem. Unfortunately, the error message does not give any information on what *.sty and/or *.cls files are missing. For example, when I tried the template elsarticle.lyx this error message came up. elsarticle is a template for the Elsevier scientific article document class. It is used for journal publications in Elsevier journals. If you need to use this document class, you have to install it. This is easily done using the TeXLive package manager. The problem is that Ubuntu still installs by default an old version of the LaTeX distribution TeXLive. It is recommended to use TeXLive 2008 or 2009 instead of the predefined version 2007 because since version 2008 there is a package manager available. On Windows the package handling is easier than on Ubuntu: When installing LyX, all LaTeX-packages supported and used by LyX will automatically also installed. When you later compile a document and LaTeX cannot find a package or document class, it will automatically try to install it from the Internet without bothering you. regards Uwe
Re: Missing *.sty and/or *.cls files?
On Wed, 3 Feb 2010, Virgil Stokes wrote: 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 There's nothing to compile. Recommendation: take the tutorial. On main menu Help -> Tutorial. Rich
Re: Missing *.sty and/or *.cls files?
Am 03.02.2010 20:05, schrieb Virgil Stokes: 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... LyX: Document class not available This is because every LaTeX distribution only offers a basic set of document classes in the default installation. I did look at Customization documentation as suggested in the error message in this window; however, I still could not understand how to fix the problem. Unfortunately, the error message does not give any information on what *.sty and/or *.cls files are missing. For example, when I tried the template elsarticle.lyx this error message came up. elsarticle is a template for the Elsevier scientific article document class. It is used for journal publications in Elsevier journals. If you need to use this document class, you have to install it. This is easily done using the TeXLive package manager. The problem is that Ubuntu still installs by default an old version of the LaTeX distribution TeXLive. It is recommended to use TeXLive 2008 or 2009 instead of the predefined version 2007 because since version 2008 there is a package manager available. On Windows the package handling is easier than on Ubuntu: When installing LyX, all LaTeX-packages supported and used by LyX will automatically also installed. When you later compile a document and LaTeX cannot find a package or document class, it will automatically try to install it from the Internet without bothering you. regards Uwe