Dear John, Thanks again.
I have one more question: on the url you gave me ( http://www.ctan.org/tex-archive/macros/latex/contrib/colortbl/ ), I find the following: "The colortbl package: Add colour to LaTeX tables. Requires array and color packages. Process colortbl.ins to produce the package file colortbl.sty. Process colortbl.dtx to get the documentation (this requires longtable hhline and dcolumn from the standard `tools' distribution.)" When I download colortbl.ins, I just get a webpage with the following: " \def\batchfile{colortbl.ins} \input docstrip \preamble \endpreamble \generate{\file{colortbl.sty}{\from{colortbl.dtx}{package}}} " How should I save this to the specific folder? Thanks, Pieter On Sun, May 9, 2010 at 5:57 PM, John R Hudson <[email protected]>wrote: > > -- > Please note my new email address and amend your records if you have not > done > so already. Thank you. > > On Sunday 09 May 2010 12:42:49 Pieter Reynders wrote: > > 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 > > > If you have a folder on your computer named /usr/share/texmf/tex/latex/, > you > simply need to create a folder called colortbl in this folder and copy > colortbl.sty to this folder. > > (Depending on what operating system you are using, you probably need > administrator or root privileges to do this.) > > If you do not have this exact folder, look for a folder which has something > like tex/latex/ in its name and do the same. > > There is a README which should explain the purpose of the different files; > AKAIK you are only interested in colortbl.sty which I assume is packed in > one > of the files and you can ignore the others for the moment. > > Having found colortbl.sty, you simply copy it to the correct folder - there > is > no 'install' procedure for this. > > However, once you are satisfied that it is in place, you need to open LyX > and > run Tools>Reconfigure so that LyX knows it is there. Hopefully, all should > then be well. > > John > >
