Closed moorepants closed 10 years ago
right now it is basically this:
https://github.com/sympy/sympy/issues/2769
This PR helps:
https://github.com/sympy/sympy/pull/2772
This may be related:
https://github.com/sympy/sympy/pull/2752
And I think this is fixed, but maybe not closed. Not sure, I forget:
PR sympy/sympy#2752 is merged already, so maybe we can give it a try again against current master.
I think that dynamicsymbols('omega1') rendered correctly when printed alone before #2752, and now it doesn't.
I think I've got it fixed now:
https://github.com/sympy/sympy/pull/2772
If that passes and gets merged, we can close this. I believe everything renders correctly now.
Icing on the cake would to have a flag in init_printing to specify the mechanic's printing.
Great. Do you have a handle on how much effort would be involved in setting up a flag for mechanics?
Not sure. I haven't ever looked closely at what the printing overrides do in mechanics.
You may just need some if statements in the init_printing code to use mprint instead of whatever is normally used.
init_printing
basically calls latex()
which calls the LatexPrinter
. You could probably have a flag and then use mlatex instead. I'll try it.
I got it working. Pretty simple. I'll push a PR.
Here is the branch that has the flag for mechanics printing:
https://github.com/sympy/sympy/pull/2833
It needs some work and probably some tests. We need to make the pretty printer work too.
Windows rendering in the notebook seems to be working, see https://github.com/sympy/sympy/issues/2848
I've got this 98% taken care of in these two PRs:
https://github.com/sympy/sympy/pull/2772
https://github.com/sympy/sympy/pull/2894
Can I get some review help on them, so we can get them merged ASAP?
@gilbertgede @Juanlu001 @srjoglekar246
Down to this one: https://github.com/sympy/sympy/pull/2894
@pydy Any help fixing these test failure is appreciated.
Last one is ine: https://github.com/sympy/sympy/pull/2894
Do you have a list of SymPy issues that correspond to this?