Re: [sympy] Sympy and MathML... ideas?

2013-07-03 Thread peibol
/XMLSchema-instance; xsi:schemaLocation=http://www.w3.org/1998/Math/MathML http://www.w3.org/Math/XMLSchema/mathml2/mathml2.xsd; mrow mfrac mrow mn3/mn /mrow mrow mn57/mn /mrow /mfrac /mrow /math''' We get: exppy='((3)/(57))' El martes, 2 de julio de 2013 21:32:22 UTC+2, peibol escribió: Thanks

Re: [sympy] Sympy and MathML... ideas?

2013-07-03 Thread peibol
://github.com/sympy/sympy and try to follow the help article. Please ask if you get stuck. Using git and github is a great way to do development, you can use it for any other project as well, not just sympy. Ondrej On Wed, Jul 3, 2013 at 10:54 AM, peibol pab...@gmail.com javascript: wrote

[sympy] Sympy and MathML... ideas?

2013-07-02 Thread peibol
Hi all: Is there no support for importing MathMLhttps://groups.google.com/forum/#!searchin/sympy/mathml/sympy/PZGjMB-Vdog/7TDKG0wahLgJexpressions into Sympy yet? As the issue is still open, maybe someone knows a workaround for what I'm trying to do. My web application renders some

Re: [sympy] Sympy and MathML... ideas?

2013-07-02 Thread peibol
Hehe, they don't write the expression in MathML, I'm not that kind of demon. They enter expressions in a textarea by means of http://mathdox.org/formulaeditor/, from which I can get the openmath or the (presentation) mathml .The web app is for K12 students, well 12-16 years old, so I think

Re: [sympy] Sympy and MathML... ideas?

2013-07-02 Thread peibol
team would be very interested to have your work merged. Absolutely. Pablo, if you would send us a PR that could do that, that would be awesome. Ondrej On 2 July 2013 18:22, peibol pab...@gmail.com javascript: wrote: Hehe, they don't write the expression in MathML, I'm

Re: [sympy] Sympy and MathML... ideas?

2013-07-02 Thread peibol
... Any suggestion for a xml lib to parse the expression? El martes, 2 de julio de 2013 19:53:28 UTC+2, peibol escribió: The mathdox box produces Presentation Mathml. Sympy produces Content Mathml in the printing module, but there is the c2p function in utils module that converts Content

Re: [sympy] Sympy and MathML... ideas?

2013-07-02 Thread peibol
Thanks, I'll try to make my function the more generic I can. El martes, 2 de julio de 2013 21:01:00 UTC+2, Ondřej Čertík escribió: On Tue, Jul 2, 2013 at 12:32 PM, peibol pab...@gmail.com javascript: wrote: I think xml2dict cannot accomplish it, since I get the same key for multiple

Re: [sympy] Re: Does simpify work in GAE?

2013-06-26 Thread peibol
is the issue. We haven't done it yet because there are issues with Python 2.5. Aaron Meurer On Tue, Jun 25, 2013 at 4:33 AM, peibol pab...@gmail.com javascript: wrote: No, there isn't a module named expr. Diving into the web2py error logs I've seen the string: Line 683

Re: [sympy] Re: Does simpify work in GAE?

2013-06-25 Thread peibol
2013 05:47:15 UTC+2, Aaron Meurer escribió: I don't suppose you have a module named expr, which is conflicting. Aaron Meurer On Mon, Jun 24, 2013 at 4:44 PM, peibol pab...@gmail.com javascript: wrote: Version sympy-0.7.2 and also tested with master branch... Pablo El lunes

[sympy] Does simpify work in GAE?

2013-06-24 Thread peibol
Hi all When running in GAE, i get the error Cannot import module simpify, while in local it runs great. Is any other way to proceed with sympy without making use of simpify? I've read it's a parser problem herehttps://code.google.com/p/googleappengine/issues/detail?id=1468, but I'm missing

[sympy] Re: Does simpify work in GAE?

2013-06-24 Thread peibol
that I'm missing? Thanks! El lunes, 24 de junio de 2013 10:07:49 UTC+2, peibol escribió: Hi all When running in GAE, i get the error Cannot import module simpify, while in local it runs great. Is any other way to proceed with sympy without making use of simpify? I've read it's a parser

Re: [sympy] Re: Does simpify work in GAE?

2013-06-24 Thread peibol
Meurer On Mon, Jun 24, 2013 at 2:03 PM, peibol pab...@gmail.com javascript: wrote: Hi there, some update in my progress. I've managed to run the sympy-live in my appengine, so it's clear that not only sympify work in GAE, but the full sympy. But I don't know how to made

Re: [sympy] Re: Does simpify work in GAE?

2013-06-24 Thread peibol
, Jun 24, 2013 at 3:28 PM, peibol pab...@gmail.com javascript: wrote: Yes More details... my app is web2py based and I'm importing sympy as a module. The weird thing is that it works in local. I attach my app.yaml. Thanks for the reply. El lunes, 24 de junio de 2013 22

Re: [sympy] Re: Does simpify work in GAE?

2013-06-24 Thread peibol
Version sympy-0.7.2 and also tested with master branch... Pablo El lunes, 24 de junio de 2013 23:40:56 UTC+2, Aaron Meurer escribió: And just to verify, what version of SymPy are you using? Aaron Meurer On Mon, Jun 24, 2013 at 4:34 PM, peibol pab...@gmail.com javascript: wrote: Sure

Re: [sympy] Arithmetic expressions (just numbers) to latex without evaluating them

2013-06-22 Thread peibol
Thanks! It works for me. With the trick I can print the numeric expression. El sábado, 22 de junio de 2013 05:55:16 UTC+2, Aaron Meurer escribió: On Fri, Jun 21, 2013 at 5:48 PM, peibol pab...@gmail.com javascript: wrote: Hi all I've been searching just to check if what I want to do

[sympy] Arithmetic expressions (just numbers) to latex without evaluating them

2013-06-21 Thread peibol
Hi all I've been searching just to check if what I want to do is feasible with sympy. The thing is that I have an expression ('a/b+c/d') for which I want to give several sets of values and for each set render the latex without evaluating it. I don't know how to avoid automatic evaluation and