Document Classes ⇒ Trouble finding packages
Trouble finding packages
The way I'm going about it at this point is to take the work of previous, similar stylesheets and making the necessary changes. But I'm running into all kinds of minor setbacks that I've wasted a lot of time trying to find answers to.
I may be asking a lot of silly questions like this, but please bear with me because I don't ask until after an excessive amount of Google and forum searching.
Question #1: The stylesheet I'm using as a base uses the titlesec and titletoc packages, which I understand are pretty common but my installation of latex for some reason doesn't include (installed via aptitude in Ubuntu Linux 8.04).
However, I noticed that in my cygwin install on my Windows partition, I have a titlesec directory in /usr/share/texmf/tex/latex/, so I figured I'd just copy everything on over to the same place in my Ubuntu install.
So to be clear, I now have /usr/share/texmf/tex/latex/titlesec/, which includes titlesec.sty and titletoc.sty, among a lot of other files.
The other packages that are actually recognized are in texmf-texlive/tex/latex/ as opposed to texmf/tex/latex/, so I copied the titlesec directory over there as well.
But it still gives me the error: `titletoc.sty' not found. \usepackage
I'm using Kile 2.0.0 in KDE 3.5.9 in Ubuntu Linux 8.04 (Hardy Heron). I've tried restarting the program as well as not using it at all and just running latex and pdflatex, and I get the same errors.
So where exactly am I supposed to put the packages for LaTeX to find them?
Thanks in advance,
-cvp
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Trouble finding packages
with Ubuntu Linux 8.04 you can install texlive-latex-extra, it contains titlesec:
Code: Select all
sudo apt-get install texlive-latex-extraCode: Select all
sudo texhashRe: Trouble finding packages
Thanks a lot!
-cvp