Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perpendicular Symbol Is Verbalized as "Bottom" #330

Closed
NV-Codes opened this issue Jan 4, 2025 · 5 comments
Closed

Perpendicular Symbol Is Verbalized as "Bottom" #330

NV-Codes opened this issue Jan 4, 2025 · 5 comments

Comments

@NV-Codes
Copy link
Contributor

NV-Codes commented Jan 4, 2025

MathCAT Version

MathCAT-0.6.6 (NVDA Add-On)

Issue

The perpendicular symbol ($\perp$) is verbalized as "bottom" for terse verbosity and as "is bottom" for medium/verbose verbosity for both SimpleSpeak and ClearSpeak.

Expected Behavior

MathCAT should verbalize $\vec{A} \perp \vec{B}$ as "vector cap A (is) perpendicular to vector cap B," much like it verbalizes $\vec{A} \parallel \vec{B}$ as "vector cap A (is) parallel to vector cap B." MathCAT should also call the symbol "perpendicular to" or "is perpendicular to" in Navigation Mode (in parallel with its verbalization of $\parallel$).

@NSoiffer
Copy link
Owner

NSoiffer commented Jan 5, 2025

The Unicode that is generated by TeX for $\perp$ is U+22A5 which Unicode says is "UP TACK {base, bottom}". The correct Unicode symbol is U+27C2 : "PERPENDICULAR {orthogonal to}".

The presents a quandry: say the wrong thing for U+22A5 because that is what users might get, or say the right thing because users of other software will generate the correct symbol. I suppose TeX input is more likely. Thoughts?

@NV-Codes
Copy link
Contributor Author

NV-Codes commented Jan 5, 2025

This once again seems that it might be an issue with Markdown converting LaTeX to MathML, both by GitHub and Pandoc. It seems that they both might rely on the same converter, as both also fail to convert expressions like $i \omega t$ ("i," "omega," "t") correctly. I am not sure what the converter is that both GitHub and Pandoc seem to use, but perhaps issues could be opened there for the $\perp$ symbol and for generation of inaccessible/incorrect MathML (issue jgm/pandoc#325); when I try to find the GitHub page for "Markdown," I simply get the GitHub Flavored Markdown Spec sheet. Would you know where these issues could be reported?

@NSoiffer
Copy link
Owner

NSoiffer commented Jan 5, 2025

Someone told me that github uses MathJaX. Maybe an older version of it because there are some differences.

I've reported the bug to:

@NV-Codes
Copy link
Contributor Author

NV-Codes commented Jan 5, 2025

Thank you!

@NSoiffer
Copy link
Owner

NSoiffer commented Jan 6, 2025

Closing as the problem lies elsewhere.

@NSoiffer NSoiffer closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants