Thank you for your reply, Prof. Drake.
Sage Days 53.5 took place on 5/Oct at Shinshu-u, Matsumoto, Japan and
we discussed, among other things, SageTeX.
Now I found that if the input is as follows, everything OK.
$ 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=\sage{f}$ %%
$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}
The problem is that if we don't use \sage{}, \newlabel{@sageinl0} are not
written into sout file, so makestatic.py fails.
It is trivial if we understand what makestatic.py does, but is hard to
see. If it is a feature of makestatic.py, it's better if it is documented.
Best Regards.
On Fri, Oct 4, 2013 at 12:43 AM, Dan Drake <[email protected]> wrote:
> On Thu, 03 Oct 2013 at 02:03PM +0900, Iwao Kimura wrote:
>> I'm testing some features of SageTeX.
>> I found makestatic.py does not work properly.
>
> That script has not been maintained well. (And by "not well", I mean
> "not at all"!) I'm not surprised it has bitrotted. I'll take a look at
> your errors and see if I can figure out what's going on.
>
>
> Dan
>
> --
> --- Dan Drake
> ----- www.math.wisc.edu/~ddrake/
> -------
--
---
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.