Repository navigation
Titles, tags and cross-references across the book - #70
Merged
Merged
Conversation
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.
Contributor
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Normalizes the titles, tags and cross-references of every chapter.
aee1384): the titles that did not yet followSTYLE-WRITING.mdare 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.leannow opensCSwLMeta.c82b126): one existing reference called FOL a chapter.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".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 keepproof-,pl-,fol-). 39 tags are renamed and 37 headings gain one.STYLE-CODE.mdandSTYLE-WRITING.mdrecord 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 buildof the generated Lean projects ofstudentandterse, andscripts/check-cswfp.py.Closes #64, closes #69.
🤖 Generated with Claude Code