1 Attachment(s)

scrbook & amsmath: wrong equation numbering in appendix

Hi everybody,

I'm facing a curious problem: Using "\numberwithin{equation}{section}", equation numbering starts at "1" in each new section ((1.1.1), (1.1.2), (1.2.1), ...) and that's fine. In the appendix, however, I switch to "\numberwithin{equation}{chapter}" and expect a numbering ((A.1), (A.2), (B.1), (B.2), ...). This indeed works as long as I refrain from adding sections in the appendix: a new \section in an appendix-chapter (labeled by "A") leads to ambiguous numbering: ((A.1), (A.2), "\section", (A.1), (A.2), (B.1), (B.2), ...).

Strangely, changing "\numberwithin{equation}{section}" to "\numberwithin{equation}{chapter}" leads to correct numbering in the appendix. But I'd like to have sectionwise-numbering in the mainmatter.

How do get \numberwithin to work properly?

A 'next-to-minimum' example is attached.

Thanks for helping!