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

Is it possible to use only MathJax without itex2MML? #41

Open
structuralist opened this issue Dec 31, 2016 · 5 comments
Open

Is it possible to use only MathJax without itex2MML? #41

structuralist opened this issue Dec 31, 2016 · 5 comments

Comments

@structuralist
Copy link
Contributor

structuralist commented Dec 31, 2016

MathJax seems to have better support for TeX input than itex2MML.

Is it possible to just have MathJax process the TeX input on the client side rather than going through itex2MML?

@distler
Copy link
Collaborator

distler commented Dec 31, 2016

Out of curiousity, what (La)TeX constructs, that you like to use, are supported in MathJax, but not in itex2MML ?

@structuralist
Copy link
Contributor Author

structuralist commented Jan 5, 2017

Here are some MathJax features I'd like to use:

  1. Spacing: For example, itex2MML puts superfluous space around \bot, while MathJax does it correctly (e.g. in $\mathcal{C}(X, \bot)$).

  2. Macros: I'd like to be able to define my own within a wiki page.

  3. Plugins: There's a MathJax plugin for commutative diagrams I'd like to use: http://sonoisa.github.io/xyjax/xyjax.html

  4. Unicode: If a symbol is missing I'd like to be able to use a unicode symbol in its place (e.g. $\def\multimapinv{\mathrel{⟜}}$).

@distler
Copy link
Collaborator

distler commented Jan 5, 2017

Not that this addresses your other issues, but

$\mathrel{⟜}$

is perfectly fine itex input (for stupid architectural reasons, itex2MML is restricted to ASCII input, hence the NCR).

@structuralist
Copy link
Contributor Author

That's good to know, thanks!

@distler
Copy link
Collaborator

distler commented Jan 7, 2017

The list of symbols supported in itex is the union (symbols defined in AMSLaTeX)∪(symbols requested by users). Hence \multimap is there, but (heretofore) \multimapinv is not.

It (along with other symbols you're interested in) could be in the next version. If you want to discuss this, I suggest doing so over here.

As to your point 1, it sounds like itex needs something like a \mathord{} command. I will look into that ...

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