Skip to content

47a: restore two \approx that had become control characters - #363

Closed
maximusrufus wants to merge 1 commit into
teorth:mainfrom
maximusrufus:fix-47a-approx
Closed

maximusrufus wants to merge 1 commit into
teorth:mainfrom
maximusrufus:fix-47a-approx

Conversation

@maximusrufus

Copy link
Copy Markdown
Contributor

In the "Reading the tables" paragraph of constants/47a.md, both \approx had become a bell character (U+0007) followed by pprox, so the two formulas rendered as \Phi pprox and pprox. Both are restored. One line changed; no other text.

teorth added a commit that referenced this pull request Nov 22, 2026
47a.md had "\approx" twice with the backslash-a eaten into a BEL (0x07),
and README.md had "\times" with the backslash-t eaten into a TAB (0x09),
both mid-line. Each came from a Python heredoc in bash interpreting the
escape before Python saw it -- the same hazard that split the C_3a row
across three lines in October.

#363 had already spotted the 47a pair, and #365 proposes adding a
control-character rule to check_pages.py, which would have caught both.
A sweep of README, CONTRIBUTING, template and all constant pages finds no
others; the ~1000 other tabs are the leading indentation of nested
reference entries, which is the house style.

Co-Authored-By: Claude Opus 5 <[email protected]>
@teorth

teorth commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Thanks — you were right, and both \approx are fixed, though not by this branch.

I hit the same two characters while reviewing the queue yesterday and repaired them directly in 18aef2f, together with a third of the same kind that this PR could not have known about: README.md had \times with the backslash-t eaten into a literal TAB, in a Recent progress line. All three came from Python heredocs in bash interpreting the escape before Python saw it — my own doing, in both cases.

So this branch now merges with an empty diff, and I am closing it as already applied rather than as declined. For the record, a sweep of README.md, CONTRIBUTING.md, template.md and all constant pages finds no remaining control characters inside a line; the roughly one thousand other tabs are the leading indentation of nested reference entries, which is the house style and correctly ignored.

Your diagnosis also lined up exactly with #365, which I have just merged — its E5 rule names this failure in so many words ("a mangled escape such as \r or \a"), and on a tree with the damage restored it flags precisely these lines. Between you spotting it and that rule landing, this class should not get past us again.

@teorth teorth closed this Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants