-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Avoid MathML for Symbols and Integers #98
base: master
Are you sure you want to change the base?
Conversation
I want to remove MathML from everywhere it's possible, but the style changes here are too big (they're rendered like strings). It's hard to do the additional format as we need to check the value, we can think something was Also, the re-renderings would stop with KaTex. So I guess it's better to keep this surrounded by MathML by now. |
A couple things here. Inside And for strings are surrounded by quotes. So the question there is why is the string style so different than MathML?
But wrong is still wrong and complicated is still complicated. If the cell has nothing to do with formula typesetting why are we trying to fit it into a formula?
The conclusion I don't really care about as much as the reasoning behind it. |
@rocky the
|
Right -- ditch the XML. The structure there could be equally (if not more uniformly and simply) be encoded and accessed in JSON.
I think putting all in JSON the best thing. or create a
|
@rocky transform everything in JSON isn't the right thing, have you already tried to write a HTML page in JSON? When I said XML I was referring to MathML (which can be a form of XML). I was thinking about this and let MathML where it isn't necessary is wrong, I guess the best is wrap the booleans and integers in a HTML tag, I just don't know if it should be hardcoded or be in a |
Ok - use this as starting point and continue.
I don't recall ever suggesting anything like this. |
0963d16
to
400465e
Compare
For your consideration. Reducing the use of MathML where it isn't needed reduces the need for it to want to reformat it on loading.
The output changes slightly, and there may be additional styling, or not.
I am curious to know what you think and what your opinion is.
(Also, down the line we need to come up with a better story and design for Format. Or just hide a lot of the ugliness into its own routine somewhere).