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

2022-06-04 Thread John H Palmieri
Can you please post that LaTeX file? I get a file which is missing "\usepackage{tkz-graph}" and hence fails to compile. If I add that line, it produces the same LaTeX error that I've been seeing all along. And yes, the LaTeX file is hidden — it's temporary and is removed when Sage quits. You

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

2022-06-04 Thread John H Palmieri
For any Sage object, the code for "view" first constructs a LaTeX version and then runs pdflatex (or similar) on it. For crystals, the code to produce the LaTeX is this: G = self.digraph() G.set_latex_options(**options) return G._latex_() (from

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

2022-06-04 Thread Ray Rogers
I think I have it; "view" expects  a "digraph"  not a "crystal" Try - #%%Latex B = crystals.Tableaux(['A',2], shape=[2,1]) G = B.digraph() view(G) print(B) print(G) --- Returns popup graph and inpage text - The crystal of tableaux of type ['A', 2] and shape(s) [[2, 1]] Digraph on 8