[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pdflatex has problem with searching files



On Thu, Aug 14, 2008 at 10:33:39 +0200, Misko wrote:
> I installed texlive and when try to process simple document
> I got error that pdflated can not find some files:
> 
> ! LaTeX Error: File `book.cls' not found.
> ! LaTeX Error: File `bk12.clo' not found.
> 
> If I type in the path to those files when it ask than pdf latex can complete
> the work. But why it can not find it by itself?

Latex uses a database to find files more quickly; this database is not
properly configured or updated on your system.

> Here is detailed session log:
> 
> This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)

[...]

> ! LaTeX Error: File `book.cls' not found.
> 
> Type X to quit or <RETURN> to proceed,
> or enter new name. (Default extension: cls)
> 
> Enter file name: /usr/share/texmf-texlive/tex/latex/base/book.cls
> (/usr/share/texmf-texlive/tex/latex/base/book.cls
> Document Class: book 2004/02/16 v1.4f Standard LaTeX document class

[...]

Try to run "mktexlsr" as root to update the kpathsea database. If it
still does not work after that then you should send us the output of
this command:

kpsepath tex | sed 's/:/\n/g'

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: