# The Code of Discipline — Book Structure - **Title**: *The Code of Discipline: Break Bad Habits with Mental Toughness and Build an Unstoppable Mindset* - **Author**: Not stated in the scan (no author on the cover, and the About the Author page was not scanned) - **Source**: `/library/The Code of Discipline/source-file.pdf` - **PDF length**: 156 pages (photocopied scan, Canon iPR C165; no bookmarks) - **Printed page offset**: printed page N ≈ PDF page N + 2 (e.g. Chapter 1 printed p. 15 = PDF p. 17) - **Structure**: Introduction (Chapter 00), 9 chapters in 3 Parts, and a book-level Conclusion (Chapter 10). Part dividers are folded into the chapter that follows them. - **Extraction**: Uses the scanner's own OCR text layer, which tested more accurate than a RapidOCR re-run (RapidOCR dropped word spaces). Expect character-level OCR errors ("Thaining", "joumey"), lost drop-cap first letters, and mangled headings; check the PDF page when a word matters. - **Pages without text**: 2 (inside cover), 154–155 (blank; the About the Author page listed in the contents is missing from the scan). | Section | PDF pages | Title | Source text | | --- | ---: | --- | --- | | Front Matter | 1–4 | Front matter (cover, inside cover, contents) | `/library/The Code of Discipline/Front-Matter/Front-Matter-source-text.md` | | Chapter 00 | 5–15 | Introduction: The Discipline Crisis | `/library/The Code of Discipline/Chapter-00-Introduction-The-Discipline-Crisis/Chapter-00-source-text.md` | | Chapter 01 | 16–31 | The War Against Comfort | `/library/The Code of Discipline/Chapter-01-The-War-Against-Comfort/Chapter-01-source-text.md` | | Chapter 02 | 32–45 | Grit Over Feelings | `/library/The Code of Discipline/Chapter-02-Grit-Over-Feelings/Chapter-02-source-text.md` | | Chapter 03 | 46–58 | The Focus Formula | `/library/The Code of Discipline/Chapter-03-The-Focus-Formula/Chapter-03-source-text.md` | | Chapter 04 | 59–72 | The Mental Resistance Trap | `/library/The Code of Discipline/Chapter-04-The-Mental-Resistance-Trap/Chapter-04-source-text.md` | | Chapter 05 | 73–85 | The Science of Self-Discipline | `/library/The Code of Discipline/Chapter-05-The-Science-of-Self-Discipline/Chapter-05-source-text.md` | | Chapter 06 | 86–98 | Mastering the Morning Battlefield | `/library/The Code of Discipline/Chapter-06-Mastering-the-Morning-Battlefield/Chapter-06-source-text.md` | | Chapter 07 | 99–114 | The Discipline Code Framework | `/library/The Code of Discipline/Chapter-07-The-Discipline-Code-Framework/Chapter-07-source-text.md` | | Chapter 08 | 115–127 | The 90-Day Mental Toughness Protocol | `/library/The Code of Discipline/Chapter-08-The-90-Day-Mental-Toughness-Protocol/Chapter-08-source-text.md` | | Chapter 09 | 128–140 | The Discipline Code in Work, Fitness, and Life | `/library/The Code of Discipline/Chapter-09-The-Discipline-Code-in-Work-Fitness-and-Life/Chapter-09-source-text.md` | | Chapter 10 | 141–153 | Conclusion: Becoming a Person of Unbreakable Will | `/library/The Code of Discipline/Chapter-10-Conclusion-Becoming-a-Person-of-Unbreakable-Will/Chapter-10-source-text.md` | | Back Matter | 154–156 | Blank pages (About the Author page not scanned) and back cover | `/library/The Code of Discipline/Back-Matter/Back-Matter-source-text.md` | All 156 PDF pages are covered exactly once.