Generalerror when compiled

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
soad0901
Posts: 1
Joined: Sat Mar 22, 2008 9:22 pm

error when compiled

Post by soad0901 »

hi everyone,

i use Kile.

when i compiled my file (which works because thats an example from my teacher) i have an error :

! LaTeX Error: File `lastpage.sty' not found.


what does that mean ? by the way, know that im a beginner

thanks u guys for your help

cu

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

error when compiled

Post by Juanjo »

soad0901 wrote:! LaTeX Error: File `lastpage.sty' not found.
what does that mean ?
In your tex file, there is a line with the following command: \usepackage{lastpage}. When LaTeX finds it, it tries to read the file lastpage.sty, or, in other words, LaTeX tries to load the lastpage package. But, in your case, LaTeX does not find it. I figure out that you have done a basic TeX Live instalation. Use your favourite package manager (adept, apt-get...) to install texlive-latex-extra. The LaTeX package lastpage is there.
Post Reply