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

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: