This is an already complex specification. You need chapter numbering (easy) and several independent lists interacting with chapter numbering.
The key to success is a consistent use of styles, fields and number ranges (the latter will number your independent lists, making them suitable to be collected automatically in a table of examples, theorems, …).
Chapter (and other divisions) numbering is controlled by Tools
>Chapter Numbering
.
The chapter is internally captured and made available for other “sequencers” and field insertions. A field contains dynamic data which is inserted upon request into your text. Use a field to number your examples and theorems.
To create “Example 1.1”, type "Example " then Insert
>Field
>More Fields
.
- Go to
Variables
tab
- Click on Number range in Type
- If Example already exists in Select, click on it; otherwise enter “Example” (without quotes) in the Name entry box
- Choose the display Format
- To add the chapter number, select the appropriate Level from the drop-down menu in Numbering by Chapter
- Press Insert
- You can insert other fields if needed
- Press Close to exit the dialog
Do the same for theorems with a dedicated number range.