Bo Peng wrote:
Lyx inserts
\usepackage[usenames]{color}
this is superfluous, beamer loads by default xcolor.
Options to xcolor can be passed via the class options
Layout->Document->Layout->Options
So \usepackage{color} should not be inserted at all. I tried to add
yes, shouldn't be part of the internal preamble
options "pdftex,usenames" for beamer but still get the 'option clash
why do you need the pdftex option? It could be detected
by nearly all packages itself. And beamer itself passes it
to hyperref
use "dvipsnames,xcolor" as class options
Herbert