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

Support copying plain text and TX code for Math #202

Open
bhavyashah opened this issue Oct 27, 2023 · 1 comment
Open

Support copying plain text and TX code for Math #202

bhavyashah opened this issue Oct 27, 2023 · 1 comment

Comments

@bhavyashah
Copy link

Wherever MathCAT supports copying (currently only when in navigation), it should offer the following copy modes:

  • MathML Code (current)
  • TeX Code (like in MathJax menu)
  • Plain text (like when you use Speech History add-on to copy last utterance or what you view in NVDA's Speech Viewer)
    The MathCAT settings dialog should have a combo box offering these three copy modes from which the user can pick their preference. I'd probably set it to plain text sometimes and TeX code other times.
    A fourth wishlist option would be "Ask me every time" which would present all three afore mentioned copy modes in a context menu whenever the user tried to copy Math. This would eliminate the need to keep reconfiguring the copy mode from the settings dialog.
@NSoiffer
Copy link
Owner

For the TeX code, I need to write a chunk of code that probably is 1-2 week's work. I think supporting ASCIIMath also makes sense. That too is a similar amount of work. So altogether, this looks to be a significant project, so it won't happen soon. Unfortunately all the rust packages seem to be LaTeX->MathML, not the other way around.

I may get the plain text done first (separately).

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