Dear John,

Thanks a lot for your reply.

However, I'm quite an inexperienced Lyx user and I'm not really sure what
you mean with

"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."

I can download the file from the link you gave me, but I'm not sure where to
save it to (and none of the files in the .zip file seem to be install
files?). I checked my Lyx folder and I do have a tex folder (albeit not
situated in a texmf folder) but it does not contain a latex folder, only
five files (broadway.cls, hollywood.cls, lyxchess.cls, lyxskak.cls,
revtex.cls).

Could you help me out?

I'm using Lyx version 1.6.5.

Thanks again,
Pieter



On Sun, May 9, 2010 at 1:00 PM, John R Hudson <[email protected]>wrote:

>  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