MiKTeX and proTeXtSageMath / MikTeX / sagetex to tex

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
Hoed
Posts: 28
Joined: Sat Jan 07, 2012 12:46 pm

SageMath / MikTeX / sagetex to tex

Post by Hoed »

Hi folks,

I'm facing some kind of problem and after not being able to solve it for 3 days, I'm near to giving it up.

Sage is a wonderful open-source math program, combining everything one might want to have - CAS, Statistics... Being based on Python, it's easy to use, too. In short, it's a mathematicians wet dream.

Now I'd like to combine Sage 5.11 (VirtualBox, 4.10) it with Latex (MiKTex 2.9, Win 7). Normally this could be done by simply using sagetex.sty. This should work fine as long as the Sage-File sagetex.py and the TeX-File sagetex.sty are of the same version.

But it doesn't work. I installed sagetex via MiKTeX, it's a package from 2009, so is the sagetex.sty in it. I extracted the sagetex.sty directly from my sage directory and exchanged the old sagetex.sty with the new one. I let MiKTeX run over it. But in Sage I get: "Versions of sagetex.sty is "none", version of sagetex.py is "2012/01/16 v.2.3.3-69dcb0eb93de".

That's strange, because, as you see down there, my sagetex.sty is of the same version.

Code: Select all

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{sagetex}
  [2012/01/16 v2.3.3-69dcb0eb93de embedding Sage into LaTeX documents]
\newcommand{\ST@ver}{2012/01/16 v2.3.3-69dcb0eb93de}
So, I un-installed Sage with MikTeX and gave MikTeX another root to find the new sagetex.sty. But this doesn't work either. Same error.

I re-installed sagetex via MikTeX changed the sagetex.sty file again for the newer version, same error.

Now my question: What am I missing?

Regards,
H.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply