I am trying to view crystal graphs from inside sage, and I am going a
little nuts. Sometimes view(...) works as I expect but most of the time it
doesn't, and I see the error message:
The document “sage.pdf” could not be opened. The file doesn’t exist.
(my emphasis). I compiled sage from source and I am running:
SageMath version 10.3.beta1
Release Date: 2023-12-10
Using Python 3.11.6.
on a 2022 macbook pro (M1 max), running Sonoma 14.1.2. I installed dot2tex
using:
sage -i dot2tex, which
which installed without errors. Running
sage: from sage.graphs.graph_latex import check_tkz_graph
sage: check_tkz_graph()
does not report any problems with my set up.
I get the error message above using the the sage commands:
sage: L=RootSystem(['A',4]).weight_space().basis()
sage: G=crystals.LSPaths(['A',4], L[1])
sage: G
The crystal of LS paths of type ['A', 4] and weight Lambda[2]
sage: view(G)
I get the same error if I try the examples from the "Classical crystals"
thematic tutorial,
<https://doc.sagemath.org/html/en/thematic_tutorials/lie/crystals.html#installing-dot2tex>
such as:
sage: B = crystals.Tableaux(['A',2], shape=[2,1])
sage: view(B, tightpage=True)
When it does work, a nice tikz generated pdf file pops up. Am I missing
some steps? Can anyone tell me what I am doing wrong?
Andrew
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/580bd176-09d7-4505-886f-2c810b8814a2n%40googlegroups.com.