Christian Ridderström wrote:

> This problem was reported earlier and I've "confirmed" it.
> 
> I don't know if it's a lyx-bug or a latex-bug, here's the rundown:
> 
> This file works: http://www.md.kth.se/~chr/lyx/bugs/option-clash/works.lyx
> 
> This file fails: http://www.md.kth.se/~chr/lyx/bugs/option-clash/fails.lyx
> 
> With the error that the package graphicx has already been loaded with a
> different option [], and is now being loaded with option [dvips].
> 
> The difference between the two files: diff fails.lyx works.lyx
> 7c7
> < \graphics dvips
> ---
>> \graphics default
> 
> so that explains why it tries to call graphicx with [dvips] the second
> time. The reason (I think) that grpahicx has already been called is that
> the document contains a table cell with text that's rotated, and therefore
> rotate.sty is callled, that calls graphicx.sty ... but I'm no latex-guru.
> (The rotating hypothesis comes from the fact that removing the setting
> that rotates the table cell removes the problem)

I guess that the real test is to export the file to latex and see if it 
still dies when you move the \usepackage{graphicx} macro above the 
\usepackage{rotate}. If this is the fix to the problem, then we can fix LyX 
too. 

-- 
Angus

Reply via email to