Re: latex beamer preamble.

2005-12-20 Thread Jean-Marc Lasgouttes
 Herbert == Herbert Voss [EMAIL PROTECTED] writes:

Herbert it cannot work, because LyX inserts by default a
Herbert \usepackage[usenames]{color} which is 

Herbert -- wrong here

Because beamer provides it?

Herbert -- and should always be xcolor, if really needed. Even though
Herbert a button for color/xcolor is the best way

xcolor is not available in teTeX 2.

JMarc


Re: latex beamer preamble.

2005-12-20 Thread Herbert Voss

Jean-Marc Lasgouttes wrote:

Herbert == Herbert Voss [EMAIL PROTECTED] writes:



Herbert it cannot work, because LyX inserts by default a
Herbert \usepackage[usenames]{color} which is 


Herbert -- wrong here

Because beamer provides it?

Herbert -- and should always be xcolor, if really needed. Even though
Herbert a button for color/xcolor is the best way

xcolor is not available in teTeX 2.


and what about beamer itself ;-)

this discussion is senseless ...
since teTeX2 we have more than 100 new packages ...

Herbert



Re: latex beamer preamble.

2005-12-20 Thread Jean-Marc Lasgouttes
 Herbert == Herbert Voss [EMAIL PROTECTED] writes:

 xcolor is not available in teTeX 2.

Herbert and what about beamer itself ;-)

Herbert this discussion is senseless ... since teTeX2 we have more
Herbert than 100 new packages ...

That is certainly very good, but does not make me want to use
xcolor.sty by default for color support. Of course, being able to use
both would be great.

JMarc


Re: latex beamer preamble.

2005-12-20 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:

Herbert> it cannot work, because LyX inserts by default a
Herbert> \usepackage[usenames]{color} which is 

Herbert> -- wrong here

Because beamer provides it?

Herbert> -- and should always be xcolor, if really needed. Even though
Herbert> a button for color/xcolor is the best way

xcolor is not available in teTeX 2.

JMarc


Re: latex beamer preamble.

2005-12-20 Thread Herbert Voss

Jean-Marc Lasgouttes wrote:

"Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:



Herbert> it cannot work, because LyX inserts by default a
Herbert> \usepackage[usenames]{color} which is 


Herbert> -- wrong here

Because beamer provides it?

Herbert> -- and should always be xcolor, if really needed. Even though
Herbert> a button for color/xcolor is the best way

xcolor is not available in teTeX 2.


and what about beamer itself ;-)

this discussion is senseless ...
since teTeX2 we have more than 100 new packages ...

Herbert



Re: latex beamer preamble.

2005-12-20 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:

>> xcolor is not available in teTeX 2.

Herbert> and what about beamer itself ;-)

Herbert> this discussion is senseless ... since teTeX2 we have more
Herbert> than 100 new packages ...

That is certainly very good, but does not make me want to use
xcolor.sty by default for color support. Of course, being able to use
both would be great.

JMarc


Re: latex beamer preamble.

2005-12-19 Thread Helge Hafting

Bo Peng wrote:


\usepackage{usernames]{color}
 


^
Sure about that one?
   



Yes. I uninstalled 1.3.6 and use 1.4.0cvs now so I could not actually
 


That one is clearly wrong.  I don't know whether the color package
has an option usernames, but the brackets are clearly mismatched.
Do this come from your preamble, or did lyx create it that way?

Helge Hafting


Re: latex beamer preamble.

2005-12-19 Thread Bo Peng
 \usepackage{usernames]{color}

 That one is clearly wrong.  I don't know whether the color package
 has an option usernames, but the brackets are clearly mismatched.

Sorry, my typo. Lyx inserts

\usepackage[usenames]{color}

into the generated latex file and caused the compiling errors.

I apologize for the confusion.

Bo


Re: latex beamer preamble.

2005-12-19 Thread Herbert Voss

Bo Peng wrote:

\usepackage{usernames]{color}




That one is clearly wrong.  I don't know whether the color package
has an option usernames, but the brackets are clearly mismatched.



Sorry, my typo. 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

Herbert



Re: latex beamer preamble.

2005-12-19 Thread Bo Peng
  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
options pdftex,usenames for beamer but still get the 'option clash
for package color' error message. Maybe something like ProvidesColor
should be added to beamer.layout?

Bo


Re: latex beamer preamble.

2005-12-19 Thread Jean-Marc Lasgouttes
 Bo == Bo Peng [EMAIL PROTECTED] writes:

  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

Bo So \usepackage{color} should not be inserted at all. I tried to
Bo add options pdftex,usenames for beamer but still get the 'option
Bo clash for package color' error message. Maybe something like
Bo ProvidesColor should be added to beamer.layout?

Yes, I think so. However, ProvidesColor does not exist yet... Please
submit a bug to this effect.

JMarc


Re: latex beamer preamble.

2005-12-19 Thread Herbert Voss

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



Re: latex beamer preamble.

2005-12-19 Thread Bo Peng
  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

pdftex is suggested by the error message. I have tried many options,
including yours, with no success.

Bo


Re: latex beamer preamble.

2005-12-19 Thread Herbert Voss

Bo Peng wrote:

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



pdftex is suggested by the error message. I have tried many options,
including yours, with no success.


send me the lyx _and_ the exported latex file

Herbert



Re: latex beamer preamble.

2005-12-19 Thread Herbert Voss

Bo Peng wrote:

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



pdftex is suggested by the error message. I have tried many options,
including yours, with no success.


it cannot work, because LyX inserts by default a
\usepackage[usenames]{color} which is
-- wrong here
-- and should always be xcolor, if really needed. Even though
   a button for color/xcolor is the best way

Herbert



Re: latex beamer preamble.

2005-12-19 Thread Bo Peng
 it cannot work, because LyX inserts by default a
 \usepackage[usenames]{color} which is
 -- wrong here
 -- and should always be xcolor, if really needed. Even though
 a button for color/xcolor is the best way


http://bugzilla.lyx.org/show_bug.cgi?id=2169 reported.


Re: latex beamer preamble.

2005-12-19 Thread Helge Hafting

Bo Peng wrote:


\usepackage{usernames]{color}
 


^
Sure about that one?
   



Yes. I uninstalled 1.3.6 and use 1.4.0cvs now so I could not actually
 


That one is clearly wrong.  I don't know whether the color package
has an option "usernames", but the brackets are clearly mismatched.
Do this come from your preamble, or did lyx create it that way?

Helge Hafting


Re: latex beamer preamble.

2005-12-19 Thread Bo Peng
> >>>\usepackage{usernames]{color}

> That one is clearly wrong.  I don't know whether the color package
> has an option "usernames", but the brackets are clearly mismatched.

Sorry, my typo. Lyx inserts

\usepackage[usenames]{color}

into the generated latex file and caused the compiling errors.

I apologize for the confusion.

Bo


Re: latex beamer preamble.

2005-12-19 Thread Herbert Voss

Bo Peng wrote:

\usepackage{usernames]{color}




That one is clearly wrong.  I don't know whether the color package
has an option "usernames", but the brackets are clearly mismatched.



Sorry, my typo. 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

Herbert



Re: latex beamer preamble.

2005-12-19 Thread Bo Peng
> > 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
options "pdftex,usenames" for beamer but still get the 'option clash
for package color' error message. Maybe something like ProvidesColor
should be added to beamer.layout?

Bo


Re: latex beamer preamble.

2005-12-19 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:

>> > 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

Bo> So \usepackage{color} should not be inserted at all. I tried to
Bo> add options "pdftex,usenames" for beamer but still get the 'option
Bo> clash for package color' error message. Maybe something like
Bo> ProvidesColor should be added to beamer.layout?

Yes, I think so. However, ProvidesColor does not exist yet... Please
submit a bug to this effect.

JMarc


Re: latex beamer preamble.

2005-12-19 Thread Herbert Voss

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



Re: latex beamer preamble.

2005-12-19 Thread Bo Peng
> > 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

pdftex is suggested by the error message. I have tried many options,
including yours, with no success.

Bo


Re: latex beamer preamble.

2005-12-19 Thread Herbert Voss

Bo Peng wrote:

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



pdftex is suggested by the error message. I have tried many options,
including yours, with no success.


send me the lyx _and_ the exported latex file

Herbert



Re: latex beamer preamble.

2005-12-19 Thread Herbert Voss

Bo Peng wrote:

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



pdftex is suggested by the error message. I have tried many options,
including yours, with no success.


it cannot work, because LyX inserts by default a
\usepackage[usenames]{color} which is
-- wrong here
-- and should always be xcolor, if really needed. Even though
   a button for color/xcolor is the best way

Herbert



Re: latex beamer preamble.

2005-12-19 Thread Bo Peng
> it cannot work, because LyX inserts by default a
> \usepackage[usenames]{color} which is
> -- wrong here
> -- and should always be xcolor, if really needed. Even though
> a button for color/xcolor is the best way


http://bugzilla.lyx.org/show_bug.cgi?id=2169 reported.


Re: latex beamer preamble.

2005-12-18 Thread Martin Vermeer
On Sun, 2005-12-18 at 23:17 -0600, Bo Peng wrote:
 Dear list,
 
 I have a latex-beamer file that works well under lyx 1.3.6. When I
 open the file using 1.4.0cvs, it can not be compiled. I notice that
 compared to 1.3.6, the exported latex code has two additional lines:
 
 \usepackage{usernames]{color}
 ^
Sure about that one?

 \usepackage{graphicx}
 
 I guess I need to change beamer.layout to 1.4.0 format/specification
 but I can not find any info about it.
 
 Cheers,
 Bo


signature.asc
Description: This is a digitally signed message part


Re: latex beamer preamble.

2005-12-18 Thread Bo Peng
  \usepackage{usernames]{color}
  ^
 Sure about that one?

Yes. I uninstalled 1.3.6 and use 1.4.0cvs now so I could not actually
compare the latex files. However, the lyx file was compiled OK but now
I have error message:

! LaTeX Error: Option clash for package color.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...

l.10 \usepackage
{graphicx}

Actually, graphix does not cause any trouble.
Bo


Re: latex beamer preamble.

2005-12-18 Thread Martin Vermeer
On Sun, 2005-12-18 at 23:17 -0600, Bo Peng wrote:
> Dear list,
> 
> I have a latex-beamer file that works well under lyx 1.3.6. When I
> open the file using 1.4.0cvs, it can not be compiled. I notice that
> compared to 1.3.6, the exported latex code has two additional lines:
> 
> \usepackage{usernames]{color}
 ^
Sure about that one?

> \usepackage{graphicx}
> 
> I guess I need to change beamer.layout to 1.4.0 format/specification
> but I can not find any info about it.
> 
> Cheers,
> Bo


signature.asc
Description: This is a digitally signed message part


Re: latex beamer preamble.

2005-12-18 Thread Bo Peng
> > \usepackage{usernames]{color}
>  ^
> Sure about that one?

Yes. I uninstalled 1.3.6 and use 1.4.0cvs now so I could not actually
compare the latex files. However, the lyx file was compiled OK but now
I have error message:

! LaTeX Error: Option clash for package color.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...

l.10 \usepackage
{graphicx}

Actually, graphix does not cause any trouble.
Bo