Skip to content

𝛼 break CMU braile optionΒ #769

Description

@pablgonz

When checking this with any language setting in MathCAT-demo and setting Braille to CMU:

<math xmlns="http://www.w3.org/1998/Math/MathML">
 <mi intent="_Ñngulo" mathvariant="normal">∠</mi>
 <mi>𝛼</mi>
</math>

The result is:

Pattern match/replacement failure! caused by: attempting replacement pattern: "default" for "math". Replacement ["*"] ...due to matching the MathML
∠ 𝛼
with the pattern "." The patterns are in Rules/Braille/CMU/CMU_Rules.yaml. caused by: attempting replacement pattern: "default" for "mrow". Replacement ["*"] ...due to matching the MathML ∠ 𝛼 with the pattern "." The patterns are in Rules/Braille/CMU/CMU_Rules.yaml. caused by: attempting replacement pattern: "default" for "mi". Replacement - "BrailleChars(., 'CMU')" - test: [ if: '"string-length(.) > 1 and translate(., 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', '') = '' and not(@class='MathML-unit' or contains(@intent, ':unit') )"' then:[t: "."]] ...due to matching the MathML 𝛼 with the pattern "." The patterns are in Rules/Braille/CMU/CMU_Rules.yaml. caused by: in 'BrailleChars(., 'CMU')' replacing after pattern match caused by: error while evaluating function: could not evaluate function: Unicode replacement error: spell: "translate('𝛼', 'π›Όπ›½π›Ύπ›Ώπœ€πœπœ‚πœƒπœ„πœ…πœ†πœ‡πœˆπœ‰πœŠπœ‹πœŒπœπœŽπœπœπœ‘πœ’πœ“', 'π›Όπ›½π›Ύπ›Ώπœ€πœπœ‚πœƒπœ„πœ…πœ†πœ‡πœˆπœ‰πœŠπœ‹πœŒπœπœŽπœπœπœ‘πœ’πœ“')" 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

brailleTranslation to Braille specificallybugSomething isn't workingrulesPertains to Rules

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions