Hi all, I'm testing some features of SageTeX. I found makestatic.py does not work properly.
$ cat 3rd-ex-en.tex \documentclass{article} \usepackage{sagetex} \newcommand{\Sage}{\textsf{Sage}} \begin{document} How to include graphics on \Sage\TeX{}: \begin{sageblock} var('x') f(x) = sin(1/x) \end{sageblock} Figure \ref{fig:topline} is the graph of the function $f(x)=\sin(1/x)$ on the interval $(0, 1/\pi)$. \begin{figure*} \centering \sageplot[scale=.8]{plot(f, x, 0, 1/pi)} \caption{topologist's line} \label{fig:topline} \end{figure*} \end{document} $ latex 3rd-ex-en && sage 3rd-ex-en.sagetex.sage && latex 3rd-ex-en It works fine. But $ ~/sage-5.6-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/bin/python makestatic.py 3rd-ex-en.tex 3rd-ex-en-sta.tex Traceback (most recent call last): File "makestatic.py", line 71, in <module> desagetexed = DeSageTex(src) File "/home/iwao/DocMath/SageTeXDemo/sagetexparse.py", line 64, in __init__ self.sout = SoutParser(fn + '.sagetex.sout') File "/home/iwao/DocMath/SageTeXDemo/sagetexparse.py", line 53, in __init__ OneOrMore(parselabel).parseFile(fn) File "/home/iwao/DocMath/SageTeXDemo/pyparsing.py", line 1374, in parseFile return self.parseString(file_contents) File "/home/iwao/DocMath/SageTeXDemo/pyparsing.py", line 1048, in parseString loc, tokens = self._parse( instring, 0 ) File "/home/iwao/DocMath/SageTeXDemo/pyparsing.py", line 924, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/home/iwao/DocMath/SageTeXDemo/pyparsing.py", line 2706, in parseImpl loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/home/iwao/DocMath/SageTeXDemo/pyparsing.py", line 924, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/home/iwao/DocMath/SageTeXDemo/pyparsing.py", line 2293, in parseImpl loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) File "/home/iwao/DocMath/SageTeXDemo/pyparsing.py", line 926, in _parseNoCache raise ParseException( instring, len(instring), self.errmsg, self ) pyparsing.ParseException: Expected "\newlabel{@sageinline" (at char 229), (line:4, col:1) I'm using pyparsing.py which comes from ~/sage-5.6-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/python2.7/site-packages/matplotlib/pyparsing.py The version string of pyparsing.py says __version__ = "1.5.0" __versionTime__ = "28 May 2008 10:05" Any ideas? Best regards. -- --- Iwao KIMURA U. of Toyama, Toyama, Japan. -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.