Skip to content

Titles, tags and cross-references across the book - #70

Merged
arademaker merged 6 commits into
mainfrom
fix/title-capitalization
Nov 21, 2026
Merged

arademaker merged 6 commits into
mainfrom
fix/title-capitalization

Conversation

@arademaker

Copy link
Copy Markdown
Member

Normalizes the titles, tags and cross-references of every chapter.

  • Capitalization (aee1384): the titles that did not yet follow STYLE-WRITING.md are capitalized.
  • {ref} → {cref} (0fbe766): all 34 cross-references now take their text from the target's title. Where the old text was a tag or an abbreviation, the sentence names the kind of target ("no capítulo", "na seção"). Logic.lean now opens CSwLMeta.
  • FOL as a section (c82b126): one existing reference called FOL a chapter.
  • Noun-phrase titles (7cc1dd5): titles with verbs become noun phrases, e.g. "Interpretando os Símbolos" → "A Interpretação dos Símbolos"; "O que não é Semântica Formal?" → "Equívocos sobre a Semântica Formal".
  • Tags (e09e4da): every chapter, section and subsection has a tag, lowercase with hyphens, prefixed by its chapter (cs, lean, logic, sets, battle, morph, engine, mc, comp, parsing; Logic's sections keep proof-, pl-, fol-). 39 tags are renamed and 37 headings gain one.

STYLE-CODE.md and STYLE-WRITING.md record the new rules.

Note: tags are the HTML anchors, so outside links to renamed anchors (e.g. ModelChecking/#english-fragment) break. Page URLs are unchanged.

Checked: make all (four variants), lake build of the generated Lean projects of student and terse, and scripts/check-cswfp.py.

Closes #64, closes #69.

🤖 Generated with Claude Code

Capitalize the titles that did not yet follow STYLE-WRITING.md: the
book's title and titles in IntroCS, IntroL, Proof, Sets, InfEngine and
Morphology. The IntroCS section "O que a semântica formal não é" becomes
"O que não é Semântica Formal?".

Closes #64, closes #69.

AI usage: the changes were drafted by Claude (Anthropic) and reviewed and
approved by the author, who decided the new section title and the wording
of each cross-reference.
Every cross-reference now takes its text from the target's title, so it
cannot drift from it. Where the old text was a tag or an abbreviation
(IntroL, PL, pl-syntax, "Proof"), the sentence now names the kind of
target, "no capítulo" or "na seção". Logic.lean opens CSwLMeta, where
cref is defined. STYLE-CODE.md and STYLE-WRITING.md no longer mention
{ref}.

AI usage: the changes were drafted by Claude (Anthropic) and reviewed and
approved by the author, who decided the new section title and the wording
of each cross-reference.
AI usage: the changes were drafted by Claude (Anthropic) and reviewed and
approved by the author.
Titles become noun phrases: "Interpretando os Símbolos" becomes "A
Interpretação dos Símbolos", "Reconhecendo e Analisando Linguagens Livres
de Contexto" becomes "Reconhecimento e Análise de Linguagens Livres de
Contexto", and so on in IntroCS, Sets, InfEngine, ModelChecking, PL, FOL,
Composition, Morphology and Parsing. "O que não é Semântica Formal?"
becomes "Equívocos sobre a Semântica Formal". STYLE-WRITING.md records the
rule.

AI usage: the changes were drafted by Claude (Anthropic) and reviewed and
approved by the author.
Every chapter, section and subsection now has a tag, lowercase with
hyphens. A chapter's tag is a short prefix (cs, lean, logic, sets, battle,
morph, engine, mc, comp, parsing) that the tags of its parts share; the
sections of Logic keep proof-, pl- and fol-. Existing tags are renamed
(english-fragment becomes mc-fragment, tipos-indutivos becomes
lean-inductive, and so on) and the {cref}s follow. STYLE-CODE.md records
the convention.

AI usage: the changes were drafted by Claude (Anthropic) and reviewed and
approved by the author.
Copilot AI balanced review requested due to automatic review settings November 21, 2026 04:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

…eanings

AI usage: the changes were drafted by Claude (Anthropic) and reviewed and
approved by the author.
@arademaker
arademaker merged commit bc1056a into main Nov 21, 2026
1 check passed
@arademaker
arademaker deleted the fix/title-capitalization branch November 21, 2026 04:18
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.

Review the capitalization of all chapter and section titles Capitalize the titles of the chapters before Composition

2 participants