Hi everyone,
I'm trying to follow http://doc.sagemath.org/html/en/thematic_tutorials/algebraic_combinatorics/rsk.html to generate pictures of Young's lattice. Unfortunately I seem to be getting LaTeX code which won't compile.
I'm using Sage 7.4 (run locally not on the cloud), pdfTeX, Version 3.1415926-2.5-1.40.14 and I have the TKZ packages installed. Running sage locally or on the cloud seems to generate the same LaTeX output. I get the same errors on 2 different computers, both running OpenSUSE 42.1. I've tried generating the LaTeX code using the sagecloud, but as far as I can tell it generates the same source code and I can't compile it.
The code I input is:
level = 6
elements = [b for n in range(level) for b in Partitions(n)]
ord = lambda x,y: y.contains(x)
Y = Poset((elements,ord), facade=True)
H = Y.hasse_diagram()
view(H) # optional - dot2tex graphviz
I'd like to attach error logs and the latex source code generated by "latex(H)", but apparently I do not have enough karma to do so. The error messages are basically many repetitions of the following snippet.
! Illegal parameter number in definition of \cmdGR@vertex@L.
<to be read again>
1
l.136 }$},x=1.0389cm,y=1.8082cm]{v1}
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.
Does anyone have any suggestions on how to fix this?