Hello

I have downloaded and installed the sage (os x 10.5 intel version).
Sage seems to be working fine.  Then I downloaded sagetex 2.0
package.  I moved sagetex.sty into user/library/texmf/tex/latex
folder.  Then I moved sagetex.py into the sage folder.

Then I ran a simple latex code (copied from the example in the sagetex
folder.) using TeXshop.  The following is the code.
________________________________________________________
%!TEX TS-program = sage

\documentclass{article}

\usepackage{sagetex}

\begin{document}

This is an example $2+2=\sage{2+2}$. If you raise the current year mod
$100$ ($\sage{mod(\the\year, 100)}$) to the power of the current day
($\the\day$), you get $\sage{Integer(mod(\the\year, 100))^\the\day}$.
Also, $\the\year$ modulo $42$ is $\sage{\the\year \percent 42}$.

\end{document}
________________________________________________________

It did not worked.  I am getting the following in the console.

___________________________________________________
LaTeX Warning: Reference `...@sageinline0' on page 1 undefined on input
line 16.


LaTeX Warning: Reference `...@sageinline1' on page 1 undefined on input
line 17.


LaTeX Warning: Reference `...@sageinline2' on page 1 undefined on input
line 18.


LaTeX Warning: Reference `...@sageinline3' on page 1 undefined on input
line 19.


Package sagetex Warning: There were undefined Sage formulas and/or
plots.
Run Sage on example1.sage, and then run LaTeX on example1.tex again.

[1{/usr/local/texlive/2008/texmf-var/fonts/map/pdftex/updmap/
pdftex.map}]
(./example1.aux)

LaTeX Warning: There were undefined references.
_______________________________________________

What seems to be the problem?  Can someone help?  Thank you very much.

Sony..

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to