-
-
Notifications
You must be signed in to change notification settings - Fork 205
WIP: fixes to make cellstotex to work #1104
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
|
What is missing now to make this work is to complete the implementation of OptionValue and related symbols: |
…athics into newcellstotexfixes2
fix OptionValue related small fix in documentation more fixes adding and fixing tests use get_option in OptionValue to deal with strings and context like in WMA fix return for non-atoms fixing OptionQ
improve support of symbol Function with a third argument fix attribute support in abstract functions clean
|
Status update: Now all the structural issues in the mathics kernel seem to be solved, in a way that CellsToTeX loads properly and all the intricate WL idioms that this package uses for the conversion seem to be properly evaluated. Now, the next set of issues that are avoiding this particular library behaves like in WMA are related to Export functions (to PDF, to png, etc...). The next step is to fix them. |
When I follow the instructions at https://github.com/jkuczm/MathematicaCellsToTeX#no-installation , I get a number of failures in import: What's up here? |
This is an issue related to |
Sure - make it so! Can we split off part of useful working parts of this PR like we did before? Thanks! |
1 similar comment
Sure - make it so! Can we split off part of useful working parts of this PR like we did before? Thanks! |
Most of the improvements are already in PR # #1116. There are a few other changes I am working on splitting now as a new PR. |
…ellstotexfixes2
rocky
left a comment
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.
@mmatera now that things have settled a bit, can we get this adjusted so we can merge it into master please?
Thanks.
| expr = parse(definitions, MathicsSingleLineFeeder(str_expression)) | ||
| return expr.evaluate(evaluation) | ||
|
|
||
| _evaluate('LoadModule["pymathics.asy"]') |
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.
Hmmm... maybe it would be better to put this test in the pymathics repository instead of here.
If done here, we would have to have to check to see if pymathics.asy is installed.
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.
The idea would be to download and load the module in the test. But first I need to complete the package and make it works...
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.
If you do it in pymathics-asy then you don't have to download and everything is simpler.
Is there a reason not to do it there?
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.
Yes, it could be there but is a little bit unrelated to that package. The idea of having this branch in mathics is not to actually merge it, but just to discover and collect several fixed required by the Mathics suit to load this package (and potentially, many others). Once this package (CellToTeX) pass the tests, we could put this test in a different repository, with the corresponding comments about how to actually make it run.
96ec58b to
e8a5440
Compare
5a9782f to
9b69dd5
Compare
|
superseded by #1215 |
Tidier version of PR #995