-
Notifications
You must be signed in to change notification settings - Fork 2
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
Preserve whitespace in math mode #49
Comments
@physikerwelt Do you have any idea about this? Carriage returns are getting eaten. How should we preserve them? Example
becomes
The carriage returns should be preserved. |
I don't get the context. |
@physikerwelt Ok. I changed the above example. The carriage returns are important. |
@HowardCohl the example you give still does not render for me. |
@physikerwelt I don't know what happened. I changed the markup, but the change did not appear. I have updated the math source and also edited https://en.wikipedia.org/wiki/User:Physikerwelt/cases to demonstrate. |
Of course, I know a way to fix the issue, but I don't know if you would be happy with this. |
I'm not sure about the problem. Both expression look the same for me on my userpage. What's the significance of the the newline. And why do you want to preserve the newline. Let me guess: You want to present the string that was processed by texvc to a human being? |
@physikerwelt I think we've had this discussion along the lines of conversations with Bruce in one of our GitHub issues regarding LaTeXML (I might be able to find the discussion if I was able to search for GitHub issues I've participated in a certain GitHub repo). Of course, the rendered result is the same. The formatting (with return characters) is a good thing, and has been chosen carefully by a human |
@physikerwelt I don't remember the name of the Deyan's GitHub repo for LaTeXML servers that we had that long discussion about line breaking. I thought it was something like tlxpgsi or something like that. |
As of now, whitespace (under the
_
rule) is consumed in its entirety. However, newlines in math mode should be preserved. I'm not really certain how to make this change.The text was updated successfully, but these errors were encountered: