Adopt \Remark and \NamedProof macros in existing handouts#78
Merged
Conversation
Migrates \textit{Poznámka.} / \textit{Note.} / \textit{Poznámka 1.} to
\Remark / \Remark{1} in CS/SK editions of induction, proofs-basics,
introduction-to-inequalities, fun-algebra, and systems-of-equations.
Numbered remarks now render parenthesised ("Poznámka (1).") to match
the macro design. Multi-proof headers in the AM-GM theorem switch from
{\it ...:} to \NamedProof{...} ending in "." across all three languages.
EN handouts intentionally keep \textit{Note.} for plain remarks: the
TeX cleaner produces a hardcoded Slovak caption for \Remark, so EN
adoption awaits a language-aware cleaner. \NamedProof migration in
induction.en.tex is unaffected (cleaner rule is language-neutral).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
Adoption pass for the new template macros introduced in #76:
\Remarkplain — replaces hand-rolled\textit{Poznámka.}in CS/SK editions ofinduction,proofs-basics,introduction-to-inequalities,fun-algebra,systems-of-equations(~28 sites).\Remark{1}/\Remark{2}— replaces\textit{Poznámka 1.}/\textit{Poznámka 2.}inproofs-basics.{cs,sk}.tex. Rendering changes from "Poznámka 1." to "Poznámka (1)." (parenthesised) — deliberate style update from the macro design.\NamedProof{...}— replaces the two italic sub-proof headers in the AM-GM theorem insideinduction.{cs,sk,en}.tex. Trailing punctuation switches from:to.to match the angle-basics convention. Body output is otherwise identical (auto "Dôkaz." prefix still fires since\NamedProofis mid-body, not first token).Why EN handouts were not migrated for
\RemarkThe TeX cleaner (
tex_cleaner_rules.txt) emits a hardcoded Slovak\textit{Poznámka.}for\Remarkregardless of the source file's language. Migrating EN handouts would render Slovak text on the web. Until the cleaner is made language-aware, EN editions keep the literal\textit{Note.}(which passes through unchanged on the web).\NamedProofis unaffected — its cleaner rule is language-neutral (just italicises the contents).Stacking
Stacked on #76 (
patrik/template-remark). The PR base ispatrik/template-remarkso the diff shows only the adoption changes; retarget tomainafter #76 merges.🤖 Generated with Claude Code