Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Speech for Geometric “Line” Expressions

Open
#705 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
accessibility

Research direction

Start with the MathML example in the issue and locate the speech-rule handling for mover accents and geometric line expressions. Compare the current output for U+2194 with the proposed U+20E1 case. Done means the applicable two-letter expressions are spoken as “the line J K” rather than describing the arrow accent.

Written by the indexing model from the issue text.

Description

discussion rules

The legacy MathPlayer speech had a rule which rendered a left-right arrow (Unicode 2194) accent above two letters as a line. For example, the speech “the line J K” was given for the following MathML code:

<math xmlns='http://www.w3.org/1998/Math/MathML'><mrow> <mover accent='true'> <mrow><mi>J</mi><mi>K</mi></mrow><mo stretchy='true'>&#x2194;</mo></mover> </mrow> </math>

Currently, MathCAT reads such an expression as “quantity J K with left-right arrow above.” I would like to argue for going back to the interpretational style used in MathPlayer, e.g., “the line J K”, as this is likely the intended usage in >95% of digital content in the publishing world.

Also, depending upon the equation editor used, one can find more than one possible Unicode left-right arrow being used. While U+2194 (“left-right arrow) seems to be most common, equations built with the Microsoft Math editor may end up using U+20E1 (“combining left-right arrow”) since that is the left-right arrow one finds in the accent tab. [One can, however, use the LaTeX string \overleftrightarrow to create U+2194.] So, it may also be appropriate to also include MathML constructions where U+20E1 is being applied as an accent over two letters as a valid case for the geometric “line” construct speech rule.

Dominant language
Rust
Stars
114
Forks
85
Avg merge
1d 12h
Merged PRs (30d)
64

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from daisy/MathCAT

All issues in daisy/MathCAT

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.