On Sun, 06 Apr 2008 at 04:26PM -0700, John Palmieri wrote: > A bit more information: it seems that if I include the line "import > sage.misc.latex as latex" in my file, then "latex(a)" gives an error.
I think you want "from sage.misc.latex import latex". Your command above gives you access to the latex() function with "latex.latex(a)". The line I suggested pulls in the latex() function (which is in the sage.misc.latex module) and puts it in the top-level namespace. (Someone who really knows Python namespaces and module importing should check this over; I'm not an expert at that stuff.) Dan -- --- Dan Drake <[EMAIL PROTECTED]> ----- KAIST Department of Mathematical Sciences ------- http://math.kaist.ac.kr/~drake
signature.asc
Description: Digital signature