On Wed, 3 Sep 2014, Sébastien Labbé wrote:
> sage: view(latex(graphs.PetersenGraph()), tightpage=True)
Stops with
! LaTeX Error: File `preview.sty' not found.
(Why didn't I got this error before?)
Maybe because of view(latex(p)) versus view(p) ? ...too late now to test
No, it isn't. I removed preview.sty. latex() isn't key here: Both
view(Poset( ([1,2,3,4,5],[[1,2],[1,3],[3,4],[2,5],[4,5]])),tightpage=True)
view(latex(Poset(
([1,2,3,4,5],[[1,2],[1,3],[3,4],[2,5],[4,5]]))),tightpage=True)
gives an exception, whereas
view(graphs.PetersenGraph(), tightpage=True)
gives right error message. But after installing preview.sty all examples
works! So there is something special on 5-element poset that makes dot2tex
to fail giving right error message. Time to make a ticket to trac?
--
Jori Mäntysalo
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.