Equation numbering within Sections not working

raymondk's picture

Standard Latex Article (Harvard) or JEEP - a general purpose vehicle.

I have been unable to get the equations to restart numbering within sections. For some sections it works, but other it either omits the number 1 or continues from the previous section.

I have tried \numberwithin{equation}{section} and various other things.

After further investigation, I noticed that the problem only occurred if the last numbered equation in the previous section has subequation numbering.

Thus, this appears to be a bug in SWP - hope not!

What to do to make this work?

Thank you.

Raymond

It should be sufficient to do

It should be sufficient to do nothing except add the numinsec package to the document. 

raymondk's picture

Thanks. Still doesn't work if

Thanks. Still doesn't work if the last numbered equation in a section has subequation numbering enabled.

Ray

You may be seeing a side

You may be seeing a side effect of the problem described at http://www.mackichan.com/techtalk/360.htm.  Post a sample document if you continue to have difficulties.

raymondk's picture

Thank you, George. That fixes

Thank you, George.

That fixes the problem.