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-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.