peppergrower wrote:
I'm used to TeXnicCenter and MikTex on Windows, but I decided to give LyX
(1.55) a try on my Ubuntu 8.10 system, and I'm having difficulty creating
PDFs. When I run pdflatex from within LyX, it keeps saying I'm missing
basic packages: like subfigure, and wrapfig, and nomencl. If I manually
install these in my local texmf directory, it doesn't halt on that package
anymore...instead, it just brings up another one.
I've installed texlive (though not texlive-full), and run texhash, and tried
the 'reconfigure' option in LyX's Tools menu. What am I missing here?
TeXLive takes some adjusting to for us MiKTeX users. :-) Whereas
MiKTeX bundles most of the LaTeX packages individually, TeXLive bundles
clusters of them in one package. For instance, subfigure is in
texlive-latex-extra (as are wrapfig and nomencl).
IMHO there are two reasonable ways to go here:
1. In the Synaptic Package Manager, use the quick search box to find
out which TeXLive package contains a missing LaTeX package (e.g.,
subfigure), then install it through Synaptic. Since the TeXLive bundles
are rather big, that will likely take care of many of your needs.
Repeat as needed. If you still lack a few (more obscure?) packages,
download those from CTAN, install manually and run texhash.
OR
2. There's a port of the MiKTeX package manager for Linux. Last I
checked it still lacked a graphical interface, so you have to run it
from a terminal. The advantage is that you can install individual
packages as needed. Note that, unlike MiKTeX on Windows, you can't use
it to install missing packages on the fly.
If you have adequate disk space and bandwidth, I'd suggest doing #1 to
get the bulk of the missing packages, then either manual download or the
MiKTeX port for the odd individual packages.
/Paul