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

Lots of little fixes... #86

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Lots of little fixes... #86

merged 1 commit into from
Dec 16, 2024

Conversation

rocky
Copy link
Member

@rocky rocky commented Dec 16, 2024

General things

Allow 2D rendering from asymptote. This is useful in debugging asymptote problems sometimess seen in the LaTeX document.

Eliminate:

   Set::setraw: Cannot assign to raw object colorful.

message on startup.

Propagate non-meaning operators from MathicsScanner.

More specifically

main.py:

  • add --{no-,}matplotlib and {no-,asymptote} options
  • DRY setting Settings`*

asymptote.py:

  • Redo so that each image is in a temporary file. This is simpler and easier to debug.

settings.m:

  • Remove setting any value that is set in the command line

inputrc-no-unicode:
Add all no-meaning operators. This is derived from changes in MathicsScanner

format.py:
Revise so that we can use asymptote for 2D graphs

termshell.py:
Don't try to set PygmentsStyle this way, this doesn't work and gives
Set::setraw: Cannot assign to raw object colorful.

due to a preexisting rewrite rule. PygmentsStyle is set in other places

General things
--------------

Allow 2D rendering from asymptote. This is useful in debugging asymptote problems sometimess seen in the LaTeX document.

Eliminate:
```
   Set::setraw: Cannot assign to raw object colorful.
```

message on startup.

Propagate non-meaning operators from MathicsScanner.

More specifically
-----------------

__main__.py:
* add --{no-,}matplotlib and {no-,asymptote} options
* DRY setting Settings`*

asymptote.py:
* Redo so that each image is in a temporary file. This is simpler and easier to debug.

settings.m:
* Remove setting any value that is set in the command line

inputrc-no-unicode:
Add all no-meaning operators. This is derived from changes in MathicsScanner

format.py:
Revise so that we can use asymptote for 2D graphs

termshell.py:
Don't try to set PygmentsStyle this way, this doesn't work and gives
   Set::setraw: Cannot assign to raw object colorful.

due to a preexisting rewrite rule. PygmentsStyle is set in other places
@rocky rocky force-pushed the redo-asymptote-and-other-fixes branch from ba3b412 to 4a25494 Compare December 16, 2024 23:24
@rocky rocky merged commit a7d0cc3 into master Dec 16, 2024
10 checks passed
@rocky rocky deleted the redo-asymptote-and-other-fixes branch December 16, 2024 23:35
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

Successfully merging this pull request may close these issues.

1 participant