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

Math Is Always Copied as MathML Regardless of MathCAT Settings #322

Closed
NV-Codes opened this issue Dec 30, 2024 · 3 comments
Closed

Math Is Always Copied as MathML Regardless of MathCAT Settings #322

NV-Codes opened this issue Dec 30, 2024 · 3 comments

Comments

@NV-Codes
Copy link

MathCAT Version

MathCAT-0.6.6 (NVDA Add-On)

Expected Behavior

MathCAT should copy math expressions/equations as MathML, LaTeX, or ASCIIMath based on the appropriate setting in the "Navigation" panel of MathCAT's settings.

Issue

No matter which format is selected, pressing Ctrl + C when navigating math content causes "Copy as MathML" to be verbalized by NVDA and a MathML representation of the current navigation node to be copied to the clipboard.

@andrew-l-d
Copy link
Collaborator

I discovered this issue and reported to Neil in November. He is hoping to get a version with a fix out soon. In the meantime, these are the steps Neil gave me to make it work while awaiting the new version if you are sufficiently confident to make the changes:
1: In a text editor, open the file %APPDATA%\MathCAT\prefs.yaml. There are likely two lines with "CopyAs". The proper one is in the "Navigation" category. Delete the line that is in the "Other" category.
2. In a text editor, open the file %APPDATA%\nvda\addons\MathCAT\globalPlugins\MathCAT\rules\prefs.yaml. This is the default value that caused the problem originally. Find the "CopyAs" line. Move it from the "Other" category to the "Navigation" category. It doesn't matter where it goes in that category.

Andrew

@NV-Codes
Copy link
Author

Thank you!

@NSoiffer
Copy link
Owner

NSoiffer commented Jan 1, 2025

@andrew-l-d: thanks for passing that along.

I had hoped to have an update in November but I started to fix a navigation bug and that has led me down a hole that involves a major rewrite to how navigation works. Hopefully I'll have climbed out of that hold in a couple of weeks so I can do a new release. I have lots of fixes and translations for the next release.

Closing as a duplicate.

@NSoiffer NSoiffer closed this as completed Jan 1, 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

3 participants