Re: Theorem numbering bug in 1.4.4

2007-07-15 Thread Paul A. Rubin

David L. Johnson wrote:
Folks:  Sorry to be reporting bugs in 1.4.4 while 1.5 is being rolled 
out, but at the moment I need to stick with this to get some work done.


While trying to do that, to write a paper to be precise, I noticed a 
display bug that I had not heard tell of.


I am using the amsart class (not the sequential numbering, the one which 
numbers Theorem 3.1 (first statement in section 3), and so on.


I first noticed the oddity, actually, in Theorem 3.1, which shows up as 
Theorem 3.10 on the screen, even though it comes out as Theorem 3.1 in 
the dvi file.  Lyx is not re-setting the secondary number between 
sections.  There were 9 statements in the previous sections.


I don't know when this first appeared, but I would guess that it was 
fairly recently, either in 1.4.4 or 1.4.3.


If this is not a known problem, I will post a sample file illustrating it.



I can confirm this, and it still holds true in 1.5.0rc2.  Numbering in 
the GUI is controlled by the layout files.  There's a provision in the 
layout files for defining/redefining counters, but I'm not aware of a 
mechanism for resetting a counter.  I'll ask on the developer list and, 
if it can't be done currently, put it in as an enhancement request.  (I 
couldn't find a relevant entry in bugzilla.)


/Paul



Re: Theorem numbering bug in 1.4.4

2007-07-15 Thread Paul A. Rubin

David L. Johnson wrote:


I am using the amsart class (not the sequential numbering, the one which 
numbers Theorem 3.1 (first statement in section 3), and so on.


I first noticed the oddity, actually, in Theorem 3.1, which shows up as 
Theorem 3.10 on the screen, even though it comes out as Theorem 3.1 in 
the dvi file.  Lyx is not re-setting the secondary number between 
sections.  There were 9 statements in the previous sections.




David,

Try grabbing http://www.msu.edu/~rubin/amsmath14.zip, unpacking it in 
your local whatever/lyx1.4.x/Resources/layouts folder, then restarting 
LyX.  I think this will do the trick for you.  (It also adds the 
Assumption environment, in case you're prone to making assumptions. ;-)) 
 I'm having trouble getting messages with zip attachments to make it to 
the list (they get bounced), hence the web link.


/Paul



Re: Theorem numbering bug in 1.4.4

2007-07-15 Thread Paul A. Rubin

David L. Johnson wrote:
Folks:  Sorry to be reporting bugs in 1.4.4 while 1.5 is being rolled 
out, but at the moment I need to stick with this to get some work done.


While trying to do that, to write a paper to be precise, I noticed a 
display bug that I had not heard tell of.


I am using the amsart class (not the sequential numbering, the one which 
numbers Theorem 3.1 (first statement in section 3), and so on.


I first noticed the oddity, actually, in Theorem 3.1, which shows up as 
Theorem 3.10 on the screen, even though it comes out as Theorem 3.1 in 
the dvi file.  Lyx is not re-setting the secondary number between 
sections.  There were 9 statements in the previous sections.


I don't know when this first appeared, but I would guess that it was 
fairly recently, either in 1.4.4 or 1.4.3.


If this is not a known problem, I will post a sample file illustrating it.



I can confirm this, and it still holds true in 1.5.0rc2.  Numbering in 
the GUI is controlled by the layout files.  There's a provision in the 
layout files for defining/redefining counters, but I'm not aware of a 
mechanism for resetting a counter.  I'll ask on the developer list and, 
if it can't be done currently, put it in as an enhancement request.  (I 
couldn't find a relevant entry in bugzilla.)


/Paul



Re: Theorem numbering bug in 1.4.4

2007-07-15 Thread Paul A. Rubin

David L. Johnson wrote:


I am using the amsart class (not the sequential numbering, the one which 
numbers Theorem 3.1 (first statement in section 3), and so on.


I first noticed the oddity, actually, in Theorem 3.1, which shows up as 
Theorem 3.10 on the screen, even though it comes out as Theorem 3.1 in 
the dvi file.  Lyx is not re-setting the secondary number between 
sections.  There were 9 statements in the previous sections.




David,

Try grabbing http://www.msu.edu/~rubin/amsmath14.zip, unpacking it in 
your local whatever/lyx1.4.x/Resources/layouts folder, then restarting 
LyX.  I think this will do the trick for you.  (It also adds the 
Assumption environment, in case you're prone to making assumptions. ;-)) 
 I'm having trouble getting messages with zip attachments to make it to 
the list (they get bounced), hence the web link.


/Paul



Re: Theorem numbering bug in 1.4.4

2007-07-15 Thread Paul A. Rubin

David L. Johnson wrote:
Folks:  Sorry to be reporting bugs in 1.4.4 while 1.5 is being rolled 
out, but at the moment I need to stick with this to get some work done.


While trying to do that, to write a paper to be precise, I noticed a 
display bug that I had not heard tell of.


I am using the amsart class (not the sequential numbering, the one which 
numbers Theorem 3.1 (first statement in section 3), and so on.


I first noticed the oddity, actually, in Theorem 3.1, which shows up as 
Theorem 3.10 on the screen, even though it comes out as Theorem 3.1 in 
the dvi file.  Lyx is not re-setting the secondary number between 
sections.  There were 9 statements in the previous sections.


I don't know when this first appeared, but I would guess that it was 
fairly recently, either in 1.4.4 or 1.4.3.


If this is not a known problem, I will post a sample file illustrating it.



I can confirm this, and it still holds true in 1.5.0rc2.  Numbering in 
the GUI is controlled by the layout files.  There's a provision in the 
layout files for defining/redefining counters, but I'm not aware of a 
mechanism for resetting a counter.  I'll ask on the developer list and, 
if it can't be done currently, put it in as an enhancement request.  (I 
couldn't find a relevant entry in bugzilla.)


/Paul



Re: Theorem numbering bug in 1.4.4

2007-07-15 Thread Paul A. Rubin

David L. Johnson wrote:


I am using the amsart class (not the sequential numbering, the one which 
numbers Theorem 3.1 (first statement in section 3), and so on.


I first noticed the oddity, actually, in Theorem 3.1, which shows up as 
Theorem 3.10 on the screen, even though it comes out as Theorem 3.1 in 
the dvi file.  Lyx is not re-setting the secondary number between 
sections.  There were 9 statements in the previous sections.




David,

Try grabbing http://www.msu.edu/~rubin/amsmath14.zip, unpacking it in 
your local /lyx1.4.x/Resources/layouts folder, then restarting 
LyX.  I think this will do the trick for you.  (It also adds the 
Assumption environment, in case you're prone to making assumptions. ;-)) 
 I'm having trouble getting messages with zip attachments to make it to 
the list (they get bounced), hence the web link.


/Paul



Theorem numbering bug in 1.4.4

2007-07-03 Thread David L. Johnson
Folks:  Sorry to be reporting bugs in 1.4.4 while 1.5 is being rolled 
out, but at the moment I need to stick with this to get some work done.


While trying to do that, to write a paper to be precise, I noticed a 
display bug that I had not heard tell of.


I am using the amsart class (not the sequential numbering, the one which 
numbers Theorem 3.1 (first statement in section 3), and so on.


I first noticed the oddity, actually, in Theorem 3.1, which shows up as 
Theorem 3.10 on the screen, even though it comes out as Theorem 3.1 in 
the dvi file.  Lyx is not re-setting the secondary number between 
sections.  There were 9 statements in the previous sections.


I don't know when this first appeared, but I would guess that it was 
fairly recently, either in 1.4.4 or 1.4.3.


If this is not a known problem, I will post a sample file illustrating it.

--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.


Theorem numbering bug in 1.4.4

2007-07-03 Thread David L. Johnson
Folks:  Sorry to be reporting bugs in 1.4.4 while 1.5 is being rolled 
out, but at the moment I need to stick with this to get some work done.


While trying to do that, to write a paper to be precise, I noticed a 
display bug that I had not heard tell of.


I am using the amsart class (not the sequential numbering, the one which 
numbers Theorem 3.1 (first statement in section 3), and so on.


I first noticed the oddity, actually, in Theorem 3.1, which shows up as 
Theorem 3.10 on the screen, even though it comes out as Theorem 3.1 in 
the dvi file.  Lyx is not re-setting the secondary number between 
sections.  There were 9 statements in the previous sections.


I don't know when this first appeared, but I would guess that it was 
fairly recently, either in 1.4.4 or 1.4.3.


If this is not a known problem, I will post a sample file illustrating it.

--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.


Theorem numbering bug in 1.4.4

2007-07-03 Thread David L. Johnson
Folks:  Sorry to be reporting bugs in 1.4.4 while 1.5 is being rolled 
out, but at the moment I need to stick with this to get some work done.


While trying to do that, to write a paper to be precise, I noticed a 
display bug that I had not heard tell of.


I am using the amsart class (not the sequential numbering, the one which 
numbers Theorem 3.1 (first statement in section 3), and so on.


I first noticed the oddity, actually, in Theorem 3.1, which shows up as 
Theorem 3.10 on the screen, even though it comes out as Theorem 3.1 in 
the dvi file.  Lyx is not re-setting the secondary number between 
sections.  There were 9 statements in the previous sections.


I don't know when this first appeared, but I would guess that it was 
fairly recently, either in 1.4.4 or 1.4.3.


If this is not a known problem, I will post a sample file illustrating it.

--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.