On Sunday 09 May 2010 09:47:56 Pieter Reynders wrote:
> Dear Madam, Sir,
> 
> I'm using the following preamble (I put it in italic to be clear):
> 
> *% DO NOT ALTER THIS PREAMBLE!!!*
> 
> *%*
> 
> *%This preamble is designed to ensure that the document prints*
> 
> *% out as advertised. If you mess with this preamble,*
> 
> *% parts of the document may not print out as expected. If you*
> 
> *% have problems LaTeXing this file, please contact *
> 
> *% the documentation team*
> 
> *% email: [email protected]*
> 
> **
> 
> *\usepackage{ifpdf} % part of the hyperref bundle*
> 
> *\ifpdf % if pdflatex is used*
> 
> **
> 
> *% set fonts for nicer pdf view*
> 
> *\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}*
> 
> **
> 
> *\fi % end if pdflatex is used*
> 
> **
> 
> **
> 
> *% redefine the \LyX macro for PDF bookmarks*
> 
> *\def\LyX{\texorpdfstring{%*
> 
> *l\kern-.1667em\lower.25em\hbox{y}\kern-.125e...@}*
> 
> *{LyX}}*
> 
> **
> 
> *\usepackage{pdflscape}*
> 
> *\usepackage{threeparttable}*
> 
> *\usepackage{booktabs}*
> 
> *\usepackage{colortbl}*
> 
> *\definecolor{lightgray}{gray}{0.8}*
> 
> 
> 
> When I want to run my file with tables in PDF, I get the following error
> message:
> 
> 
> 
> LaTeX Error: File `colortbl.sty' not found.
> 
> 
> 
> with description:
> 
> \definecolor
> 
> {lightgray}{gray}{0.8}
> 
> *** (cannot \read from terminal in nonstop modes)
> 
> 
> 
> I need the colortbl command as I colour some rows of my tables.
> 
> 
> 
> 
> 
> I'm not really sure what to do now and am under some time pressure as I
>  have to hand in my thesis tomorrow. Would you be so kind to help me?
> 
> 
> 
> Thank you very much,
> 
> Pieter
> 
Colortbl is available from http://www.ctan.org/tex-
archive/macros/latex/contrib/colortbl/

In my setup, colortbl.sty is at 
/usr/share/texmf/tex/latex/colortbl/colortbl.sty

You need to install it in the equivalent location on your setup.

John

Reply via email to