+ uߨj{ãóF€Rt^RIHt^RIt^RIHt^RIHt]!]4P4PPt ] R, t ]P!R4t]P!R]P4tRR ltR R ltR R lt]R8Xd]!]!44hR#)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„dQhRR/#)éÚ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, PR44EF:p\\P !RVP 4P^44pRpRpVPRR7P4FÕp\P!RV4pV'd2\VP^44pW09dY$;'gR3W&KS\P!RV4pV'gKtV'gK~VP^4pVR 9dR pM5VPR 4'dR VP4^,,pTpW(3W&K× EK= V#) ÚMarkdownú Chapter_*.mdú Chapter_(\d+)Núutf-8©ÚencodingzÚz9^## (Lesson \d+|Summary and Review|Review|Algebra Review)ÚReviewÚLessonzLesson )zSummary and Reviewr) ÚsortedÚROOTÚglobÚintÚreÚsearchÚnameÚgroupÚ read_textÚ splitlinesÚmatchÚ startswithÚsplit) ÚmappingÚpathÚnumberÚ current_pageÚcurrent_sectionÚlineÚmarkerÚheadingÚsections r Úbook_mapr.s.€Ø*,€GÜœ˜zÕ)×/Ñ/°Ó?×@ˆÜ”R—Y’YÐ/°·±Ó;×AÑAÀ!ÓDÓEˆØ#'ˆ Ø&*ˆØ—N‘N¨G�NÓ4×?Ñ?ÖAˆDÜ—X’XÐ4°dÓ;ˆFßÜ" 6§<¡<°£?Ó3� ØÔ.Ø-3×5JÐ5JÈÐ,K�GÑ)ÙÜ—h’hØLÈdóˆG÷‰wŸ<™<Ø!Ÿ-™-¨Ó*�ØÐ>Ô>Ø&‘GØ×'Ñ'¨×1Ò1Ø'¨'¯-©-«/¸!Õ*<Õ<�GØ")�Ø)/Ð(9�Ó%ô#Bñ Að, €Nr có €V^8„dQhRRRR/#)rr&rrztuple[str, list[dict]]r )r s"r r r 5s€÷ ñ �dð Ð5ñ r c ó&€VPRR7p\PV4pV^,p.p\^\ V4^4FCpVP R\ W%^,,4RW%,RW%^,,/4KE W43#)rrr'r+Úcontent)r ÚPAGE_REr$ÚrangeÚlenÚappendr)r&ÚtextÚpartsÚpreambleÚpagesÚindexs& r Ú split_pagesr;5s„€Ø �>‰> 7ˆ>Ó +€DÜ �M‰M˜$Ó €EØ�Q�x€HØ €EÜ�qœ#˜e›* aÖ(ˆØ � ‰ àœ#˜e¨A¥IÕ.Ó/ؘ%�,ؘ5¨¥Õ+ð ö ñ)ð ˆ?Ðr có€V^8„dQhRR/#)rrrr )r s"r r r Es€÷y ñy ˆcñy r c ó aaaa€\4p/p.p\\PR44Fgp\ \ P !RVP4P^44o\V4wrEWAS&VFpVPV4K Ki VPRR7VFrp\PVR,4Uu.uFp\ V4NK ppVUu.uFqwV9gK W,NK p pV 'd V ^,MR"wVR&VR&Kt R;r«VF)pVR,f W«uVR&VR&VR,VR,rºK+ R;rÍ\V4F)pVR,f WÍuVR&VR&VR,VR,rÜK+ \\ 4oV^,R,oRoRVV3R llpR VVV3R llpVFûpV!VR,4V!VR,4SS,PVR ,4VR,P#4F pVP%R 4'dK\P'V4pV'dPVP)\ VP^444pV'dV!V^,4V!V^,4SS,PV4K¢ Ký \S4F™oVP)SR4pVP+4R,RP-SS,4P/4,R,p\ P0!RRV4p\RSR R2, P3VRR7K› /p\4R, R, P7RR7P#4F^p\ P&!RV4pV'gK$VP^4P/4V\ VP^44&K` SUau/uFoS\9V3RlV44bK pp\S4Uu.uF3pRV RVP)VR4 RVP)V^4 RVR R2 NK5 ppRP-.R#OVORNRNRNR NRN4p\R, P3VRR7\;R!\S4Uu/uFpVVP)V^4bK up4^#uupiuupiuupiuupiuupi)$rrcó€VR,#)r'r )Úpages&r ÚÚmain..Qs€  X¦r )Úkeyr1NÚchapterr-có €V^8„dQhRRRR/#)rrCrrÚNoner )r s"r r Úmain..__annotate__js€÷#ñ# ð#¨ñ#r có"<€VS8wdVoRoR#R#)Nr )rCÚcurrent_chapterr)s&€€r Úswitch_chapterÚmain..switch_chapterjsø€à �oÔ %Ø%ˆOØ"ŠOñ &r có €V^8„dQhRRRR/#)rr-z str | NonerrEr )r s"r r rFps€÷&ñ&˜ð&¨ñ&r cóp<€V'd-VS8wd$SS,PRV,4VoR#R#R#)ú## N)r5)r-ÚbodiesrHr)s&€€€r r,Úmain..headingps0ø€ç �w /Ô1Ø �?Õ #× *Ñ *¨5°7­?Ô ;Ø%ŠOñ2‰7r r+rMrz Ú z\n{3,}ÚChapter_Ú02dz.mdrrrz README.mdzH\|\s*\[Chapter_(\d+)\.md\]\([^)]+\)\s*\|\s*([^|]+?)\s*\|\s*([^|]+?)\s*\|c3óF<"€TFqR,S8XgK^x€K R#5i)rCNr )Ú.0Úpr's& €r Ú Úmain..•søé€ÐE¡U ° ­l¸fÑ.DŸ!š!£Uùsƒ!— !z| z | z | [Open](Chapter_z.md) |z ## SourceznGenerated by `site_builder/extract_teacher_answers.py` and aligned with `site_builder/fix_teacher_answers.py`.z chapters:)NN)u# Teacher’s Guide — Answersru½The complete answers to the exercises, with the teacher’s commentary, transcribed from the scanned *Teacher’s Guide* and split one page per chapter. Diagrams are cropped from the scans.rz›> **OCR note.** This is machine-recognized text. Formulas and symbols may be imperfect; the page links go to the original PDF so any answer can be checked.rz`The source is [Teacher's Guide_Answers.pdf](../Other/Teacher's%20Guide_Answers.pdf) (288 pages).ru‚See also: [Selected answers](../Answers/index.md) · [Textbook](../Markdown/index.md) · [Study guides](../Study_Guides/index.md).rz ## Chaptersrz)| Chapter | Topic | PDF pages | Answers |z|---|---|---|---|)r.rÚANSWERSrrrrrrr;r5ÚsortÚSET_REÚfindallÚreversedrÚlistr!r#r"ÚgetÚrstripÚjoinÚstripÚsubÚ write_textrr ÚsumÚprint)r%Ú preamblesr9r&r8Ú chapter_pagesr?ÚvalueÚquotedÚhitsÚ last_chapterÚ last_sectionÚfollowing_chapterÚfollowing_sectionrIr,r*Ú set_matchÚtargetr6Útopicsr"r'ÚcountsÚrowsÚreadmerNrHr)s ` @@@r ÚmainruEs³û€Ü‹j€GØ "€IØ€Eä”w—|‘| NÓ3Ö4ˆÜ”R—Y’YÐ/°·±Ó;×AÑAÀ!ÓDÓEˆÜ"-¨dÓ"3шØ$�&ÑÛ!ˆDØ �L‰L˜Ö ó"ñ 5ð ‡J�JÑ.€JÔ/óˆÜ*0¯.©.¸¸i½Ô*IÓJÑ*I ”#�e–*Ñ*IˆÐJÙ,2ÓG©F 5¸wÑ6F”�—�©FˆÐGß6:¨4°®7À Ñ(ˆˆY‰˜˜i›ñð #'Ð&€LÛˆØ � �?Ò "Ø/;Ð ,ˆD�‰O˜T )™_Ø%)¨)¥_°d¸9µo’lñð-1Ð0Ðܘ–ˆØ � �?Ò "Ø/@Ð ,ˆD�‰O˜T )™_Ø/3°I­ÀÀYÅÒ,ñ ô $/¬tÓ#4€FؘA•h˜yÕ)€OØ"&€O÷#ñ#÷ &ò&ó ˆÙ�t˜I•Ô'Ù��Y•Ô ØˆÕ×&Ñ& t¨H¥~Ô6ؘ•O×.Ñ.Ö0ˆDØ�‰˜u×%Ò%ÙÜŸ ™  TÓ*ˆIߨ Ÿ™¤S¨¯©¸Ó);Ó%<Ó=�ßÙ" 6¨!¥9Ô-Ù˜F 1�IÔ&Ø �?Õ #× *Ñ *¨4Ö 0ó1ñ ô˜–.ˆØ—=‘= ¨Ó,ˆØ�‰Ó  6Õ)¨D¯I©I°f¸VµnÓ,E×,KÑ,KÓ,MÕMÐPTÕTˆÜ�vŠv�i ¨Ó.ˆÜ �X˜f S˜\¨Ð-Õ -×9Ñ9¸$ÈÐ9ÖQñ !ð€Fܘ Õ" [Õ0×;Ñ;ÀWÐ;ÓM×XÑXÖZˆÜ—’Ø WØ ó ˆ÷ ‰5Ø*/¯+©+°a«.×*>Ñ*>Ó*@ˆF”3�u—{‘{ 1“~Ó&Ó 'ñ [ñU[Ô [ÑTZÈ&ˆf”cÔE¡UÓEÓEÒEÑTZ€FÐ [ô˜V”nó ñ%ˆFð ˆVˆH�C˜Ÿ ™  6¨2Ó.Ð/¨s°6·:±:¸fÀaÓ3HÐ2IðJØ  ˜ Vó -á$ð ð ð �Y‰Yò ð,ð- ð. ð/ ð0 ð1 ð2 ð3 ð4 5ð5 ð8 ð9 ó€Fô@ ˆ{Õ×&Ñ& v¸Ð&Ô@ä ˆ+ÄFÈ6ÄNÓSÁN¸&˜ § ¡ ¨6°1Ó 5Ò5ÁNÑSÔTÙ ùòSKùÚGùò~\ùò ùòNTs$ÃS,Ã,S1Ã9 S1ÐS6Ð<9S;ÓT Ú__main__)Ú__doc__Ú __future__rrÚ collectionsrÚpathlibrÚ__file__ÚresolveÚparentrrXÚcompiler2ÚMrZr.r;ruÚ__name__Ú SystemExitr r r Úr‚s’ðñ õ#ã Ý#Ýá ˆHƒ~×ÑÓ×&Ñ&×-Ñ-€Ø Ð"Õ "€Ø �*Š*ÐEÓ F€Ø �ŠÐ6¸¿¹Ó =€õõ6 õ y ðx ˆzÔÙ ‘T“VÓ Ðñr