It seemly consists two questions:
- define a custom counter for Exercises that is tied to the current chapter
- create a separate List of Exercises (similar to a Table of Contents)
Noted that, one post should just focused on just one core point. BTW, you'd better provide an MWE, which make it convenient for users on the site to test and start with.
For the first one, you may have a look at chngcntr package(which has been in the 2e-kernel)
For the second one, maybe you can give a glance on tocbasic package in koma-script bundle.
补充:
此处用tocbasic似乎不是非常合适,因为这需要exercise成为浮动体。
最好是模仿\section里的\@starttoc功能做类似的实现。



























问 How to define a custom counter for Exercises?