+ uߨj{ ã óF € R t ^ RIHt ^ RIt^ RIHt ^ RIHt ]! ]4 P 4 P P t]R, t]P ! R4 t]P ! R]P 4 tR R ltR R ltR R lt]R8X d ]! ]! 4 4 hR# )a+ Re-align the teacher's guide answers with the textbook's chapter/lesson map. The scans' running heads occasionally lag a page behind chapter boundaries, so a few pages land in the wrong chapter. Every answer page quotes the textbook pages it covers ("Set I (pages 186-187)"), and the textbook Markdown has a page marker for every printed page. This script uses that to: * move pages to the chapter that owns their textbook pages; * rebuild the "Lesson N" / "Review" headings from the same map; * refresh the counts in Teacher_Answers/README.md. )ÚannotationsN)Údefaultdict)ÚPathÚTeacher_Answersz-(
.*?
)z^### Set\b.*?\(page[s]?\s*(\d+)c ó € V ^8„ d QhRR/# )é Úreturnzdict[int, tuple[int, str]]© )Úformats "Ú`/mnt/external2/Shared/richard/files/Books/Textbooks/Geometry/site_builder/fix_teacher_answers.pyÚ__annotate__r s € ÷ ñ Ð,ñ ó c óÒ € / p \ \ R , P R4 4 EF: p\ \ P ! RVP 4 P ^4 4 pRpRpVP RR7 P 4 FÕ p\ P ! RV4 pV' d2 \ VP ^4 4 pW09 d Y$;' g R3W&