Opened 8 years ago

Last modified 8 years ago

#13713 closed defect

view generates a LaTex (memory?) error on a graph of size 24 — at Initial Version

Reported by: slabbe Owned by: tbd
Priority: major Milestone: sage-5.10
Component: graphics Keywords: dot2tex
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:


Create this graph:

sage: F = GF(3)
sage: gens = [matrix(F,2,[1,0, 1,1]), matrix(F,2, [1,1, 0,1])]
sage: group = MatrixGroup(gens)
sage: G = group.cayley_graph()

It is not too big:

sage: G
Digraph on 24 vertices

Note that since the vertices of G are matrices, the default format='tkz_graph' does not work. One need to use format='dot2tex'. With dot2tex-2.8.7-2 and graphviz installed, this works:

sage: G.set_latex_options(format='dot2tex', prog='neato')
sage: view(G)

But not this one:

sage: G.set_latex_options(format='dot2tex', prog='dot')
sage: view(G)
An error occurred.
LaTex error

I know a workaround which is to use the tikz2pdf script which compiles fine. But, it would be nice if view could compile G as well.

Change History (0)

Note: See TracTickets for help on using tickets.