Re: Option clash for package natbib.

2008-02-23 Thread Jürgen Spitzmüller
Bo Peng wrote:
 Right now, I have to turn off natbib in lyx and insert \citep etc in
 ERT to get around this problem. Is there any better solution?

Insert

Provides natbib 1

in your layout file.

Jürgen


Re: Option clash for package natbib.

2008-02-23 Thread Bo Peng
  Insert

  Provides natbib 1

  in your layout file.

Thanks. We definitely need a layout editor GUI...

Bo


Re: Option clash for package natbib.

2008-02-23 Thread Jürgen Spitzmüller
Bo Peng wrote:
 Right now, I have to turn off natbib in lyx and insert \citep etc in
 ERT to get around this problem. Is there any better solution?

Insert

Provides natbib 1

in your layout file.

Jürgen


Re: Option clash for package natbib.

2008-02-23 Thread Bo Peng
  Insert

  Provides natbib 1

  in your layout file.

Thanks. We definitely need a layout editor GUI...

Bo


Re: Option clash for package natbib.

2008-02-23 Thread Jürgen Spitzmüller
Bo Peng wrote:
> Right now, I have to turn off natbib in lyx and insert \citep etc in
> ERT to get around this problem. Is there any better solution?

Insert

Provides natbib 1

in your layout file.

Jürgen


Re: Option clash for package natbib.

2008-02-23 Thread Bo Peng
>  Insert
>
>  Provides natbib 1
>
>  in your layout file.

Thanks. We definitely need a layout editor GUI...

Bo


Option clash for package natbib.

2008-02-22 Thread Bo Peng
I have a journal-supplied .cls file that loads natbib through
\RequirePackage{natbib}. I have created a .layout file for this class
and use this class in lyx. However, when I enable natbib, I get an
error 'LaTeX Error: option clash for package natbib'. The error is
caused by a line
\usepackage[authoryear]{natbib}
that is inserted to to the generated latex file when natbib is enabled.

Right now, I have to turn off natbib in lyx and insert \citep etc in
ERT to get around this problem. Is there any better solution?

Bo


Option clash for package natbib.

2008-02-22 Thread Bo Peng
I have a journal-supplied .cls file that loads natbib through
\RequirePackage{natbib}. I have created a .layout file for this class
and use this class in lyx. However, when I enable natbib, I get an
error 'LaTeX Error: option clash for package natbib'. The error is
caused by a line
\usepackage[authoryear]{natbib}
that is inserted to to the generated latex file when natbib is enabled.

Right now, I have to turn off natbib in lyx and insert \citep etc in
ERT to get around this problem. Is there any better solution?

Bo


Option clash for package natbib.

2008-02-22 Thread Bo Peng
I have a journal-supplied .cls file that loads natbib through
\RequirePackage{natbib}. I have created a .layout file for this class
and use this class in lyx. However, when I enable natbib, I get an
error 'LaTeX Error: option clash for package natbib'. The error is
caused by a line
\usepackage[authoryear]{natbib}
that is inserted to to the generated latex file when natbib is enabled.

Right now, I have to turn off natbib in lyx and insert \citep etc in
ERT to get around this problem. Is there any better solution?

Bo