Repository navigation
Catalog: render inline math in labels, titles and locators - #2592
Merged
Merged
Conversation
Labels, page titles and conjecture locators may contain $…$ math, rendered
with the site's KaTeX setup on cards, page headers, theorem lists, results,
search, the families index and authors pages; text outside math is escaped,
and machine exports (llms.txt, manifest, search index, agent index) keep the
$…$ source. A hard lint rejects _ ^ \ { } outside math and unmatched $. The
121 affected labels are rewritten with $…$ (no declaration changes), and long
source-path links now wrap on narrow screens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Labels on catalog cards and pages showed TeX-like notation as plain text (e.g.
P_{n+1},M_{n-2},⊞_d).$…$, rendered through the site's existing KaTeX setup on cards, page headers, theorem lists, results/search, the families index and authors pages. Text outside math is escaped. Machine exports (llms.txt,catalog-manifest.json,search-index.json,agent-index.json) keep the$…$source._ ^ \ { }outside math, unmatched$, or$$, in labels, titles and locators.$…$; no declaration changed. In the built HTML, TeX characters outside math went from 273 to 0.Local CI (build, lint-style, runLinter on all 46 changed modules, script tests, private imports) passes.
🤖 Generated with Claude Code