Re: [sage-support] Problem compiling Sage 7.6 from source

2017-05-31 Thread Bernardo Feijoo
Thank you for your help Jeroen. No, it's not reproducible. See my answer to Dima. Using gcc 6.3.0. On Tuesday, May 30, 2017 at 1:14:27 AM UTC-7, Jeroen Demeyer wrote: > > Is the problem reproducible, i.e. does it happen again if you rebuild > Sage? > > Which compiler are you using? > --

[sage-support] Re: Problem compiling Sage 7.6 from source

2017-05-31 Thread Bernardo Feijoo
Thank you for your help, Dima. I had version 6.3.0 of gcc installed. I tried to downgrade it but I was not able to. I also installed gfortran. Then I unistalled gcc, g++ and gfortran and installed them again (I was trying to install version 5.4.0, but failed again!). Then I tried to install

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-31 Thread Jeroen Demeyer
On 2017-05-31 12:42, Paul Leopardi wrote: On Wednesday, 31 May 2017 19:39:32 UTC+10, Jeroen Demeyer wrote: I think you need to import sage.all first, before importing anything else from sage. Thanks, in which file do you mean, every Python file that uses Sage, or some specific file?

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-31 Thread Jeroen Demeyer
On 2017-05-31 12:55, Paul Leopardi wrote: Thanks, I think I figured out what you mean. I updated conf.py to contain the following: That's not what I meant since I said that the issues you are having are unrelated to Sphinx. So by "fixing" it in Sphinx you are working around the problem, not

[sage-support] Re: [sage-combinat-devel] Re: Crystals not displaying

2017-05-31 Thread Nicolas M. Thiery
Update: - Up to trivial comments, the default latex output has not changed since Sage 6.7beta3 (at least). view fails similarly with that version. - A slightly smaller example: sage: t = Partition([1]) sage: G = DiGraph([[t,t]], loops=True) sage: latex(G)

[sage-support] Re: [sage-combinat-devel] Re: Crystals not displaying

2017-05-31 Thread Nicolas M. Thiery
Hi, I am investigating this. Current status: Remember that graphs can be latex rendered in two ways: either by having Sage produce tikz manually (1), or through dot2tex (2). For general graphs, the former is the default. For graphs produced from crystals, the default is to use (2) if

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-31 Thread Paul Leopardi
On Wednesday, 31 May 2017 19:39:32 UTC+10, Jeroen Demeyer wrote: > > I think you need to import sage.all first, before importing anything > else from sage. > Thanks, I think I figured out what you mean. I updated conf.py to contain the following: ... # If extensions (or modules to document

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-31 Thread Paul Leopardi
On Wednesday, 31 May 2017 19:39:32 UTC+10, Jeroen Demeyer wrote: > > I think you need to import sage.all first, before importing anything > else from sage. > Thanks, in which file do you mean, every Python file that uses Sage, or some specific file? -- You received this message because

[sage-support] Re: [CoCalc] Re: Crystals not displaying

2017-05-31 Thread Harald Schilly
On Wed, May 31, 2017 at 12:02 PM, Dima Pasechnik wrote: > oops, it does work after I install dot2tex by doing > > sage -i dot2tex Well, I can only confirm, that dot2tex is installed on CoCalc... Better error messages and sanity checks FTW :-) -- harald -- You received this

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-31 Thread Jeroen Demeyer
I think you need to import sage.all first, before importing anything else from sage. -- 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] Re: Crystals not displaying

2017-05-31 Thread Dima Pasechnik
I can confirm that B = crystals.Tableaux(['A',2], shape=[2,1]); view(B, tightpage=True) does not work with the latest Sage beta. It looks as if some tikz-related stuff in the TeX file header is messed up. On Wednesday, May 31, 2017 at 7:38:29 AM UTC+1, Dima Pasechnik wrote: > > Perhaps SMC

[sage-support] Re: Crystals not displaying

2017-05-31 Thread Dima Pasechnik
Perhaps SMC people can explain where the discrepancy in the TeX output comes from. I cc to the relevant group. On Monday, May 29, 2017 at 9:48:45 PM UTC+1, Julie Beier wrote: > > I have been trying to use the tableaux crystal pictures in Sage and, while > it works on the cloud, it does not work