Re: [sympy] Re: Convert sympy results to svg string

2022-11-17 Thread Anton Makarov
Yes, but this is not the same server where the sympy runs ... четверг, 17 ноября 2022 г. в 17:37:20 UTC+3, Oscar: > On Thu, 17 Nov 2022 at 14:17, Anton Makarov wrote: > > > > Yes i need typeset equation in a webpage. I know about mathjax, i > understand that there is a possibility to convert

Re: [sympy] Re: Convert sympy results to svg string

2022-11-17 Thread Oscar Benjamin
On Thu, 17 Nov 2022 at 14:17, Anton Makarov wrote: > > Yes i need typeset equation in a webpage. I know about mathjax, i understand > that there is a possibility to convert sympy tree expression to latex and > then handle it on client web page and convert to svg with mathjax. > But is there any

Re: [sympy] Re: Convert sympy results to svg string

2022-11-17 Thread Anton Makarov
Yes i need typeset equation in a webpage. I know about mathjax, i understand that there is a possibility to convert sympy tree expression to latex and then handle it on client web page and convert to svg with mathjax. But is there any way to do this on server (not in client web page) in order

Re: [sympy] Re: Convert sympy results to svg string

2022-11-17 Thread Oscar Benjamin
On Thu, 17 Nov 2022 at 14:01, Anton Makarov wrote: > > I need to convert sympy tree expression to svg, for instance: > a = sympify("1+2/3") > b = sympify("x+5/x+3*sin(x)") > c = a + b > and i need to convert c expression to svg string Your question is very ambiguous. Since SVG is an image format

[sympy] Re: Convert sympy results to svg string

2022-11-17 Thread Anton Makarov
I don't want an svg file, i want the string. Something like this: svg_string = 53x5x3sinx четверг, 17 ноября 2022 г. в 17:01:56 UTC+3, Anton Makarov: > I need to convert sympy tree expression to svg, for instance: > a = sympify("1+2/3") > b = sympify("x+5/x+3*sin(x)") > c = a + b > and i need

[sympy] Re: Convert sympy results to svg string

2022-11-17 Thread Anton Makarov
I need to convert sympy tree expression to svg, for instance: a = sympify("1+2/3") b = sympify("x+5/x+3*sin(x)") c = a + b and i need to convert c expression to svg string четверг, 17 ноября 2022 г. в 16:59:38 UTC+3, gu...@uwosh.edu: > Are you trying to convert typeset math into a scalable

[sympy] Re: Convert sympy results to svg string

2022-11-17 Thread gu...@uwosh.edu
Are you trying to convert typeset math into a scalable vector graphic image (.svg) or do you mean something else? On Thursday, November 17, 2022 at 7:54:48 AM UTC-6 antonv...@gmail.com wrote: > I'm taking about result of calculations, for instance: > expr = sympify("1+2/3*sin(x)") > result =

[sympy] Re: Convert sympy results to svg string

2022-11-17 Thread Anton Makarov
I'm taking about result of calculations, for instance: expr = sympify("1+2/3*sin(x)") result = str(expr) and i need to convert result to svg. How can i do this? четверг, 17 ноября 2022 г. в 15:05:17 UTC+3, Anton Makarov: > Hi, i am new to sympy. I need to convert the results of sympy