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

The TeX input Jax should add an application/x-tex annotation #814

Closed
fred-wang opened this issue May 10, 2014 · 4 comments

Comments

Projects
None yet
3 participants
@fred-wang
Copy link
Contributor

commented May 10, 2014

This change was done in MediaWiki, but it does not seem to have been integrated upstream (I could not find an issue): https://github.com/mathjax/MathJax/blob/develop/unpacked/jax/input/TeX/jax.js#L2090

This is necessary to allow copy & paste by other means than the MathJax context menu (e.g. with https://addons.mozilla.org/en-US/firefox/addon/mathml-copy/ or MathPlayer context).

If this is to be an option, it should not be an author config but a menu option, so that any user can decide whether or not he wants the TeX source to be exposed. In particular, such a menu option could be easily controlled by https://addons.mozilla.org/en-US/firefox/addon/mathjax-native-mathml/, without having to redefine MathJax's code.

@dpvc dpvc added this to the Bugfix Version milestone May 22, 2014

dpvc pushed a commit to dpvc/MathJax that referenced this issue May 28, 2014

Davide P. Cervone
Add semantics annotation to NativeMML output. This is done in the Nat…
…iveMML output jax rather than the input jax so that it can be done for any input format (that provides an encoding for it). Also, it avoids having the Show As MathML output include the annotation. Resolves issue mathjax#814.

@dpvc dpvc added Accepted labels May 28, 2014

dpvc pushed a commit to mathjax/MathJax-test that referenced this issue May 28, 2014

Davide P. Cervone
Add test for mathjax/MathJax#814. Fix header so that semantics won't …
…be used in tests unless requested (to avoid having to update all the tree reftests).
@dpvc

This comment has been minimized.

Copy link
Member

commented May 28, 2014

=> In test suite

LaTeXToMathML/issue814.html

dpvc pushed a commit to dpvc/MathJax that referenced this issue May 29, 2014

@dpvc

This comment has been minimized.

Copy link
Member

commented May 29, 2014

=> Merged.

@dpvc dpvc added Merged and removed Ready for Review labels May 29, 2014

@dpvc dpvc closed this May 29, 2014

dpvc pushed a commit to dpvc/MathJax that referenced this issue Jun 1, 2014

@dpvc

This comment has been minimized.

Copy link
Member

commented Jun 1, 2014

Added support for annotation in toMathML output (with menu item to control it).

@dpvc dpvc added v2.4 and removed Merged labels Jun 30, 2014

@pkra pkra self-assigned this Jan 15, 2015

pkra added a commit to mathjax/MathJax-test that referenced this issue Jan 16, 2015

dpvc pushed a commit to mathjax/MathJax-test that referenced this issue Jan 16, 2015

Davide P. Cervone
Merge pull request #5 from mathjax/issue814
add test for mathjax/MathJax#814 (semantics added to toMathML output)

@dpvc dpvc removed the Test Needed label Jan 16, 2015

@dpvc

This comment has been minimized.

Copy link
Member

commented Jan 16, 2015

==> In Testsuite

UI/issue814.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.