LaTeX forum ⇒ Generalerror when compiled

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

error when compiled

Postby soad0901 » Sat Mar 22, 2008 9:28 pm

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


User avatar
Posts: 656
Joined: Sat Jan 27, 2007 12:46 am

Postby Juanjo » Sat Mar 22, 2008 10:10 pm

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.

Return to “General”

Who is online

Users browsing this forum: Baidu [Spider] and 4 guests