Fwd: Lyx 2 problem

2011-05-17 Thread Reza Azarderakhsh
Hi I am using IEEEtran template. When I want to write a Theorem, it inserts
Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead of
Lemma 1. It is increasing the numbers for all of these formats such as
definition, remark ,.. .

I just installed Lyx 2 and facing this problem.

Would you please help with that.

Thanks

Reza
-- 
**
Reza Azarderakhsh
PhD Candidate,
Department of Electrical and Computer Engineering,
The University of Western Ontario,
London, Ontario, Canada
Email: razar...@uwo.ca
http://publish.uwo.ca/~razarder/
**



-- 
**
Reza Azarderakhsh
PhD Candidate,
Department of Electrical and Computer Engineering,
The University of Western Ontario,
London, Ontario, Canada
Email: razar...@uwo.ca
http://publish.uwo.ca/~razarder/
**


Re: Lyx 2 problem

2011-05-17 Thread Julio Rojas
Dear Reza, you should use a module specially for that. Go to Document -
Settings - Modules - Theorems (AMS, Numbered by Type).

I hope this works.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:03 PM, Reza Azarderakhsh razar...@uwo.ca wrote:





 Hi I am using IEEEtran template. When I want to write a Theorem, it inserts
 Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead of
 Lemma 1. It is increasing the numbers for all of these formats such as
 definition, remark ,.. .

 I just installed Lyx 2 and facing this problem.

 Would you please help with that.

 Thanks

 Reza
 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



Re: Lyx 2 problem

2011-05-17 Thread Julio Rojas
OS? On Windows should be there by default?
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:41 PM, Reza Azarderakhsh
azarderak...@gmail.comwrote:

 Hello,

 Thanks so much for the prompt reply. But I was unable to add it (Theorems
 (AMS, Numbered by Type).) from left column to the right side to apply it. It
 seems that it is not available.

 On Tue, May 17, 2011 at 1:30 PM, Julio Rojas jcredbe...@gmail.com wrote:

 Dear Reza, you should use a module specially for that. Go to Document -
 Settings - Modules - Theorems (AMS, Numbered by Type).

 I hope this works.

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Tue, May 17, 2011 at 7:03 PM, Reza Azarderakhsh razar...@uwo.cawrote:





 Hi I am using IEEEtran template. When I want to write a Theorem, it
 inserts Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead
 of Lemma 1. It is increasing the numbers for all of these formats such as
 definition, remark ,.. .

 I just installed Lyx 2 and facing this problem.

 Would you please help with that.

 Thanks

 Reza
 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **





 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



Re: Lyx 2 problem

2011-05-17 Thread Jim Oldfield



Thanks so much for the prompt reply. But I was unable to add it (Theorems 
(AMS, 

Numbered by Type).) from left column to the right side to apply it. It seems 
that it is not available.




You need to remove the Theorems (AMS) (or Theorems) module before you can 
add the Theorems (AMS, Numbered by Type) one.

Note that numbering all theorems/lemmas/etc together is not a problem, just a 
matter of taste. (I certainly prefer it... it's annoying hunting for Lemma 15, 
when all you know is that this page has Theorem 12 and Definition 18. Which way 
do I look?)


Re: Lyx 2 problem

2011-05-17 Thread Jim Oldfield
Hi Reza,

Please reply to the list in future (use reply to all in your email client), 
so 
that all users can help with your problem, and see any suggested solutions.

 Unfortunately IEEE Tran journals do not accept the way you explained. 

Ah ha, I hadn't thought of that. This turns out to be the key point. It seems 
that in LyX, if you select an IEEEtran document class, then the theorem layout 
as chosen *as if* you had selected the theorems module yourself, so there's no 
way to unselect it.

It could be that this is because this is what the IEEEtran latex class does and 
LyX is just showing it through. Or, it could be a quirk of LyX. I don't know 
because I've never used this document class.

Jim


Re: Lyx 2 problem

2011-05-17 Thread Reza Azarderakhsh
Hi, sure.

But this problem exists only in Lyx 2. and in Lyx 1.6 it is OK for numbering
and working well. Then it seems that the problem is from Lyx side.

Thanks

Reza

On Tue, May 17, 2011 at 5:08 PM, Jim Oldfield jim_...@yahoo.co.uk wrote:

 Hi Reza,

 Please reply to the list in future (use reply to all in your email
 client), so
 that all users can help with your problem, and see any suggested solutions.

  Unfortunately IEEE Tran journals do not accept the way you explained.

 Ah ha, I hadn't thought of that. This turns out to be the key point. It
 seems
 that in LyX, if you select an IEEEtran document class, then the theorem
 layout
 as chosen *as if* you had selected the theorems module yourself, so there's
 no
 way to unselect it.

 It could be that this is because this is what the IEEEtran latex class does
 and
 LyX is just showing it through. Or, it could be a quirk of LyX. I don't
 know
 because I've never used this document class.

 Jim




--


Fwd: Lyx 2 problem

2011-05-17 Thread Reza Azarderakhsh
Hi I am using IEEEtran template. When I want to write a Theorem, it inserts
Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead of
Lemma 1. It is increasing the numbers for all of these formats such as
definition, remark ,.. .

I just installed Lyx 2 and facing this problem.

Would you please help with that.

Thanks

Reza
-- 
**
Reza Azarderakhsh
PhD Candidate,
Department of Electrical and Computer Engineering,
The University of Western Ontario,
London, Ontario, Canada
Email: razar...@uwo.ca
http://publish.uwo.ca/~razarder/
**



-- 
**
Reza Azarderakhsh
PhD Candidate,
Department of Electrical and Computer Engineering,
The University of Western Ontario,
London, Ontario, Canada
Email: razar...@uwo.ca
http://publish.uwo.ca/~razarder/
**


Re: Lyx 2 problem

2011-05-17 Thread Julio Rojas
Dear Reza, you should use a module specially for that. Go to Document -
Settings - Modules - Theorems (AMS, Numbered by Type).

I hope this works.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:03 PM, Reza Azarderakhsh razar...@uwo.ca wrote:





 Hi I am using IEEEtran template. When I want to write a Theorem, it inserts
 Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead of
 Lemma 1. It is increasing the numbers for all of these formats such as
 definition, remark ,.. .

 I just installed Lyx 2 and facing this problem.

 Would you please help with that.

 Thanks

 Reza
 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



Re: Lyx 2 problem

2011-05-17 Thread Julio Rojas
OS? On Windows should be there by default?
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:41 PM, Reza Azarderakhsh
azarderak...@gmail.comwrote:

 Hello,

 Thanks so much for the prompt reply. But I was unable to add it (Theorems
 (AMS, Numbered by Type).) from left column to the right side to apply it. It
 seems that it is not available.

 On Tue, May 17, 2011 at 1:30 PM, Julio Rojas jcredbe...@gmail.com wrote:

 Dear Reza, you should use a module specially for that. Go to Document -
 Settings - Modules - Theorems (AMS, Numbered by Type).

 I hope this works.

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Tue, May 17, 2011 at 7:03 PM, Reza Azarderakhsh razar...@uwo.cawrote:





 Hi I am using IEEEtran template. When I want to write a Theorem, it
 inserts Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead
 of Lemma 1. It is increasing the numbers for all of these formats such as
 definition, remark ,.. .

 I just installed Lyx 2 and facing this problem.

 Would you please help with that.

 Thanks

 Reza
 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **





 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



Re: Lyx 2 problem

2011-05-17 Thread Jim Oldfield



Thanks so much for the prompt reply. But I was unable to add it (Theorems 
(AMS, 

Numbered by Type).) from left column to the right side to apply it. It seems 
that it is not available.




You need to remove the Theorems (AMS) (or Theorems) module before you can 
add the Theorems (AMS, Numbered by Type) one.

Note that numbering all theorems/lemmas/etc together is not a problem, just a 
matter of taste. (I certainly prefer it... it's annoying hunting for Lemma 15, 
when all you know is that this page has Theorem 12 and Definition 18. Which way 
do I look?)


Re: Lyx 2 problem

2011-05-17 Thread Jim Oldfield
Hi Reza,

Please reply to the list in future (use reply to all in your email client), 
so 
that all users can help with your problem, and see any suggested solutions.

 Unfortunately IEEE Tran journals do not accept the way you explained. 

Ah ha, I hadn't thought of that. This turns out to be the key point. It seems 
that in LyX, if you select an IEEEtran document class, then the theorem layout 
as chosen *as if* you had selected the theorems module yourself, so there's no 
way to unselect it.

It could be that this is because this is what the IEEEtran latex class does and 
LyX is just showing it through. Or, it could be a quirk of LyX. I don't know 
because I've never used this document class.

Jim


Re: Lyx 2 problem

2011-05-17 Thread Reza Azarderakhsh
Hi, sure.

But this problem exists only in Lyx 2. and in Lyx 1.6 it is OK for numbering
and working well. Then it seems that the problem is from Lyx side.

Thanks

Reza

On Tue, May 17, 2011 at 5:08 PM, Jim Oldfield jim_...@yahoo.co.uk wrote:

 Hi Reza,

 Please reply to the list in future (use reply to all in your email
 client), so
 that all users can help with your problem, and see any suggested solutions.

  Unfortunately IEEE Tran journals do not accept the way you explained.

 Ah ha, I hadn't thought of that. This turns out to be the key point. It
 seems
 that in LyX, if you select an IEEEtran document class, then the theorem
 layout
 as chosen *as if* you had selected the theorems module yourself, so there's
 no
 way to unselect it.

 It could be that this is because this is what the IEEEtran latex class does
 and
 LyX is just showing it through. Or, it could be a quirk of LyX. I don't
 know
 because I've never used this document class.

 Jim




--


Fwd: Lyx 2 problem

2011-05-17 Thread Reza Azarderakhsh
Hi I am using IEEEtran template. When I want to write a Theorem, it inserts
Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead of
Lemma 1. It is increasing the numbers for all of these formats such as
definition, remark ,.. .

I just installed Lyx 2 and facing this problem.

Would you please help with that.

Thanks

Reza
-- 
**
Reza Azarderakhsh
PhD Candidate,
Department of Electrical and Computer Engineering,
The University of Western Ontario,
London, Ontario, Canada
Email: razar...@uwo.ca
http://publish.uwo.ca/~razarder/
**



-- 
**
Reza Azarderakhsh
PhD Candidate,
Department of Electrical and Computer Engineering,
The University of Western Ontario,
London, Ontario, Canada
Email: razar...@uwo.ca
http://publish.uwo.ca/~razarder/
**


Re: Lyx 2 problem

2011-05-17 Thread Julio Rojas
Dear Reza, you should use a module specially for that. Go to Document ->
Settings -> Modules -> Theorems (AMS, Numbered by Type).

I hope this works.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:03 PM, Reza Azarderakhsh  wrote:

>
>
>
>
> Hi I am using IEEEtran template. When I want to write a Theorem, it inserts
> Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead of
> Lemma 1. It is increasing the numbers for all of these formats such as
> definition, remark ,.. .
>
> I just installed Lyx 2 and facing this problem.
>
> Would you please help with that.
>
> Thanks
>
> Reza
> --
> **
> Reza Azarderakhsh
> PhD Candidate,
> Department of Electrical and Computer Engineering,
> The University of Western Ontario,
> London, Ontario, Canada
> Email: razar...@uwo.ca
> http://publish.uwo.ca/~razarder/
> **
>
>
>
> --
> **
> Reza Azarderakhsh
> PhD Candidate,
> Department of Electrical and Computer Engineering,
> The University of Western Ontario,
> London, Ontario, Canada
> Email: razar...@uwo.ca
> http://publish.uwo.ca/~razarder/
> **
>


Re: Lyx 2 problem

2011-05-17 Thread Julio Rojas
OS? On Windows should be there by default?
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:41 PM, Reza Azarderakhsh
wrote:

> Hello,
>
> Thanks so much for the prompt reply. But I was unable to add it (Theorems
> (AMS, Numbered by Type).) from left column to the right side to apply it. It
> seems that it is not available.
>
> On Tue, May 17, 2011 at 1:30 PM, Julio Rojas  wrote:
>
>> Dear Reza, you should use a module specially for that. Go to Document ->
>> Settings -> Modules -> Theorems (AMS, Numbered by Type).
>>
>> I hope this works.
>>
>> Regards.
>> -
>> Julio Rojas
>> jcredbe...@gmail.com
>>
>>
>>
>> On Tue, May 17, 2011 at 7:03 PM, Reza Azarderakhsh wrote:
>>
>>>
>>>
>>>
>>>
>>> Hi I am using IEEEtran template. When I want to write a Theorem, it
>>> inserts Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead
>>> of Lemma 1. It is increasing the numbers for all of these formats such as
>>> definition, remark ,.. .
>>>
>>> I just installed Lyx 2 and facing this problem.
>>>
>>> Would you please help with that.
>>>
>>> Thanks
>>>
>>> Reza
>>> --
>>> **
>>> Reza Azarderakhsh
>>> PhD Candidate,
>>> Department of Electrical and Computer Engineering,
>>> The University of Western Ontario,
>>> London, Ontario, Canada
>>> Email: razar...@uwo.ca
>>> http://publish.uwo.ca/~razarder/
>>> **
>>>
>>>
>>>
>>> --
>>> **
>>> Reza Azarderakhsh
>>> PhD Candidate,
>>> Department of Electrical and Computer Engineering,
>>> The University of Western Ontario,
>>> London, Ontario, Canada
>>> Email: razar...@uwo.ca
>>> http://publish.uwo.ca/~razarder/
>>> **
>>>
>>
>>
>
>
> --
> **
> Reza Azarderakhsh
> PhD Candidate,
> Department of Electrical and Computer Engineering,
> The University of Western Ontario,
> London, Ontario, Canada
> Email: razar...@uwo.ca
> http://publish.uwo.ca/~razarder/
> **
>


Re: Lyx 2 problem

2011-05-17 Thread Jim Oldfield


>>
>>Thanks so much for the prompt reply. But I was unable to add it (Theorems 
>>(AMS, 
>
>>Numbered by Type).) from left column to the right side to apply it. It seems 
>>that it is not available.
>>
>>


You need to remove the "Theorems (AMS)" (or "Theorems") module before you can 
add the "Theorems (AMS, Numbered by Type)" one.

Note that numbering all theorems/lemmas/etc together is not a "problem", just a 
matter of taste. (I certainly prefer it... it's annoying hunting for Lemma 15, 
when all you know is that this page has Theorem 12 and Definition 18. Which way 
do I look?)


Re: Lyx 2 problem

2011-05-17 Thread Jim Oldfield
Hi Reza,

Please reply to the list in future (use "reply to all" in your email client), 
so 
that all users can help with your problem, and see any suggested solutions.

> Unfortunately IEEE Tran journals do not accept the way you explained. 

Ah ha, I hadn't thought of that. This turns out to be the key point. It seems 
that in LyX, if you select an IEEEtran document class, then the theorem layout 
as chosen *as if* you had selected the theorems module yourself, so there's no 
way to unselect it.

It could be that this is because this is what the IEEEtran latex class does and 
LyX is just showing it through. Or, it could be a quirk of LyX. I don't know 
because I've never used this document class.

Jim


Re: Lyx 2 problem

2011-05-17 Thread Reza Azarderakhsh
Hi, sure.

But this problem exists only in Lyx 2. and in Lyx 1.6 it is OK for numbering
and working well. Then it seems that the problem is from Lyx side.

Thanks

Reza

On Tue, May 17, 2011 at 5:08 PM, Jim Oldfield  wrote:

> Hi Reza,
>
> Please reply to the list in future (use "reply to all" in your email
> client), so
> that all users can help with your problem, and see any suggested solutions.
>
> > Unfortunately IEEE Tran journals do not accept the way you explained.
>
> Ah ha, I hadn't thought of that. This turns out to be the key point. It
> seems
> that in LyX, if you select an IEEEtran document class, then the theorem
> layout
> as chosen *as if* you had selected the theorems module yourself, so there's
> no
> way to unselect it.
>
> It could be that this is because this is what the IEEEtran latex class does
> and
> LyX is just showing it through. Or, it could be a quirk of LyX. I don't
> know
> because I've never used this document class.
>
> Jim
>



--