LyX 2.0.3 on Debian GNU/Linux stable with pdfTeX, Version
3.1415926-2.4-1.40.13 (TeX Live 2012/Debian).

LyX could turn my document into pdf using pdflatex fine.
I inserted a figure, which was a pdf file.  The log now shows the
following 3 errors:
! Package hyperref Error: Wrong DVI mode driver option `dvips',
(hyperref)                because pdfTeX or LuaTeX is running in PDF
mode.

! LaTeX Error: Option clash for package graphicx.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.108 \usepackage
                 {color}
The package graphicx has already been loaded with options:
  []
There has now been an attempt to load it with options
  [dvips]
Adding the global options:
  ,dvips
to your \documentclass declaration may fix this.

! LaTeX Error: Cannot determine size of graphic in
47_home_ross_UCSF_HIVRace_si
mpleMatch1.pdf (no BoundingBox).

I tried adding dvips to the document options, but it didn't help.

LyX still produces a pdf output and it looks OK--even including the
graph.

What can I do about these errors?

Why is anything trying to use the dvips options when I'm running with
pdflatex?

Should I include the figure with Insert | File | External Material
rather than Insert | Graphics?  I want to use it as a graphic, not a
complete page.

Thanks.
Ross Boylan

Reply via email to