-
Notifications
You must be signed in to change notification settings - Fork 102
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
Underscores not converted to subscripts #1584
Comments
Strange, can't reproduce it here - neither on Linux (21.02.0 and current development version) nor on Windows (21.02.0, included in the latest Maxima release). |
Does this happen if you write the command right at the beginning of a new session? |
Concerning the version number - in the precompiled installer, I made (and I am pretty sure, that one was used, the build date and time is exactly the same as in that installer), included is not wxMaxima 21.02.0 but 21.05.2: And - as gcem wrote (I assume the error is not reproducible too) - maybe you can construct a minimal (problematic) example and attach it to the bug report. |
What is the value of the maxima variable |
Gaaah! That looks like we'll need a lisp wizard: The autosubscript code is part of wxmathml.lisp. |
Problem reported here is fixed by same patch as submitted for #1807 . I'll leave this open until someone can build a new version, then we should come back to this one and close it. |
I pushed commit [ a22f5a3 ] which fixes the problem described here. |
wxMaxima 21.x doesn't convert underscores to subscripts properly. In the below example t_ONmax and t_OFFmax should be displayed with subscript.


Couldn't detect a scheme so far, which underscores are converted to subscript and which ones not.
Older versions like 17.05.0 displays the same formula (and of course all others as well) correctly:
wxMaxima version: 21.02.0_MSW
using wxWidgets version: wxWidgets 3.1.4
Maxima version: 5.45.1
Maxima build date: 2021-06-21 17:43:28
Host type: x86_64-w64-mingw32
System type: Win32 6.2.9200 X86-64
Lisp implementation type: SBCL
Lisp implementation version: 2.0.0
The text was updated successfully, but these errors were encountered: