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

2017-06-03 Thread Dima Pasechnik
also, could you please post here the logfile of dot2tex installation: it is SAGEROOT/logs/pkgs/dot2tex-2.9.0.p1.log On Friday, June 2, 2017 at 11:41:50 PM UTC+1, Julie Beier wrote: > > This returns false. > > On Friday, June 2, 2017 at 4:59:39 PM UTC-4, Dima Pasechnik wrote: >> >> >> >> On Friday

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

2017-06-02 Thread Dima Pasechnik
On Friday, June 2, 2017 at 9:01:08 PM UTC+1, Julie Beier wrote: > > Hi Dima, > > I get errors when I do this in Sagenb (which is my usual place) and when I > run it in Terminal. (I've always installed the .dmg and not the .app > version.) The errors are slightly different but both have to do

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

2017-06-02 Thread Dima Pasechnik
On Friday, June 2, 2017 at 1:16:19 AM UTC+1, Julie Beier wrote: > > Current version of SAGE: 7.5.1 though this happened with several versions, > all binary install > Operating System: OSX 10.11.6 > Version of Tex: Version 3.14159265-2.6-1.40.17 (TeX Live 2016); All > packages up to date > > As

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

2017-06-01 Thread Dima Pasechnik
On Thursday, June 1, 2017 at 8:34:55 PM UTC+1, Julie Beier wrote: > > So I guess this was the point of my message. What you just posted does > *not* work for me. It says True for dot2tex installed, but I get the two > different tex files (doing this on my computer versus on the cloud) and on

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

2017-06-01 Thread Dima Pasechnik
On Thursday, June 1, 2017 at 7:57:22 PM UTC+1, Julie Beier wrote: > > Dima, > > Sorry but I'm not sure I understand. I followed the directions in the > sage help that say to do sage -i 'dot2tex'. That is done. But it still > creates the different tex files, and I still have the problem. >

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

2017-06-01 Thread Dima Pasechnik
On Thursday, June 1, 2017 at 7:23:29 PM UTC+1, Julie Beier wrote: > > All, > > Thanks all for the help; glad to know it wasn't just something trivial > that I missed. > > This work around doesn't seem to work for whole crystals as there is no > set_latex_options option. Anyway to work around t

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

2017-06-01 Thread Nicolas M. Thiery
On Thu, Jun 01, 2017 at 12:02:19AM -0700, Dima Pasechnik wrote: >How does one switch to using dot2tex for this example, too? sage: t = StandardTableaux(4).random_element() sage: G = DiGraph([[t,t]], loops=True) sage: G.set_latex_options(format="dot2tex") # <== sag

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

2017-06-01 Thread Dima Pasechnik
Right, it is in fact invoking show(), which is File: /projects/sage/sage-7.5/local/lib/python2.7/site-packages/smc_sagews/sage_salvus.py Source: def show(*objs, **kwds): """ Show a 2d or 3d graphics object (or objects), animation, or matplotlib figure, or show an expression type

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

2017-06-01 Thread Harald Schilly
On Thu, Jun 1, 2017 at 2:59 PM, Dima Pasechnik wrote: > right, sorry, I mean a sagews notebook running Sage. > I did not try other SMC Sage interfaces. Yes, there is probably somewhere this "show" function involved, which has the same name but a different implementation -- please don't ask me abo

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

2017-06-01 Thread Dima Pasechnik
On Thu, Jun 1, 2017 at 1:46 PM, Harald Schilly wrote: > On Thu, Jun 1, 2017 at 9:02 AM, Dima Pasechnik wrote: >> By the way, this example does work on SMC, so they must be doing something >> non-standard here. >> What is that? > > Hi, you need to be more precise, since CoCalc has a rather large >

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

2017-06-01 Thread Harald Schilly
On Thu, Jun 1, 2017 at 9:02 AM, Dima Pasechnik wrote: > By the way, this example does work on SMC, so they must be doing something > non-standard here. > What is that? Hi, you need to be more precise, since CoCalc has a rather large feature surface. In case you mean "sagews" files, they have noth

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

2017-06-01 Thread Dima Pasechnik
On Wednesday, May 31, 2017 at 2:24:55 PM UTC+1, Nicolas M. ThiƩry wrote: > >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

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

2017-05-31 Thread Dima Pasechnik
This was also reported here: https://tex.stackexchange.com/questions/342983/on-drawing-a-crystal-graph-i-have-a-trouble-illegal-parameter-number-in-defi How about we at least open a trac ticket to deal with this? On Monday, May 29, 2017 at 9:48:45 PM UTC+1, Julie Beier wrote: > > I have been try

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) \begin{tikzpicture}

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 dot2

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

2017-05-31 Thread Dima Pasechnik
On Wednesday, May 31, 2017 at 7:43:14 AM UTC+1, Dima Pasechnik wrote: > > 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. > oops

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

2017-05-30 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 peop