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 previously mentioned, this was all what matches on the cloud for SAGE > and Tex. >
Thanks, I guess I know where the problem is - it is in Sagenb; one more piece of the puzzle: how do you start and run Sage? Possibilities are: Terminal : should work (works for me) OSX app : I don't know Sagenb (the "classical" Sage notebook) : displaying this does not work for me, and most probably won't be fixed jupyter notebook : should work (works for me) Thus, I am able to get an error if I try your code in Sagenb (although the error looks different...) One option for you would be switching to jupyter notebook, but for this you probably needed a newer version of Sage. The other option would be to run the Sage in OSX terminal - then the output should get displayed in a tab of your default browser. Could you try the latter? (if this still fails, to be sure it's not OSX app problem, could you install a non-app version - i.e. the filename should not end with .app.dmg, but just with 64.dmg) Could you please try this with non-app version of Sage, and run Sage in terminal. > > On Thursday, June 1, 2017 at 4:49:57 PM UTC-4, Dima Pasechnik wrote: >> >> >> >> 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 my computer it does not generate something that works. >>> >> >> We need more details about your computer: Sage version, operating system, >> whether it was compiled from source or installed as a binary, what version >> of TeX is installed. >> >> >> >> >>> On Thursday, June 1, 2017 at 3:18:04 PM UTC-4, Dima Pasechnik wrote: >>>> >>>> >>>> >>>> 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. >>>>> >>>> >>>> the following works for me on a local Sage install (it's 8.0.beta8, but >>>> it should not matter) >>>> >>>> sage: is_package_installed("dot2tex") # sanity check >>>> True >>>> sage: B = crystals.Tableaux(['A',2], shape=[2,1]) >>>> sage: view(B) # opens a tab in the browser with the picture >>>> >>>> >>>> >>>> >>>>> Nicolas's work around makes the small example he posted work, but it >>>>> doesn't work for the crystals. Was I supposed to install dot2tex >>>>> differently? >>>>> >>>> you can have more than one Sage install (well, in principle, that is) >>>> (Or indeed Sage version matters...) >>>> >>>> >>>> >>>>> >>>>> J >>>>> >>>>> On Thursday, June 1, 2017 at 2:40:04 PM UTC-4, Dima Pasechnik wrote: >>>>>> >>>>>> >>>>>> >>>>>> 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 the problem there? >>>>>>> >>>>>> >>>>>> IMHO you should check if you indeed had installed dot2tex package, >>>>>> for the crystals.* example you posted as not >>>>>> working, works for me after I installed dot2tex (you might have to >>>>>> quit and start your Sage session, at least, after the >>>>>> installation) >>>>>> >>>>>> >>>>>>> Best, >>>>>>> >>>>>>> Julie >>>>>>> >>>>>>> On Thursday, June 1, 2017 at 2:01:14 PM UTC-4, Nicolas M. Thiéry >>>>>>> wrote: >>>>>>>> >>>>>>>> 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") # <====== >>>>>>>> sage: view(G) >>>>>>>> >>>>>>>> Cheers, >>>>>>>> Nicolas >>>>>>>> -- >>>>>>>> Nicolas M. Thiéry "Isil" <nth...@users.sf.net> >>>>>>>> http://Nicolas.Thiery.name/ >>>>>>>> >>>>>>> -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-combinat-devel. For more options, visit https://groups.google.com/d/optout.