[sympy] Ji

2024-01-15 Thread Memeriksa
https://groups.google.com/g/eternity-of-peace/c/p3NfrO7UXRU

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/09814c50-d237-4b87-abf2-20ec6a6d7b74n%40googlegroups.com.


[sympy] Js

2024-01-15 Thread Memeriksa
https://groups.google.com/g/eternity-of-peace/c/p3NfrO7UXRU

Pada Selasa, 16 Januari 2024 pukul 05.06.42 UTC+7 asme...@gmail.com menulis:

> On Mon, Jan 15, 2024 at 1:48 PM Glenn Ramsey  wrote:
> >
> > On 8/01/24 11:57, Glenn Ramsey wrote:
> >
> > > When using init_printing(latex_mode='equation') the equations are 
> numbered in
> > > the output and these appear sequentially in pdf output produced by 
> nbconvert.
> > >
> > > Is there a way to label the equations so they can be referred to in 
> markdown cells?
> >
> > Perusing the source it seems not.
> >
> > I think it might be possible to implement this by adding a label="foo" 
> keyword
> > argument to sympy.display(...).
>
> That sounds reasonable.
>
> Although maybe this is already possible with init_printing() by
> setting latex_printer to something that adds the label.
>
> >
> > A question now is if I did that and referred to that in the markdown with
> > something like this: $\@ref(foo)$, would that get picked up? I'm really 
> only
> > interested in this for static presentation output (pdf, html) so it 
> wouldn't
> > matter if it doesn't work in interactive modes.
>
> I think the only way to know if it will work or not is to test it. I
> suspect it will work for pdf output, but I have no idea if it will
> work in the browser. It depends on whether MathJax supports \ref.
>
> Aaron Meurer
>
> >
> > Glenn
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "sympy" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sympy+un...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/89dce9a0-548d-4d46-a862-a3305438bd44%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/c41081e7-5ee7-4a68-9d88-f55a28b56873n%40googlegroups.com.


Re: [sympy] Numbering in init_printing(latex_mode='equation')

2024-01-15 Thread Aaron Meurer
On Mon, Jan 15, 2024 at 1:48 PM Glenn Ramsey  wrote:
>
> On 8/01/24 11:57, Glenn Ramsey wrote:
>
> > When using init_printing(latex_mode='equation') the equations are numbered 
> > in
> > the output and these appear sequentially in pdf output produced by 
> > nbconvert.
> >
> > Is there a way to label the equations so they can be referred to in 
> > markdown cells?
>
> Perusing the source it seems not.
>
> I think it might be possible to implement this by adding a label="foo" keyword
> argument to sympy.display(...).

That sounds reasonable.

Although maybe this is already possible with init_printing() by
setting latex_printer to something that adds the label.

>
> A question now is if I did that and referred to that in the markdown with
> something like this: $\@ref(foo)$, would that get picked up? I'm really only
> interested in this for static presentation output (pdf, html) so it wouldn't
> matter if it doesn't work in interactive modes.

I think the only way to know if it will work or not is to test it. I
suspect it will work for pdf output, but I have no idea if it will
work in the browser. It depends on whether MathJax supports \ref.

Aaron Meurer

>
> Glenn
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/89dce9a0-548d-4d46-a862-a3305438bd44%40gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6JscKAE03JTQUoXLfVqbZrY9dJQuAoCA4AUU4C8k3bxTg%40mail.gmail.com.


Re: [sympy] Which interpreter is best?

2024-01-15 Thread Aaron Meurer
The SymPy online shell and jupyterlite both run Python in the browser,
which will be a little slower than running it locally. Beyond that,
your choice of interactive interpreter shouldn't matter that much
since they will all be interfacing with the same Python. If you aren't
sure what to use, I recommend using Jupyterlab or Jupyter notebook. If
you are running into performance issues, it is likely the issue has to
do with SymPy itself rather than your interpreter.

Aaron Meurer

On Mon, Jan 15, 2024 at 2:33 AM Abhay Kumar  wrote:
>
> Hi
> I have gone through this contributing to SymPy. and I also set up SymPy in 
> local as well. But whenever I'm trying to resolve little, complex issues, the 
> interpreter takes too much time. Can anyone suggest the best interpreter to 
> work with SymPy? I use SymPy online Shell, Jupyterlite, and vscode. But 
> didn't get accurate or correct results.
>
> Thank you,
> Abhay
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/e36c841f-44a1-4cbf-ad26-207cfbc79c8bn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6KJyBg2HuxqmUJ7xx1%3Dbb9nhztKzNH_E%2B7S%3DtGyoQ9R4Q%40mail.gmail.com.


Re: [sympy] Numbering in init_printing(latex_mode='equation')

2024-01-15 Thread Glenn Ramsey

On 8/01/24 11:57, Glenn Ramsey wrote:

When using init_printing(latex_mode='equation') the equations are numbered in 
the output and these appear sequentially in pdf output produced by nbconvert.


Is there a way to label the equations so they can be referred to in markdown 
cells?


Perusing the source it seems not.

I think it might be possible to implement this by adding a label="foo" keyword 
argument to sympy.display(...).


A question now is if I did that and referred to that in the markdown with 
something like this: $\@ref(foo)$, would that get picked up? I'm really only 
interested in this for static presentation output (pdf, html) so it wouldn't 
matter if it doesn't work in interactive modes.


Glenn

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/89dce9a0-548d-4d46-a862-a3305438bd44%40gmail.com.


[sympy] Which interpreter is best?

2024-01-15 Thread Abhay Kumar
Hi
I have gone through this contributing to SymPy. and I also set up SymPy in 
local as well. But whenever I'm trying to resolve little, complex issues, 
the interpreter takes too much time. Can anyone suggest the best 
interpreter to work with SymPy? I use SymPy online Shell, Jupyterlite, and 
vscode. But didn't get accurate or correct results.

Thank you,
Abhay 

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/e36c841f-44a1-4cbf-ad26-207cfbc79c8bn%40googlegroups.com.