Repository navigation
Add the U+2006 forms of lim sup, lim inf, inj lim and proj lim to FunctionNames - #1062
Merged
Merged
Conversation
…ctionNames MathJax (v2 and v3/v4) builds \limsup, \liminf, \injlim and \projlim as an mo whose text has U+2006 between the words, for example lim sup (its NamedOp replaces   with U+2006). FunctionNames only had limsup, liminf, injlim, projlim and the forms with an ordinary space, and canonicalize looks the text up as it is, so the mo was not taken as a function name and the U+2061 after it was spoken (ja read "じょう極限 n 近づく 無限大; オブ エー 下付き n"). The four U+2006 forms are added to Rules/definitions.yaml and to the copy of the list in es/definitions.yaml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PxieeRFv9dVLwANrAM6oHt
Contributor
Linux library size: 0.60 MiB (0.00%)
Built with default features, Rust 1.96.0, and Ubuntu 24.04. Workflow run. |
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.
MathJax (v2 and v3/v4) builds \limsup, \liminf, \injlim and \projlim as an mo whose text has U+2006 between the words, such as lim sup, because its NamedOp replaces with U+2006. FunctionNames in Rules/definitions.yaml has limsup, liminf, injlim and projlim, and inj lim and proj lim with an ordinary space, but canonicalize looks the text up as it is, so this mo is not taken as a function name and the U+2061 after it is spoken: ja reads lim sup (n→∞) a_n as じょう極限 n 近づく 無限大; オブ エー 下付き n, and en pauses with ; where it uses , for limsup. This adds the four U+2006 forms to the list and to the copy of it in es/definitions.yaml. With that, the MathJax lim sup and lim inf read the same as limsup and liminf in every language I ran under SimpleSpeak and ClearSpeak (zz errors on these inputs before and after), and in UEB the U+2006 form of inj lim gets the same braille as inj lim with a space instead of being wrapped in a grouping. In de, hu, ja and zh the U+2006 form of inj lim or proj lim still gets one more pause than the form with a space; I left that alone. #1007 also edits these lines of es/definitions.yaml (it adds lim inf and lim sup with an ordinary space and with U+2009), so the two will conflict there and both changes should be kept; the mo from MathJax has U+2006, not U+2009, so the U+2006 forms are still needed after #1007. A new ja test uses the MathJax form and fails without the two YAML lines. All tests pass and audit-translations ja is unchanged.