Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-29 Thread G. Milde
On 28.07.08, rgheck wrote: G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new AddToPreamble tag

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-29 Thread rgheck
Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new AddToPreamble tag for cases where you don't want to over-write but just want to add something. If I'm remembering correctly, I found I needed the tag somewhere, so

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-29 Thread G. Milde
On 28.07.08, rgheck wrote: G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new AddToPreamble tag

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-29 Thread rgheck
Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new AddToPreamble tag for cases where you don't want to over-write but just want to add something. If I'm remembering correctly, I found I needed the tag somewhere, so

Re: Difficulty with LyX-Code and Copystyle

2008-07-29 Thread G. Milde
On 28.07.08, rgheck wrote: > G. Milde wrote: >> On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? >> Yes. Overwrite the Preamble definiton by defining a replacement (maybe >> empty) in your copy. > FYI: LyX 1.6 has a new

Re: Difficulty with LyX-Code and Copystyle

2008-07-29 Thread rgheck
Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new "AddToPreamble" tag for cases where you don't want to over-write but just want to add something. If I'm remembering correctly, I found I needed the tag somewhere,

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Abdelrazak Younes
Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I get the following error message: Hi Steve, Not directly

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Steve Litt
On Monday 28 July 2008 03:22, Abdelrazak Younes wrote: Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-28 Thread G. Milde
On 27.07.08, Steve Litt wrote: On Sunday 27 July 2008 17:09, Steve Litt wrote: ... if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I get the following error message: LaXeX Error: Command \lyxcode already defined

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-28 Thread rgheck
G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new AddToPreamble tag for cases where you

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-28 Thread Abdelrazak Younes
rgheck wrote: G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new AddToPreamble tag for cases where

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-28 Thread rgheck
Abdelrazak Younes wrote: rgheck wrote: G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Abdelrazak Younes
Steve Litt wrote: On Monday 28 July 2008 03:22, Abdelrazak Younes wrote: Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Steve Litt
On Monday 28 July 2008 11:35, Abdelrazak Younes wrote: Steve Litt wrote: On Monday 28 July 2008 03:22, Abdelrazak Younes wrote: Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Abdelrazak Younes
Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I get the following error message: Hi Steve, Not directly

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Steve Litt
On Monday 28 July 2008 03:22, Abdelrazak Younes wrote: Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-28 Thread G. Milde
On 27.07.08, Steve Litt wrote: On Sunday 27 July 2008 17:09, Steve Litt wrote: ... if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I get the following error message: LaXeX Error: Command \lyxcode already defined

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-28 Thread rgheck
G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new AddToPreamble tag for cases where you

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-28 Thread Abdelrazak Younes
rgheck wrote: G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new AddToPreamble tag for cases where

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-28 Thread rgheck
Abdelrazak Younes wrote: rgheck wrote: G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Abdelrazak Younes
Steve Litt wrote: On Monday 28 July 2008 03:22, Abdelrazak Younes wrote: Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Steve Litt
On Monday 28 July 2008 11:35, Abdelrazak Younes wrote: Steve Litt wrote: On Monday 28 July 2008 03:22, Abdelrazak Younes wrote: Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Abdelrazak Younes
Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I get the following error message: Hi Steve, Not directly

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Steve Litt
On Monday 28 July 2008 03:22, Abdelrazak Younes wrote: > Steve Litt wrote: > > Hi all, > > > > I'm not calling this a bug because maybe it was never intended to work > > this way, but if I create and use two LyX styles, Code1 and Code2, each > > of them with CopyStyle LyX-Code, then on conversion

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread G. Milde
On 27.07.08, Steve Litt wrote: > On Sunday 27 July 2008 17:09, Steve Litt wrote: > > ... > > if I create and use two LyX styles, Code1 and Code2, each of them > > with CopyStyle LyX-Code, then on conversion to PDF I get the following > > error message: > > > > LaXeX Error: Command \lyxcode already

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread rgheck
G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new "AddToPreamble" tag for cases where

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Abdelrazak Younes
rgheck wrote: G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new "AddToPreamble" tag for cases

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread rgheck
Abdelrazak Younes wrote: rgheck wrote: G. Milde wrote: On 27.07.08, Steve Litt wrote: Is there a simple way I can use CopyStyle with LyX-Code and not get this error? Yes. Overwrite the Preamble definiton by defining a replacement (maybe empty) in your copy. FYI: LyX 1.6 has a new

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Abdelrazak Younes
Steve Litt wrote: On Monday 28 July 2008 03:22, Abdelrazak Younes wrote: Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion

Re: Difficulty with LyX-Code and Copystyle

2008-07-28 Thread Steve Litt
On Monday 28 July 2008 11:35, Abdelrazak Younes wrote: > Steve Litt wrote: > > On Monday 28 July 2008 03:22, Abdelrazak Younes wrote: > >> Steve Litt wrote: > >>> Hi all, > >>> > >>> I'm not calling this a bug because maybe it was never intended to work > >>> this way, but if I create and use two

Difficulty with LyX-Code and Copystyle

2008-07-27 Thread Steve Litt
Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I get the following error message: LaXeX Error: Command \lyxcode already defined I

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-27 Thread Steve Litt
On Sunday 27 July 2008 17:09, Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I get the following error message:

Difficulty with LyX-Code and Copystyle

2008-07-27 Thread Steve Litt
Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I get the following error message: LaXeX Error: Command \lyxcode already defined I

Re: Difficulty with LyX-Code and Copystyle FIX FOUND

2008-07-27 Thread Steve Litt
On Sunday 27 July 2008 17:09, Steve Litt wrote: Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I get the following error message:

Difficulty with LyX-Code and Copystyle

2008-07-27 Thread Steve Litt
Hi all, I'm not calling this a bug because maybe it was never intended to work this way, but if I create and use two LyX styles, Code1 and Code2, each of them with CopyStyle LyX-Code, then on conversion to PDF I get the following error message: LaXeX Error: Command \lyxcode already defined I

Re: Difficulty with LyX-Code and Copystyle

2008-07-27 Thread Steve Litt
On Sunday 27 July 2008 17:09, Steve Litt wrote: > Hi all, > > I'm not calling this a bug because maybe it was never intended to work this > way, but if I create and use two LyX styles, Code1 and Code2, each of them > with CopyStyle LyX-Code, then on conversion to PDF I get the following > error