I have been trying to use the tableaux crystal pictures in Sage and, while 
it works on the cloud, it does not work on my computer.  I have updated 
Sage (then reverted to the version of Sage used on the cloud), updated on 
my LaTeX packages, and installed dot2tex.  The code I'm using is from the 
help pages: B = crystals.Tableaux(['A',2], shape=[2,1]); view(B, 
tightpage=True).  The Tex files generated by the cloud and by my computer 
are different.  The one generated by the cloud compiles, but the one from 
my computer does not.  I've attached these.  Any ideas?  Thanks for your 
help!

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.
\documentclass{article}
            \usepackage[x11names, rgb]{xcolor}
            \usepackage[utf8]{inputenc}
            \usepackage{tikz}
            \usetikzlibrary{snakes,arrows,shapes}
            \usepackage{amsmath}
            \usepackage[active,tightpage]{preview}
            \newenvironment{bla}{}{}
            \PreviewEnvironment{bla}

            \begin{document}
            \begin{bla}\begin{tikzpicture}
\definecolor{cv0}{rgb}{0.0,0.0,0.0}
\definecolor{cfv0}{rgb}{1.0,1.0,1.0}
\definecolor{clv0}{rgb}{0.0,0.0,0.0}
\definecolor{cv1}{rgb}{0.0,0.0,0.0}
\definecolor{cfv1}{rgb}{1.0,1.0,1.0}
\definecolor{clv1}{rgb}{0.0,0.0,0.0}
\definecolor{cv2}{rgb}{0.0,0.0,0.0}
\definecolor{cfv2}{rgb}{1.0,1.0,1.0}
\definecolor{clv2}{rgb}{0.0,0.0,0.0}
\definecolor{cv3}{rgb}{0.0,0.0,0.0}
\definecolor{cfv3}{rgb}{1.0,1.0,1.0}
\definecolor{clv3}{rgb}{0.0,0.0,0.0}
\definecolor{cv4}{rgb}{0.0,0.0,0.0}
\definecolor{cfv4}{rgb}{1.0,1.0,1.0}
\definecolor{clv4}{rgb}{0.0,0.0,0.0}
\definecolor{cv5}{rgb}{0.0,0.0,0.0}
\definecolor{cfv5}{rgb}{1.0,1.0,1.0}
\definecolor{clv5}{rgb}{0.0,0.0,0.0}
\definecolor{cv6}{rgb}{0.0,0.0,0.0}
\definecolor{cfv6}{rgb}{1.0,1.0,1.0}
\definecolor{clv6}{rgb}{0.0,0.0,0.0}
\definecolor{cv7}{rgb}{0.0,0.0,0.0}
\definecolor{cfv7}{rgb}{1.0,1.0,1.0}
\definecolor{clv7}{rgb}{0.0,0.0,0.0}
\definecolor{cv0v1}{rgb}{0.0,0.0,0.0}
\definecolor{cv0v3}{rgb}{0.0,0.0,0.0}
\definecolor{cv1v2}{rgb}{0.0,0.0,0.0}
\definecolor{cv2v5}{rgb}{0.0,0.0,0.0}
\definecolor{cv3v4}{rgb}{0.0,0.0,0.0}
\definecolor{cv4v6}{rgb}{0.0,0.0,0.0}
\definecolor{cv5v7}{rgb}{0.0,0.0,0.0}
\definecolor{cv6v7}{rgb}{0.0,0.0,0.0}
%
\Vertex[style={minimum size=1.0cm,draw=cv0,fill=cfv0,text=clv0,shape=circle},LabelOut=false,L=\hbox{${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}
\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}
\lr{1}&\lr{1}\\\cline{1-2}
\lr{2}\\\cline{1-1}
\end{array}$}
}$},x=5.0cm,y=1.8221cm]{v0}
\Vertex[style={minimum size=1.0cm,draw=cv1,fill=cfv1,text=clv1,shape=circle},LabelOut=false,L=\hbox{${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}
\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}
\lr{1}&\lr{2}\\\cline{1-2}
\lr{2}\\\cline{1-1}
\end{array}$}
}$},x=4.7892cm,y=3.7606cm]{v1}
\Vertex[style={minimum size=1.0cm,draw=cv2,fill=cfv2,text=clv2,shape=circle},LabelOut=false,L=\hbox{${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}
\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}
\lr{1}&\lr{3}\\\cline{1-2}
\lr{2}\\\cline{1-1}
\end{array}$}
}$},x=3.2629cm,y=5.0cm]{v2}
\Vertex[style={minimum size=1.0cm,draw=cv3,fill=cfv3,text=clv3,shape=circle},LabelOut=false,L=\hbox{${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}
\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}
\lr{1}&\lr{1}\\\cline{1-2}
\lr{3}\\\cline{1-1}
\end{array}$}
}$},x=3.7392cm,y=0.2723cm]{v3}
\Vertex[style={minimum size=1.0cm,draw=cv4,fill=cfv4,text=clv4,shape=circle},LabelOut=false,L=\hbox{${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}
\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}
\lr{1}&\lr{2}\\\cline{1-2}
\lr{3}\\\cline{1-1}
\end{array}$}
}$},x=1.6804cm,y=0.0cm]{v4}
\Vertex[style={minimum size=1.0cm,draw=cv5,fill=cfv5,text=clv5,shape=circle},LabelOut=false,L=\hbox{${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}
\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}
\lr{1}&\lr{3}\\\cline{1-2}
\lr{3}\\\cline{1-1}
\end{array}$}
}$},x=1.2739cm,y=4.7247cm]{v5}
\Vertex[style={minimum size=1.0cm,draw=cv6,fill=cfv6,text=clv6,shape=circle},LabelOut=false,L=\hbox{${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}
\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}
\lr{2}&\lr{2}\\\cline{1-2}
\lr{3}\\\cline{1-1}
\end{array}$}
}$},x=0.2054cm,y=1.2302cm]{v6}
\Vertex[style={minimum size=1.0cm,draw=cv7,fill=cfv7,text=clv7,shape=circle},LabelOut=false,L=\hbox{${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}
\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}
\lr{2}&\lr{3}\\\cline{1-2}
\lr{3}\\\cline{1-1}
\end{array}$}
}$},x=0.0cm,y=3.1712cm]{v7}
%
\Edge[lw=0.1cm,style={post, bend right,color=cv0v1,},](v0)(v1)
\Edge[lw=0.1cm,style={post, bend right,color=cv0v3,},](v0)(v3)
\Edge[lw=0.1cm,style={post, bend right,color=cv1v2,},](v1)(v2)
\Edge[lw=0.1cm,style={post, bend right,color=cv2v5,},](v2)(v5)
\Edge[lw=0.1cm,style={post, bend right,color=cv3v4,},](v3)(v4)
\Edge[lw=0.1cm,style={post, bend right,color=cv4v6,},](v4)(v6)
\Edge[lw=0.1cm,style={post, bend right,color=cv5v7,},](v5)(v7)
\Edge[lw=0.1cm,style={post, bend right,color=cv6v7,},](v6)(v7)
%
\end{tikzpicture}\end{bla}
            \end{document}
\documentclass{article}
            \usepackage[x11names, rgb]{xcolor}
            \usepackage[utf8]{inputenc}
            \usepackage{tikz}
            \usetikzlibrary{snakes,arrows,shapes}
            \usepackage{amsmath}
            \usepackage[active,tightpage]{preview}
            \newenvironment{bla}{}{}
            \PreviewEnvironment{bla}

            \begin{document}
            \begin{bla}\begin{tikzpicture}[>=latex,line join=bevel,]
%%
\node (node_7) at (34.5bp,15.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{2}&\lr{3}\\\cline{1-2}\lr{3}\\\cline{1-1}\end{array}$}}$};
  \node (node_6) at (58.5bp,100.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{2}&\lr{2}\\\cline{1-2}\lr{3}\\\cline{1-1}\end{array}$}}$};
  \node (node_5) at (13.5bp,100.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{3}\\\cline{1-2}\lr{3}\\\cline{1-1}\end{array}$}}$};
  \node (node_4) at (58.5bp,185.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{2}\\\cline{1-2}\lr{3}\\\cline{1-1}\end{array}$}}$};
  \node (node_3) at (58.5bp,270.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{1}\\\cline{1-2}\lr{3}\\\cline{1-1}\end{array}$}}$};
  \node (node_2) at (13.5bp,185.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{3}\\\cline{1-2}\lr{2}\\\cline{1-1}\end{array}$}}$};
  \node (node_1) at (13.5bp,270.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{2}\\\cline{1-2}\lr{2}\\\cline{1-1}\end{array}$}}$};
  \node (node_0) at (35.5bp,355.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{1}\\\cline{1-2}\lr{2}\\\cline{1-1}\end{array}$}}$};
  \draw [red,->] (node_0) ..controls (42.981bp,327.5bp) and (47.816bp,310.05bp)  .. (node_3);
  \definecolor{strokecol}{rgb}{0.0,0.0,0.0};
  \pgfsetstrokecolor{strokecol}
  \draw (57.0bp,313.0bp) node {$2$};
  \draw [blue,->] (node_5) ..controls (13.24bp,74.426bp) and (14.14bp,60.663bp)  .. (17.5bp,49.0bp) .. controls (18.326bp,46.132bp) and (19.42bp,43.224bp)  .. (node_7);
  \draw (26.0bp,58.0bp) node {$1$};
  \draw [red,->] (node_6) ..controls (50.694bp,72.504bp) and (45.648bp,55.054bp)  .. (node_7);
  \draw (57.0bp,58.0bp) node {$2$};
  \draw [blue,->] (node_4) ..controls (58.5bp,157.62bp) and (58.5bp,140.39bp)  .. (node_6);
  \draw (67.0bp,143.0bp) node {$1$};
  \draw [red,->] (node_1) ..controls (13.5bp,242.62bp) and (13.5bp,225.39bp)  .. (node_2);
  \draw (22.0bp,228.0bp) node {$2$};
  \draw [blue,->] (node_3) ..controls (58.5bp,242.62bp) and (58.5bp,225.39bp)  .. (node_4);
  \draw (67.0bp,228.0bp) node {$1$};
  \draw [blue,->] (node_0) ..controls (22.513bp,334.49bp) and (19.359bp,328.18bp)  .. (17.5bp,322.0bp) .. controls (15.067bp,313.92bp) and (13.896bp,304.8bp)  .. (node_1);
  \draw (26.0bp,313.0bp) node {$1$};
  \draw [red,->] (node_2) ..controls (13.5bp,157.62bp) and (13.5bp,140.39bp)  .. (node_5);
  \draw (22.0bp,143.0bp) node {$2$};
%
\end{tikzpicture}\end{bla}
            \end{document}

Reply via email to