[sage-devel] donlowad and upload multiple files in one (zip)package

2009-09-26 Thread ma...@mendelu.cz
Hello all, do you consider to allow to download and upload multiple files in Sage? Perhaps in zip file? It would be really usefull for people working on more servers (on laptop at home, on sagenb.org at wife's computer, behind firewall on university, .) and also for teachers (all worksheets i

[sage-devel] Re: Problem sharing directory

2009-09-30 Thread ma...@mendelu.cz
On 18 zář, 08:33, Robert Bradshaw wrote: > > Ok, but it should be possible to share the "worksheet" directory ? > > I *need* to share it (we have 3 machines, on which  the users -some > >hundredsof students- will be connected at random). > > I don't think that would be possible. What you could

[sage-devel] broken desolve with initial conditions

2009-10-03 Thread ma...@mendelu.cz
Dear developers of Sage desolve seems to be broken for second order IVP. Some discussion is on http://groups.google.cz/group/sage-support/browse_thread/thread/b6f6b6f056e80149 I hope, I described the solution for the problem, byt I have not enough skills (yes) to write the patch. Is anybody inte

[sage-devel] desolve - returns sometimes equation and sometimes function

2009-10-03 Thread ma...@mendelu.cz
Hello all, studying the problem related to desolve and discussed in sage-suppport ( http://groups.google.cz/group/sage-support/browse_thread/thread/b6f6b6f056e80149 ), I have one more question: The function desolve ends with this: if soln.lhs() == dvar: soln = soln.rhs() So sometim

[sage-devel] Re: desolve - returns sometimes equation and sometimes function

2009-10-07 Thread ma...@mendelu.cz
ny with customs used in Sage? And how can send this message to the user, without producing error like raise NotImplementedError, "Maxima was unable to solve this system." Thank you Robert Marik On 4 říj, 00:22, "ma...@mendelu.cz" wrote: > Hello all, > > studying the pr

[sage-devel] Re: desolve - returns sometimes equation and sometimes function

2009-10-07 Thread ma...@mendelu.cz
On 7 říj, 10:53, Robert Bradshaw wrote: > On Oct 7, 2009, at 1:40 AM, ma...@mendelu.cz wrote: > > By insecure, I assume you mean it returns bogus answers? Yes, if we substitute initial conditions and solve for constants %k1, %k2, then %k1, %k2 may depend on x and y and thus substitu

[sage-devel] solve command - what is actually passed to maxima?

2009-10-08 Thread ma...@mendelu.cz
Hello all Trying to fix http://trac.sagemath.org/sage_trac/ticket/2617 My idea is to write wrapped for maxima solve command which * passes equations to maxima within errcatch environment (to prevent errors from solve(acot(x)==0,x) ) * optionally does either nothing more, or (default) plugs the

[sage-devel] Re: solve command - what is actually passed to maxima?

2009-10-08 Thread ma...@mendelu.cz
On 9 říj, 03:48, kcrisman wrote: > On Oct 8, 8:35 pm, Jason Grout wrote: > Thank to both for your posts. Among others, I now understand that m=maxima(something) m.solve(something) calls solve(m,something) in Maxima and I can also pass other commands to the *same* Maxima session by using s

[sage-devel] need help related to conversion maxima code into Sage

2009-10-09 Thread ma...@mendelu.cz
Hello, trying to fix desolve_laplace as described at http://groups.google.cz/group/sage-support/browse_thread/thread/b6f6b6f056e80149/e2c0cf18cce9926c It is continuation of ticket http://trac.sagemath.org/sage_trac/ticket/6479 which has been (hope) solved. The temporary code is http://user.mend

[sage-devel] Re: need help related to conversion maxima code into Sage

2009-10-09 Thread ma...@mendelu.cz
Thanks, thats incredibly fast. I have now error when trying to download the patch. I'll try it as soon as possible. The last version od desolvers.py is http://user.mendelu.cz/marik/temp/desolvers.py Robert M. On 9 říj, 18:25, kcrisman wrote: > See patch at #385.  Can you test it with your new

[sage-devel] Re: need help related to conversion maxima code into Sage

2009-10-10 Thread ma...@mendelu.cz
, he can add the support for inverse laplace transformation into Sage. Opensource is great :) Thanks Robert Marik On 9 říj, 23:20, "ma...@mendelu.cz" wrote: > Thanks, thats incredibly fast. I have now error when trying to > download the patch. I'll try it as soon as possible.

[sage-devel] test if expression depends on another expression

2009-10-11 Thread ma...@mendelu.cz
Hello all, is there in Sage a function which tests, if expression1 depends on expression2 ? Something like Maxima's command freeof? I searched Sage sources against 'freeof 'and found nothing relevant. If not, I think that it will be usefull to add the following function into Sage, but I have no

[sage-devel] Re: test if expression depends on another expression

2009-10-11 Thread ma...@mendelu.cz
On 11 říj, 15:50, Burcin Erocal wrote: > > Does this work for you? Yes, thanks! > > Cheers, > Burcin --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr..

[sage-devel] Re: Sage Tutorial Article Set

2009-10-12 Thread ma...@mendelu.cz
Hi than you for info. I just work on improving desolve and realted things (bug http://trac.sagemath.org/sage_trac/ticket/6479 ) . As I understand the previous code, your syntax for desolve is old and preferred one is des = desolve(de,y,ivar=t,ics=[0,1]) Robert Marik btw: the last version of my

[sage-devel] Worksheet has not been deleted after deleting

2009-10-12 Thread ma...@mendelu.cz
Hello all, I observed the following behavior of Sage 4.1.1 and 4.1.2 rc0 * Sign as robert.marik * Create worksheet * Save & quit * Log on * Log in - the worksheet has been deleted * Log on and Log in as admin --- the worksheet is stil there Can you reproduce this behavior at your installations o

[sage-devel] Re: Worksheet has not been deleted after deleting

2009-10-12 Thread ma...@mendelu.cz
Oops, sorry for typo and missing step. * Log in as user (not admin) * Create worksheet and enter something (x^2 + shift enter) * Save & quit * Go to the worksheet again and delete * Log OFF * Log in ad user - the worksheet has been deleted * Log OFF * Log in as admin --- the worksheet is stil the

[sage-devel] Re: Worksheet has not been deleted after deleting

2009-10-12 Thread ma...@mendelu.cz
> I rewrote this functionality in the new notebook.  Could you please > try your test at > >  http://standalone.sagenb.org/ > > and see whether you have the same problem.  And, what browser, OS, etc.? Linux Debian, Firefox (not exactly, debian has its own clone of firefox - IceWeasel) I cannot t

[sage-devel] Re: Worksheet has not been deleted after deleting

2009-10-12 Thread ma...@mendelu.cz
Oooops, I did it on sagenb.org. Now going to standalone.sagenb.org and try the same again R.M. On 12 říj, 19:54, "ma...@mendelu.cz" wrote: > I just created on sagenb.org worksheet named robert.marik with one > line: x^2 saved, returned and deleted. > > It is deleted fo

[sage-devel] Patches for differential equations

2009-10-13 Thread ma...@mendelu.cz
Hello all This is for developers interested in Calculus. Since the patch for #385 is available and seems to work for me, I finished my work on #6479 You have to use 2 patches from #6479 and one patch from #385 After this we have the following enhancements in Sage: * Fixed #6479 (bad solution

[sage-devel] Re: test if expression depends on another expression

2009-10-13 Thread ma...@mendelu.cz
On 13 říj, 16:08, rjf wrote: > Is x^2+3 free of x^6? > Ordinarily I would think that if E is free of v, then one could vary v > in any way, and not affect the value of E. > If one varies x^6, it is kind of difficult to keep x^2+3 constant. > > I suppose you could specify a program to search i

[sage-devel] Re: notebook help needed

2009-10-14 Thread ma...@mendelu.cz
Do not know if this is relevant, but I get the message It looks like jsMath failed to set up properly (error code -7). I will try to keep going, but it could get ugly. when looking at published worksheets, like http://uw.sagenb.org/home/pub/4/ I do not have this problem with Sage 4.1.1 Firefox

[sage-devel] Re: http://sagenb.org

2009-10-15 Thread ma...@mendelu.cz
Hello, I still have problem with jsmath mentioned at thread "notebook help needed". See the copy below and Jason's reply. I have the error message on sagenb.org and I can see Latex code instead of the formula. No problem of this type with Version 4.1.1. It would be nice if jsmath on sagenb.org wo

[sage-devel] Re: http://sagenb.org

2009-10-15 Thread ma...@mendelu.cz
On 15 říj, 16:38, Jason Grout wrote: > Pat LeSmithe wrote: > >  * Install *all* jsMath image fonts on sagenb.org > >  * Silently fall back to using image fonts if TeX fonts are not available > > This is what was done in the sage notebook a few days ago.  William had > installed the optional jsm

[sage-devel] Re: http://sagenb.org

2009-10-15 Thread ma...@mendelu.cz
On 15 říj, 17:55, Jason Grout wrote: > ma...@mendelu.cz wrote: > > Thanks.  This issue is now tracked > athttp://trac.sagemath.org/sage_trac/ticket/7229 > >From the manual I have an impression that it is sufficient to download the spkg file, unpack, fix (perhaps only one li

[sage-devel] Re: http://sagenb.org

2009-10-15 Thread ma...@mendelu.cz
On 15 říj, 18:57, William Stein wrote: > Yes.  And ping me as soon as you do it, since I can review it. > > William The fixed spkg file is at http://user.mendelu.cz/marik/temp/jsmath-image-fonts-1.4.spkg (cannot upload to trac server due to the filesize limit) Robert --~--~-~--~~

[sage-devel] Re: sage notebook servers

2009-10-16 Thread ma...@mendelu.cz
On 16 říj, 06:18, William Stein wrote: > Hi, > > For a grant proposal, I would like to assemble a list of people > running Sage notebook servers either publicly or privately (but more > than just for their own person use, of course, e.g. for their group), > with maybe some statement about how t

[sage-devel] exporting worksheet as html

2009-10-16 Thread ma...@mendelu.cz
Hello all, trying to export worksheet in a form of html page which is accesible even if the sage server is down or behind a firewall and even if the user has no jsmath fonts. My attempts include * Print into PDF - poor quality of math and each math output is shown two times in resulting file *

[sage-devel] Re: exporting worksheet as html

2009-10-16 Thread ma...@mendelu.cz
On 16 říj, 14:50, kcrisman wrote: > On Oct 16, 7:41 am, "ma...@mendelu.cz" wrote: > > > Hello all, trying to export worksheet in a form of html page which is > > accesible even if the sage server is down or behind a firewall and > > even if the user has

[sage-devel] Re: exporting worksheet as html

2009-10-16 Thread ma...@mendelu.cz
On 16 říj, 15:38, William Stein wrote: > > > btw: I also think on the possibility to produce LaTeX code from Sage > > worksheet. > > That would be nice. I've never seen an HTML -> Latex converter before > (though there are many Latex-->HTML converters). > In fact, I had in mind something very p

[sage-devel] Re: finding arclength around a circle hangs maxima

2009-10-16 Thread ma...@mendelu.cz
To have more fun, I have this: ma...@asus-eee:/opt/sage$ ./sage -- | Sage Version 4.1.2, Release Date: 2009-10-14 | | Type notebook() for the GUI, and license() for information.|

[sage-devel] Re: finding arclength around a circle hangs maxima

2009-10-16 Thread ma...@mendelu.cz
I am. I will write there. Robert On 16 říj, 22:23, Jason Grout wrote: > kcrisman wrote: > > This was the Maxima upgrade, for sure.  It is not in 4.1.1 (just > > checked) and is in the latest CVS of Maxima (just checked that, too). > > I can't submit a bug report to them right now - can you emai

[sage-devel] Re: finding arclength around a circle hangs maxima

2009-10-16 Thread ma...@mendelu.cz
On 16 říj, 22:44, "ma...@mendelu.cz" wrote: > I am. I will write there. > it is http://thread.gmane.org/gmane.comp.mathematics.maxima.general/28550 R. --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To

[sage-devel] Re: finding arclength around a circle hangs maxima

2009-10-16 Thread ma...@mendelu.cz
n't think it is a good > idea to have a release with such a serious bug, out for too long... > the problem is that I wouldn't like to switch back to an old maxima, > so we should at least wait for them fixing it... maybe we can help on > that > > regards > > Mauri

[sage-devel] Re: finding arclength around a circle hangs maxima

2009-10-16 Thread ma...@mendelu.cz
On 17 říj, 00:40, Robert Dodier wrote: > On Oct 16, 2:23 pm, Jason Grout wrote: > > > I'm not on their list. I hope Robert Dodier or someone else sees this. > > Probably it's best to submit Maxima bugs to the bug > tracker.http://sourceforge.net/tracker/?func=browse&group_id=4933&atid=104933

[sage-devel] Re: Incorrect definite integral

2009-10-16 Thread ma...@mendelu.cz
> > This is also present in the Maxima current CVS version.  Someone may > want to report this to the Maxima bug tracker - I cannot right now. > Old Maxima 5.18 has the same problem. I reported this as ID 2880886, since the problem seems to be different one than https://sourceforge.net/tracker/

[sage-devel] Re: Incorrect definite integral

2009-10-17 Thread ma...@mendelu.cz
On 17 říj, 12:42, Harald Schilly wrote: > On Oct 17, 8:18 am, "ma...@mendelu.cz" wrote: > > > I reported this as ID 2880886,  ... > > Thanks. Out of curiosity, i tried this integral with sympy. This ends > up to take minutes or longer. Should we report this as

[sage-devel] Can Sage solve inequalities?

2009-10-17 Thread ma...@mendelu.cz
Hello all, does Sage solve inequlitites? According to Maxima mail list ( http://thread.gmane.org/gmane.comp.mathematics.maxima.general/28497/focus=28530 ) Maxima can do at elast someting in this area. I was not able to find out, wheather Sage can somehow solve ineqaulities - via maxima or via ano

[sage-devel] Re: Can Sage solve inequalities?

2009-10-17 Thread ma...@mendelu.cz
btw: I was able to find only this: http://groups.google.cz/group/sage-devel/browse_thread/thread/c5990ef9e797109e/e7bf439813a6489c?lnk=gst&q=inequality#e7bf439813a6489c On 17 říj, 19:21, "ma...@mendelu.cz" wrote: > Hello all, > > does Sage solve inequlitites? Accord

[sage-devel] Re: Is this a bug?

2009-10-17 Thread ma...@mendelu.cz
You have to use finer mesh / more points in such cases u = var('u') parametric_plot3d( (u*sin(u), u*cos(u), u), (u, 0, 100),plot_points=500,viewer='tachyon') (I tested it with viewer tachyon since I do not have java on current machine) Hope this helps Robert On 17 říj, 20:00, QuantumDream wro

[sage-devel] Re: Can Sage solve inequalities?

2009-10-17 Thread ma...@mendelu.cz
-- | Sage Version 4.1.2, Release Date: 2009-10-13 | | Type notebook() for the GUI, and license() for information.| -- sage: a= x^2+

[sage-devel] Re: Can Sage solve inequalities?

2009-10-17 Thread ma...@mendelu.cz
On 17 říj, 23:27, Robert Dodier wrote: > ma...@mendelu.cz wrote: > > does Sage solve inequlitites? According to Maxima mail list ( > >http://thread.gmane.org/gmane.comp.mathematics.maxima.general/28497/f... > > ) Maxima can do at elast someting in this area. I was not

[sage-devel] Re: Can Sage solve inequalities?

2009-10-20 Thread ma...@mendelu.cz
On 17 říj, 21:17, William Stein wrote: > > Hm, probably this is the only available way how to solve inequalities > > and at least the wrapper should be written. > > I can try it, but not within these 14 days. > > Wow, that's awesome.  You should definitely try two weeks from now!! Despite my p

[sage-devel] Re: Can Sage solve inequalities?

2009-10-20 Thread ma...@mendelu.cz
> > This is already fixed on Trac # 1163, waiting for review - I hope this > does what you need.  In fact, if you could review that, # 385, and # > 3914, I think they are all related to things you are working on, so > that would be very helpful. > Thanks for your answer The patches are nice and

[sage-devel] Tests, forget and trac 7084, perhaps nother bug?

2009-10-25 Thread ma...@mendelu.cz
Hello all, I looked at trac 7084 http://trac.sagemath.org/sage_trac/ticket/7084 * If I enter the commands from test section in sage: var('m') m sage: assume(n, 'integer'); assume(m, 'integer') into Sage session (4.2), then Sage hangs. I have to enter also var ('n') to co

[sage-devel] Re: Can Sage solve inequalities?

2009-10-27 Thread ma...@mendelu.cz
> > > > Hm, probably this is the only available way how to solveinequalities > > > > and at least the wrapper should be written. > > > > I can try it, but not within these 14 days. The patch is here: http://trac.sagemath.org/sage_trac/ticket/7325 Robert --~--~-~--~~~-

[sage-devel] latex representation for expresions like 1.42531324e-41

2009-10-30 Thread ma...@mendelu.cz
Hello all The latex representation of numbers in scientific notation works as excepted, unless we have these numbers as results from numerical integral. Compare the last two outputs i nthe session below. Why is sage: latex(A[1]) 1.66533453694e-14 and not sage: latex(A[1]) 1.66533453694 \times

[sage-devel] Re: latex representation for expresions like 1.42531324e-41

2009-10-30 Thread ma...@mendelu.cz
On 30 říj, 08:32, William Stein wrote: > > Obviously, it would be nice if the latex command were improved so it > is aware of Python floats. That would be a nice enhancement you > can contribute to sage. Thank you for quick answer. Can you give me few pointers where to fix it? Robert > > -

[sage-devel] Re: latex representation for expresions like 1.42531324e-41

2009-10-30 Thread ma...@mendelu.cz
On 30 říj, 08:49, William Stein wrote: > > There is a table in there called latex_table. You have to > add an entry of the form > >float:float_function > > where you might first try something like this just to get it to work: > > def float_function(x): > from sage.rings.all import RR >

[sage-devel] maxima-init.lisp file

2009-10-30 Thread ma...@mendelu.cz
Hello all, I wondered for longer time, why I got error which nobody reported (see the bottom of this message). Now I found the explanation: I have ~/.maxima/maxima-init.lisp file with the following line: :lisp(setf (get '%sin 'tex) nil) The reason for this file is to get "sin(x)" instead of "s

[sage-devel] Re: deprecation policy

2009-11-01 Thread ma...@mendelu.cz
perhaps a vocabulary (simple html page or whatever else) which translates old names into new names would be also useful. On 1 lis, 16:37, Ralf Hemmecke wrote: > What about deprecation warning and moving the deprecated functionality > to an optional package in the next version of Sage with a clea

[sage-devel] Re: Should trac has a 'report upstream' pull-down?

2009-11-04 Thread ma...@mendelu.cz
> We might also have an option for "fixed in our version", as many times > we will patch an spkg and simultaneously report it upstream.  When we > eventually get the upstream fix in an update, we delete our patch. > In other words, is this preferred way to fix broken Maxima commands? 1. Fix in m

[sage-devel] where can i find history of simplify_trig

2009-11-08 Thread ma...@mendelu.cz
Dear developers, I looked into sage/symbolics/expressions.pyx and the definition of simplify_trig(). This funciton applies trigsimp and trigexpand from Maxima and as a result, sage: (tan(3*x)).simplify_full() gives terrible result (4*cos(x)^2 - 1)*sin(x)/(4*cos(x)^3 - 3*cos(x)) Despite the fact

[sage-devel] Re: Can Sage solve inequalities?

2009-11-09 Thread ma...@mendelu.cz
> > * the maxima expression x#0  (x is not equal 0) has no meaning in > > Sage. If the answer from Maxima contains x#0 and  this answer is in > > variable sol, then > > sage: sol.sage() > > fails. I have no idea how and where could fix it. Can somebody add > > this feature to Sage? Thanks. > > Thi

[sage-devel] Re: bool() on an inequality

2009-11-11 Thread ma...@mendelu.cz
On 11 lis, 12:45, Carlo Hamalainen wrote: > Hi, > > This is weird: > > sage: p = var('p') > sage: q = var('q') > sage: assume(p >= 0) > sage: assume(q >= 0) > sage: assume(p <= 1) > sage: assume(q <= 1) > sage: bool(p**2 <= 1) > True > sage: bool(q**2 <= 1) > True > sage: bool(p**2 + q**2 <= 2) >

[sage-devel] Adding new functions for specific tasks related (logarithm, rational functions, ....)

2009-11-12 Thread ma...@mendelu.cz
Dear readers of sage-devel This is related to Ticket #7334 http://trac.sagemath.org/sage_trac/ticket/7334 which introduces new function for contracting logarithms, expanding logarithms, reducing powers of trigonometric functions and simplifying rational expressions. ---

[sage-devel] Re: Adding new functions for specific tasks related (logarithm, rational functions, ....)

2009-11-12 Thread ma...@mendelu.cz
On 12 lis, 15:17, Francois Maltey wrote: > So imagine a Sage 4.xyz with > > y = log(2)+log(3)+exp(2)*exp(3) > contract (y) # log(6)+exp(5) > contract(y, target=log) # log(6)+exp(2)*exp(3) > contract(y, target=exp)

[sage-devel] Re: Adding new functions for specific tasks related (logarithm, rational functions, ....)

2009-11-12 Thread ma...@mendelu.cz
On 12 lis, 16:38, Burcin Erocal wrote: > Care to help? Many thanks but I do not know anything about programming. I can write simple artless scripts and thats all. I also do not know enough from complex analysis, know nothing about computer algorithms and so on. I think that nobody would be

[sage-devel] Re: Adding new functions for specific tasks related (logarithm, rational functions, ....)

2009-11-13 Thread ma...@mendelu.cz
On 13 lis, 14:30, Burcin Erocal wrote: > On Thu, 12 Nov 2009 12:30:01 -0800 (PST) > > "ma...@mendelu.cz" wrote: > > Could the conclusion be the following? > > "If you want (and if the realease manager includes corresponding > > patches), add suppor

[sage-devel] Re: Adding new functions for specific tasks related (logarithm, rational functions, ....)

2009-11-14 Thread ma...@mendelu.cz
On 14 lis, 18:30, Francois Maltey wrote: > a'-Extract and test sin in sin(x) is easy, but recognize the + in x+y is > heavy. > And perhaps even worse for x+z+z+z_1 The paper of RJF can be perhaps useful (examples written in Maxima, but general ideas) to deal with addition and multiplication:

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread ma...@mendelu.cz
On 17 lis, 13:00, Mike Hansen wrote: > Hello, > > On Tue, Nov 17, 2009 at 4:32 PM, Nathann Cohen > wrote: > > I am using Emacs ( and I am interested in knowing which softwares you > > are using ), but so far I mainly failed to convince people this was > > also the best option for them. > > I

[sage-devel] Re: solve([x==x],x)

2009-11-18 Thread ma...@mendelu.cz
On 18 lis, 21:49, Harald Schilly wrote: > I got this from the "report a problem" form, confirmed in 4.2.1 > > sage: solve([x==x],x) > gives an exception. > > Maxima says this: > $ maxima -q > (%i1) solve([x=x],x); > (%o1)                                 all > (%i2) Similar problem is solve(SR(0),

[sage-devel] Re: solve([x==x],x)

2009-11-18 Thread ma...@mendelu.cz
On 18 lis, 23:54, "ma...@mendelu.cz" wrote: > On 18 lis, 21:49, Harald Schilly wrote: > > > I got this from the "report a problem" form, confirmed in 4.2.1 > > > sage: solve([x==x],x) > > gives an exception. > > > Maxima says

[sage-devel] Re: solve([x==x],x)

2009-11-18 Thread ma...@mendelu.cz
> [x==r1] would be consistent with the multivariable case; I like that > better than True or [x==x], for example. > Does this mean [x==r1] when called for the first time, [x==r2] when for the secod time and so on? Look at the example below. Robert ---

[sage-devel] Re: solve([x==x],x)

2009-11-18 Thread ma...@mendelu.cz
On 19 lis, 04:47, kcrisman wrote: > > [x==r1] would be consistent with the multivariable case; I like that > > better than True or [x==x], for example. > > I think that makes sense, especially with the to_poly_solve update > recently merged, which uses that syntax. Robert, perhaps the > inequal

[sage-devel] Re: solve([x==x],x)

2009-11-18 Thread ma...@mendelu.cz
On 19 lis, 07:35, "ma...@mendelu.cz" wrote: > > [x==r1] would be consistent with the multivariable case; I like that > > better than True or [x==x], for example. > > Does this mean [x==r1] when called for the first time, [x==r2] when > for the secod time and so o

[sage-devel] missing \left and \right when translating product to latex

2009-11-21 Thread ma...@mendelu.cz
Dear developers The following LaTeX exporession is not nice sage: latex(x*(1/(x^2)+sqrt(x^7))) {(\sqrt{x^{7}} + \frac{1}{x^{2}})} x far better would be sage: latex(x*(1/(x^2)+sqrt(x^7))) {\left(\sqrt{x^{7}} + \frac{1}{x^{2}}\right)} x Is the following code from pynac from file mul.cpp respo

[sage-devel] Re: Sage 4.3.alpha0 released!

2009-11-22 Thread ma...@mendelu.cz
Thanks Mike I wonder how tickets with positive review are merged into Sage. The following two have positive review and were not included. Is something wrong with the patches? Or should the tickets simply wait for inclusion? http://trac.sagemath.org/sage_trac/ticket/7325 http://trac.sagemath.org/sa

[sage-devel] Re: Sage 4.3.alpha0 released!

2009-11-22 Thread ma...@mendelu.cz
On 22 lis, 18:05, John Cremona wrote: > I built 4.3.alpha0 fine on two linux machines (32 and 64 bit) but on > both I get one failure: > > The following tests failed: >         sage -t  "devel/sage/sage/interfaces/maxima.py" > > Details below. > This has been explained in the first message whic

[sage-devel] Re: Sage 4.3.alpha0 released!

2009-11-22 Thread ma...@mendelu.cz
On 22 lis, 22:38, Jaap Spies wrote: > Upgrading from 4.2.1 on Fedora 11, 32 bit I had the known issue with > interfaces/maxima.py This was my patch. I am very sorry for this and do not understand, why all tests passed on my computer when I tested this patch. Now I have the same issue. Robert -

[sage-devel] Re: Sage and commercial software

2009-11-24 Thread ma...@mendelu.cz
On 24 lis, 07:25, Martin Rubey wrote: > "Dr. David Kirkby" writes: > > > I find it hard to believe Sage will not have a negative impact on the > > sales of Mathematica, but I certainly hope Sage does not put Wolfram > > Research out of business. I very much doubt it will either. > > I am with you

[sage-devel] Re: simplify (sqrt(6)-sqrt(5))^-1

2009-12-09 Thread ma...@mendelu.cz
sage: a=(sqrt(6)-sqrt(5))^-1 sage: maxima(a).trigrat() sqrt(6)+sqrt(5) Now the question is, how to include trigrat function into Sage. I attempted to do something similar for logarithms and logcontract, logexpand in http://trac.sagemath.org/sage_trac/ticket/7334 - see the related dicussion on sag

[sage-devel] Re: bug in simplifying expressions

2009-12-09 Thread ma...@mendelu.cz
Seems that this comes from Maxima. Look at this sage: fu=maxima(k6).fullratsimp().sage();fu -12*(3*(28960879780288*sqrt(2) + 49414857768735)*sqrt(3) - 150485145634059*sqrt(2) - 256767132912716)/(3*(40774373203317*sqrt(2) - 90564557902141)*sqrt(3) - 211869858104760*sqrt(2) + 470587246954565) sage:

[sage-devel] Re: bug in simplifying expressions

2009-12-09 Thread ma...@mendelu.cz
O.K. so the magic is Maxima flag algebraic=true, as explained in http://groups.google.cz/group/sage-devel/t/4928c36765ff6972 On 10 pro, 07:38, "ma...@mendelu.cz" wrote: > Seems that this comes from Maxima. Look at this > -- To post to this group, send an email to sage-devel@goo

[sage-devel] inequaliites -1

2009-12-10 Thread ma...@mendelu.cz
Dear sage-devel I tried to use plot_region as follows plot_region(-1http://groups.google.com/group/sage-devel URL: http://www.sagemath.org

[sage-devel] Multiplying inequality by negative number

2009-12-10 Thread ma...@mendelu.cz
Dear sage-devel this is doctested in relation.py sage: f = x + 3 < y - 2 sage: f*(-1) -x - 3 < -y + 2 Is this really intended behavior? Shouldnt the answer be the following? sage: f*(-1) -x - 3 > -y + 2 But what about f*(a) or f*(x-2)? Should Sage return this? (-x-3)*(x-2)<(2-y)*(x-2) Or rai

[sage-devel] Re: simplify (sqrt(6)-sqrt(5))^-1

2009-12-10 Thread ma...@mendelu.cz
On 10 pro, 11:02, Harald Schilly wrote: > > (%i3) ratsimp(a), algebraic=true; > > Ok, is it wise to do this by default if called from sage? Not sure (could it break something in integration for example?) but without this we have bug described at http://groups.google.cz/group/sage-devel/browse_t

[sage-devel] Re: simplify (sqrt(6)-sqrt(5))^-1

2009-12-10 Thread ma...@mendelu.cz
Great, thanks for explanation. Robert On 10 pro, 13:30, andrejv wrote: > > I don't think there is a bug there. It's just that one form is harder > to compute numerically because of rounding errors. > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this

[sage-devel] Re: MathJax: the next version of jsmath

2009-12-16 Thread ma...@mendelu.cz
On 15 pro, 08:47, Jason Grout wrote: > If you want to see a preview of the MathJax, next version of jsmath, > which Davide has been working on for a while, go to: > > http://www.mathjax.com/?page_id=13 > I have scattered tee in Firefox (2.0) and very bad rendering in Opera (9.63) Do you have in M

[sage-devel] Re: announcement: Maxima 5.20

2009-12-21 Thread ma...@mendelu.cz
On 21 pro, 09:21, cch wrote: > Maxima-5.20.1 with clisp version works on my linux-32 Sage-4.2. Isn't clisp the slowest option? Robert > > cch -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@google

[sage-devel] broken jsmath image fonts with Sage 4.3

2009-12-27 Thread ma...@mendelu.cz
Dear Sage devel jsmath image fonts seem to be broken for Sage 4.3 (jsmath-image- fonts-1.4.p2). Any idea what hapened? Robert Marik -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com Fo

[sage-devel] Re: broken jsmath image fonts with Sage 4.3

2009-12-27 Thread ma...@mendelu.cz
On 27 pro, 23:06, "ma...@mendelu.cz" wrote: > Dear Sage devel > > jsmath image fonts seem to be broken for Sage 4.3 (jsmath-image- > fonts-1.4.p2). Any idea what hapened? > > Robert Marik O.K. I found the source problem. There is bad path. The install script has th

[sage-devel] bug in sagenb - deleting and stopping worksheet does not work

2009-12-27 Thread ma...@mendelu.cz
Dear sage-devel, can you confirm this behavior of sage notebook as a bug? when in Home (i.e. I have a list of worksheets) in folder Active, with one worksheet running * If I check the box of running worksheet and click Stop, nothing happens. Reloading page shows worksheet still as running. * If

[sage-devel] Re: bug in sagenb - deleting and stopping worksheet does not work

2009-12-28 Thread ma...@mendelu.cz
On 28 pro, 07:39, Pat LeSmithe wrote: > > Which versions of Firefox and Sage? Tested on Windows Vista (Firefox 3.0.16, K-meleon, Opera) and Debian (Epiphany) on two servers with Sage 4.3 (sagenb.org and sage server at Mendel university - sage compiled from sources) The buttons Archive, Delete an

[sage-devel] Re: sage-4.3

2009-12-28 Thread ma...@mendelu.cz
On 28 pro, 11:01, pipedream wrote: > But when I open a worksheet, or when I click File>Print in the > notebook menu, I still get > "It looks like jsMath failed to set up properly (error code -7).  I > will try to keep going, but it could get ugly." > What happens if you switch to jsmath image

[sage-devel] Re: sage-4.3

2009-12-28 Thread ma...@mendelu.cz
cmsy10 drwxr-xr-x 4 marik marik 4096 Aug 15 2005 cmti10 drwxr-xr-x 4 marik marik 4096 Dec 26 23:50 msbm10 Robert On 28 pro, 11:19, Jan Groenewald wrote: > Hi > > On Mon, Dec 28, 2009 at 02:08:30AM -0800, ma...@mendelu.cz wrote: > > What happens if you switch to jsmath ima

[sage-devel] two suggestions to jsmath

2009-12-28 Thread ma...@mendelu.cz
Dear sage devel I have two suggestions for jsmath in 1. The text \newcommand{\Bold}[1]{\mathbf{#1}} is inserted to each TeX formula shown by "show" command. Why not to define this command in preamble? Something like inserting into preamble jsMath.Macro('Bold','\\mathbf{#1}',1) 2. What about to

[sage-devel] Re: sage-4.3

2009-12-28 Thread ma...@mendelu.cz
Hi, I would try to copy manualy the directories cmbx10 cmex10 cm- fonts cmmi10 cmr10 cmsy10 cmti10 to the directory where msbm10 is present. i.e. /usr/local/src/sage-4.3/local/lib/python2.6/site- packages/sagenb-0.4.8-py2.6.egg/sagenb/data/jsmath/fonts I did not test new spkg (...p3.spkg) f

[sage-devel] Re: sage-4.3

2009-12-28 Thread ma...@mendelu.cz
/usr/local/src/sage-4.3/local/lib/python2.6/site-packages/ sagenb-0.4.8-py2.6.egg/sagenb/data/jsmath/fonts This suggests that your fonts are on bad place. The value should be more than 90 MB Robert On 28 pro, 11:57, "ma...@mendelu.cz" wrote: > Hi, I would try to copy manualy th

[sage-devel] Re: bug in sagenb - deleting and stopping worksheet does not work

2009-12-30 Thread ma...@mendelu.cz
courses at January 4 wihch will use Sage and this is annoying. On the other had, it would be nice to work with version with fixed http://trac.sagemath.org/sage_trac/ticket/7756 Many thanks Robert Marik On 28 pro, 11:03, "ma...@mendelu.cz" wrote: > On 28 pro, 07:39, Pat LeSmithe

[sage-devel] Re: bug in sagenb - deleting and stopping worksheet does not work

2009-12-31 Thread ma...@mendelu.cz
THnks for your suggestions, On 31 pro, 04:26, Pat LeSmithe wrote: > On 12/30/2009 01:31 PM, ma...@mendelu.cz wrote: > > > I did more tests - Sage 4.2. is the last version where deleting and > > stopping workseehts via buttons from "Home" folder works for me. > >

[sage-devel] Re: bug in sagenb - deleting and stopping worksheet does not work

2009-12-31 Thread ma...@mendelu.cz
On 31 pro 2009, 09:22, "ma...@mendelu.cz" wrote: > > Does not help either. Does not help even if I use the install script in sagenb sources directory to install changewd version. Any other idea? Many thanks Robert -- To post to this group, send an email to sage-devel@goo

[sage-devel] Re: bug in sagenb - deleting and stopping worksheet does not work

2010-01-01 Thread ma...@mendelu.cz
On 1 led, 15:58, Pat LeSmithe wrote: > On 12/31/2009 06:14 PM, ma...@mendelu.cz wrote: > > > On 31 pro 2009, 09:22, "ma...@mendelu.cz" wrote: > >> Does not help either. > > Does not help even if I use the install script in sagenb sources > > directory

[sage-devel] Re: bug in sagenb - deleting and stopping worksheet does not work

2010-01-01 Thread ma...@mendelu.cz
On 1 led, 19:50, "ma...@mendelu.cz" wrote: > Error: X is null > Source file:http://www.sagenb.org/javascript/sage/main.js > Line: 374 The same problem with Firefox 3.5.6 Robert -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this g

[sage-devel] Re: bug in sagenb - deleting and stopping worksheet does not work

2010-01-01 Thread ma...@mendelu.cz
On 1 led, 20:02, "ma...@mendelu.cz" wrote: > On 1 led, 19:50, "ma...@mendelu.cz" wrote: > > > Error: X is null > > Source file:http://www.sagenb.org/javascript/sage/main.js > > Line: 374 > > The same problem with Firefox 3.5.6 And the same e

[sage-devel] Re: about sagenb-xx.spkg and translations

2010-01-03 Thread ma...@mendelu.cz
On 3 led, 17:08, Vincent D <20100.delecr...@gmail.com> wrote: > Hi, > > I aim to construct a french translation of the notebook (with french > tutorial) on > >    http://sage.irem.univ-mrs.fr:8000 > > Is there any attempt  of multi-language support for it ? Hi, this is not answer, simply comment.

[sage-devel] only part of expression is visible in notebook

2010-01-04 Thread ma...@mendelu.cz
Dear sage-devel If I run (with checked button "Typeset") maxima("taylor(z*sin(x*y), [x,y,z],[0,pi/2,1], 8)") in notebook in Sage 4.3, the output window is too small and I can see only small part of the expression. Is it a bug in CSS style or somwhere else? Robert -- To post to this group, sen

[sage-devel] Unknown control sequence '\texttt'

2010-01-10 Thread ma...@mendelu.cz
Dear sage-devel when doing in notebook sage: show('x^2') or sage: show(type(factor)) I get error Unknown control sequence '\texttt' When I try sage:'x^2' with checked "Typeset" button I get \newcommand{\Bold}[1]{\mathbf{#1}}\hbox{x^2} which is not valid LaTeX expression (supperscript outside

[sage-devel] broken show for unevaluated integrals

2010-01-11 Thread ma...@mendelu.cz
Dear sage-devel the following (definite) integral is not evaluated by maxima and show () command should return the same unevaluated integral in TeX notation. I think this was the case in previous versions. On Sage 4.3. I get th following input: integrate(1/(1+sqrt(x)),x,0,1).show() output: \int

[sage-devel] problems with converting expression from Maxima

2010-01-13 Thread ma...@mendelu.cz
Hello all, Sage changes expression which is converted from Maxima. As a consequence, the linear term in taylor polynomial is allway expanded into f'(a)*x+const instead of f'(a)*(x-a)+f(a). Can someone explain this behavior? How to get rid of this? See the code below and trac http://trac.sagemath

[sage-devel] Re: sage-4.3.1.rc0 released!

2010-01-16 Thread ma...@mendelu.cz
On 16 led, 07:42, Robert Miller wrote: > Greetings! > > sage-4.3.1.rc0 is finally here. This should be a good base version for > Bug Days, and closes a good deal of tickets. I thought it would be > good to plan on an rc1 with just the ticket to fix building on OS X > 10.6 (thoughts?). Also, reve

  1   2   >