Solution: Section numbers don't reset

Steve Litt slitt at
Sun Jul 4 15:15:06 UTC 2021

Hi all,

I'll describe a set of symptoms, and then I'll tell how I fixed it...

SYMPTOM: Section numbers did not reset after each chapter. Each section
had just the section number not preceded by the chapter number and a

SITUATION: I was using a local layout, derived from standard "Book"

SOLUTION: I added a line containing "Input book.layout".

HOW I FOUND IT: After a half hour of futzing around, in preparation to
ask you guys, I made a Minimum Working Example by copying my layout
file to test.layout, and starting with a new document using
test.layout, I was able to toggle the symptom by switching between Book
and my layout. I started removing stuff from my layout file until there
was nothing there, and the symptom persisted. So I looked at my other
layout files and saw that they contained "Input book.layout", so I
inserted that and fixed the symptom. So then I went to the original
layout file and document, inserted "Input book.layout" into the layout
file, re-compiled the document, and bang, the symptom was gone.


Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful

More information about the lyx-users mailing list