-
-
Notifications
You must be signed in to change notification settings - Fork 62
improve LaTeX processing. Fix inconsistencies in the docstring format #1327
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
Conversation
|
A brief look at this and it looks good. But I'd like to try it out in detail tomorrow. I'm thinking that after all of the documentation stuff is fixed we might make a minor release of Mathics Kernel. Your thoughts? |
|
@rocky, I agree: after finishing with the documentation, we can move to a 8.0.1 release or something like that. |
mathics/builtin/system.py
Outdated
| # I have to comment out this to pass the | ||
| # "precommit". @rocky, any idea about how to | ||
| # remove the comment? | ||
| # breakpoint() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rocky, please check if you are able to uncomment this without complains from precommit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #1328
|
LGTM. Tried it and it works great! |
|
@rocky, before the before the new release, please give me the chance to pass over all the documentation to adjust the quotations in |
No problem. Also, Look form places were we have |

This is another pass through the documentation system. The PR includes
DocumentEntry.latex(). Almost all special characters are now handled by the mathicsscanner tables.$character in docstrings. Now it must be explicitly escaped.escape_latexfunction was improved.'Head'[$var_1$,$var_2$]now are formatted as expected ('Head'as a code variable, and$var_1$as a LaTeX expressions).