Re: [sage-support] Re: Route inspection problem

2018-04-03 Thread Henri Girard

Yes... I am doing it. But Fano's plane seems to be quiet "special"...


Le 03/04/2018 à 11:28, Samuel Lelièvre a écrit :

Have you tried following the NetworkX tutorial?

https://networkx.github.io/documentation/latest/tutorial.html


2018-04-03 9:52 GMT+02:00 Henri Girard <mailto:henri.gir...@gmail.com>>:


Do you think it's possible to draw fano's plane with networkx ?

I have been looking on internet but no answer yet


Le 03/04/2018 à 08:52, slelievre a écrit :

Or you can turn off the Sage preparser.

    preparser(False)
    edgelist.head(10)


Le mardi 3 avril 2018 08:44:29 UTC+2, slelievre a écrit :

Or you can do edgelist.head(int(10))

    2018-04-03 8:00 GMT+02:00 Henri Girard:

Thanks, i must write it to each command but it works well

-- 
You received this message because you are subscribed to the

Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support+unsubscr...@googlegroups.com
<mailto:sage-support+unsubscr...@googlegroups.com>.
To post to this group, send email to
sage-support@googlegroups.com <mailto:sage-support@googlegroups.com>.
Visit this group at https://groups.google.com/group/sage-support
<https://groups.google.com/group/sage-support>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.


-- 
You received this message because you are subscribed to a topic in

the Google Groups "sage-support" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/sage-support/E5OW4M4Frlw/unsubscribe
<https://groups.google.com/d/topic/sage-support/E5OW4M4Frlw/unsubscribe>.
To unsubscribe from this group and all its topics, send an email
to sage-support+unsubscr...@googlegroups.com
<mailto:sage-support+unsubscr...@googlegroups.com>.
To post to this group, send email to sage-support@googlegroups.com
<mailto:sage-support@googlegroups.com>.
Visit this group at https://groups.google.com/group/sage-support
<https://groups.google.com/group/sage-support>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.


--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
<mailto:sage-support+unsubscr...@googlegroups.com>.
To post to this group, send email to sage-support@googlegroups.com 
<mailto:sage-support@googlegroups.com>.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Strange

2018-04-07 Thread Henri Girard
I made this graph (meaning a fano's plane) but I have the zero outside 
the graph ?


I don't understand why ? someone could explain ?

My adjacency_matrix is 8 but shouldn't be 7 ?

g=Graph(7)
edges = [(1,2), (1,3), (1,4),
    (2,3), (2,4), (2,5), (2, 6),
    (3,4), (3,5), (3,6), (3,7),
    (4,6), (4,7), (5,6), (6,7)]
g.add_edge(1,2),g.add_edge(1,3),g.add_edge(1,4),g.add_edge(2,3),
g.add_edge(2,4),g.add_edge(2,5),g.add_edge(2,6),g.add_edge(3,4),
g.add_edge(3,5),g.add_edge(3,6),g.add_edge(3,7),g.add_edge(4,6),
g.add_edge(4,7),g.add_edge(5,6),g.add_edge(6,7)
g.show()
g.adjacency_matrix(),g.incidence_matrix()

Best

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Strange

2018-04-07 Thread Henri Girard

thanks, I tried david suggestion and it's correct now :

edges = [(1,2), (1,3), (1,4),
    (2,3), (2,4), (2,5), (2, 6),
    (3,4), (3,5), (3,6), (3,7),
    (4,6), (4,7), (5,6), (6,7)]
Gamma = Graph(edges)
Gamma.show()


Meanwhile I made it too with networkx to compare :

import networkx as nx
import matplotlib.pyplot as plt
G = nx.Graph()
edges = [(1,2), (1,3), (1,4),
    (2,3), (2,4), (2,5), (2, 6),
    (3,4), (3,5), (3,6), (3,7),
    (4,6), (4,7), (5,6), (6,7)]
G.add_edges_from(edges)
nx.draw_networkx(G)
limits = plt.axis('off')
plt.show(G)



Le 07/04/2018 à 15:09, Jan Groenewald a écrit :

Hi

On 7 April 2018 at 14:52, Henri Girard <mailto:henri.gir...@gmail.com>> wrote:


I made this graph (meaning a fano's plane) but I have the zero
outside the graph ?

I don't understand why ? someone could explain ?

My adjacency_matrix is 8 but shouldn't be 7 ?

g=Graph(7)
edges = [(1,2), (1,3), (1,4),
    (2,3), (2,4), (2,5), (2, 6),
    (3,4), (3,5), (3,6), (3,7),
    (4,6), (4,7), (5,6), (6,7)]
g.add_edge(1,2),g.add_edge(1,3),g.add_edge(1,4),g.add_edge(2,3),
g.add_edge(2,4),g.add_edge(2,5),g.add_edge(2,6),g.add_edge(3,4),
g.add_edge(3,5),g.add_edge(3,6),g.add_edge(3,7),g.add_edge(4,6),
g.add_edge(4,7),g.add_edge(5,6),g.add_edge(6,7)
g.show()
g.adjacency_matrix(),g.incidence_matrix()

Best



Graph? shows

  2. "Graph(5)" -- return an edgeless graph on the 5 vertices
 0,...,4.

  3. "Graph([list_of_vertices,list_of_edges])" -- returns a
 graph with given vertices/edges.

 To bypass auto-detection, prefer the more explicit
 "Graph([V,E],format='vertices_and_edges')".

  4. "Graph(list_of_edges)" -- return a graph with a given list
 of edges (see documentation of "add_edges()").

 To bypass auto-detection, prefer the more explicit "Graph(L,
 format='list_of_edges')".

  5. "Graph({1:[2,3,4],3:[4]})" -- return a graph by
 associating to each vertex the list of its neighbors.

 To bypass auto-detection, prefer the more explicit "Graph(D,
 format='dict_of_lists')".

so it seems correct, and there are alternatives if you prefer 1..8 
instead of 0..7.


Regards,
Jan





--
  .~.
  /V\ Jan Groenewald
 /( )\ www.aims.ac.za <http://www.aims.ac.za>
 ^^-^^
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
<mailto:sage-support+unsubscr...@googlegroups.com>.
To post to this group, send email to sage-support@googlegroups.com 
<mailto:sage-support@googlegroups.com>.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] simple?--from_meijer in jupyter

2018-04-13 Thread Henri Girard

from sympy.holonomic.holonomic import *

Have you tried this ?


Le 13/04/2018 à 00:06, Raymond Rogers a écrit :

The sympy documentation
http://docs.sympy.org/latest/modules/holonomic/convert.html
 has the function from_meiljer and I do
from sympy import *
from sympy.holonomic.holonomic import from_hyper, from_meijer, 
DifferentialOperators

(I think redundant)
I get: "ImportError: cannot import name from_meijer"
Is this a versioning error or what?
As a side issue: I am trying to go from generalized hypergeometric <-> 
meijerg

Is there a better way than through holomorphic?
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] simple?--from_meijer in jupyter

2018-04-13 Thread Henri Girard

Sorry if I spam :

I did this is it of any help as it works in sage-8.1

from sympy import *
from sympy.holonomic.holonomic import *
from sympy.holonomic import DifferentialOperators
from sympy.abc import x
from sympy import ZZ
R, D = DifferentialOperators(ZZ.old_poly_ring(x), 'D')
HolonomicFunction(D**2 + 1, x, 0, [0, 1])
HolonomicFunction((1) + (1)*D**2, x, 0, [0, 1])



Le 13/04/2018 à 00:06, Raymond Rogers a écrit :

The sympy documentation
http://docs.sympy.org/latest/modules/holonomic/convert.html
 has the function from_meiljer and I do
from sympy import *
from sympy.holonomic.holonomic import from_hyper, from_meijer, 
DifferentialOperators

(I think redundant)
I get: "ImportError: cannot import name from_meijer"
Is this a versioning error or what?
As a side issue: I am trying to go from generalized hypergeometric <-> 
meijerg

Is there a better way than through holomorphic?
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] from viewLatex import viewLatex

2018-04-15 Thread Henri Girard

Is there a way to install it on a local sagemath  and how to do it ?

from viewLatex import viewLatex

best

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: from viewLatex import viewLatex

2018-04-15 Thread Henri Girard
Sorry for this one I found : There is latexViewer.py in git then no 
problem to import



Le 15/04/2018 à 14:34, Henri Girard a écrit :

Is there a way to install it on a local sagemath  and how to do it ?

from viewLatex import viewLatex

best

Henri



--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Right way to kill notebook server on single-user machine

2018-04-17 Thread Henri Girard

exit


Le 17/04/2018 à 05:53, Tevian Dray a écrit :
I'm a relatively new Sage user, trying Jupyter for the first time.  OS 
is Ubuntu 14.04; Sage version is 8.1.  Starting Jupyter from the 
command line (sage -n jupyter) works as expected, but so far as I can 
tell the only way to shut down the notebook server after closing the 
browser is via ctrl-c.  What if sage is not started from a terminal? 
 Or if stdout is redirected to a file?  For example, if I redirect 
stdout when starting sage, then send ctrl-c after closing the browser, 
the sage-notebook process continues to run -- presumably because I 
have no way to send a second ctrl-c.


I found this 10-year-old post asking essentially the same question:
https://groups.google.com/forum/#!newtopic/sage-support/sage-support/IrA6obQupKw
but parts of it are clearly out of date.  However, the suggestion to 
use "kill -2" sounds promising, but on which process?  I only see two, 
one running sage-notebook, the other running sage-cleaner.  Or is 
there some other way?  "killall python" works, but presumably isn't a 
clean shutdown -- and I certainly wouldn't want to script such a 
sledgehammer.


It would be really nice if there were a provided script for shutting 
down the notebook server cleanly!

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: No interact libraries

2018-04-29 Thread Henri Girard
sagemath the best software... Before I used wxmaxima, but it has no 
really working jupyter-notebook (well I can't make working).




Le 29/04/2018 à 21:33, Daniel Santos a écrit :

Hi

Im glad to help.

I'll keep on working with Jupyter notebook.


I really like sagemath, I'll use to teach basic math to my future 
students.


Thank you again.

-Santos

El dom., abr. 29, 2018 14:09, slelievre > escribió:


Sun 2018-04-29 08:16:14 UTC, Daniel Santos:
>
> Hi support team.
>
> I'm looking for information of the "interact command" in sage.
>
> https://wiki.sagemath.org/interact
>
> But there is not a manual for it, also when I clicked:
> 
http://www.sagemath.org/doc/reference/sagenb/notebook/interact.html#sagenb.notebook.interact.interact
>
> There is 404 Error.
>
> Where i can find information about the Interact command?

Thanks for your report! I edited the interact page
of the Sage wiki, adding links to the documentation:

- interacts in the Jupyter notebook

http://doc.sagemath.org/html/en/reference/repl/sage/repl/ipython_kernel/interact.html

- interacts in the legacy SageNB notebook

http://doc.sagemath.org/html/en/reference/notebook/sagenb/notebook/interact.html

> By the way I've been trying to work in the sage notebook()
> but there is not Syntax Highlighting, I really like the Sage
> notebook, it is most robust.

It has its merits, but it is no longer developed;
one could say it is in low maintenance mode.

> Is there something i can do to have Syntax Highlighting?

I don't know.

> By the moment I'll start using Jupyter notebook,
> it has the syntax highlighting.

Good idea. All the notebook development effort now goes
to the Jupyter notebook.
-- 
You received this message because you are subscribed to the Google

Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support+unsubscr...@googlegroups.com
.
To post to this group, send email to sage-support@googlegroups.com
.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Sage's animations and windows 10

2018-06-06 Thread Henri Girard
I am using sage 8.3 beta 4 compiled by myself but I thing it should 
works with your too...


I just copied your code and it works out of the box on ubuntu bionic

I guess there a problem with the path but I don't know how to do it on 
w10 sorry



Le 06/06/2018 à 12:11, Francesco a écrit :

|
sines=[plot(c*sin(x),(-2*pi,2*pi),color=Color(c,0,0),ymin=-1,ymax=1)forcinsxrange(0,1,.2)]sage:a=animate(sines)sage:a.show()
|


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] can't run sage in texmacs

2018-08-09 Thread Henri Girard
I think the problem is since sagemath 5.0 about two years ago, if you 
look to texmacs mail list, you will find the problem, Adrian tried to 
correct it but as now it doesn't work , send to you the mail



Le 09/08/2018 à 22:46, Gabriel Frieden a écrit :
I'm trying to run sage from TeXmacs, and I followed the instructions 
here: https://wiki.sagemath.org/TeXmacs 
. When I click on Insert --> 
Session --> SAGE, I get the message "Busy..." where it should give the 
version information, above the input line with "Sage]." I can type in 
the input line, but I can't execute anything. Any suggestions for how 
to fix this?

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Unable to display graphs from Ubuntu 18.04, Sage 8.3, 64 bit PC

2018-08-12 Thread Henri Girard
Since ubuntu 17.10 I have seen this sagemath and jupyter-notebook which 
much simplifies  a good installation of sagemath



Le 12/08/2018 à 16:41, Jan Groenewald a écrit :

Hi

I thought there were no binary tarballs for 18.04?
http://files.sagemath.org/linux/64bit/index.html

Regards,
Jan


On Sun, 12 Aug 2018 at 13:57, Graham Gerrard > wrote:


Hi Jan

I initially installed from the binary tarball.  Successfully tried

sudo apt install tk tk-dev
sage -f python2

Ubuntu18.04 seems to be missing several development tools.  So I
guess this will all be resolved when a version of sage for 18.04
is formally released.

Many thanks for your help.

Graham

On 11 August 2018 at 15:22, Jan Groenewald mailto:j...@aims.ac.za>> wrote:

Hi

On Sat, 11 Aug 2018 at 15:38, Graham Gerrard
mailto:graham.gerr...@gmail.com>>
wrote:

I am using sage from a command prompt ...


show(line2d([(0,0),(1,1),(2,4)])) produces

/home/graham/SageMath/local/lib/python2.7/lib-tk/Tkinter.py
in ()
 37 # Attempt to configure Tcl/Tk without
requiring PATH
 38 import FixTk
---> 39 import _tkinter # If this fails your Python may
not be

configuredhttps://packages.ubuntu.com/search?keywords=tk&searchon=names&suite=bionic§ion=all


for Tk
 40 tkinter = _tkinter # b/w compat for export
 41 TclError = _tkinter.TclError

ImportError: libtk8.6.so : cannot open
shared object file: No such file or directory.



Did you install from source? (versus from apt / software centre?)

http://doc.sagemath.org/html/en/installation/source.html#tcl-tk

So it looks like even if you just sudo apt install tk8.6 (and
mabye tk8.6-blt2.5??)
your ubuntu python might pick it up but not the sage python.

So you should sudo apt install tk8.6-dev (and mabye tkblt-dev??)
and then rebuild the sage python as per the instructions at
the link above.

tk packages in ubuntu 18.04:


https://packages.ubuntu.com/search?keywords=tk&searchon=names&suite=bionic§ion=all

Or perhaps there is someone else who can answer if one can
tell Sage not to try to use tk for
show(lines(... but to use another graphics toolkit.

Regards,
Jan
-- 
  .~.

  /V\ Jan Groenewald
 /( )\ www.aims.ac.za 
 ^^-^^
-- 
You received this message because you are subscribed to a

topic in the Google Groups "sage-support" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/sage-support/xbLE-tPJziI/unsubscribe.
To unsubscribe from this group and all its topics, send an
email to sage-support+unsubscr...@googlegroups.com
.
To post to this group, send email to
sage-support@googlegroups.com
.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google

Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support+unsubscr...@googlegroups.com
.
To post to this group, send email to sage-support@googlegroups.com
.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.



--
  .~.
  /V\ Jan Groenewald
 /( )\ www.aims.ac.za 
 ^^-^^
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more

Re: [sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-17 Thread Henri Girard

https://github.com/sagemath/sage/releases/tag/8.4.beta1

Le 16/08/2018 à 18:14, Luis Finotti a écrit :
I'm sorry to have to ask, but could you tell me how to get 8.4beta1 
source?


On Thursday, August 16, 2018 at 6:41:43 AM UTC-4, Dima Pasechnik wrote:

the latest beta, 8.4beta1, updates pip package.
it's the way to go anyway.

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] nabla (levi-civita tensor of g)

2018-08-19 Thread Henri Girard

hi,

I would like to use nabla as div or grad operator, in sagemanifolds it's 
used as levita-civita, how could it be use as them if it's possible ?


Regards

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: nabla (levi-civita tensor of g)

2018-08-21 Thread Henri Girard



Le 21/08/2018 à 23:22, slelievre a écrit :



Mon 2018-08-20 06:48:11 UTC, HG:
>
> I would like to use nabla as div or grad operator, in sagemanifolds 
it's

> used as levita-civita, how could it be use as them if it's possible ?

Can you give an example of what you would like
to input and what you would like the output to be?
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Yes...

nabla.E=rho/epsilon (maxwell 's equation)
but in latex

sage_for_undergraduates_color.pdf  page 137

I often use symbolic expression to remenber the equation, then I use it 
in sage


Another example :

http://nbviewer.jupyter.org/github/sagemanifolds/SageManifolds/blob/master/Worksheets/v1.3/SM_vector_calc_cartesian.ipynb

grad(F)=∂f∂xex+∂f∂yey+∂f∂zez

Instead grad I would like nabla (but in sagemanifolds nabla is used as 
levita connection) then I dont know yet how to use it ... But I don't 
desperate to find it one day :)


Δ(w)=0la

laplacien
http://nbviewer.jupyter.org/github/sagemanifolds/SageManifolds/blob/master/Worksheets/v1.3/SM_Kerr_Newman.ipynb

∇gg=0

The Levi-Civita connection ∇associated with g:

I would like to use it as nabla operator for grad and div

I hope I am clear enaugh (not very easy as I don't know it well)
Regards

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: nabla (levi-civita tensor of g)

2018-08-29 Thread Henri Girard

I added

nab=var("nabla",latex_name=r'\mathcal{\nabla f}')

∇f(x,y)↦(−sin(x),−2cos(y))


Le 29/08/2018 à 18:46, HG a écrit :

The last thing I do ( but I am not sure it's "legal" :

f(x,y) = cos(x)-2*sin(y)
gradient = derivative( f )
nab=var("nabla",latex_name=r'\mathcal{\nabla}')
nabla=gradient;show(f);show(nab,nabla)
-
∇(x,y)↦(−sin(x),−2cos(y))




Le lundi 20 août 2018 08:48:11 UTC+2, HG a écrit :

hi,

I would like to use nabla as div or grad operator, in
sagemanifolds it's
used as levita-civita, how could it be use as them if it's possible ?

Regards

Henri

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] solve /desolve

2018-10-03 Thread Henri Girard

HI,
I would like to solve these equations but I don't know how ?

t_0=t_p==gamma*(t-V*x/c^2);show(t_0)
x_0=x_p==gamma*(x-V*t);show(x_0)

solve(t_0,gamma*(t-V*x/c^2))
desolve(gamma*(t-V*x/c^2)==0,x)

error desolve() takes at least 2 arguments (1 given)



Any help ?
Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] installation

2018-10-12 Thread Henri Girard

Give more details which OS etc...

Le 12/10/2018 à 18:38, 'yannick Nikiema' via sage-support a écrit :
hi everybody...i've just downloaded sagemath but during installation 
it is said that the source file is corrupted...can you help me resolve 
this problem?


--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] crystals.tableaux

2019-01-06 Thread henri girard

Hi,

I would like to keep the tableaux inline not in a pdf file, how to do that ?

fn = tmp_filename(ext=".tex")
crystals.Tableaux("A2", shape=[2,1]).latex_file(fn)

B = crystals.Tableaux(['A',2], shape=[2,1])
view(B, tightpage=True)

this way I got an external pdf

Regards

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: crystals.tableaux

2019-01-08 Thread henri girard

yes ... Thanks, but I must do print unicode_art(t)


Le 08/01/2019 à 16:09, slelievre a écrit :

Does this help?

    sage: for t in crystals.Tableaux("A2", shape=[2, 1]):
    :     unicode_art(t)
    :
    ┌───┬───┐
    │ 1 │ 1 │
    ├───┼───┘
    │ 2 │
    └───┘
    ┌───┬───┐
    │ 1 │ 2 │
    ├───┼───┘
    │ 2 │
    └───┘
    ┌───┬───┐
    │ 1 │ 3 │
    ├───┼───┘
    │ 2 │
    └───┘
    ┌───┬───┐
    │ 1 │ 3 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 2 │ 3 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 1 │ 1 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 1 │ 2 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 2 │ 2 │
    ├───┼───┘
    │ 3 │
    └───┘
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: crystals.tableaux

2019-01-08 Thread henri girard

In fact your example help me to find how to do simplier, thanks

Regards

Henri

T = Tableau([[8,1,6], [3,5,7],[4,9,2]]);
print unicode_art(T)

┌───┬───┬───┐
│ 8 │ 1 │ 6 │
├───┼───┼───┤
│ 3 │ 5 │ 7 │
├───┼───┼───┤
│ 4 │ 9 │ 2 │
└───┴───┴───┘

Le 08/01/2019 à 21:56, henri girard a écrit :


yes ... Thanks, but I must do print unicode_art(t)


Le 08/01/2019 à 16:09, slelievre a écrit :

Does this help?

    sage: for t in crystals.Tableaux("A2", shape=[2, 1]):
    :     unicode_art(t)
    :
    ┌───┬───┐
    │ 1 │ 1 │
    ├───┼───┘
    │ 2 │
    └───┘
    ┌───┬───┐
    │ 1 │ 2 │
    ├───┼───┘
    │ 2 │
    └───┘
    ┌───┬───┐
    │ 1 │ 3 │
    ├───┼───┘
    │ 2 │
    └───┘
    ┌───┬───┐
    │ 1 │ 3 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 2 │ 3 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 1 │ 1 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 1 │ 2 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 2 │ 2 │
    ├───┼───┘
    │ 3 │
    └───┘
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, 
send an email to sage-support+unsubscr...@googlegroups.com 
<mailto:sage-support+unsubscr...@googlegroups.com>.
To post to this group, send email to sage-support@googlegroups.com 
<mailto:sage-support@googlegroups.com>.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] How to use sage's macaulay2 interface in jupyter

2019-01-19 Thread henri girard

shouldn't be sage dir ?

on linux I do

sudo /mydir/sage/sage /usr/bin/sage

running as

sage -n or sage -n=jupyter for a jupyter notebook

Le 19/01/2019 à 22:08, Chris Brav a écrit :
Unfortunately I have been unable to get sage running directly from a 
terminal on Mac. sudoln-s/path/to/SageMath/sage/usr/local/bin/sage 
didn't work for me. So I click on the icon and then have a choice to 
open either a terminal or a Jupyter notebook. Once the terminal is 
opened, I can use it to talk to Macaulay 2, but not through the 
Jupyter notebook.


Sorry for being so helpless.

On Saturday, January 19, 2019 at 9:19:16 PM UTC+3, Dima Pasechnik wrote:

How do you start Jupyter? I believe that if you start it via
terminal command "sage -n" then you will get exactly the same Sage
environment in Jupyter as you get at Sage's prompt.


On Sat, 19 Jan 2019 18:10 Chris Brav  wrote:

I like to use a jupyter notebook for sage, but also want to
use a bit of macaulay2 at the same, using the sage interface.
In a sage terminal,

macaulay2('2+2')

returns 4 as expected, but in a jupyter notebook I get an
error, the end of which reads

TypeError: unable to start macaulay2 because the command 'M2
--no-debug --no-readline --silent -e
\'ZZ#{Standard,Core#"private dictionary"#"InputPrompt"} =
lineno -> "_EGAS_ : ";ZZ#{Standard,Core#"private
dictionary"#"InputContinuationPrompt"} = lineno -> "_EGAS_ :
";printWidth = 0;lineNumber = 10^9;\'' failed: The command was
not found or was not executable: M2.

Any advice? Presumably I have to tell jupyter how see macaulay2...



-- 
You received this message because you are subscribed to the

Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to sage-support...@googlegroups.com
.
To post to this group, send email to
sage-s...@googlegroups.com .
Visit this group at
https://groups.google.com/group/sage-support
.
For more options, visit https://groups.google.com/d/optout
.

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] algorithme

2019-01-19 Thread henri girard

\ can be used when one wants to slip a line , in a long line

for example

plot(sin(x),x,0,2, color="red",figsize=3,

    \fontsize=8,frame=True)

in fact here is not really useful it's just for the example, because in 
a jupyter notebook, if you write after a gomma and press "enter" the 
next line will be indented



Le 20/01/2019 à 02:35, 'Justin C. Walker' via sage-support a écrit :



On Jan 19, 2019, at 17:23 , Anton Sherwood  wrote:

On 2019-1-19 15:52, MAMANE DJAMILOU Salissou Dango wrote:

Bonjour,
je suis un tous nouveau utilisateur de sagemath. Je maîtrise les opérations 
indépendantes. Mon souci se trouve au nivaux des algorithmes. je n'arrive, 
jusque là pas à comprendre comment programmer avec sageMath (voir les 
''screenshots'').
merci de m'aider à démarrer.

An attempt at translation:
Good day,
I am a very new user of sagemath.  I am mastering independent operations.  My 
trouble is on the level of algorithms.
So far, I cannot understand how to program with sageMath (see the screenshots).
Thanks for helping me to get started.

The problem is the use of “\”.  Python programs are structured by indentation, 
so the way to type the program in an editor, at the command line prompt, or in 
the notebook, is as follows:

def fac(n):
 if n == 1:
 print ‘bonjour’
 else:
 print “bonsai”

The OP was entering the code almost correctly, but the “\” caused the parser to 
ignore the new-line, and string everything together as one line.

HTH

Justin

--
Justin C. Walker
Director
Institute for the Enhancement of the Director's Income
--
Fame is fleeting, but obscurity
just drags on and on.  F&E





--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] algorithme

2019-01-22 Thread henri girard

two other books (tutorial) in english about sage very good :)

http://www.people.vcu.edu/~clarson/bard-sage-for-undergraduates-2014.pdf

http://www.math.usm.edu/dont_panic/draft12.pdf

Le 22/01/2019 à 09:49, Emmanuel Charpentier a écrit :


s/recommandé/recommander


Le mardi 22 janvier 2019 09:47:21 UTC+1, Emmanuel Charpentier a écrit :

Le dimanche 20 janvier 2019 02:23:14 UTC+1, Anton Sherwood a écrit :

On 2019-1-19 15:52, MAMANE DJAMILOU Salissou Dango wrote:
> Bonjour,
> je suis un tous nouveau utilisateur de sagemath. Je maîtrise
les
> opérations indépendantes. Mon souci se trouve au nivaux des
algorithmes.
> je n'arrive, jusque là pas à comprendre comment programmer
avec sageMath
> (voir les ''screenshots'').
> merci de m'aider à démarrer.


Vous devriez tenter de comminuquer en anglais, qui est la langue
comprise par le plus grad nombre (de loin) de lecteurs du groupe.
Après tout :
sage: r.library("fortunes")
sage: r('fortune("Bad English")')

Bad English is the language of science.
   -- Jan de Leeuw
      JSS mailing list (February 2005)

Cela dit, je ne saurais trop recommandé la lecture du remarquable
manuel collectif "Calcul mathématique avec Sage
", qui décrit (en français, s'il
vous plaît...) une version un peu ancienne de Sage, sa traduction
anglaise , qui
utilise une version plus récente, pouvant également vous servir de
pierre de Rosette ...

Vous aurez aussi besoin d'un manuel pour Python, pour lequel je ne
me sens pas apte à faire une recommandation. Notez que Sage
utilise actuellement Python 2 (en voie d'obsolescence), mais
migrera prochainement vers Python 3.

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: CORS problem using sagecell

2019-01-27 Thread henri girard

do you share the code for example 16.6.1 ?

Le 28/01/2019 à 02:51, david.guichard a écrit :
I found the difference: the working cells were using viewer='threejs'. 
When I change the other to threejs it works, although I don't like the 
plot as much. Is there a way with the threejs viewer to get an 
orthogonal projection instead of perspective?


To repeat from my initial post: I'm sure that this cell was working 
just a few months ago.


-- David

On Sunday, January 27, 2019 at 5:37:00 PM UTC-8, david.guichard wrote:

In my calculus book I have a number of sagecells. One of them has
started throwing an error involving CORS. Follow this link:

https://www.whitman.edu/mathematics/calculus_online/section13.01.html


and go to the exercise section, click evaluate on the sagecell.
When I do this, I get

Error connecting to server:

https://sagecell.sagemath.org/static/jsmol/php/jsmol.php?call=getRawDataFromDatabase&database=_&query=https%3A%2F%2Fsagecell.sagemath.org%2Fstatic%2Fjsmol%2Fj2s%2Fjava%2Futil%2FHashtable.js



This was working a few months ago. There are two sagecells in

https://www.whitman.edu/mathematics/calculus_online/section16.06.html


and both work for me. I'm not seeing any significant differences
in the code.

Any ideas?

-- David

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] I don't know how to do ...

2019-11-30 Thread Henri Girard

Hi,

I have done this taiji but it's horizontal and I would like it vertical ?

I can't do it

Any help ?

Kind regards

Henri Girard

def f(x):
    if x<0:
    return sqrt(-x^2-2*x)
    else:
    return -sqrt(-x^2+2*x)
a=plot(f,(x,-2,2),color='grey',fill=sqrt(4-x^2),
fillcolor="black")
xy=circle((0,0),2,color="white")
b=plot(f,(x,-2,2),color="white",fill=-sqrt(4-x^2),
fillcolor="red")

show(a+b+xy)


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/70b0ad6c-a90f-123e-68fc-e8e5f432758d%40gmail.com.


[sage-support] Re: I don't know how to do ...

2019-12-01 Thread Henri Girard

I have done it this way which is easier

p1 = arc((0,0),2,angle=pi/6,sector=(pi/3,8*pi/6),thickness=2,color='red')
p2 = arc((0,0),2,angle=pi/6,sector=(pi/3,-4*pi/6),color="blue",thickness=2)
p3 = arc((0,-1),1,angle=pi/6,sector=(pi/3,8*pi/6),thickness=2,color="blue")
p4 = arc((0,1),1,angle=pi/6,sector=(pi/3,-4*pi/6),color="red",thickness=2)
show(p1+p2+p3+p4,figsize=5)

On 30/11/2019 09:14, Henri Girard wrote:

Hi,

I have done this taiji but it's horizontal and I would like it vertical ?

I can't do it

Any help ?

Kind regards

Henri Girard

def f(x):
    if x<0:
    return sqrt(-x^2-2*x)
    else:
    return -sqrt(-x^2+2*x)
a=plot(f,(x,-2,2),color='grey',fill=sqrt(4-x^2),
fillcolor="black")
xy=circle((0,0),2,color="white")
b=plot(f,(x,-2,2),color="white",fill=-sqrt(4-x^2),
fillcolor="red")

show(a+b+xy)




--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/986a4223-b945-bbe1-3c04-1ad704dbaafe%40gmail.com.


Re: [sage-support] Re: Book with Sage (and Python 3)

2020-03-01 Thread Henri Girard

Can you share the code in sagemath ?

Best

Henri

Le 06/02/2020 à 10:20, Manfred Einsiedler a écrit :

Hi,

Many thanks for your quick responses and tips concerning SageMath, 
Jupyter, and the typos.
Meanwhile we have a final draft and will have the full book online 
until end of February 2020 or so:


https://tbward0.wixsite.com/books/journey

Let us know if you have comments on the text.

Best,
Manfred



On Tuesday, December 24, 2019 at 11:37:11 AM UTC+1, Manfred Einsiedler 
wrote:


Hi,
I am working with Menny Aka and Tom Ward on a little book for high
school and undergraduate students that also invites the reader to
do a bit of programming, for a slightly dated version see
https://tbward0.wixsite.com/books/journey

We are also new to sage but really enjoyed learning it along the
way. Thanks for the great tool.

During the refereeing process we were told by one of the referees
of the upcoming python 2/3 change and that it would be annoying if
our intro to sage is obsolete even before the book gets published.
 I haven’t yet tried but I will download and install the latest
beta on version 9 to test all sage code in our book. Is there
anything I should be a aware of when I do? Eg. to what extent is
it complete — I believe our little intro doesn’t venture very deep
into the possibilities of Sage.

Thanks,
Manfred Einsiedler

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/59d80673-af38-491a-811b-4e56a35ad340%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/f9490996-73b9-42eb-468f-571c7209a044%40gmail.com.


Re: [sage-support] tar jxvf sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 is not downloading SageMath

2020-05-29 Thread Henri Girard

tar is not a downloading command, just an uncompressed one :)

So in 2 words : Download the file and after verifying it is there, do tar

Regards


Le 29/05/2020 à 22:48, Joshua Meadowcroft a écrit :
The initial download from tar jxvf 
sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 is not executing.  Unable to 
sagemath download pre-built binary from site.  Any thoughts?



On Friday, May 29, 2020 at 4:35:11 PM UTC-4, Joshua Meadowcroft wrote:

um, I'm not surprised that the file or directory can not be found
on my machine.  Because it hasn't been downloaded yet.  That's
what I'm attempting to do.  I used tar jxvf
sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 to download Sage last week on
an identical different machine and it worked perfectly. So, it's
odd that the exact command is not doing it now.


On Friday, May 29, 2020 at 3:27:07 PM UTC-4, Justin C. Walker wrote:



> On May 29, 2020, at 12:18 , Joshua Meadowcroft
 wrote:
>
> Trying to download Sage on Linux Ubuntu but the following
command isn't working.  What am i doing wrong?  Please see
attached picture.
>
> tar jxvf sage-9.1-Ubuntu_18.04-x86_64.tar.bz2

If you check the results of this command, you will see what
the problem is:

 "tar jxvf sage-9.1-Ubuntu_18.04-x86_64.tar.bz2: Cannot open:
no such file or directory"

This means that the “tar” command is not able to locate the
file “sage-….” in the current directory.  You either need to
run this command in the directory containing the file, or give
the “full” file name to the command.

HTH

Justin

-- 
Justin C. Walker, Curmudgeon at Large

Institute for the Absorption of Federal Funds
---
While creating wives, God promised men
that good and obedient wives would be
found in all corners of the world.
Then He made the earth round.
-- 









--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/4993ee8e-9d12-44a9-b44e-ae5162c7be3c%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/130792e4-c5a1-be8e-c1cd-882fc7dc6019%40gmail.com.


Re: [sage-support] Re: Installation fails

2020-08-31 Thread Henri Girard

Did you get it with the installer ?

I use w10 sagemath 9.1 works fine ... I have 4 Go RAM and  ssd 240 Go 
have you enaugh room on your HDD ?



Le 01/09/2020 à 07:00, Krishna Ghode a écrit :
Thyankyou for reply, i am using windows 10 with RAM 4 GB. I downloaded 
Sagemath from its official website for windows.
installation started, I press NEXT button and process started but 
after competition of 75% process, Installation disappear automatically.


*Regards,*

*Krishna Eknath Ghode*

/Assistant Professor,/

Department Of Mathematics,

B. K. Birla College(Autonomous), Kalyan.



On Tue, Sep 1, 2020 at 12:19 AM slelievre > wrote:


2020-08-31 18:10:37 UTC, Krishna Ghode:
>
> I try 3-4 times.
> It starts and after some process it suddenly invisible. And did
not install.

What operating system? What steps did you follow?
-- 
You received this message because you are subscribed to the Google

Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support+unsubscr...@googlegroups.com
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/3b52f1fd-4637-45cf-966e-e08c83142c59o%40googlegroups.com

.

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


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/7135c0d6-6a34-1498-4d1d-25fcd802f2fe%40gmail.com.


Re: [sage-support] Re: integrating sin(t)/t

2020-09-29 Thread Henri Girard

Now if you build it :)

On 29/09/2020 14:27, Fernando Gouvea wrote:


Good news! When is 9.2 expected to be ready?

Fernando

On 9/29/2020 3:54 AM, Eric Gourgoulhon wrote:
I confirm the issue with the Taylor series with Sage 9.1. 
Fortunately, the bug seems to have been fixed for Sage 9.2. As 
Emmanuel, I get the correct Taylor series with Sage 9.2.beta13.


Le mardi 29 septembre 2020 à 09:36:09 UTC+2, Emmanuel Charpentier a 
écrit :


I can’t reproduce your problem :

|sage: sage.version.version '9.2.beta13' sage: var('t') t sage:
assume(x>0) sage: f(x)=integrate(sin(t)/t,t,0,x) sage: f x |-->
sin_integral(x) sage: taylor(f(x),x,0,10) 1/3265920*x^9 -
1/35280*x^7 + 1/600*x^5 - 1/18*x^3 + x |

My platform is Debian testing running on core i7 + 16 GB RAM ;
sage is built to use as much system packages as possible. hat are
your platforms ?

HTH,

​
Le lundi 28 septembre 2020 à 22:03:56 UTC+2, fqgo...@colby.edu a
écrit :

I am trying to see how to do a standard calculus exercise in
Sage. I want a power series for the integral of sin(x)/x. I
tried:

sage: var('t')
t
sage: assume(x>0)
sage: f(x)=integrate(sin(t)/t,t,0,x)
sage: f
x |--> sin_integral(x)
sage: taylor(f(x),x,0,10)
73/466560*x^9 - 127/35280*x^7 + 31/600*x^5 - 7/18*x^3 + x

The first weirdness is that Sage can't compute the integral
unless I add the "assume(x>0)"; I'm not sure why.

The second weirdness is that the Taylor series is wrong!
Taylor(Si(x),x,0,10) gives the same answer.

Fernando


-- 
==

Fernando Q. Gouvea
Carter Professor of Mathematics
Colby College
Mayflower Hill 5836
Waterville, ME 04901
fqgo...@colby.edu   http://www.colby.edu/~fqgouvea

The object of opening the mind, as of opening the mouth, is to shut it
again on something solid.
   -- G. K. Chesterton, Autobiography.

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, 
send an email to sage-support+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/fa8ad53c-16e3-46ad-8d73-c2b7a28224acn%40googlegroups.com 
.

--
=
Fernando Q. Gouveahttp://www.colby.edu/~fqgouvea
Carter Professor of Mathematics
Dept. of Mathematics and Statistics
Colby College
5836 Mayflower Hill
Waterville, ME 04901

"Verily and forsooth," replied Goodgulf darkly. "In the past year
strange and fearful wonders I have seen. Fields sown with barley reap
crabgrass and fungus, and even small gardens reject their artichoke
hearts. There has been a hot day in December and a blue
moon. Calendars are made with a month of Sundays and a blue-ribbon
Holstein bore alive two insurance salesmen. The earth splits and the
entrails of a goat were found tied in square knots. The face of the
sun blackens and the skies have rained down soggy potato chips."
   -- Harvard Lampoon, "Bored of the Rings"

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/5214e93f-8636-38a6-127b-4d7e5d5e8e1c%40colby.edu 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/f77c7b29-b5cd-1df8-547e-81dc04eb9759%40gmail.com.


Re: [sage-support] problem installing sage

2020-10-20 Thread Henri Girard
Sage is not wroking properly in wls2 as I suppose that's what you use. 
You should get the windows installer sagemath


Le 20/10/2020 à 22:43, Ryan Morrill a écrit :

Hi Jan,

I'm not at all familiar with ubuntu. I just downloaded it off of the 
microsoft store (I am running windows). Sorry I can't be of more help.


On Tue, Oct 20, 2020 at 1:55 PM Jan Groenewald > wrote:


Hi

On Tue, 20 Oct 2020 at 21:48, Ryan Morrill mailto:ryanwmorr...@gmail.com>> wrote:

I have been trying to install sage on an ubuntu shell, but
when I type in

./sage

I get the errors:

/usr/bin/env: ‘python’: No such file or directory
Error running the script 'relocate-once.py'.


How did you install sage? What version of Ubuntu?

Regards,
Jan


-- 
  .~.

  /V\ Jan Groenewald
 /( )\ www.aims.ac.za 
 ^^-^^
-- 
You received this message because you are subscribed to the Google

Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support+unsubscr...@googlegroups.com
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/CAAg%3Dp_1EfMc9Qh53QqcFoxjqc%3DEV1hZA%3Dnn16to9j0G5AnAosw%40mail.gmail.com

.

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


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/9c29188c-2dad-8ed3-2e58-6475681cc075%40gmail.com.


[sage-support] factorial

2020-10-28 Thread Henri Girard

Hi,

I would like to know if it is possible to use ! instead factorial like 
in maths ?


factorial(1/2) = (1/2)!

Any help welcome

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/22760e50-e9df-4dc6-ef31-684ceadd586b%40gmail.com.


Re: [sage-support] Using Cadabra2

2021-03-12 Thread Henri Girard
Thank you very much, I am using next month ubuntu 21.04 an working with 
sage 5.2, just install sudo apt install cadabra2 start sage in jupyter 
notebook and to display latex at the beginning write only once  in a cell


%display latex

from cadabra2 import *

from IPython.display import display, Math, Latex

For example :

%display latex
ex=Ex(r"A_{m n} B^{m n}");ex

and voila ! lol

Le 12/03/2021 à 23:51, Kasper Peeters a écrit :
Cadabra author here. On Unix, the Cadabra build/install process 
installs a Jupyter kernel, which works with SageMath installed from 
the binary distribution (may need some PYTHONPATH setting, but nothing 
more). On Windows, the build process using Visual Studio is relatively 
simple, but getting everything to see all required libraries is a 
never-ending horror story. Maybe someone on the SageMath team 
responsible for the Windows port can help out; I have no resources to 
properly support Windows.


The alternative is to run the lot in WSL and then install a binary 
distribution of Cadabra; that is known to work from first-hand 
experience using a non-SageMath Jupyter installation, but I have no 
doubt it can be made to work with the one supplied by SageMath. You 
can still connect to the Jupyter kernel from your Windows browser that 
way.


On Monday, 8 March 2021 at 14:22:57 UTC dim...@gmail.com wrote:

On Mon, Mar 8, 2021 at 7:28 AM 'Daniel Volinski' via sage-support
 wrote:
>
> Hi Dima,
>
> This is a page in the Cadabra site: Cadabra: use with Jupyter
>
> I just want to calculate some General relativity stuff using
Cadabra on a Jupyter Notebook as shown in their picture.

I'm able to build Cadabra2 in SageMath environment (at sage --buildsh
prompt, that is)
on Debian Linux. This way it should be possible to use it with Sage's
Jupyter notebook.

But on Windows, well, probably much harder...


>
> Thanks,
>
> Daniel Volinski
>
>
>
>
> En domingo, 7 de marzo de 2021 11:54:22 GMT+2, Dima Pasechnik
 escribió:
>
>
> I must say I don't understand what you mean by "use Cadabra2 on
a Jupyter Notebook", is it even possible?
> The following does not read like it's supported by Cadabra2:
> https://github.com/kpeeters/cadabra2/tree/master/frontend/web

>
> They have
https://github.com/kpeeters/cadabra2/tree/master/jupyterkernel

> but it's not clear how to use it, whether it's working at all etc.
> Do they have a working Jupyter kernel, which can be used in a
system Jupyter notebook?
>
> In principle, Sage can use system Jupyter notebook (although
whether it's try on Windows, I don't know)
> So if this is all working there should be no issue.
>
>
> On Sunday, March 7, 2021 at 9:10:54 AM UTC Daniel Volinski wrote:
>
> Hi Dima,
>
> I asked the same question on the Cadabra support site, they
don't know either.
>
> Daniel Volinski
>
>
>
> En sábado, 6 de marzo de 2021 16:57:24 GMT+2, 'Daniel Volinski'
via sage-support  escribió:
>
>
> Thank you Dima.
>
> Daniel Volinski
>
>
> En sábado, 6 de marzo de 2021 12:30:27 GMT+2, Dima Pasechnik
 escribió:
>
>
>
>
> On Sat, 6 Mar 2021, 10:23 'Daniel Volinski' via sage-support,
 wrote:
>
> Hi Dima,
>
> Thank you for your reply.
>
> I already have a Python3 installation provided by the SageMath
installation, I can run Python3 programs without adding anything
else.
> I already have a LaTeX installation (MikTex) that I use with
other programs. How do I proceed from here?
>
>
> We don't know how to install Cadabra2.
>
> IMHO this is a question for Cadabra2 people: "I have a Python3
installation, and I want to run Cadabra2 on top of it".
>
>
> Thanks,
>
> Daniel Volinski
>
>
>
>
> En viernes, 5 de marzo de 2021 22:49:40 GMT+2, Dima Pasechnik
 escribió:
>
>
> On Fri, Mar 5, 2021 at 8:42 PM 'Daniel Volinski' via sage-support
>  wrote:
> >
> > Hi All,
> >
> > I'm using SageMath 9.2 on Windows 10 Native with Jupyter
Notebook.
> >
> > My question, is there any way to use Cadabra2 on a Jupyter
Notebook after installing SageMath?
> >
> > I do not want to install conda or anaconda or miniconda, I
just want to use Cadabra2 in the Jupyter Notebook provided by the
SageMath installation and may be with minimal installation of some
software.
>
> From https://cadabra.science/download.html
:
> Windows 10
> You will need a Python3 installation from Anaconda (64-bits, Python
> 3.8) and a LaTeX installation (tested with MikTeX, oth

Re: [sage-support] Using Cadabra2

2021-03-13 Thread Henri Girard

Yes sorry you are right

Henri

Le 13/03/2021 à 13:35, Kasper Peeters a écrit :


>    %display latex

>   from cadabra2 import *

That only uses the Cadabra python module, which means that you do not 
have access to all the Cadabra specific syntax for declaring 
expressions and properties. Nothing wrong with that, but if you want 
the full experience, you need the Cadabra kernel (which in effect 
pre-processes the input before feeding it to Python).


Kasper



On Saturday, 13 March 2021 at 07:04:32 UTC HG wrote:

Thank you very much, I am using next month ubuntu 21.04 an working
with sage 5.2, just install sudo apt install cadabra2 start sage
in jupyter notebook and to display latex at the beginning write
only once  in a cell

%display latex

from cadabra2 import *

from IPython.display import display, Math, Latex

For example :

%display latex
ex=Ex(r"A_{m n} B^{m n}");ex

and voila ! lol

Le 12/03/2021 à 23:51, Kasper Peeters a écrit :

Cadabra author here. On Unix, the Cadabra build/install process
installs a Jupyter kernel, which works with SageMath installed
from the binary distribution (may need some PYTHONPATH setting,
but nothing more). On Windows, the build process using Visual
Studio is relatively simple, but getting everything to see all
required libraries is a never-ending horror story. Maybe someone
on the SageMath team responsible for the Windows port can help
out; I have no resources to properly support Windows.

The alternative is to run the lot in WSL and then install a
binary distribution of Cadabra; that is known to work from
first-hand experience using a non-SageMath Jupyter installation,
but I have no doubt it can be made to work with the one supplied
by SageMath. You can still connect to the Jupyter kernel from
your Windows browser that way.

On Monday, 8 March 2021 at 14:22:57 UTC dim...@gmail.com wrote:

On Mon, Mar 8, 2021 at 7:28 AM 'Daniel Volinski' via
sage-support
 wrote:
>
> Hi Dima,
>
> This is a page in the Cadabra site: Cadabra: use with Jupyter
>
> I just want to calculate some General relativity stuff
using Cadabra on a Jupyter Notebook as shown in their picture.

I'm able to build Cadabra2 in SageMath environment (at sage
--buildsh
prompt, that is)
on Debian Linux. This way it should be possible to use it
with Sage's
Jupyter notebook.

But on Windows, well, probably much harder...


>
> Thanks,
>
> Daniel Volinski
>
>
>
>
> En domingo, 7 de marzo de 2021 11:54:22 GMT+2, Dima
Pasechnik  escribió:
>
>
> I must say I don't understand what you mean by "use
Cadabra2 on a Jupyter Notebook", is it even possible?
> The following does not read like it's supported by Cadabra2:
>
https://github.com/kpeeters/cadabra2/tree/master/frontend/web

>
> They have
https://github.com/kpeeters/cadabra2/tree/master/jupyterkernel

> but it's not clear how to use it, whether it's working at
all etc.
> Do they have a working Jupyter kernel, which can be used in
a system Jupyter notebook?
>
> In principle, Sage can use system Jupyter notebook
(although whether it's try on Windows, I don't know)
> So if this is all working there should be no issue.
>
>
> On Sunday, March 7, 2021 at 9:10:54 AM UTC Daniel Volinski
wrote:
>
> Hi Dima,
>
> I asked the same question on the Cadabra support site, they
don't know either.
>
> Daniel Volinski
>
>
>
> En sábado, 6 de marzo de 2021 16:57:24 GMT+2, 'Daniel
Volinski' via sage-support 
escribió:
>
>
> Thank you Dima.
>
> Daniel Volinski
>
>
> En sábado, 6 de marzo de 2021 12:30:27 GMT+2, Dima
Pasechnik  escribió:
>
>
>
>
> On Sat, 6 Mar 2021, 10:23 'Daniel Volinski' via
sage-support,  wrote:
>
> Hi Dima,
>
> Thank you for your reply.
>
> I already have a Python3 installation provided by the
SageMath installation, I can run Python3 programs without
adding anything else.
> I already have a LaTeX installation (MikTex) that I use
with other programs. How do I proceed from here?
>
>
> We don't know how to install Cadabra2.
>
> IMHO this is a question for Cadabra2 people: "I have a
Python3 

Re: [sage-support] error in viewer='threejs'

2021-06-18 Thread Henri Girard
I have the same configuration as yours and I get a box cube with red 
sphere, I don't know if it's native working because I use npm in python3 
(sage) to install it


https://threejs.org/docs/#manual/en/introduction/Installation


On 18/06/2021 21:14, Rafel Amer Ramon wrote:

p1 = sphere(color='red', opacity=.5)
show(p1,axes=True,viewer='threejs')


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/7c49802d-fe72-f8e8-c0a3-af4429b39cd4%40gmail.com.


Re: [sage-support] error in viewer='threejs'

2021-06-18 Thread Henri Girard

I use this one

https://pythreejs.readthedocs.io/en/stable/


On 18/06/2021 21:14, Rafel Amer Ramon wrote:

p1 = sphere(color='red', opacity=.5)
show(p1,axes=True,viewer='threejs')


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/4d247248-ddf7-e9c7-cdbf-d14e05e8d3a6%40gmail.com.


Re: [sage-support] sage textbook goes GitHub; don't confuse it with the good one ;-)

2021-06-19 Thread Henri Girard

Wonderfull, i was waiting for this wonder :)

thanks

Henri

On 20/06/2021 02:58, john_perry_usm wrote:

Greetings

Five years ago, a couple of colleagues and I began writing a 
Sage-based textbook to serve a class we teach at our institution. When 
we announced it to Sage users, we received an encouraging reception 
and excellent feedback. If that was meant to discourage us, it failed 
completely. ;-)


We've updated it pretty regularly since then, correcting a lot of 
errors and adding a few new features, even updating to Python3. The 
sources have been available online for a while, but after half a 
decade it seems time to get a little less behind the times than we 
have been and move the entire project to GitHub. So, here you go:


   https://github.com/johnperry-math/mew_cats

A new PDF version is included as a "Release", so you don't have to 
clone it, let alone build it. (Look for "Releases" on the right.) The 
license is CC-BY-SA, so feel free to clone it, fork it, commit it, 
push it, and any other unethical-sounding VCS operation that suits 
your fancy. You can even introduce errors that we haven't already 
included!


To honor the occasion we changed the title. Two of the authors are 
very pleased with the acronym.


We hope people find this useful for teaching, learning, and using 
Sage. People besides us, that is. :-)


regards
john perry
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/90813dd2-bcc6-48f5-975f-207168dace1fn%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/e1d06eef-64b3-6611-b433-f8b2d721f602%40gmail.com.


Re: [sage-support] sage textbook goes GitHub; don't confuse it with the good one ;-)

2021-06-19 Thread Henri Girard

For french : https://smallpdf.com/fr/blog/traduire-un-pdf

It's not as good as the nativ one but still not to bad

Henri

On 20/06/2021 02:58, john_perry_usm wrote:

Greetings

Five years ago, a couple of colleagues and I began writing a 
Sage-based textbook to serve a class we teach at our institution. When 
we announced it to Sage users, we received an encouraging reception 
and excellent feedback. If that was meant to discourage us, it failed 
completely. ;-)


We've updated it pretty regularly since then, correcting a lot of 
errors and adding a few new features, even updating to Python3. The 
sources have been available online for a while, but after half a 
decade it seems time to get a little less behind the times than we 
have been and move the entire project to GitHub. So, here you go:


   https://github.com/johnperry-math/mew_cats

A new PDF version is included as a "Release", so you don't have to 
clone it, let alone build it. (Look for "Releases" on the right.) The 
license is CC-BY-SA, so feel free to clone it, fork it, commit it, 
push it, and any other unethical-sounding VCS operation that suits 
your fancy. You can even introduce errors that we haven't already 
included!


To honor the occasion we changed the title. Two of the authors are 
very pleased with the acronym.


We hope people find this useful for teaching, learning, and using 
Sage. People besides us, that is. :-)


regards
john perry
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/90813dd2-bcc6-48f5-975f-207168dace1fn%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/2f02ff9a-71e8-733a-774a-c7deaf1bea6a%40gmail.com.


Re: [sage-support] Re: sage textbook goes GitHub; don't confuse it with the good one ;-)

2021-06-21 Thread Henri Girard

Strange ? I never heard about this github before ?

thanks

Henri

On 21/06/2021 20:31, William Stein wrote:



On Mon, Jun 21, 2021 at 10:08 AM john_perry_usm > wrote:


Hello!

> Is this also published on CoCalc?

Not at the present time. I do mean to talk to someone about it.


Just make a PR to

https://github.com/sagemathinc/cocalc-examples 



and we'll happily host a copy.  This makes it so with a click, people 
can quickly get a copy of the document...



> Why do you prefer the use of Sage Worksheets over Jupyter Notebook?

I'm not entirely clear on when "Sage Worksheets" became Jupyter
notebooks. I think, when we started 5 years ago, that we weren't
aware of the switch; I certainly wasn't. I personally haven't
looked enough into the details and/or differences to write
intelligently about them.


Sage worksheets = a way of using Sage in Cocalc *ONLY* that involves a 
single codemirror editor document, and a really powerful way to easily 
define %mode's. It's very tightly integrated with Sage.   It's also 
written in a pretty old style (using a lot of html and jquery), and I 
plan to rewrite it soon, since it's one of the only things left in 
CoCalc that isn't written in Typescript/React.  Sage worksheets are 
implemented entirely separately from the Jupyter stack, not even using 
the Jupyter kernel for Sage (instead, they have their own backend 
server process, which uses fork each time  you make a new connection, 
for faster startup).  They do have a way to easily create any number 
of connections to different Jupyter kernels, and use them all in the 
same worksheet.   I wrote Sage worksheets mainly 2012-2014, and have 
maintained them ever since, because they are pretty popular on CoCalc, 
e.g., they just use a normal single document editor interface, rather 
than a "weird" modal interface with many little editors like Jupyter 
notebooks, and some people find the Sage worksheet approach more natural.
One nuisance of Sage worksheets is that the exact version of Sage 
isn't specified anywhere in the file format -- it just uses whatever 
"sage" is in your path. Jupyter is better in this regard.


Jupyter notebooks = of course we all know what they are.

I'm personally a huge fan of both, but they are very different.    I 
hope I can unify the two approaches sometime soon, so that there's a 
mode for using any Jupyter notebook that looks like a Sage 
worksheet... and so the custom Sage server mentioned above is just a 
different Jupyter kernel (maybe called "cocalc-sage").




john perry

On Sunday, June 20, 2021 at 1:15:28 PM UTC-5 ingo...@gmail.com
 wrote:

That looks great and I am looking forward to reading it more
in detail. Just two quick questions to get started.
Is this also published on CoCalc?
Why do you prefer the use of Sage Worksheets over Jupyter
Notebook?
Best wishes
Ingo
john_perry_usm schrieb am Sonntag, 20. Juni 2021 um 02:58:57
UTC+2:

Greetings

Five years ago, a couple of colleagues and I began writing
a Sage-based textbook to serve a class we teach at our
institution. When we announced it to Sage users, we
received an encouraging reception and excellent feedback.
If that was meant to discourage us, it failed completely. ;-)

We've updated it pretty regularly since then, correcting a
lot of errors and adding a few new features, even updating
to Python3. The sources have been available online for a
while, but after half a decade it seems time to get a
little less behind the times than we have been and move
the entire project to GitHub. So, here you go:

https://github.com/johnperry-math/mew_cats


A new PDF version is included as a "Release", so you don't
have to clone it, let alone build it. (Look for "Releases"
on the right.) The license is CC-BY-SA, so feel free to
clone it, fork it, commit it, push it, and any other
unethical-sounding VCS operation that suits your fancy.
You can even introduce errors that we haven't already
included!

To honor the occasion we changed the title. Two of the
authors are very pleased with the acronym.

We hope people find this useful for teaching, learning,
and using Sage. People besides us, that is. :-)

regards
john perry

-- 
You received this message because you are subscribed to the Google

Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support+unsubscr...@googlegroups.com
 

Re: [sage-support] Re: sage textbook goes GitHub; don't confuse it with the good one ;-)

2021-06-21 Thread Henri Girard

https://github.com/aishenri/sagelechat/blob/main/saglechat.pdf

google translation, it has something funny !

On 21/06/2021 20:52, Henri Girard wrote:


Strange ? I never heard about this github before ?

thanks

Henri

On 21/06/2021 20:31, William Stein wrote:



On Mon, Jun 21, 2021 at 10:08 AM john_perry_usm <mailto:john.pe...@usm.edu>> wrote:


Hello!

> Is this also published on CoCalc?

Not at the present time. I do mean to talk to someone about it.


Just make a PR to

https://github.com/sagemathinc/cocalc-examples 
<https://github.com/sagemathinc/cocalc-examples>


and we'll happily host a copy.  This makes it so with a click, people 
can quickly get a copy of the document...



> Why do you prefer the use of Sage Worksheets over Jupyter Notebook?

I'm not entirely clear on when "Sage Worksheets" became Jupyter
notebooks. I think, when we started 5 years ago, that we weren't
aware of the switch; I certainly wasn't. I personally haven't
looked enough into the details and/or differences to write
intelligently about them.


Sage worksheets = a way of using Sage in Cocalc *ONLY* that involves 
a single codemirror editor document, and a really powerful way to 
easily define %mode's. It's very tightly integrated with Sage.   It's 
also written in a pretty old style (using a lot of html and jquery), 
and I plan to rewrite it soon, since it's one of the only things left 
in CoCalc that isn't written in Typescript/React.  Sage worksheets 
are implemented entirely separately from the Jupyter stack, not even 
using the Jupyter kernel for Sage (instead, they have their own 
backend server process, which uses fork each time  you make a new 
connection, for faster startup).  They do have a way to easily create 
any number of connections to different Jupyter kernels, and use them 
all in the same worksheet.   I wrote Sage worksheets mainly 
2012-2014, and have maintained them ever since, because they are 
pretty popular on CoCalc, e.g., they just use a normal single 
document editor interface, rather than a "weird" modal interface with 
many little editors like Jupyter notebooks, and some people find the 
Sage worksheet approach more natural.
One nuisance of Sage worksheets is that the exact version of Sage 
isn't specified anywhere in the file format -- it just uses whatever 
"sage" is in your path. Jupyter is better in this regard.


Jupyter notebooks = of course we all know what they are.

I'm personally a huge fan of both, but they are very different.    I 
hope I can unify the two approaches sometime soon, so that there's a 
mode for using any Jupyter notebook that looks like a Sage 
worksheet... and so the custom Sage server mentioned above is just a 
different Jupyter kernel (maybe called "cocalc-sage").




john perry

On Sunday, June 20, 2021 at 1:15:28 PM UTC-5 ingo...@gmail.com
<mailto:ingo...@gmail.com> wrote:

That looks great and I am looking forward to reading it more
in detail. Just two quick questions to get started.
Is this also published on CoCalc?
Why do you prefer the use of Sage Worksheets over Jupyter
Notebook?
Best wishes
Ingo
john_perry_usm schrieb am Sonntag, 20. Juni 2021 um 02:58:57
UTC+2:

Greetings

Five years ago, a couple of colleagues and I began
writing a Sage-based textbook to serve a class we teach
at our institution. When we announced it to Sage users,
we received an encouraging reception and excellent
feedback. If that was meant to discourage us, it failed
completely. ;-)

We've updated it pretty regularly since then, correcting
a lot of errors and adding a few new features, even
updating to Python3. The sources have been available
online for a while, but after half a decade it seems time
to get a little less behind the times than we have been
and move the entire project to GitHub. So, here you go:

https://github.com/johnperry-math/mew_cats
<https://github.com/johnperry-math/mew_cats>

A new PDF version is included as a "Release", so you
don't have to clone it, let alone build it. (Look for
"Releases" on the right.) The license is CC-BY-SA, so
feel free to clone it, fork it, commit it, push it, and
any other unethical-sounding VCS operation that suits
your fancy. You can even introduce errors that we haven't
already included!

To honor the occasion we changed the title. Two of the
authors are very pleased with the acronym.

We hope people find this useful for teaching, learning,
   

[sage-support] wslg and sage ?

2021-07-08 Thread Henri Girard

Hi,

I just discovered wsl2/wslg windows native X support. GitHub - 
microsoft/wslg : Activation du sous-système Windows pour Linux pour 
inclure la prise en charge des scénarios liés aux serveurs Wayland et X 



I was wondering if someone already tested it ?

And the must tried to run sagemath with it ?

Any info will be best ?

Henri



--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ab7634fc-5923-cd2c-2026-11cbd2fa5c4c%40gmail.com.


[sage-support] Re: wslg and sage ?

2021-07-08 Thread Henri Girard
I answer to myself works like on linux (ubuntu focal) I just installed 
sagemath and jupyter-notebook


for infos

Le 08/07/2021 à 15:48, Henri Girard a écrit :


Hi,

I just discovered wsl2/wslg windows native X support. GitHub - 
microsoft/wslg : Activation du sous-système Windows pour Linux pour 
inclure la prise en charge des scénarios liés aux serveurs Wayland et 
X <https://github.com/microsoft/wslg>


I was wondering if someone already tested it ?

And the must tried to run sagemath with it ?

Any info will be best ?

Henri





--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ab47d479-123e-2433-00ab-5fa1384ffc8c%40gmail.com.


[sage-support] import

2021-09-26 Thread Henri Girard

Hi,

Iq there a way to import function from a sage notebook to another notebook ?

I have long graphic one about 30 lines and I would like to show the 
graphic in another notebook, like with an attach method "show(g)" with 
import  and be able to add functions ?


Any help welcome

best

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/8d263aea-08c8-20b5-d412-b5db2bcc7ca0%40gmail.com.


Re: [sage-support] Re: (LaTeX/dot2tex) view posets with edge and vertex labels

2021-11-03 Thread Henri Girard

I didn't not understand your question, I am french.

But I use show(LatexExpr(r" c'est  \ en \ français") ) for the text

show(LatexExpr(r" \sqrt x^2") ) for maths and I obtain nice things

Le 03/11/2021 à 09:17, 'Martin R' via sage-support a écrit :

Sorry for answering my own question.

It seems that

sage: P = Poset([[1,2,3,4], [[1,2], [2,3], [1,4]]])
sage: e = {i: LatexExpr("q^%s" % i) for i in P}
sage: c = {(i,j): LatexExpr("%s^%s" % (i, j)) for i, j in 
P.cover_relations()}


sage: H = P.hasse_diagram()
sage: [H.set_edge_label(v1, v2, c[(v1, v2)]) for v1, v2 in 
P.cover_relations()]

sage: H.relabel({v: e[v] for v in P})
sage: H.set_latex_options(format="dot2tex", edge_labels=True)
sage: view(H)

works.
Martin R schrieb am Dienstag, 2. November 2021 um 19:37:34 UTC+1:

is it possible to display a poset with (LaTeX) labels on the
covering relations and (LaTeX) labels on the vertices?

For example:

sage: P = Poset([[1,2,3,4], [[1,2], [2,3], [1,4]]])
sage: e = {i: "$q^%s$" % i for i in P}
sage: c = {(i,j): "$%s^%s$" % (i, j) for i, j in P.cover_relations()}
sage: P.plot(element_labels=e, cover_labels=c)

This almost works.  Unfortunately, the layout is not the dot2tex
layout, which I need because my posets are large, and it displays
'None' instead of the edge label.

Martin

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/91981ecf-1172-4a75-8f4e-8189aa83502bn%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/69d4c584-6851-75ac-ad22-41cbe83dab36%40gmail.com.


[sage-support] gwsl2

2022-02-01 Thread Henri Girard
For those who want a running sagemath linux on windows 10/11 or amber20 
or any app not working on windows use gwls2 very easy to install 
(actually ubuntu 20.04 for me but I tried to upgrade to 22.04 (+1) and 
it works fine so I even have sage 9.4, I can't get any more for the 
moment on it !)


The detail help on microsoft help is suffisiant to install wsl2 and then 
get the gwsl2 on microsoft store with one click installation.


Sorry but I didn't know where posting this info for sage users

Best

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ee928fe1-c468-6997-d474-703a385018bc%40gmail.com.


Re: [sage-support] init_printing from sympy is no longer working in SageCell

2022-02-02 Thread Henri Girard

 I tried it in sage 9.2 nice printing.

But in sage I use show(LatexExpr("r \mu \epsilon))

μϵ

I am not sure that what you want (and naturaly first command in cell 
%display latex    in sage)


One can even format text in a beautifull latex

show(LatexExpr(r"This \ is \ \mu \ and \ \epsilon"))

Thisisμandϵ

best

 Best

Henri
Le 02/02/2022 à 18:38, Sean Fitzpatrick a écrit :
I'm teaching a linear algebra course where we use the Sympy Python 
package for a lot of the computations. This includes a PreTeXt 
textbook where there are Sage Cells throughout, with sample code 
supplied.


Until today (I think it was working yesterday), I've had no trouble 
running code like the following:


from sympy import Matrix, init_printing
init_printing()
A = Matrix([[1,2,3,4],[5,6,7,8],[9,0,1,2]])
display(A.rref())

The init_printing function from Sympy renders the output in MathJax 
rather than pretty-printed plain text, which is nice for teaching. I 
can run this with the language set to either Sage or Python. (the 
'display' command is only needed for Python, which is funny, because 
it is not needed in Jupyter with a Python kernel.)


Right now this code throws about 50 lines of error messages; the main 
error is a Type Error:


TypeError: Object of type  with value of '(a very, very 
long string that I won't reproduce here)' is not JSON serializable


Was there a change made today that would cause this error? Maybe in 
the Sympy library? If I remove the init_printing() line, everything 
works, except that there's no longer nice display for the output.


The reason for using Python syntax is that we also do labs in Jupyter 
notebooks. Our institution has a Jupyter hub with Python and R 
kernels, but no Sage kernel. (We do not have a CoCalc subscription.)


I know there is a Sage equivalent to init_printing (although I forget 
what it is) but that won't work on the Jupyter side.

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/0262ca41-4a74-467b-8f46-0af9ad6c4df1n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/15ade69b-2e09-c25f-60ab-e6b4407becaf%40gmail.com.


[sage-support] mathematica

2022-02-21 Thread Henri Girard

Hi,

I use mathematica engine with vscode on ubuntu22.04 after few tunings 
it's working but I can't get it working on sagemath, in fact I don't 
know how to do it !


Any body can help me with sage ?

best

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/26514da5-42d3-b899-120d-59a2a18a78a3%40gmail.com.


Re: [sage-support] mathematica

2022-02-21 Thread Henri Girard
|I am looking for the error, as I am on ubuntu 9.5 deb maybe it's not 
exactly like debian ?|


|I got a problem to find local I got .local ?|

|
|

|./sage -tp --optional=debian,pip,sage,sage_spkg,mathematica 
src/sage/interfaces/mathematica.py|


|= test session starts 
==

platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
rootdir: /home/pi
plugins: cov-3.0.0, mock-3.6.1, astropy-header-0.2.0, 
doctestplus-0.11.2, remotedata-0.3.3, cython-0.1.1, openfiles-0.5.0, 
arraydiff-0.5.0, hypothesis-6.36.0, filter-subpackage-0.1.1

collected 0 items

 no tests ran in 0.01s 
=

ERROR: file or directory not found: src/sage/interfaces/mathematica.py

|


||
||

Le 21/02/2022 à 10:30, Dima Pasechnik a écrit :

Please seehttps://trac.sagemath.org/ticket/33395
- we should document this, still.

On Mon, Feb 21, 2022 at 9:08 AM Henri Girard  wrote:

Hi,

I use mathematica engine with vscode on ubuntu22.04 after few tunings
it's working but I can't get it working on sagemath, in fact I don't
know how to do it !

Any body can help me with sage ?

best

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
tosage-support+unsubscr...@googlegroups.com.
To view this discussion on the web 
visithttps://groups.google.com/d/msgid/sage-support/26514da5-42d3-b899-120d-59a2a18a78a3%40gmail.com.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/4921f8de-89dc-221b-3552-eef17ca86f28%40gmail.com.


Re: [sage-support] Re: Basic Stats deprecated?

2022-02-26 Thread Henri Girard

Sorry : Effectively I thaught I send it to the sage-devel sage-support

Your welcome

Henri

Le 26/02/2022 à 16:57, William Stein a écrit :

Thank you.  However, did you mean to send this to sage-devel ? -- you
just sent it to me personally.


On Sat, Feb 26, 2022 at 12:19 AM Henri Girard  wrote:

Hi,

I use sage from the begining, I learned mathematic with it,what I found
wonderfull is one doesn't need any libs (numpy, scipy...etc), 2 tweeks
ago I found wolfram engine and after some difficulties I can use it
inside jupyter (not yet sage), though I prefer sage because I can do lot
of things (even not mathematic, for example yin yang taiji I called it
math&physic against metaphysic, geometry plane I could use geogebra but
doing it Iearned many things radian,degree ), and I don't speak about
the help by email (though sometimes my stupid question, because I am not
a mathematician) sage is becoming like said one on web : the swiss knife !

I call sage dao de qin I translate like sage path (voie sage), because
one can do everything with it !

Using wolfram engine, I noticed when one knows sage it becomes easier.
But I my opinion mathematica is made for users not for thinkers, not for
true researchers because everything is offered on a palette ! lol

I like sage because I can compile it, I tried all these years to buy a
better computer (every 5 years) to not spend days compiling. At the
moment my Rizen 16 cores with 16Go RAM, that's good.

Sorry for this email written in french/english but I can tell you carry
on this wonderfull soft !

Best regards

Henri

Le 26/02/2022 à 05:31, William Stein a écrit :

In fairness, "Mission: Creating a viable free open source alternative
to Magma, Maple, Mathematica and Matlab."

What do Maple and Mathematica do regarding having a median top level command?

Also, if you want to argue that users should explicitly import
everything... that's an interesting an valuable challenge to support
and your modularization
work Matthias is of course critical to that.  However, it doesn't at
all preclude the default "sage" environment still being a viable
alternative to Maple and Mathematica.

On Fri, Feb 25, 2022 at 12:51 PM Matthias Koeppe
 wrote:

If you consider numpy an obscure library, it may be that your syllabus needs 
updating


On Friday, February 25, 2022 at 10:52:19 AM UTC-8 mat...@gmail.com wrote:

Mean, median and mode are now deprecated. E.g.:


median([1,2,3])

2 :1: DeprecationWarning: sage.stats.basic_stats.median is deprecated; use 
numpy.median or numpy.nanmedian instead See https://trac.sagemath.org/29662 for 
details.

But shouldn't these basic functions have some default functionality? Is the 
intention really to make Sage users call basic functions from libraries. 
Students (mostly) don't know what numpy is and makes using mean, median and 
mode weirdly obscure - like calling combinatorics functions in Mathematica. For 
me (using Sage for classroom teaching) one attraction of Sage is that most 
basic things that a student would use have names that might be in their 
textbooks...

Will Calculus be deprecated too?

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/c7ec42b4-a966-47b6-a538-7bb943a50437n%40googlegroups.com.





--
William (http://wstein.org)


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/5d752f94-51f8-3f2d-3090-5cfed5b664bb%40gmail.com.


Re: [sage-support] Re: SageMath on Microsoft Windows

2022-02-27 Thread Henri Girard

Well... A little hacking if I dare say :)

Install wls2 with ubuntu 20.04 then install gwls2 with microsoft store 
verify it's working (it should) and then do-release-upgrade and it 
should install a kind of 22.04. I got it working with sagemath-9.4 (i 
don't know why it' not sage 9.5 as I have it working on a dual boot with 
ubuntu .


Why I do this ? because I have windows 11 and many softs like anaconda 
sage-math windows but yet I didn't success to install wolfram engine on 
windows but in gwls2 jupyter notebook mathematica works well only few 
backdraw but only cosmetic.


It's not too difficult but it needs patience because it can be tricky, 
but the result is good with mate-desktop I use. I even compiled amber20, 
sagemath but needs time.


Best

Henri

Le 27/02/2022 à 22:59, Fernando Gouvea a écrit :


I was trying to install SageMath using WSL, mostly to learn how it is 
done. Alas, the latest available Ubuntu distribution for WSL seems to 
be 20.04, which comes with SageMath 9.0. I have 9.2 running on 
Windows, so no advantage to that.


I did find Ubuntu 20.04 binaries for SageMath 9.4 in 
http://mirrors.mit.edu/sage/linux/64bit/index.html. I downloaded and 
unpacked without problems, at which time the instructions say to 
switch to the SageMath directory and type ./sage. That gives an error:


/usr/bin/env: ‘python’: No such file or directory
Error running the script 'relocate-once.py'.

Now what?

Fernando

On 2/27/2022 3:46 PM, Matthias Koeppe wrote:
+1 on adding info on how to install Linux distributions with 
up-to-date binary packages of Sage to our installation guide. See 
https://trac.sagemath.org/ticket/31485


(The updated installation guide, preview at 
https://6212659123a9467b3cb0cd07--sagemath-tobias.netlify.app/installation/index.html 
already covers WSL but does not mention specific distributions.)


On Sunday, February 27, 2022 at 10:11:40 AM UTC-8 fqgo...@colby.edu 
wrote:


I don’t see archlinux in the Microsoft store.

Fernando

On Sun, Feb 27, 2022 at 10:05 AM Dima Pasechnik
 wrote:



On Sun, 27 Feb 2022, 14:37 G. M.-S.,  wrote:


Thanks, Samuel.

I think it is a pity there is nothing more straightforward…

But you will tell me (to look for somebody) to do it.


some Linux distributions have pretty much up to date Sage
binary packages.

E.g. archlinux has Sage 9.5. Thus, having it installed as
WSL2 (cf
https://gist.github.com/ld100/3376435a4bb62ca0906b0cff9de4f94b)
 should be getting you Sage 9.5 quite quickly.



Guillermo

On Sun, 27 Feb 2022 at 15:28, slelievre
 wrote:

The Cygwin-based Sage-Windows installer has not been
released
for SageMath 9.4 or SageMath 9.5 yet.

To get the latest version of Sage running on Windows,
one option
is to activate Windows Subsystem for Linux (also
known as WSL),
select WSL2, and install any Linux distribution
there, then follow
the Linux installation guide.

-- 
You received this message because you are subscribed to

the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/CANnG188whX6fJTbj1qdPvB-rdeNVm3H_mNmpC3mohE%2B7tM9rMw%40mail.gmail.com

.

-- 
You received this message because you are subscribed to the

Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to sage-support...@googlegroups.com.

To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/CAAWYfq00MjiCDk9Dd8WHDc55%2Bc%3D84PFQLEmyN8VwaD2TiiEVcg%40mail.gmail.com

.

-- 
==

Fernando Q. Gouvea
Dept of Mathematics and Statistics http://www.colby.edu/~fqgouvea
Colby College
Mayflower Hill 5836
Waterville, ME 04901

A training in mathematics is a prerequisite today for work in almost
any scientific field, but even for those who are not going to become
scientists, it is essential because, if it is only through speech
that
we can understand what freedom means, only through mathematics
can we understand what necessity means.
  

Re: [sage-support] Re: mathematica_free error

2022-02-28 Thread Henri Girard
Jupyter notebook works with wolfram engine 13 on ubuntu (gwls2 and 
ubuntu22.04 i am using), but maybe it shouldn't be difficult to adapt it ?


I am not good enaugh for this but I think we are on a near way ?

Le 28/02/2022 à 17:52, Emmanuel Charpentier a écrit :



Le dimanche 20 février 2022 à 11:24:51 UTC+1, dim...@gmail.com a écrit :

On Sat, Feb 19, 2022 at 12:54 PM Emmanuel Charpentier
 wrote:
>
> I have had similar problems. Wolfram may have changed (again !)
something in their output format... Since I know zilch about HTML
mysteries and miseries, I can't offer anything but my warmest
condolences...

By the way, has anyone tried https://www.wolfram.com/engine/ ?
We can think of making an interface to it, as it's a free and locally
installable.


[ Sorry for the late answer : I moved (only a couple miles, bit that's 
still a quarter of a century of life...), and I managed to dig up my 
computer from the resulting mess only this morning... :-) ]


Yes, yes, yes : easy comparison to Wolfram's (Mathematica's) result 
may be important in various contexts (and may offer a solution where 
none of Sage's tools works, e. g. various primitive search problems).


A "nice" presentation could be, like our current Mathematica 
interface,  a standard package compilable without Wolfram Engine 
having to be present on the target machine, giving an informative 
error message if called on a machine without the engine, but giving 
back the expected result if present.


The documentation should include (a pointer to) instructions on how to 
install the Wolfram engine.


That could revive my log of untranslatable Mathematica results, for 
which I have some proposals (but didn't bother to formally file, since 
enhancing access to a non-free product may not be a priority...). If 
something gratis, not (too much) encumbered and not-too-hard to 
install  can  be obtained without too much hassle, that should become 
a priority.



Dima
>
> Le lundi 14 février 2022 à 17:17:20 UTC+1, rodrigos...@gmail.com
a écrit :
>>
>> Good afternoon,
>>
>> In this worksheet, the algorithm mathematica_free of integrate
returns the following error:
>>
>> Error in lines 2-2 Traceback (most recent call last): File
"/cocalc/lib/python3.9/site-packages/smc_sagews/sage_server.py",
line 1230, in execute exec( File "", line 1, in  File
"sage/symbolic/expression.pyx", line 13138, in
sage.symbolic.expression.Expression.integral
(build/cythonized/sage/symbolic/expression.cpp:95197) return
integral(self, *args, **kwds) File

"/ext/sage/9.5/local/var/lib/sage/venv-python3.9.9/lib/python3.9/site-packages/sage/symbolic/integration/integral.py",
line 1047, in integrate return integrator(expression, v, a, b)
File

"/ext/sage/9.5/local/var/lib/sage/venv-python3.9.9/lib/python3.9/site-packages/sage/symbolic/integration/external.py",
line 127, in mma_free_integrator all_outputs =
parse_moutput_from_json(json_page_data) File

"/ext/sage/9.5/local/var/lib/sage/venv-python3.9.9/lib/python3.9/site-packages/sage/interfaces/mathematica.py",
line 1235, in parse_moutput_from_json raise ValueError('json
object contains no pods') ValueError: json object contains no pods
>>
>> Why is this happening?
>
> --
> You received this message because you are subscribed to the
Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from
it, send an email to sage-support...@googlegroups.com.
> To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/06a0ded3-42e2-4e76-b2e1-db466b3c5fean%40googlegroups.com.


--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/df320e87-74c1-4555-8d80-2805e375bdb3n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/398606e0-4a8a-f2f4-c908-bcc1c915a856%40gmail.com.


[sage-support] Have seen that ?

2022-03-06 Thread Henri Girard

https://sage.informatik.hs-bremen.de/home/pub/247/

I often look in foreign sage site I found this one curious :

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/4cdcbef3-6856-cb42-d836-49f47d2ac156%40gmail.com.


Re: [sage-support] customization of sage docker

2022-03-28 Thread Henri Girard
I am not answering directly to your question, but why don't use wsl if 
you are on windows ?


As you don't say which OS you use I can't really say much ?


Le 27/03/2022 à 18:12, pong a écrit :
I am switching to running sage docker image since the latest binaries 
for linux is no longer available. But can I make any customization, 
say in init.sage survive the quitting of docker?

If yes, may I get some help on how?
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/57dfc20c-daa3-4bc3-bcdd-f9c076153869n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ab9c26b3-0af9-d58e-f2bc-e0de66181872%40gmail.com.


Re: [sage-support] Firefox not launching jupyter session properly

2022-03-28 Thread Henri Girard

https://github.com/jupyter/notebook/issues/1979

Maybe this issue ?

Le 28/03/2022 à 15:41, Dima Pasechnik a écrit :

On Mon, Mar 28, 2022 at 2:18 PM brett stevens  wrote:

I am running Ubuntu 21.10 on a Lenovo Thinkpad X1 Tablet.  I installed SageMath 
on my computer by cloning the git repository. I compiled sage using directions 
in README.md. The most recent version I compiled was SageMath 9.4. I use 
Firefox 98.0.2 (64-bit) as my browser.

When I run ```sage -n jupyter file.ipynb```

Such a way of opening a particular notebook is not supported, at least it
does not seem to be documented (in sage -n --help).

Needless so say, "sage -n" opens a page with the current directory
listed, and you can
then click on a particular notebook to open.




  A new tab opens in firefox with address ```file:///tmp/tmp9csp8qpp.html``` 
but Firefox reports


File not found

Firefox can’t find the file at
/tmp/tmp9csp8qpp.html.

 Check the file name for capitalization or other typing errors.
 Check to see if the file was moved, renamed or deleted.

However the file does exist.  ```ls -l /tmp/tmp9csp8qpp.html``` returns


-rw--- 1 brett brett 751 Mar 25 10:15 /tmp/tmp9csp8qpp.html

If I open the file in Firefox directly using ```Open File...``` from the File 
menu everything works fine.


When I run ```sage -n jupyter file.ipynb``` I get some other links in the 
terminal to use for opening the jupyter session in my browser:


 To access the notebook, open this file in a browser:
 
file:///home/brett/.local/share/jupyter/runtime/nbserver-101452-open.html
 Or copy and paste one of these URLs:
 
http://hamm:/?token=cb4036e78faba0faa3bd0d50b73cc7a94e302196c474d878
  or 
http://127.0.0.1:/?token=cb4036e78faba0faa3bd0d50b73cc7a94e302196c474d878

If I open the first of these, Firefox reports


Access to the file was denied

The file at
/home/brett/.local/share/jupyter/runtime/nbserver-101452-open.html
is not readable.

 It may have been removed, moved, or file permissions may be preventing 
access.

However I have both read and write privileges for this file: ```ls -l 
/home/brett/.local/share/jupyter/runtime/nbserver-101452-open.html``` returns


-rw-rw-r-- 1 brett brett 667 Mar 25 10:15 
/home/brett/.local/share/jupyter/runtime/nbserver-101452-open.html

I tried changing the privileges to include ```x``` but Firefox still will not 
open it.

Like above if I open the file in Firefox using ```Open File...``` from the File 
menu everything works fine.

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/5bd21310-f8d5-48f8-90bd-d2732922d6bcn%40googlegroups.com.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/1454b01d-2c56-3d2c-94b0-92e4f230c689%40gmail.com.


Re: [sage-support] Firefox not launching jupyter session properly

2022-03-29 Thread Henri Girard

thanks you :)

Le 29/03/2022 à 19:23, Dima Pasechnik a écrit :

I've proposed a fix for this on https://trac.sagemath.org/ticket/33592
(there is no reason to use temp files, IMHO)
so we add c.NotebookApp.use_redirect_file=False to the corresponing config file.

Needs review.


On Tue, Mar 29, 2022 at 4:46 PM brett stevens  wrote:

I spoke to soon. :-)  My solution makes the Ubuntu Jupyter work OK  but  
```sage -n``` does not work.  For SageMath's jupyter I needed to make the same 
change in ```$SAGE_ROOT/local/etc/jupyter/jupyter_notebook_config.py```


On Tuesday, March 29, 2022 at 11:02:52 AM UTC-4 brett stevens wrote:

@dim  I installed Ubuntu's jupyter and I am getting the same problem there so I 
agree this is not a SageMath problem.  I will post my question to an 
appropriate forum.  If I find a solution, I will report the fix here.
@HG, I tried setting ```c.NotebookApp.open_browser = True`` but it did not fix 
the problem.  But thank you for the reference to that thread as it still may be 
related.
On Tuesday, March 29, 2022 at 8:25:35 AM UTC-4 dim...@gmail.com wrote:

On Tue, Mar 29, 2022 at 6:12 AM brett stevens  wrote:

When I run ```sage -n``` the same thing happens: The page that opens in Firefox 
says

Access to the file was denied
The file at /home/brett/.local/share/jupyter/runtime/nbserver-35966-open.html 
is not readable.
It may have been removed, moved, or file permissions may be preventing access.

Does system-wide jupyter (apt-get install jupyter) package work for
your Firefox?
If it doesn't, then the problem has little to do with Sage.
(and probably you'd need to fiddle with your Firefox security settings)

If it does, you can use it to run Sage notebooks
- you'd need to run, in Sage'd top directory,

jupyter kernelspec install
local/var/lib/sage/venv-python3.9/share/jupyter/kernels/sagemath

(assuming you have python3.9 (else you'd need to adjust the path accordingly)






On Monday, March 28, 2022 at 9:41:34 AM UTC-4 dim...@gmail.com wrote:

On Mon, Mar 28, 2022 at 2:18 PM brett stevens  wrote:

I am running Ubuntu 21.10 on a Lenovo Thinkpad X1 Tablet. I installed SageMath 
on my computer by cloning the git repository. I compiled sage using directions 
in README.md. The most recent version I compiled was SageMath 9.4. I use 
Firefox 98.0.2 (64-bit) as my browser.

When I run ```sage -n jupyter file.ipynb```

Such a way of opening a particular notebook is not supported, at least it
does not seem to be documented (in sage -n --help).

Needless so say, "sage -n" opens a page with the current directory
listed, and you can
then click on a particular notebook to open.




A new tab opens in firefox with address ```file:///tmp/tmp9csp8qpp.html``` but 
Firefox reports


File not found

Firefox can’t find the file at
/tmp/tmp9csp8qpp.html.

Check the file name for capitalization or other typing errors.
Check to see if the file was moved, renamed or deleted.

However the file does exist. ```ls -l /tmp/tmp9csp8qpp.html``` returns


-rw--- 1 brett brett 751 Mar 25 10:15 /tmp/tmp9csp8qpp.html

If I open the file in Firefox directly using ```Open File...``` from the File 
menu everything works fine.


When I run ```sage -n jupyter file.ipynb``` I get some other links in the 
terminal to use for opening the jupyter session in my browser:


To access the notebook, open this file in a browser:
file:///home/brett/.local/share/jupyter/runtime/nbserver-101452-open.html
Or copy and paste one of these URLs:
http://hamm:/?token=cb4036e78faba0faa3bd0d50b73cc7a94e302196c474d878
or http://127.0.0.1:/?token=cb4036e78faba0faa3bd0d50b73cc7a94e302196c474d878

If I open the first of these, Firefox reports


Access to the file was denied

The file at
/home/brett/.local/share/jupyter/runtime/nbserver-101452-open.html
is not readable.

It may have been removed, moved, or file permissions may be preventing access.

However I have both read and write privileges for this file: ```ls -l 
/home/brett/.local/share/jupyter/runtime/nbserver-101452-open.html``` returns


-rw-rw-r-- 1 brett brett 667 Mar 25 10:15 
/home/brett/.local/share/jupyter/runtime/nbserver-101452-open.html

I tried changing the privileges to include ```x``` but Firefox still will not 
open it.

Like above if I open the file in Firefox using ```Open File...``` from the File 
menu everything works fine.

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/5bd21310-f8d5-48f8-90bd-d2732922d6bcn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.

Re: [sage-support] Re: Crystals won't view in jupiter notebook

2022-06-02 Thread Henri Girard
Some time ago, on the list they said it's better to keep to sage-9.2, at 
least I changed 9.3 to 9.2 because latex didn't work.


Le 02/06/2022 à 14:08, Eric Gourgoulhon a écrit :
I got the same error from the console of Sage 9.7.beta1 running on 
Ubuntu 20.04.

So it is not specific to Sage 9.3, nor to Windows...



Le mercredi 1 juin 2022 à 23:00:05 UTC+2, dbis...@gmail.com a écrit :

I have installed Sagemath 9.3 on my windows 10 computer and have
run the following code:
view(crystals.Tableaux("A3",shape=[2,1]))

I end up getting this long error:

An error occurred. This is pdfTeX, Version 3.141592653-2.6-1.40.24
(MiKTeX 22.3) (preloaded format=pdflatex 2022.6.1) 1 JUN 2022
21:54 entering extended mode restricted \write18 enabled. %&-line
parsing enabled. **\nonstopmode \input{sage.tex} (sage.tex
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/base\article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document
class
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/base\size10.clo
File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size
option) ) \c@part=\count185 \c@section=\count186
\c@subsection=\count187 \c@subsubsection=\count188
\c@paragraph=\count189 \c@subparagraph=\count190
\c@figure=\count191 \c@table=\count192 \abovecaptionskip=\skip47
\belowcaptionskip=\skip48 \bibindent=\dimen138 )
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsmath.sty
Package: amsmath 2021/10/15 v2.17l AMS math features
\@mathmargin=\skip49 For additional information on amsmath, use
the `?' option.
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amstext.sty
Package: amstext 2021/08/26 v2.01 AMS text
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
\@emptytoks=\toks16 \ex@=\dimen139 ))
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols \pmbraise@=\dimen140
)
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsopn.sty
Package: amsopn 2021/08/26 v2.02 operator names )
\inf@bad=\count193 LaTeX Info: Redefining \frac on input line 234.
\uproot@=\count194 \leftroot@=\count195 LaTeX Info: Redefining
\overline on input line 399. \classnum@=\count196
\DOTSCASE@=\count197 LaTeX Info: Redefining \ldots on input line
496. LaTeX Info: Redefining \dots on input line 499. LaTeX Info:
Redefining \cdots on input line 620. \Mathstrutbox@=\box50
\strutbox@=\box51 \big@size=\dimen141 LaTeX Font Info: Redeclaring
font encoding OML on input line 743. LaTeX Font Info: Redeclaring
font encoding OMS on input line 744. \macc@depth=\count198
\c@MaxMatrixCols=\count199 \dotsspace@=\muskip16
\c@parentequation=\count266 \dspbrk@lvl=\count267
\tag@help=\toks17 \row@=\count268 \column@=\count269
\maxfields@=\count270 \andhelp@=\toks18 \eqnshift@=\dimen142
\alignsep@=\dimen143 \tagshift@=\dimen144 \tagwidth@=\dimen145
\totwidth@=\dimen146 \lineht@=\dimen147 \@envbody=\toks19
\multlinegap=\skip50 \multlinetaggap=\skip51
\mathdisplay@stack=\toks20 LaTeX Info: Redefining \[ on input line
2938. LaTeX Info: Redefining \] on input line 2939. )
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/amsfonts\amssymb.sty
Package: amssymb 2013/01/14 v3.01 AMS font symbols

(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/amsfonts\amsfonts.sty
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
\symAMSa=\mathgroup4 \symAMSb=\mathgroup5 LaTeX Font Info:
Redeclaring math symbol \hbar on input line 98. LaTeX Font Info:
Overwriting math alphabet `\mathfrak' in version `bold' (Font)
U/euf/m/n --> U/euf/b/n on input line 106. ))
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/graphics\graphicx.st
 y Package: graphicx 2021/09/16 v1.2d Enhanced
LaTeX Graphics (DPC,SPQR)
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/graphics\keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks21 )

(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/graphics\graphics.sty
Package: graphics 2021/03/04 v1.4d Standard LaTeX Graphics
(DPC,SPQR)
(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/graphics\trig.sty
Package: trig 2021/08/11 v1.11 sin cos tan (DPC) )

(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/graphics-cfg\graphics.c
fg File: graphics.cfg 2016/06/04 v1.11 sample graphics
configuration ) Package graphics Info: Driver file: pdftex.def on
input line 107.

(C:\Users\dbisa\AppData\Local\Programs\MiKTeX\tex/latex/graphics-def\pdftex.def
File: pdftex.def 2020/10/05 v1.2a Graphics/color driver for pdftex
)) \Gin@req@height=\dimen148 \Gin@req@width=\dimen149 )

(C

Re: [sage-support] Availability of sage 9.6 through conda/mamba?

2022-07-12 Thread Henri Girard

Is the conda sagemath working on windows ?


Le 12/07/2022 à 11:21, Julian Rüth a écrit :

Hi Joseph,

thanks for the notification. We had simply forgotten to update the sage
package. We are now in the process of providing the sage 9.6 package for
conda-forge at https://github.com/conda-forge/sage-feedstock/pull/77.

* Joseph Nasser  [2022-07-11 11:54:04 -0700]:

Is it possible to install sage 9.6 through conda? If so, how?

In the meantime, you can install a (hopefully mostly functional)
SageMath 9.6 by installing sagelib 9.6 into a sage 9.5 environment,
e.g.,

mamba create -n sage96 python=3.10
conda activate sage96
mamba install --only-deps sage=9.5
mamba install sagelib=9.6

You might have to replace mamba with conda if you don't have mamba
installed.


julian



--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/b7340679-0915-6e33-2784-db961a345c83%40gmail.com.


Re: [sage-support] About binaries.

2022-10-09 Thread Henri Girard
No, sagemath  version in ubuntu is 9.5.4 (probably in kinetic as I 
always use dev version)


Le 09/10/2022 à 11:04, Topaze a écrit :

OK, I didn't know this tool, thank you.

Le samedi 8 octobre 2022 à 13:24:02 UTC+2, dim...@gmail.com a écrit :



On Sat, 8 Oct 2022, 12:09 Topaze,  wrote:

Hello.

Are there any plans to provide binaries again (especially for
Debian)? The latest version is 9.4 at the moment.

https://www-ftp.lip6.fr/pub/math/sagemath/linux/64bit/index.html


no. Up to date binaries for Linux can be obtained via conda-forge

https://doc.sagemath.org/html/en/installation/index.html#linux

We also hope that Debian updates its own sagemath package.

HTH
Dima






Thank you.
-- 
You received this message because you are subscribed to the

Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/4021892c-f87c-4120-a2de-49346ffa11f6n%40googlegroups.com

.

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/b73327bb-acc1-4b3b-ad6e-fa8651b54150n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/3201d5ac-2406-e4b7-0b0d-0a738ac7beed%40gmail.com.


Re: [sage-support] About binaries.

2022-10-09 Thread Henri Girard
I forget to say : I use it too in wsl2 where I installed ubuntu 
20.04+kali (repos), because kali has kex (xserver) in deb package, then 
I can use dualboot ubuntu directly in wsl2 or kali/ubuntu which has 
sagemath-9.5


Le 09/10/2022 à 11:10, Henri Girard a écrit :


No, sagemath  version in ubuntu is 9.5.4 (probably in kinetic as I 
always use dev version)


Le 09/10/2022 à 11:04, Topaze a écrit :

OK, I didn't know this tool, thank you.

Le samedi 8 octobre 2022 à 13:24:02 UTC+2, dim...@gmail.com a écrit :



On Sat, 8 Oct 2022, 12:09 Topaze,  wrote:

Hello.

Are there any plans to provide binaries again (especially for
Debian)? The latest version is 9.4 at the moment.

https://www-ftp.lip6.fr/pub/math/sagemath/linux/64bit/index.html


no. Up to date binaries for Linux can be obtained via conda-forge

https://doc.sagemath.org/html/en/installation/index.html#linux

We also hope that Debian updates its own sagemath package.

HTH
Dima






Thank you.
-- 
You received this message because you are subscribed to the

Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/4021892c-f87c-4120-a2de-49346ffa11f6n%40googlegroups.com

<https://groups.google.com/d/msgid/sage-support/4021892c-f87c-4120-a2de-49346ffa11f6n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, 
send an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/b73327bb-acc1-4b3b-ad6e-fa8651b54150n%40googlegroups.com 
<https://groups.google.com/d/msgid/sage-support/b73327bb-acc1-4b3b-ad6e-fa8651b54150n%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/609fccbd-ba85-9f20-59e6-168c27a58d9b%40gmail.com.


Re: [sage-support] Re: WSL2 installation sage-ipython can't find packages

2022-10-17 Thread Henri Girard

wsl2 in ubuntu  22.04 has 9.5.4.1 sagemath

Le 17/10/2022 à 23:00, Matthias Koeppe a écrit :

Details please - what is broken

On Saturday, October 15, 2022 at 9:13:06 PM UTC-7 florian...@gmail.com 
wrote:


This pertains to installation of sage-9.7.tar.gz under WSL2. I've
found it necessary to run

cp -r $HOME/sage/sage-9.7/src/sage/ext_data/ $HOME/sage/local/lib/sage

in order for various packages to pick up code in ext_data. I'm
compiling from source. I prefer
to configure sage to compile as much as possible and to rely on
ubuntu/debian packages
as little as possible.

On Friday, October 14, 2022 at 1:56:05 PM UTC-4 dim...@gmail.com
wrote:

I frankly don't understand Debian/Ubuntu packaging of
SageMath. E.g. Sage 9.0 was never tested with Python 3.9, and
their current version of cysignals.

Surely they are trying to backport our changes, but this is
quite error-prone.

Please use conda, or build from source, or use  Linux distro
with much more up to date Sage, e.g.
archlinux or Gentoo.


HTH
Dima




On Fri, 14 Oct 2022, 18:25 Matthias Koeppe,
 wrote:

Report Ubuntu packaging bugs to Ubuntu



On Wednesday, October 12, 2022 at 10:17:31 PM UTC-7
kun.j...@gmail.com wrote:

Hi all,

I'm trying to run sage on WSL2 (Ubuntu focal 20.04.5
LTS), and after a fresh install (sadly only version
9.0), running `sage` gives the following error.

ModuleNotFoundError: No module named 'sage.cpython.string'

I happen to know that the packages are installed
in /usr/lib/python3/dist-packages/, and
sage/cpython/string.pyx is in there.

What's particularly strange to me is that sage
/can/ find `sage.misc.banner` (which is in the same
dist-packages location). Meanwhile, I can run `sage
-python` and inspect `sys.path` manually (it has the
right dist-packages path in it), but importing
sage.all in that context fails with
"ModuleNotFoundError: No module named
'cysignals.signals'" and similar with other imports.

➜  ~ ls -l */usr/lib/python3/dist-packages/sage*
.rw-r--r-- 2.3k root  1 Jan  2020 __init__.py
drwxr-xr-x    - root 12 Oct 20:34 __pycache__
drwxr-xr-x    - root 12 Oct 20:34 algebras
.rw-r--r--  12k root  8 Feb  2020 all.py
<...snipped...>
➜  ~ sage -python
Python 3.9.14 (main, Sep  7 2022, 23:43:29)
[GCC 9.4.0] on linux
>>> import sys
>>> print(sys.path)
['', '/usr/lib/python39.zip', '/usr/lib/python3.9',
'/usr/lib/python3.9/lib-dynload',
'/home/j2kun/.local/lib/python3.9/site-packages',
'/usr/local/lib/python3.9/dist-packages',
*'/usr/lib/python3/dist-packages'*]
>>> import sage.all
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/sage/all.py",
line 77, in 
    from cysignals.signals import (AlarmInterrupt,
SignalError,
  File
"/usr/lib/python3/dist-packages/cysignals/__init__.py",
line 1, in 
    from .signals import AlarmInterrupt, SignalError,
init_cysignals  # noqa
ModuleNotFoundError: No module named
'cysignals.signals'/(jkun's note: it's there
in// /usr/lib/python3/dist-packages/cysignals/)/

I understand the recommendation is to use conda or
build from source to get a version > 9.2, but is there
a quick fix I can do to link the sage-python to these
libraries? Maybe an existing trac issue I can read
through workarounds? The reason I ask is because I'm
working on a library that uses sage and it's a bit of
a pain to fire up docker (and worse, the sagemath
docker image had known issues (only just now seeing

that a new docker image got pushed; still, working in
docker is a bit inconvenient))

Any ideas? Further steps for investigation?

-- 
You received this message because you are subscribed to

the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to sage-support...@googlegroups.com.
To

Re: [sage-support] Re: Sage 9.5 fails to start just after an installation

2022-11-29 Thread Henri Girard
Since ubuntu 22.04, there is  bug in jupyter python/sage apparently not 
disturbing people because i hardly found a work around. When starting 
sage or jupyter we have this problem, the file is not found. I can't 
remenber what the expression I put in the icon to work . I found in google.


Sorry

Le 29/11/2022 à 22:14, Eric Gourgoulhon a écrit :

Maybe there is something wrong in the SageMath package for your system.
Since your system is based on Ubuntu, I would advise to build SageMath 
from sources by following these lines:

https://sagemanifolds.obspm.fr/install_ubuntu.html
It's just a few lines to copy and paste in a terminal. The benefit is 
that it will provide you with the latest version of Sage (9.7).


Best wishes,

Eric.


Le jeudi 24 novembre 2022 à 14:33:20 UTC+1, m.ko...@gmail.com a écrit :

I have operating system Linux Lite 6.2 that is based on Ubuntu. I
installed Sage from windows package manager Synaptic that is
available through Xfce menu. When I write into terminal prompt the
command sage, Sage starts with info
SageMath version 9.5, Release Date: 2022-01-30           │
│ Using Python 3.10.6. Type "help()" for help.

But suddenly follows some Python warnings, like
/usr/bin/python3(+0x23d9fd)[0x55b08278a9fd]
/usr/bin/python3(+0x15cdc9)[0x55b0826a9dc9]
/usr/bin/python3(_PyEval_EvalFrameDefault+0x289f)[0x55b08269484f]
/usr/bin/python3(_PyFunction_Vectorcall+0x7c)[0x55b0826a9b6c]

Plenty of similar staff and Sage start crashes with text:
#248 0x7fda0c267dc0 in __libc_start_main_impl () at
./csu/../csu/libc-start.c:392
#249 0x55b082777a90 in _start ()

[Inferior 1 (process 3907) detached]
30    ../sysdeps/unix/sysv/linux/wait4.c: Adresár alebo súbor
neexistuje.
Saved trace to /home/michal/.sage/crash_logs/crash_ikxir8ce.log

Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.

I use Slovak localization. "Adresár alebo súbor neexistuje." could
be translated as "No file or folder." or as "File or directory
does not exist.".
I do not know where the problem is and what to do to make sage
working.

I am sending crash_ikxir8ce.log file as an attachment. And I am
adding a print screen of  Synaptic package manager choices for Sage

Many thanks for help.

Best regards
Michal Kopčok (read as Kopchok)

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/01ca88e9-c56b-4b68-bd86-b8f0d6a7fc1an%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/3e47215c-aba0-23cf-66f5-852e432d476f%40gmail.com.


Re: [sage-support] Re: Sage 9.5 fails to start just after an installation

2022-11-29 Thread Henri Girard

Here is the problem and the solution if I am not wrong on the diagnostic :

https://stackoverflow.com/questions/70753768/jupyter-notebook-access-to-the-file-was-denied

Le 29/11/2022 à 22:14, Eric Gourgoulhon a écrit :

Maybe there is something wrong in the SageMath package for your system.
Since your system is based on Ubuntu, I would advise to build SageMath 
from sources by following these lines:

https://sagemanifolds.obspm.fr/install_ubuntu.html
It's just a few lines to copy and paste in a terminal. The benefit is 
that it will provide you with the latest version of Sage (9.7).


Best wishes,

Eric.


Le jeudi 24 novembre 2022 à 14:33:20 UTC+1, m.ko...@gmail.com a écrit :

I have operating system Linux Lite 6.2 that is based on Ubuntu. I
installed Sage from windows package manager Synaptic that is
available through Xfce menu. When I write into terminal prompt the
command sage, Sage starts with info
SageMath version 9.5, Release Date: 2022-01-30           │
│ Using Python 3.10.6. Type "help()" for help.

But suddenly follows some Python warnings, like
/usr/bin/python3(+0x23d9fd)[0x55b08278a9fd]
/usr/bin/python3(+0x15cdc9)[0x55b0826a9dc9]
/usr/bin/python3(_PyEval_EvalFrameDefault+0x289f)[0x55b08269484f]
/usr/bin/python3(_PyFunction_Vectorcall+0x7c)[0x55b0826a9b6c]

Plenty of similar staff and Sage start crashes with text:
#248 0x7fda0c267dc0 in __libc_start_main_impl () at
./csu/../csu/libc-start.c:392
#249 0x55b082777a90 in _start ()

[Inferior 1 (process 3907) detached]
30    ../sysdeps/unix/sysv/linux/wait4.c: Adresár alebo súbor
neexistuje.
Saved trace to /home/michal/.sage/crash_logs/crash_ikxir8ce.log

Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.

I use Slovak localization. "Adresár alebo súbor neexistuje." could
be translated as "No file or folder." or as "File or directory
does not exist.".
I do not know where the problem is and what to do to make sage
working.

I am sending crash_ikxir8ce.log file as an attachment. And I am
adding a print screen of  Synaptic package manager choices for Sage

Many thanks for help.

Best regards
Michal Kopčok (read as Kopchok)

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/01ca88e9-c56b-4b68-bd86-b8f0d6a7fc1an%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/1be42749-dd48-c47e-d08a-9885b7424c7c%40gmail.com.


Re: [sage-support] Re: gridlines in 3d ?

2023-01-17 Thread Henri Girard

By the way I forget to thank :

Releases · sagemath/sage-windows (github.com) 
    (embray)


which can do it with 9.2 windows versions

And naturally all the sagemath team and people who is developing a 
wonderfull sage  : La voie sage


(could be a translation of dao de jin) the wellknown antic yin yang path :)

Best


Le 17/01/2023 à 19:52, kcrisman a écrit :


Nice ! Would you consider a ticket adding this to Sage ?

+1 to that!
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/6d69df36-a7b1-486e-84ae-54c91cf5d524n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/705ebdde-c587-857f-afb3-a45467f9bd00%40gmail.com.


Re: [sage-support] Re: gridlines in 3d ?

2023-01-17 Thread Henri Girard

Last message for today,

There is a simple way to attach an ipynb to run it as an import :

For my example i call f3d.ipynb the structure of the grid. Then I create 
a new ipynb and I run (i import) the f3d and can use all the fonctions, 
%run f3d.ipynb in the calc in:



Le 17/01/2023 à 19:52, kcrisman a écrit :


Nice ! Would you consider a ticket adding this to Sage ?

+1 to that!
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/6d69df36-a7b1-486e-84ae-54c91cf5d524n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/615c42c5-b1d8-0081-efd3-d652e98a11ea%40gmail.com.


Re: [sage-support] Re: gridlines in 3d ?

2023-01-18 Thread Henri Girard
At the moment I still not have tried labels, I play with it like a kid 
discovering a  new toys !


Thanks again !

Henri

Le 18/01/2023 à 15:39, Rogerio a écrit :

Glad to see that it meets the needs of someone else.
There is still a small bug on the labels, I'm gonna try to take care 
of it in the next week.


Thanks

Rogerio


Le mardi 17 janvier 2023 à 19:52:32 UTC+1, kcrisman a écrit :
Nice ! Would you consider a ticket adding this to Sage ?

+1 to that!

+1 too!
Don't hesitate to ask if you need help to open a ticket on 
https://trac.sagemath.org/.
Or maybe you want to wait for the migration of SageMath sources to 
github, which should take place in February.


Eric.
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/f9895bf9-31ed-4327-bb07-c5c430481517n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/2e468972-a3c7-200c-74b1-96e62e695fa3%40gmail.com.


[sage-support] F3d is it integrated in sagemath ?

2023-02-24 Thread Henri Girard

def f3d(figure, **kwargs):
    return make_frame3d(figure, **kwargs)

I have done a pic included

Some time ago it sounded in the list that this fonction could be 
integrated to sage ?


Is there any work done in this direction in sage 10 ?

Best

Henri

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/cb2ae17b-e734-3440-212e-62a303d27863%40gmail.com.


Re: [sage-support] Sage Build Failed

2023-03-20 Thread Henri Girard
Good I compiled in wsl2 with lunar (ubuntu+1) I had no problem curious 
to know why,



Le 20/03/2023 à 12:54, Atharva Deore a écrit :

Thanks, Dima! The issue is resolved now.

On Mon, Mar 20, 2023 at 3:48 PM  wrote:

On Mon, Mar 20, 2023 at 12:33:20AM -0700, Atharva Deore wrote:
>  I am trying to build sage using WSL, but it failed while
> installing suitesparse. Please help me with this. I am attaching
a log file
> for reference.
>
> Host system:
> Linux DESKTOP-LO8OV26 5.10.16.3-microsoft-standard-WSL2 #1 SMP
Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> 
> C compiler: clang
> C compiler version:
> Ubuntu clang version 14.0.0-1ubuntu1
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> InstalledDir: /usr/bin
> Found candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Found candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-linux-gnu/9
> Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Candidate multilib: .;@m64
> Selected multilib: .;@m64
> 
> Package 'suitesparse' is currently not installed
> No legacy uninstaller found for 'suitesparse'; nothing to do
...

> /usr/bin/ld: cannot find -lomp: No such file or directory

looks like you need to install an extra package here.
Try doing

   sudo apt install libomp-dev

and then run

   make

again. You've probably run into this, as we don't test clang on Linux,
as far as I know.

HTH
Dima

-- 
You received this message because you are subscribed to the Google

Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support+unsubscr...@googlegroups.com
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/ZBgy7AGipsZuYGpl%40hilbert.

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


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/4778efd5-c7e9-77e9-7b46-4a9cd3eba72b%40gmail.com.


Re: [sage-support] Sage Build Failed

2023-03-20 Thread Henri Girard
Thanks ! Yes it is true I use what wsl installed, to be true except the 
name I don't know about clang.


Best

Henri

Le 20/03/2023 à 15:50, Dima Pasechnik a écrit :



On Mon, 20 Mar 2023, 14:39 Henri Girard,  wrote:

Good I compiled in wsl2 with lunar (ubuntu+1) I had no problem
curious to know why,


you probably used gcc as C/C++ compiler - the problem comes up with 
clang used instead.



Le 20/03/2023 à 12:54, Atharva Deore a écrit :

Thanks, Dima! The issue is resolved now.

On Mon, Mar 20, 2023 at 3:48 PM  wrote:

On Mon, Mar 20, 2023 at 12:33:20AM -0700, Atharva Deore wrote:
>  I am trying to build sage using WSL, but it failed while
> installing suitesparse. Please help me with this. I am
attaching a log file
> for reference.
>
> Host system:
> Linux DESKTOP-LO8OV26 5.10.16.3-microsoft-standard-WSL2 #1
SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> 
> C compiler: clang
> C compiler version:
> Ubuntu clang version 14.0.0-1ubuntu1
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> InstalledDir: /usr/bin
> Found candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Found candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-linux-gnu/9
> Selected GCC installation:
/usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Candidate multilib: .;@m64
> Selected multilib: .;@m64
> 
> Package 'suitesparse' is currently not installed
> No legacy uninstaller found for 'suitesparse'; nothing to do
...

> /usr/bin/ld: cannot find -lomp: No such file or directory

looks like you need to install an extra package here.
Try doing

   sudo apt install libomp-dev

and then run

   make

again. You've probably run into this, as we don't test clang
on Linux,
as far as I know.

HTH
Dima

-- 
You received this message because you are subscribed to the

Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to
sage-support+unsubscr...@googlegroups.com
<mailto:sage-support%2bunsubscr...@googlegroups.com>.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/ZBgy7AGipsZuYGpl%40hilbert.

-- 
You received this message because you are subscribed to the

Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/CAMf_%2BMvi6DCUhow75mwW%2BrXm5M_6Sf3WxRopctSZUjVaBXWR1g%40mail.gmail.com

<https://groups.google.com/d/msgid/sage-support/CAMf_%2BMvi6DCUhow75mwW%2BrXm5M_6Sf3WxRopctSZUjVaBXWR1g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
-- 
You received this message because you are subscribed to the Google

Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/4778efd5-c7e9-77e9-7b46-4a9cd3eba72b%40gmail.com

<https://groups.google.com/d/msgid/sage-support/4778efd5-c7e9-77e9-7b46-4a9cd3eba72b%40gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq3%3D8uwU%2BgSNq2K_vDJMpBOnBV8h%3DKHQ2F5_NrL7M5L1Bw%40mail.gmail.com 
<https://groups.google.com/d/msgid/sage-support/CAAWYfq3%3D8uwU%2BgSNq2K_vDJMpBOnBV8h%3DKHQ2F5_NrL7M5L1Bw%40mail.gmail.com?utm_medium=email&utm_source=footer>.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/798bcad5-931f-62cf-3729-51360d42cdef%40gmail.com.


Re: [sage-support] use sage ipython

2015-09-19 Thread Henri Girard

Thank you very much :)
Have a nice day
Henri

Le 20/09/2015 02:01, William Stein a écrit :

On Sat, Sep 19, 2015 at 5:00 PM, HG  wrote:

Hi,
I would like to use sage -notebook=ipython to be able to have sage kernel so
that I can use this kind of ipython worksheet :
https://raw.githubusercontent.com/sagemanifolds/SageManifolds/master/Worksheets/v0.8/SM_hyperbolic_plane.ipynb
I don't know how to do it if possible in SMC

The sage ipython notebook isn't supported yet in SMC.  It will be when
I upgrade SMC to a newer version of Sage.

William


Best regards
Henri

--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.





--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: use sage ipython

2015-09-21 Thread Henri Girard
Thanks, WStein answered that in next sage upgrade he will add ipython 
sage notebook.
I am recently discovering ipython specially with sagemanifolds. I like 
the way quasi universal of its notebook.

Regards
Henri

Le 21/09/2015 19:14, slelievre a écrit :

2015-09-21 18:40:57 UTC+2, slelievre:



2015-09-20 02:00:15 UTC+2, HG:

I would like to use sage -notebook=ipython to be able to have
sage kernel so that I can use this kind of ipython worksheet :

https://raw.githubusercontent.com/sagemanifolds/SageManifolds/master/Worksheets/v0.8/SM_hyperbolic_plane.ipynb


I don't know how to do it if possible in SMC

In SMC, create a jupyter notebook just like the one in your link.
Add an extra cell at the beginning, containing

%load_ext sage

and everything should work.


Well, except graphics don't get displayed, which of course matters here.

The Python 2 kernel and `%load_ext sage` only get you so far,
but still it's worth mentioning that setup does give some usability.
--
You received this message because you are subscribed to a topic in the 
Google Groups "sage-support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/sage-support/TR9sswYHb9g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: worksheet about parameters /legends

2015-10-26 Thread Henri Girard
I will make it publicly on sagemathcloud, probably as sage -n=ipython 
notebook (though sage -n is excellent too), I have lot of things that's 
I must collect when ready I will tell you.

Henri

Le 26/10/2015 15:35, kcrisman a écrit :


Hi,
I am beginning a collection of tips about **params **legends and
others, does someone knows about similarly work done in english or
french ?
I read sage's graphic objects, but it's a manual and I want to
write the code so one can see what the command do.
Any suggestion is welcome
Best regards
Henri


There are a few tutorials of sorts people have done on their own, but 
they are less comprehensive.  If you have something a little more 
comprehensive, PLEASE by all means contribute it!   Especially if 
there is a part you can add to the plot/graphics documentation itself, 
or where we can do a link within the documentation to your tutorials. 
 I agree that this is all sort of spread throughout documentation and 
ask.sagemath questions, and it would be very valuable.

--
You received this message because you are subscribed to a topic in the 
Google Groups "sage-support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/sage-support/sjlaw-jpOiw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Is there a solution ?

2016-01-03 Thread Henri Girard

Thanks works fine :)

Le 03/01/2016 11:07, Volker Braun a écrit :
PS: Since this was a recent improvement, the Sage numeric type now 
register with the pep3141 abstract numbers class so you can (and 
should) do test like


sage: import numbers
sage: isinstance(5, numbers.Integral)
True
sage: isinstance(5, numbers.Number)
True
sage: isinstance(5/1, numbers.Integral)
False
sage: isinstance(22/7, numbers.Rational)
True
sage: isinstance(1.3, numbers.Real)
True
sage: isinstance(CC(1.3), numbers.Real)
False
sage: isinstance(CC(1.3 + I), numbers.Complex)
True
sage: isinstance(RDF(1.3), numbers.Real)
True
sage: isinstance(CDF(1.3, 4), numbers.Complex)
True
sage: isinstance(AA(sqrt(2)), numbers.Real)
True
sage: isinstance(QQbar(I), numbers.Complex)
True





On Sunday, January 3, 2016 at 11:01:39 AM UTC+1, Volker Braun wrote:

The code uses explicit isinstance(.., int) checks, which is rather
bad style. If you don't want to change that then you'll have to
pass in a Python int:  BalancedTernary(int(10))


On Sunday, January 3, 2016 at 10:01:15 AM UTC+1, HG wrote:

Hi,
I got this balanced ternary file from rosetta, it works fine
in python2 but not completly in sage : b variable which
convert number in ternary is failing, a problem of conversion
but I don't know how to correct it ?
Any help ?
Thanks
Kind regards
Henri

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Packages needed for self-compiled Sage on Ubuntu

2016-01-06 Thread Henri Girard
Maybe installing ppa sagemath-dev allows you to get deps on ubuntu : 
sudo apt-get build-dep sage, that's what I do to compile sagemath


Le 06/01/2016 11:36, Jori Mäntysalo a écrit :

On Wed, 6 Jan 2016, Jeroen Demeyer wrote:


Is there a list somewhere on Ubuntu packages that are needed to install
fully working Sage from source?


The hard part here is defining "fully working".


"Everything that is supposed to work without optional packages 
(installed with sage -i) really works."?




--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] How to change SAGE_ROOT?

2016-01-21 Thread Henri Girard

Did you uncomment sage in file sage ?
#SAGE_ROOT=/path/to/sage-version
This should be enaugh not need to add it in .bash_profile ?
If you want it for all user you create a link :
sudo ln -s /path/sage/sage /usr/bin/sage
Sorry I didn't follow the mail
Regards
HG


Le 22/01/2016 03:42, Han Xiao a écrit :

I added the following to my .bash_profile.

export SAGE_ROOT=/Applications/SAGE PATH=$PATH:${SAGE_ROOT}

And now it works like a charm. Thank you so much for the suggestion.

Regards,
Xiao
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: Cliquer (was Re: [sage-support] Re: Sage 7.0 crashes)

2016-01-26 Thread Henri Girard

Wouldn't be possible to make a cliquer package ?


Le 26/01/2016 18:20, William Stein a écrit :

On Tue, Jan 26, 2016 at 9:02 AM, Nathann Cohen  wrote:

contributions.  E.g., they won't even consider a new component be
added to Python unless somebody clearly commits to supporting the
contribution for "five years".  And of course the people making that
commitment have to be reputable.We should do the same for Sage --



Don't you think we should start by doing the same for Sage's own source
code? Anybody who proposes a patch should agree to do the
debugging/maintenance of what (s)he added for the next 5 years? Looks weird
to only have this high level of expectation for third-party code only, and
not for our own.


Hey I was just reporting on a conversation with Guido about what they
*already* do with Python.


In Sage, we are at a level where some files don't have a clear "regular
maintainer". We would need to be 10x more developpers to enforce such rules.


Indeed -- Python probably has 10x more developers...  maybe someday we
will have way more developer time too.  We don't now, as we are
massively under-resourced.


For 'cliquer' in particular, maybe we could propose upstream a autotoolized
build system, and see how it goes? We did it for 'planarity' not so long ago
(and perhaps with others?). Our spkg-install file indeed contains several
platform-specific instructions.

Huge +1.  I'm all for Sage devs contributing upstream :-)


Nathann

--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.





--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Sage 7.0 crashes

2016-01-28 Thread Henri Girard

It means your sage hasn't openssl you probably can use pip ?
sudo pip install ssl (or something else on mac)
I am on linux not on mac.
./sage -n=ipython is the command I use...
Time being I am not sure it is so clear with "notebook, jupyter, ipython"
I had to slightly hack to get everything working and I don't even 
remenber well what I deed as my config is working but if I break it I 
probably have to search again.
I like sagenb (sage -n), because the editor is quiet well 
fournished. But it's more difficult to make all things working... I mean 
use all pythonize things...



Le 28/01/2016 02:30, Juan Luis Varona a écrit :



El miércoles, 27 de enero de 2016, 15:58:01 (UTC+1), Dima Pasechnik 
escribió:




On Wednesday, 27 January 2016 04:10:42 UTC, Juan Luis Varona wrote:

I have been able to compile Sage 7.0 from the source code in
my MacBook Air (late 2010).

Now, it works in Terminal, and if I use notebook() I obtain
the traditional notebook interface.

But I do not know how to obtain the SageMath.app. There is a
simple description of how to do it in any place? (I'm not a
prgramming expert)

Moreover, how is possible to use the jupiter interface?


start sage as follows:

/sage --notebook='jupyter'

(we need to document this in the reference manual. Now it's only
in the output of "sage -h")


Thanks for you answer!

I was thinking that jupyter was going to be the default interface in 
sage 7.0, as explained in

https://groups.google.com/forum/#!topic/sage-devel/8erxWppKxXM
but I'm sure that I do not understand properly.

I have follow what you say, but unfortunately, I got another error 
message:



Last login: Wed Jan 27 04:53:15 on ttys001

AirTeXano:~ jvarona$ cd /Applications/sage-7.0/

AirTeXano:sage-7.0 jvarona$ ./sage --notebook='jupyter'

┌┐

│ SageMath Version 7.0, Release Date: 2016-01-19 │

│ Type "notebook()" for the browser-based notebook interface.│

│ Type "help()" for help. │

└┘

Please wait while the Sage Notebook server starts...

Traceback (most recent call last):

  File 
"/Applications/sage-7.0/local/lib/python2.7/site-packages/sage/repl/ipython_kernel/install.py", 
line 266, in have_prerequisites


from notebook.notebookapp import NotebookApp

ImportError: No module named notebook.notebookapp


The Jupyter notebook requires ssl, even if you do not use

https. Install the openssl development packages in your system and

then rebuild Python (sage -f python2).


AirTeXano:sage-7.0 jvarona$


Too complicate for me...

Juan Luis

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Sage 7.0 crashes

2016-01-28 Thread Henri Girard

Hi
I don't agree with what you are saying...
There are so many examples : google search I do... sagemath /pub/sws
And most of all sagenb server in the world will show to you !
With ubuntu it was quiete easy (I compiled it now, on ubuntu it's very 
easy), I just discovered jr Johanson ipython notebook which are even 
working on sage 7 now !!!
What an improvment : I used to try few years ago and they didn't work 
but now with sage -n=ipython they work mostly fine, just some correction.
And last but not the least : Nothing to pirate ... I tried mathematica, 
maple, I think they are gaz machines ! lol
I could tell you more, but just keep searching and look at mailing 
list... I discovered few days ago how to connect ROOT Cern to jupyter... 
and much more.
I am old and I haven't much time to make a collection of all what I have 
done, but my kids are young and I am preparing notebooks in french to 
help them. why not use sagemathcloud too ? For me that was a revelation 
because sagemath wasn't working on windows (except in V env)
I guess for someone coming from mac it might be more difficult but linux 
is a kind of mac, my theme is macbuntu theme ! lol
Kind regards and keep on sage :) specially now with both sagenb and sage 
-n=ipython. I can tell you I am not an expert ! But It's my hobby so I 
started learning computing as autodicdate with z80 ! lol


Henri



Le 28/01/2016 21:20, Juan Luis Varona a écrit :




run the following commands in the Terminal
./sage -i openssl
./sage -f python2




Thanks again! I have done it but, later, when using
./sage --notebook='jupyter'
I get the same error message.

Do not worry, I will try again when new binaries for mac of sage 7-0 
appear in the download page (the previous versions have been deleted).


But let me a reflexion, not for you but for the sage community (sorry 
for my bad English): I'm s university math professor in Spain,  and I 
explain sagemath to my students. How is possible to promote sagemath 
between the students if only to install it is so complicate, also in a 
mac?


We use sage at classroom, but most of the students hate it; they 
prefer 10^6 times to use a pirate copy of Mathematica.


Please, try to improve the usability of sage for non programming 
experts!


Yours,

Juan Luis



--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Sage 7.0 crashes

2016-01-28 Thread Henri Girard
True... These days I am discovering so many python ipython jupyter good 
things that I am very astonished. How much would we pay if we had to buy 
sage sagemanifold ipython and many others, visit ... The list is long !

But the problem is how to get money to found this.
Regards
Henri

Le 28/01/2016 21:41, William Stein a écrit :

On Thu, Jan 28, 2016 at 12:20 PM, Juan Luis Varona
 wrote:


run the following commands in the Terminal
./sage -i openssl
./sage -f python2




Thanks again! I have done it but, later, when using
./sage --notebook='jupyter'
I get the same error message.

Do not worry, I will try again when new binaries for mac of sage 7-0 appear
in the download page (the previous versions have been deleted).

But let me a reflexion, not for you but for the sage community (sorry for my
bad English): I'm s university math professor in Spain,  and I explain
sagemath to my students. How is possible to promote sagemath between the
students if only to install it is so complicate, also in a mac?

We use sage at classroom, but most of the students hate it; they prefer 10^6
times to use a pirate copy of Mathematica.

Please, try to improve the usability of sage for non programming
experts!

The community of mathematicians and math teachers have so far chosen
to financially (and otherwise) support Sage at about 0.01% of the
level that they support Mathematica.  I fear that you do not know who
writes Sage, where Sage comes from, or how it is funded.

Until the mathematical community is willing to support -- in real ways
(money!) -- open source math software, they are very naive to expect
the same level of polish for the masses that can be provided by the
effort of thousands of employees (which Mathematica and Matlab
collectively have).

Much open source volunteer work is currently massively under
appreciated and this is one of the biggest mistakes of society of this
decade.

  -- William



Yours,

Juan Luis



--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.





--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Sage 7.0 crashes

2016-01-28 Thread Henri Girard
Intelligent students use any valuable  software... And poor students 
like open source... Look in india, in china where studying is reserved 
to rich people, but not always the most intelligent ones


Le 28/01/2016 21:54, Juan Luis Varona a écrit :



>
> But let me a reflexion, not for you but for the sage community
(sorry for my
> bad English): I'm s university math professor in Spain,  and I
explain
> sagemath to my students. How is possible to promote sagemath
between the
> students if only to install it is so complicate, also in a mac?
>
> We use sage at classroom, but most of the students hate it; they
prefer 10^6
> times to use a pirate copy of Mathematica.
>
> Please, try to improve the usability of sage for non programming
> experts!

The community of mathematicians and math teachers have so far chosen
to financially (and otherwise) support Sage at about 0.01% of the
level that they support Mathematica.  I fear that you do not know who
writes Sage, where Sage comes from, or how it is funded.

Until the mathematical community is willing to support -- in real
ways
(money!) -- open source math software, they are very naive to expect
the same level of polish for the masses that can be provided by the
effort of thousands of employees (which Mathematica and Matlab
collectively have).

Much open source volunteer work is currently massively under
appreciated and this is one of the biggest mistakes of society of
this
decade.

 -- William


What you say is true, of course. But perhaps the lack of money is not
the guilty of mathematicians and math teachers, but of the persons
and organizations that decide the funds for research.

In any case, this does not change the problem: students do not like to
use sage.

Unfortunately, this is the truth.

Juan Luis Varona

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Install Sage failed both on 64 bit as on 32 bit Linux Mint

2016-01-31 Thread Henri Girard
I install an ubuntu 32 bits xfce  on a notebook (xenial 16.04 alfa 2) 
mint is a bit heavy. Then I install mate desktop (I could have done it 
at one time ) but I wanted to see if it was lighter.

Then download linux sagemath (6.10 or 7) and  put it in your home dir.
After do a link sudo ln -s .. sage/sage /usr/bin/sage (if you need it 
wide system) no use doing it if you want to install it at user

And should work :)
Regards
Henri


Le 31/01/2016 08:51, Thierry Dumont a écrit :

Le 30/01/2016 22:49, Paul van Gorsel a écrit :

First I ran a 64 bits Linux Mint Debian Edition, unfortunately the
installation of Sage failed. Than I installed a 32 bit version (Linux
Mint 17.3), the same thing happened.

This is my laptop: HP-ProBook-4520s

Linux pgo-HP-ProBook-4520s 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu
Oct 22 09:37:25 UTC 2015 i686 i686 i686 GNU/Linux
memory:
  total   used   free shared buffers cached
Mem:  2884   2662221141 88   1842
-/+ buffers/cache:731   2153
Swap: 2925 20   2905

It's such a waste of time. Can you advise me which distro to choose, or
even better, what causes these problems?

With regards,
Paul van Gorsel (The Netherlands)



The installation failed... ok, but let us know which message you get, 
what happened...

I am completely sure that Sage can run on Mint.

Yours
t.

--
You received this message because you are subscribed to the Google
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sage-support+unsubscr...@googlegroups.com
.
To post to this group, send email to sage-support@googlegroups.com
.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.




--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Install Sage failed both on 64 bit as on 32 bit Linux Mint

2016-01-31 Thread Henri Girard

I forget install this ppa, with following commands :

sudo -E apt-add-repository -y ppa:aims/sagemath
sudo -E apt-get update
sudo -E apt-get install sagemath-upstream-binary

and then you should have a sage icon in the menu, just run it

Le 31/01/2016 09:04, Henri Girard a écrit :
I install an ubuntu 32 bits xfce  on a notebook (xenial 16.04 alfa 2) 
mint is a bit heavy. Then I install mate desktop (I could have done it 
at one time ) but I wanted to see if it was lighter.

Then download linux sagemath (6.10 or 7) and  put it in your home dir.
After do a link sudo ln -s .. sage/sage /usr/bin/sage (if you need it 
wide system) no use doing it if you want to install it at user

And should work :)
Regards
Henri


Le 31/01/2016 08:51, Thierry Dumont a écrit :

Le 30/01/2016 22:49, Paul van Gorsel a écrit :

First I ran a 64 bits Linux Mint Debian Edition, unfortunately the
installation of Sage failed. Than I installed a 32 bit version (Linux
Mint 17.3), the same thing happened.

This is my laptop: HP-ProBook-4520s

Linux pgo-HP-ProBook-4520s 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu
Oct 22 09:37:25 UTC 2015 i686 i686 i686 GNU/Linux
memory:
  total   used   free shared buffers cached
Mem:  2884   2662221141 88 1842
-/+ buffers/cache:731   2153
Swap: 2925 20   2905

It's such a waste of time. Can you advise me which distro to choose, or
even better, what causes these problems?

With regards,
Paul van Gorsel (The Netherlands)



The installation failed... ok, but let us know which message you get, 
what happened...

I am completely sure that Sage can run on Mint.

Yours
t.

--
You received this message because you are subscribed to the Google
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sage-support+unsubscr...@googlegroups.com
<mailto:sage-support+unsubscr...@googlegroups.com>.
To post to this group, send email to sage-support@googlegroups.com
<mailto:sage-support@googlegroups.com>.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.






--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: recent woes with relocation of SageMath installation directory

2016-02-02 Thread Henri Girard
I installed binary from sagemath web site 64 ubuntu 15.10 on xenial it 
works fine. I couldn't get ppa aims working.


Le 02/02/2016 21:50, Volker Braun a écrit :
Is this the Ubuntu PPA? I think thats not working right now. Whoever 
is maintaining it (Jan?) should probably revert it until its fixed.




On Tuesday, February 2, 2016 at 6:16:08 PM UTC+1, Samuel Lelievre wrote:

Dear sage-support (cc: sage-release, sage-devel)
(please reply on sage-support only)

I received the following question after announcing
Sage 7.0 on sage-announce.

This is one of many such questions I am reading on
various lists and sites recently.

Something needs to be more clearly documented,
or refactored.

Can someone answer this question by replying to
this post on sage-support?

Thanks!
Samuel

-- Forwarded message --
Date: Mon, 1 Feb 2016 23:32:31 -0600
To: Samuel Lelievre >
Subject: Installing upgraded SageMath

I tried installing sagemath-upstream-binary on my Ubuntu Trusty Tahr
system and saw this:

Rewriting paths for your new installation directory
===

This might take a few minutes but only has to be done once.

patching
/usr/lib/sagemath/src/build/cythonized/sage/structure/list_clone.c
Traceback (most recent call last):
  File "/usr/lib/sagemath/relocate-once.py", line 85, in 
   
p('src/build/cythonized/sage/structure/list_clone.c').substitute().save()


  File "/usr/lib/sagemath/relocate-once.py", line 70, in __call__
return FilePatch(self, filename)
  File "/usr/lib/sagemath/relocate-once.py", line 21, in __init__
self.st  = os.stat(filename)
OSError: [Errno 2] No such file or directory:
'/usr/lib/sagemath/src/build/cythonized/sage/structure/list_clone.c'

Any idea what is up?

Dale Amon

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] sagemath 7.0 installation time on Ubuntu 14.04

2016-02-03 Thread Henri Girard
I installed it yesterday and had the same surprised (maybe shorter 
patch) after I installed sagemanifolds successfully a bit slower than 
6-10 but still suiting.


Le 03/02/2016 18:43, Graham Gerrard a écrit :
Recent installation of Linux binaries on Ubuntu now takes much longer 
than a few versions ago.  Binary unpacks, no problem.  After linking 
to the new version in /usr/local/bin, the first run of sage initiates 
a large amount of time consuming checking and updating, used to be a 
minute or 2, now at least 30.  All OK, after a suitable wait.


Installation of an additional package (in my case, database_gap) using 
"sage -i database_gap", initiates another automated collection of 
(>500) steps, which eventually results in a successfully install. 
Similar wait. Again successful.


I can install a similar gap database by unpacking an older version, 
e.g. database_gap-4.7.7.tar.bz2 and copying the bits into the right 
place in the GAP directory. Very much quicker (and seems to work).


Is this longer installation time to be expected in the future? Am I 
doing something wrong?


Graham
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: graphic conversion from maxima to sage

2016-02-07 Thread Henri Girard

Hi,
I finally got this with circuitikz (tikz), in a jupyter sage-n=ipython 
(sage-7.1 beta2 of today fresh compile, but I can work on other version 
too) :

%matplotlib inline
#%display latex
%install_ext 
http://raw.github.com/jrjohansson/ipython-circuitikz/master/circuitikz.py

%load_ext circuitikz
%%circuitikz filename=geo dpi=125
\begin{circuitikz}[line cap=round,line join=round,>=triangle 
45,x=1.0cm,y=1.0cm]

\draw[->,color=black] (-5.98,0.) -- (5.36,0.);
\foreach \x in {-5.,-4.,-3.,-2.,-1.,1.,2.,3.,4.,5.}
\draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt) node[below] 
{\footnotesize $\x$};

\draw[->,color=black] (0.,-4.08) -- (0.,4.78);
\foreach \y in {-4.,-3.,-2.,-1.,1.,2.,3.,4.}
\draw[shift={(0,\y)},color=black] (2pt,0pt) -- (-2pt,0pt) node[left] 
{\footnotesize $\y$};

\draw[color=black] (0pt,-10pt) node[right] {\footnotesize $0$};
\clip(-5.98,-4.08) rectangle (5.36,4.78);
\draw(0.,0.) circle (3.cm);
\end{circuitikz}

It's a circle I draw in geogebra, I exported it to pdf/tikz from gg 
export and after I copy it in sage ipython notebook.

Kind regards
Henri

Le 22/04/2014 22:24, Emmanuel Charpentier a écrit :

Apart for being a mouthful of a one-liner, what would be wrong with :
plot(sqrt(-x^2+2*abs(x))*sgn(-x),[x,-2,2] ,figsize=4,
  xmin=-2,  xmax=2, ymin=-2, ymax=2, aspect_ratio=1, axes=False,
  fill=-sqrt(4-x^2), color="black", fillcolor="black", fillalpha=1) +
plot(sqrt(-x^2+2*abs(x))*sgn(-x),[x,-2,2], figsize=4
 xmin=-2, xmax=2, ymin=-2, ymax=2, aspect_ratio=1, axes=False,
 fill=sqrt(4-x^2), color="red", fillcolor="red", fillalpha=1)
, pray tell me ?

Aand you don't have the to put up with the black border up the 
positive half circle that the draw2d solution plots. An implicit plot 
might be a better way to render this, BTW, but I dont' have it on the 
tips of my fingers right now


Note : the "figsize=4" bit is for emacs' sage_mode sake. It looks 
nice'n smooth without it.


Since it's pure sage, it could be rendered even better in tikz ... if 
I could find a way to coax matplot to use its built-in interface to 
tikz. But the damn thing is quite opaque to me. Any idea ?


[ BTW : this (rendering via tikz) might be a nice enhancement for 
sagetex users... Hmmm... I'll have to dive in the source code. Not for 
now, alas... ]


HTH,
--
Emmanuel Charpentier

Le mardi 25 mars 2014 09:50:38 UTC+1, HG a écrit :



Hi,
I got this yin-yang from
http://riotorto.users.sourceforge.net/gnuplot/func2d/index.html

(thanks for it !) :

draw2d(
proportional_axes = xy,
title = "Ying-Yang",
ellipse(0,0,2,2,0,360),
fill_color= black,
filled_func   = -sqrt(4-x^^2 ),
explicit(if x < 0 then sqrt(-x^^2 -2*x) else -sqrt(-x^^2
+2*x),x,-2,2) ) $


But I need it in sagemath to get it well embedd in texmacs.
After long trying I didn't not success, my main problem is
conditions.
If a good soul could do it for me all my thanks.
Kind regards,
HG

I have done this which is not really good :
y=sqrt(4-x^2);b=y
r=sqrt(-x^2-2*x);q=-sqrt(-x^2+2*x)
e=solve(b==r,y)

c=plot(b,(y,-2,2),fill=True,fillcolor="black",color="black",figsize=3,aspect_ratio=1);

c+=plot(r,(y,-2,2),fill=True,fillcolor="red",color="red",figsize=3,aspect_ratio=1)

d=plot(-b,(y,-2,2),fill=True,fillcolor="red",color="red",figsize=3,aspect_ratio=1);

d+=plot(-r,(y,-2,2),fill=True,fillcolor="red",color="red",figsize=3,aspect_ratio=1);
p=plot(q,(y,-2,2),fill=True,fillcolor="red",color="red",figsize=3);
p+=plot(q,(y,-2,2),fill=True,fillcolor="black",color="red",figsize=3)
plot(c+d+p,figsize=2,aspect_ratio=1,axes=False)

--
You received this message because you are subscribed to a topic in the 
Google Groups "sage-support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/sage-support/s0uAGNAVWtw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: graphic conversion from maxima to sage

2016-02-07 Thread Henri Girard

I forgot would tikz or circuitikz work on sagemathcloud ? Is it installed ?

Le 07/02/2016 14:23, Henri Girard a écrit :

Hi,
I finally got this with circuitikz (tikz), in a jupyter sage-n=ipython 
(sage-7.1 beta2 of today fresh compile, but I can work on other 
version too) :

%matplotlib inline
#%display latex
%install_ext 
http://raw.github.com/jrjohansson/ipython-circuitikz/master/circuitikz.py

%load_ext circuitikz
%%circuitikz filename=geo dpi=125
\begin{circuitikz}[line cap=round,line join=round,>=triangle 
45,x=1.0cm,y=1.0cm]

\draw[->,color=black] (-5.98,0.) -- (5.36,0.);
\foreach \x in {-5.,-4.,-3.,-2.,-1.,1.,2.,3.,4.,5.}
\draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt) node[below] 
{\footnotesize $\x$};

\draw[->,color=black] (0.,-4.08) -- (0.,4.78);
\foreach \y in {-4.,-3.,-2.,-1.,1.,2.,3.,4.}
\draw[shift={(0,\y)},color=black] (2pt,0pt) -- (-2pt,0pt) node[left] 
{\footnotesize $\y$};

\draw[color=black] (0pt,-10pt) node[right] {\footnotesize $0$};
\clip(-5.98,-4.08) rectangle (5.36,4.78);
\draw(0.,0.) circle (3.cm);
\end{circuitikz}


Le 22/04/2014 22:24, Emmanuel Charpentier a écrit :

Apart for being a mouthful of a one-liner, what would be wrong with :
plot(sqrt(-x^2+2*abs(x))*sgn(-x),[x,-2,2] ,figsize=4,
  xmin=-2,  xmax=2, ymin=-2, ymax=2, aspect_ratio=1, axes=False,
  fill=-sqrt(4-x^2), color="black", fillcolor="black", fillalpha=1) +
plot(sqrt(-x^2+2*abs(x))*sgn(-x),[x,-2,2], figsize=4
 xmin=-2, xmax=2, ymin=-2, ymax=2, aspect_ratio=1, 
axes=False,

 fill=sqrt(4-x^2), color="red", fillcolor="red", fillalpha=1)
, pray tell me ?

Aand you don't have the to put up with the black border up the 
positive half circle that the draw2d solution plots. An implicit plot 
might be a better way to render this, BTW, but I dont' have it on the 
tips of my fingers right now


Note : the "figsize=4" bit is for emacs' sage_mode sake. It looks 
nice'n smooth without it.


Since it's pure sage, it could be rendered even better in tikz ... if 
I could find a way to coax matplot to use its built-in interface to 
tikz. But the damn thing is quite opaque to me. Any idea ?


[ BTW : this (rendering via tikz) might be a nice enhancement for 
sagetex users... Hmmm... I'll have to dive in the source code. Not 
for now, alas... ]


HTH,
--
Emmanuel Charpentier

Le mardi 25 mars 2014 09:50:38 UTC+1, HG a écrit :



Hi,
I got this yin-yang from
http://riotorto.users.sourceforge.net/gnuplot/func2d/index.html
<http://riotorto.users.sourceforge.net/gnuplot/func2d/index.html>
(thanks for it !) :

draw2d(
proportional_axes = xy,
title = "Ying-Yang",
ellipse(0,0,2,2,0,360),
fill_color= black,
filled_func   = -sqrt(4-x^^2 ),
explicit(if x < 0 then sqrt(-x^^2 -2*x) else -sqrt(-x^^2
+2*x),x,-2,2) ) $


But I need it in sagemath to get it well embedd in texmacs.
After long trying I didn't not success, my main problem is
conditions.
If a good soul could do it for me all my thanks.
Kind regards,
HG

I have done this which is not really good :
y=sqrt(4-x^2);b=y
r=sqrt(-x^2-2*x);q=-sqrt(-x^2+2*x)
e=solve(b==r,y)

c=plot(b,(y,-2,2),fill=True,fillcolor="black",color="black",figsize=3,aspect_ratio=1);

c+=plot(r,(y,-2,2),fill=True,fillcolor="red",color="red",figsize=3,aspect_ratio=1)

d=plot(-b,(y,-2,2),fill=True,fillcolor="red",color="red",figsize=3,aspect_ratio=1);

d+=plot(-r,(y,-2,2),fill=True,fillcolor="red",color="red",figsize=3,aspect_ratio=1);
p=plot(q,(y,-2,2),fill=True,fillcolor="red",color="red",figsize=3);
p+=plot(q,(y,-2,2),fill=True,fillcolor="black",color="red",figsize=3)
plot(c+d+p,figsize=2,aspect_ratio=1,axes=False)

--
You received this message because you are subscribed to a topic in 
the Google Groups "sage-support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/sage-support/s0uAGNAVWtw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
sage-support+unsubscr...@googlegroups.com 
<mailto:sage-support+unsubscr...@googlegroups.com>.
To post to this group, send email to sage-support@googlegroups.com 
<mailto:sage-support@googlegroups.com>.

Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.




--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: %latex and no output

2016-02-25 Thread Henri Girard
In sagenb you don't need to write %latex ? Just click on the box latex 
to mark it ?


Le 25/02/2016 16:12, Jori Mäntysalo a écrit :

On Thu, 25 Feb 2016, kcrisman wrote:


  %latex
  x

  does not provide any output. Where to start debugging?



Is this in sagenb?


Yes.

 I can confirm this works for me in 7.1.beta3, though I do have LaTeX 
installed. In the server I have access to with 6.9 I get this.  6.5 
on my computer works fine, so I *suspect* it is related to the LaTeX 
on the server somehow.  But maybe there was something that was wrong 
and fixed in short order in Sage itself?


Can it relate to server_pool -option? With a slight misconfiguration 
one can get SageNB where sin(0) works but plot(sin) does not.




--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: %latex and no output

2016-02-26 Thread Henri Girard
In sagenb typeset set latex in jupyter notebook enter in input %display 
latex and %matplotlib inline if you want graphs embedded


Le 26/02/2016 13:20, Jori Mäntysalo a écrit :

On Thu, 25 Feb 2016, Henri Girard wrote:

In sagenb you don't need to write %latex ? Just click on the box 
latex to mark it ?


What box?

But now I tested "Typeset" box. It works, so LaTeX installation is OK. 
And for example %timeit works, so %-string works. Strange.




--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] how to get vpython-jupyter working in SMC ?

2016-02-28 Thread Henri Girard

Yes sorry...
They are two librairies I would like to use vpython :
https://github.com/BruceSherwood/vpython-jupyter.git
and ivisual  :
https://github.com/jcoady/IVisual.git
Then the public link should work and show an animation of a wave.
Henri

Le 28/02/2016 20:29, William Stein a écrit :

On Sun, Feb 28, 2016 at 2:17 AM, HG  wrote:

Hi,
I have this example I would like to show working in SMC how can I do this
Best regards
Henri
https://cloud.sagemath.com/projects/1e1bd552-1b18-46e2-841c-d4e34d53f383/files/waveivisualmatplotlib.html


What is the expected behavior?  In what sense is it not working?

William


--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.





--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] anaconda 2.x or anaconda 3x ?

2016-03-20 Thread Henri Girard

2 I am not sure than 3 works with sagemath ?

Le 20/03/2016 17:05, jmarcellopere...@ufpi.edu.br a écrit :

What is the best to work with sagemath , anaconda2.x or 3.x ?
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] anaconda 2.x or anaconda 3x ?

2016-03-20 Thread Henri Girard

If you have debian or ubuntu no need of anaconda

Le 20/03/2016 17:05, jmarcellopere...@ufpi.edu.br a écrit :

What is the best to work with sagemath , anaconda2.x or 3.x ?
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Sage Crash Report

2016-03-31 Thread Henri Girard
sagemanifolds compiles well usually... Just follow the install doc and 
sm-install.sh :


http://sagemanifolds.obspm.fr/download.html#script_install/sm-install.sh

I prefer than git.

Le 31/03/2016 19:00, Oscar Alberto Castillo Felisola a écrit :

Hi Eric,

I finally compiled the source of sage from github, but I got a merge 
conflict when I added the sagemanifolds branch. I'll post further when 
I get to the office. Hope you could help me.


Cheers.

On Tuesday, 29 March 2016 15:51:53 UTC-3, Eric Gourgoulhon wrote:

Hi Oscar,

I'm afraid I cannot help much with your specific problem. The only
thing I can tell is that Sage 7.1 + SageManifolds 0.9 works well
on Ubuntu, which is based on Debian, but of course differs from it.

Best regards,

Eric.

Le mardi 29 mars 2016 16:04:20 UTC+2, Oscar Alberto Castillo
Felisola a écrit :

Dear community,

lately, I'm having problems with the installation of SAGE. I
downloaded the version Sage v.7.1 for Debian_8, and it seems
to work... but I installed sagemanifold v.0.9, and I got the
report file attached to this post.

I'm having problems too when compiling the scr code, because
the file `flint*` has a problem.

Any suggestions?

--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Sage Crash Report

2016-04-01 Thread Henri Girard

Your welcome...
I like very much this tool because it works fine and is well documented :)
I wanted to translate examples but it's too much work, and I guess all 
people using it are knowing english !

Better original language than a bad translation !
Henri

Le 01/04/2016 14:55, Oscar Alberto Castillo Felisola a écrit :
Thank you HG, Your suggestion worked like a charm. I create a new 
branch in my sage installation and tried your suggestion, and it works 
smoothly.


Best wishes!
Oscar.

On Thursday, 31 March 2016 14:56:08 UTC-3, HG wrote:

sagemanifolds compiles well usually... Just follow the install doc
and sm-install.sh :

http://sagemanifolds.obspm.fr/download.html#script_install/sm-install.sh


I prefer than git.

Le 31/03/2016 19:00, Oscar Alberto Castillo Felisola a écrit :

Hi Eric,

I finally compiled the source of sage from github, but I got a
merge conflict when I added the sagemanifolds branch. I'll post
further when I get to the office. Hope you could help me.

Cheers.

On Tuesday, 29 March 2016 15:51:53 UTC-3, Eric Gourgoulhon wrote:

Hi Oscar,

I'm afraid I cannot help much with your specific problem. The
only thing I can tell is that Sage 7.1 + SageManifolds 0.9
works well on Ubuntu, which is based on Debian, but of course
differs from it.

Best regards,

Eric.

Le mardi 29 mars 2016 16:04:20 UTC+2, Oscar Alberto Castillo
Felisola a écrit :

Dear community,

lately, I'm having problems with the installation of
SAGE. I downloaded the version Sage v.7.1 for Debian_8,
and it seems to work... but I installed sagemanifold
v.0.9, and I got the report file attached to this post.

I'm having problems too when compiling the scr code,
because the file `flint*` has a problem.

Any suggestions?

-- 
You received this message because you are subscribed to the

Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support...@googlegroups.com .
To post to this group, send email to sage-s...@googlegroups.com
.
Visit this group at https://groups.google.com/group/sage-support
.
For more options, visit https://groups.google.com/d/optout
.


--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Problem with "make distclean" on version 7.2.beta2 (aclocal: command not found)

2016-04-03 Thread Henri Girard

I compiled today 7.2 and had a problem with doc
I just did make doc-clean and make -j9 (often when sagemanifolds is 
remake it does this error)

git pull normally doesn't need make distclean, had you reason to do it ?


Le 03/04/2016 19:44, Dima Pasechnik a écrit :

can you do "make" ?
(perhaps it will produce a state in which "make distclean" will work...)


On Sunday, April 3, 2016 at 5:44:30 PM UTC+1, Vivien R wrote:

Hi,

I want to obtain the latest development version of Sage. I pulled
with git the newest changes from trac ( I already had a compiled
Sage installation, but it was one year old). Now trying "make
distclean" raises an error:

$ make distclean
make -j4 -l5.5 build/make/Makefile
make[1]: entrant dans le répertoire « /home/vivien/sage-git »
./bootstrap -d
make[2]: entrant dans le répertoire « /home/vivien/sage-git »
rm -rf config configure build/make/Makefile-auto.in
make[2]: quittant le répertoire « /home/vivien/sage-git »
./bootstrap: ligne 29: aclocal : commande introuvable
Bootstrap failed, downloading required files instead.
Attempting to download package configure-156.tar.gz from mirrors
Downloading the Sage mirror list

Traceback (most recent call last):
[...]

ImportError:
/home/vivien/sage-git/local/lib/python2.7/lib-dynload/_io.so:
undefined symbol: _PyLong_AsInt

Error downloading configure-156.tar.gz

Error: downloading configure-156.tar.gz failed
make[1]: *** [configure] Erreur 1
make[1]: quittant le répertoire « /home/vivien/sage-git »
make: *** [build-clean] Erreur 2


I googled the error message concerning "aclocal" and found out
that a similar issue was raised 2 years ago (see
https://groups.google.com/forum/#!msg/sage-release/K3gjrAkoyOY/KGvkIGXc1GEJ


and
http://sage-devel.narkive.com/IhJijX8H/problem-with-configure-23-on-6-2-rc0


;
see also the ticket http://trac.sagemath.org/ticket/18414

which may be relevant).

But I did not understand how to solve the issue. Any help would be
welcome!

Thanks!
--
  Vivien


--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Problem with "make distclean" on version 7.2.beta2 (aclocal: command not found)

2016-04-03 Thread Henri Girard

sorry I didn't see it was a year old ...
Why not doing a fresh one from git ? And carry on later with pull
One year is certainly 6 version ?

Le 03/04/2016 19:44, Dima Pasechnik a écrit :

can you do "make" ?
(perhaps it will produce a state in which "make distclean" will work...)


On Sunday, April 3, 2016 at 5:44:30 PM UTC+1, Vivien R wrote:

Hi,

I want to obtain the latest development version of Sage. I pulled
with git the newest changes from trac ( I already had a compiled
Sage installation, but it was one year old). Now trying "make
distclean" raises an error:

$ make distclean
make -j4 -l5.5 build/make/Makefile
make[1]: entrant dans le répertoire « /home/vivien/sage-git »
./bootstrap -d
make[2]: entrant dans le répertoire « /home/vivien/sage-git »
rm -rf config configure build/make/Makefile-auto.in
make[2]: quittant le répertoire « /home/vivien/sage-git »
./bootstrap: ligne 29: aclocal : commande introuvable
Bootstrap failed, downloading required files instead.
Attempting to download package configure-156.tar.gz from mirrors
Downloading the Sage mirror list

Traceback (most recent call last):
[...]

ImportError:
/home/vivien/sage-git/local/lib/python2.7/lib-dynload/_io.so:
undefined symbol: _PyLong_AsInt

Error downloading configure-156.tar.gz

Error: downloading configure-156.tar.gz failed
make[1]: *** [configure] Erreur 1
make[1]: quittant le répertoire « /home/vivien/sage-git »
make: *** [build-clean] Erreur 2


I googled the error message concerning "aclocal" and found out
that a similar issue was raised 2 years ago (see
https://groups.google.com/forum/#!msg/sage-release/K3gjrAkoyOY/KGvkIGXc1GEJ


and
http://sage-devel.narkive.com/IhJijX8H/problem-with-configure-23-on-6-2-rc0


;
see also the ticket http://trac.sagemath.org/ticket/18414

which may be relevant).

But I did not understand how to solve the issue. Any help would be
welcome!

Thanks!
--
  Vivien


--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] sagemath-upstream-binary 7.2: install fails because of size mismatch after download

2016-05-28 Thread Henri Girard

When will you add yakety ?
I use it but I can put xenial repos
Regards
Henri

Le 28/05/2016 10:48, Jan Groenewald a écrit :

Hi

On 27 May 2016 at 14:14, Jan Groenewald > wrote:


Launchpad administrator tells me there was an issue last week like
this which affected rare files (only 3 they know of). But that I
would have to delete, wait at least 6 hours, and then copy back. I
am deleting all 7.2 now.


I have copied back 7.2 to Trusty, Wily, Vivid, and Xenial in the PPA. 
Please test and let me know.


Regards,
Jan


--
  .~.
  /V\ Jan Groenewald
 /( )\ www.aims.ac.za 
 ^^-^^
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
.
To post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] sagemath-upstream-binary 7.2: install fails because of size mismatch after download

2016-05-28 Thread Henri Girard

thanks...
Which is better for me : sagemanifolds works fine after compilation.
I am on version Xenial but as soon as I can get the 16.10 version I will 
try it.

Anyway I can downgrade to 16.04
Best regards
Henri

Le 28/05/2016 11:29, Jan Groenewald a écrit :

Hi

On 28 May 2016 at 11:11, Henri Girard <mailto:henri.gir...@gmail.com>> wrote:


When will you add yakety ?
I use it but I can put xenial repos
Regards


I have just requested a copy on launchpad. Should be ready in an hour.

Note the difference though: 
http://files.sagemath.org/linux/64bit/index.html has binaries from the 
sage buildfarm built on 14.04, 14.04, 14.10, 16.04 with the toolchain 
from that release. Yakkety is not yet included.


Only 14.04 is rebuilt into a PPA, and on launchpad the 14.04 
binary/deb is copied forward to 15.04, 15.10, 16.04 (and now 16.10). 
So far no problems, but if you run into problems you may want to 
download and unpack the 16.04 binary which is much closer to the 
toolchain version of 16.10 than the 14.04 binary.


Regards,
Jan



--
  .~.
  /V\ Jan Groenewald
 /( )\ www.aims.ac.za <http://www.aims.ac.za>
 ^^-^^
--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com 
<mailto:sage-support+unsubscr...@googlegroups.com>.
To post to this group, send email to sage-support@googlegroups.com 
<mailto:sage-support@googlegroups.com>.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] jupyter lab

2016-08-20 Thread Henri Girard
Thanks it works after changing few things like path etc, my sage 
kernel.json is :


{"display_name": "Sage 7.2","argv": ["/usr/lib/sagemath/sage","-python", 
"-m","sage.repl.ipython_kernel", "-f", "{connection_file}"]}


I use sage repo with sagemanifolds. I guess I will soon update to 7.3.

Thinks evoluate (beautifully) lol

I think jupyterlab is a promising project. For me I can collect all 
kernel in one jupyter... very convivual.


Cordialement

Henri


Le 20/08/2016 à 08:39, Thierry Dumont a écrit :

Le 20/08/2016 à 08:09, HG a écrit :

I am testing jupyter lab, all my kernels are recognized except one : sage ?
Is there a way to config it manually to be used in jupyterlab ?
Regards
Henri


THis is the first time I heard about jupyter lab ! (things evoluate very
fast...). But, in my "classical" jupyter(jupyter hub) installations, I
need to add "kernels" for the different language/applications I want to
run. They go in /usr/local/share/jupyter/kernels.
Exemple:
/usr/local/share/jupyter/kernels/sage
which contains a kernel.json (which says how to run sage):
{"display_name": "Sage 7.3, "argv": ["/usr/local/sage/sage", "-python",
"-m", "sage.repl.ipython_kernel", "-f", "{connection_file}"]}

Yours
t.

--
You received this message because you are subscribed to the Google
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sage-support+unsubscr...@googlegroups.com
.
To post to this group, send email to sage-support@googlegroups.com
.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] how to make a toc in sagemath jupyter (link toc)

2016-08-22 Thread Henri Girard

William don't you know I wouldn't say that !

Sorry, my english is not too good nowadays, I went one month in China 
and I came back very tired :)


1) worksheet

2) jupyter notebook

3) It's vpython example, it links to all examples

Hope I am clearer




Le 22/08/2016 à 10:48, William Stein a écrit :

On Sun, Aug 21, 2016 at 10:31 PM, HG  wrote:

Hi,
I don't know how to make a toc of sagemath workshit

Can you clarify?

   (1) I assume you aren't trying to be insulting by saying "workshit".
   (2) Are you talking about sagemathcloud or sagenb or jupyter?
   (3) What's an example?


Kind of index.ipynb with a link to different notebook.
Regards
Henri

--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.





--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
"collapsed": false
   },
   "source": [
"### Jupyter VPython: navigable real-time 3D animations, done simply\n",
"# See [vpython.org](http://vpython.org) for how to obtain and use the 
vpython module\n",
"\n",
">Right button drag or Ctrl-drag to rotate \"camera\" to view scene.  \n",
"To zoom, drag with middle button or Alt/Option depressed, or use scroll 
wheel.  \n",
"  On a two-button mouse, middle is left 
+ right.  \n",
"Touch screen: pinch/extend to zoom, swipe or two-finger rotate.\n",
"\n",
"# If asked to pick a notebook type, choose VPython.\n",
"\n",
"[Atomic solid](Demos/AtomicSolid.ipynb): ball-and-spring model of a 
solid\n",
"\n",
"[Binary star](Demos/BinaryStar.ipynb): two stars orbit each other\n",
"\n",
"[Bounce](Demos/Bounce.ipynb): a ball bounces in a 3D box\n",
"\n",
"[Local moving lights](Demos/BoxLightTest.ipynb): local lights moving 
around the scene\n",
"\n",
"[Buttons, sliders, and menus](Demos/ButtonsSlidersMenus.ipynb): widgets 
controlling a scene\n",
"\n",
"[RGB-HSV colors](Demos/Color-RGB-HSV.ipynb): RGB <-> HSV color 
conversions\n",
"\n",
"[Dipole electric field](Demos/DipoleElectricField.ipynb): the electric 
field of a dipole (+ and - charges)\n",
"\n",
"[Double pendulum](Demos/DoublePendulum.ipynb): a double pendulum shows 
chaotic motion\n",
"\n",
"[Live graphs](Demos/Graphs.ipynb): incremental graphing; mouse over the 
graph with crosshairs\n",
"\n",
"[Gyroscope](Demos/Gyroscope.ipynb): a gyroscope precessing and nutting on 
a pedestal\n",
"\n",
"[Gyroscope-suspended](Demos/Gyroscope-Suspended.ipynb): a gyroscope 
suspended from a spring\n",
"\n",
"[Hard-sphere gas](Demos/HardSphereGas.ipynb): a gas of colliding hard 
spheres, with graph of speed distribution\n",
"\n",
"[Lorenz function](Demos/Lorenz.ipynb): the Lorenz function\n",
"\n",
"[Mouse dragging](Demos/MouseDrag.ipynb): drag objects with the mouse\n",
"\n",
"[Mouse picking](Demos/MousePicking.ipynb): click on an object to change 
its color; see [technical 
details](http://www.glowscript.org/docs/GlowScriptDocs/technical.html)\n",
"\n",
"[Plot 3D function](Demos/Plot3D.ipynb): plot a function of x, y, and t\n",
"\n",
"[Rotating boxes](Demos/RotatingBoxes.ipynb): 1000 rotating boxes\n",
"\n",
"[Rug](Demos/Rug.ipynb): a wave moves along a Navajo rug\n",
"\n",
"[Stars](Demos/Stars.ipynb): 20 stars interacting with each other 
gravitationally\n",
"\n",
"[Surreal Stonehenge](Demos/Stonehenge.ipynb): fly through a surreal 
scene\n",
"\n",
"[Textures](Demos/Textures.ipynb): textures currently supported by Jupyter 
VPython\n",
"\n",
"[Transparency](Demos/Transparency.ipynb): true pixel-level transparency; 
see [technical 
details](http://www.glowscript.org/docs/GlowScriptDocs/technical.html)\n",
"\n",
"[VPython objects](Demos/VPythonObjects.ipynb): examples of most of the 
VPython objects"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
"collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
"collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "langu

Re: [sage-support] how to make a toc in sagemath jupyter (link toc)

2016-08-23 Thread Henri Girard

In fact I found it by inavertance...

It's only a markdown, then it has to be treated as it.



Le 22/08/2016 à 10:48, William Stein a écrit :

On Sun, Aug 21, 2016 at 10:31 PM, HG  wrote:

Hi,
I don't know how to make a toc of sagemath workshit

Can you clarify?

   (1) I assume you aren't trying to be insulting by saying "workshit".
   (2) Are you talking about sagemathcloud or sagenb or jupyter?
   (3) What's an example?


Kind of index.ipynb with a link to different notebook.
Regards
Henri

--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.





--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


  1   2   >