#6022: [with patch, needs review] latex.py: if dvipng fails, use dvips and
convert
instead
-------------------------+--------------------------------------------------
Reporter: jhpalmieri | Owner: jhpalmieri
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.0
Component: misc | Keywords:
-------------------------+--------------------------------------------------
Comment(by jhpalmieri):
By the way: to test this,
{{{
latex.extra_preamble('\\usepackage{tkz-graph}')
}}}
and (taken from [http://altermundus.com/pages/graph.html]):
{{{
%latex
\begin{tikzpicture}[node distance = 4 cm]
\GraphInit[vstyle=Shade]
\tikzset{LabelStyle/.style = {draw,
fill = yellow,
text = red}}
\Vertex{A}
\EA(A){B}
\EA(B){C}
\tikzset{node distance = 8 cm}% modifie la distance entre les nodes
\NO(B){D}
\Edge[label=1](B)(D)
\tikzset{EdgeStyle/.append style = {bend left}}
\Edge[label=4](A)(B)
\Edge[label=5](B)(A)
\Edge[label=6](B)(C)
\Edge[label=7](C)(B)
\Edge[label=2](A)(D)
\Edge[label=3](D)(C)
\end{tikzpicture}
}}}
Before the patch, I just get a little black blob. After the patch, I get
a nice picture. (This assume that you have the tkz-graph package
installed, as well as the most recent version of pgf.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6022#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---