Martin A. Hansen wrote:
> LaTeX Error: Option clash for package color.
> \usepackage
> [dvips]{graphics}
> The package color has already been loaded with options:
> [usenames]
> There has now been an attempt to load it with options
> [dvips]
> Adding the global options:
> usenames,dvips
> to your \documentclass declaration may fix this.
> Try typing <return> to proceed.
>
>
>
> btw, my preable looks like this:
>
What happens if you simply coment this out:
> \usepackage[dvips]{color}
graphics.sty is deprecated in favour of graphicx.sty, if I understand
correctly. Certainly, that's what LyX uses. If you use any 'graphics
insets' in your LyX document, then I'd just comment out this line.
> \usepackage[dvips]{graphics}
> \usepackage{longtable}
> \usepackage[normalem]{ulem}
Do you need these, or does the change bar thingie not do something
similar? Or maybe you mean that the preamble of your LaTeX document
contains these, rather than the Preamble available through the
Layouts->Docuement dialog?
> \newcommand\suppress[1]{}
> \newcommand\deleted[1]{\xout{#1}}
> \newcommand\revised[1]{\uline{#1}}
> \newlength\wvtextpercent
> \setlength\wvtextpercent{0.009\textwidth}
>
> \newbox\strikebox
> \def\strike#1{\setbox\strikebox \hbox{<#1>}\hbox{\raise0.5ex\hbox to
> 0pt{\vrule height 0.4pt width \wd\strikebox\hss}\copy\strikebox}}
>
> \setlength\parindent{0pt}
> \setlength{\parskip}{\smallskipamount}
>
>
>
> martin
>
>
>
>
>
> On Tue, May 10, 2005 at 12:30:18PM +0100, Angus Leeming wrote:
>> Martin A. Hansen wrote:
>> >> There's a 'Download latest version of dvipost.' link...
>> >
>> > i have already been there, downloaded and compiled. that gives me a
>> > nice dvipost binary - but how is that related to dvipost.sty?
>>
>> Now you're embarassing yourself.
>>
>> dvipost-1.0-> ls
>> CHANGELOG configure* dvicmd.h dvipost.html message.c
>> COPYING configure.in dvifile.c dvipost.man pos.c
>> Makefile.in din.c dvifont.c dvipost.sty test.tex
>> NOTES dout.c dvipost.c dvipost.tex tfm.c
>> README dvi.c dvipost.doc install.sh*
>> alloc.c dvi.h dvipost.h main.c
>>
>> I'd expect that you'll need to put dvipost.sty somewhere that TeX can
>> find it. Eg, here I'd do something like:
>>
>> $ su
>> $ mkdir /usr/local/share/texmf/tex/latex/dvipost
>> $ cp dvipost.sty /usr/local/share/texmf/tex/latex/dvipost/.
>> $ cd /usr/local/share/texmf
>> $ texhash
>>
>> because I use a teTeX distribution of LaTeX.
>>
>> --
>> Angus
--
Angus