Skip to content

Russian braille: GOST fixes and digit grouping - #716

Merged
NSoiffer merged 3 commits into
daisy:rufrom
Kostenkov-2021:ru
Sep 2, 2026
Merged

Russian braille: GOST fixes and digit grouping#716
NSoiffer merged 3 commits into
daisy:rufrom
Kostenkov-2021:ru

Conversation

@Kostenkov-2021

Copy link
Copy Markdown
Contributor

Implement GOST-related Russian braille changes: update YAML rules to refine contextual bracket/angle recognition and remap numeric/private-use codepoints for periodic/number handling. Add division-sign and arrow mappings and an internal digit-group separator. Modify src/braille.rs to ignore the internal separator when detecting digits, replace it with braille point-3 in cleanup, and add add_russian_digit_group_separators (skip for column-arithmetic) to insert grouping separators only for long integers. Update many Russian braille tests to reflect new numeric grouping, arrow/±/÷ behavior, and bracket recognition across structural boundaries.

Implement GOST-related Russian braille changes: update YAML rules to refine contextual bracket/angle recognition and remap numeric/private-use codepoints for periodic/number handling. Add division-sign and arrow mappings and an internal digit-group separator. Modify src/braille.rs to ignore the internal separator when detecting digits, replace it with braille point-3 in cleanup, and add add_russian_digit_group_separators (skip for column-arithmetic) to insert grouping separators only for long integers. Update many Russian braille tests to reflect new numeric grouping, arrow/±/÷ behavior, and bracket recognition across structural boundaries.
Rename Russian braille typeform rules (small-font, letter-spacing, insertion) and relax angle-bracket matching to include legacy 〈/〉 with adjusted test for selection. Add many verified Unicode braille mappings (℉, ∓, ∕, ⁄, arrows, negation, tilde, ⟂, precomposed vulgar fractions, superscript/subscript digits, etc.) in Rules/Braille/Russian/unicode.yaml. Update rus comments in src/braille.rs for clarity. Rename numerous tests to russian_* and add new unit tests for fraction slashes, precomposed fractions, additional symbols, and script digits (tests/braille/Russian/russian.rs).
@NSoiffer

NSoiffer commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Looks good. This will go into the next release (probably October).

@NSoiffer
NSoiffer merged commit a2b2133 into daisy:ru Sep 2, 2026
6 of 8 checks passed
@github-project-automation github-project-automation Bot moved this from Triage to Done in MathCAT Project Board Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants