Hello:

It appears that Lyx is NOT calling the graphicx (and possibly other)
packages with the correct options.

This creates an "option clash" when another package tries to load the
graphicx package with the correct option.

I found this situation when attempting to use pdfslide within lyx.

Lyx seems to always add "usepackage{graphicx}" to all documents, which
is alright.

But if one declares the document to be of class "pdftex", it seems that
Lyx should invoke "usepackage[pdftex]{gaphicx}" (option pdftex). Lyx
invokes plain graphicx without the option.

Unfortunately, pdfslide does invoke usepackage[pdftex]{gaphicx}, which
prompts pdflatex to stop with the message:

"The package graphicx has already been loaded with options:[]
There has now been an attempt to load it with options [pdftex]
Adding the global options: ,pdftex
to your \documentclass declaration may fix this."

Unfortunately Lyx always use \usepackage{graphicx} even if one does
what latex suggests.

Exporting the Lyx file to latex and commenting out the
"\usepackage{graphicx}" automatically generated by Lyx solves the
problem, but it is too inconvenient. 

Is there a way of telling Lyx to load graphicx with the correct option,
or NOT to load it at all?

Virgil

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

Reply via email to