Ask Your Question

jdioses's profile - activity

2020-07-08 22:44:43 +0200 received badge  Popular Question (source)
2017-12-14 18:59:10 +0200 received badge  Student (source)
2017-12-14 18:58:59 +0200 received badge  Famous Question (source)
2017-01-31 21:32:02 +0200 received badge  Famous Question (source)
2017-01-31 21:32:02 +0200 received badge  Notable Question (source)
2015-10-10 03:55:34 +0200 received badge  Notable Question (source)
2013-12-10 00:11:48 +0200 received badge  Popular Question (source)
2013-11-25 09:06:31 +0200 received badge  Popular Question (source)
2013-01-02 00:07:22 +0200 received badge  Supporter (source)
2013-01-02 00:06:08 +0200 answered a question SageTeX doesn't work

noufalasharaf,

I just did that and it worked fine! I didn't want to copy the sagetex.sty file directly into my working directory because the Sage installation guide says that is not the best way to handle this.

According to that guide, of the three ways to make SageTeX known to TeX, the third one is the best. And that's what I was doing before. The problem is that it doesn't create the necessary xyz.sagetex.sage file but only a file xyz.sage (which is the one that gives an error message).

Thanks a lot for the answer.

2012-12-31 19:42:41 +0200 asked a question SageTeX doesn't work

I'm using AUCTeX as my TeX editor. I created a TeX file loaded with SageTeX. When I run LaTeX on it I get the message that there are unresolved references. The output has question marks on the places I have put \sage. However, it seems to understand without any trouble the sageblock environment.

When I load the corresponding .sage file on Sage, I get at the following message:

VersionError: versions of .sty and .py files do not match. stexample.sagetex.sage was generated by sagetex.sty version "None", but is being processed by sagetex.py version "2012/01/16 v2.3.3-69dcb0eb93de". Please make sure that TeX is using the sagetex.sty from your current version of Sage; see http://www.sagemath.org/doc/installat....

I thought I had followed the instructions on the "Make SageTeX Known to TeX" section of the Sage installation guide but it's not working.

2012-12-25 21:23:34 +0200 answered a question Running Sage from the commad line in Ubuntu 12.04

ppurka,

Great! I'll make a Google search to learn more about PATH. And thanks a lot!

2012-12-25 20:00:15 +0200 asked a question Running Sage from the commad line in Ubuntu 12.04

I'm relatively new to Sage and to GNU/ Linux. Sorry in advance if this question seem silly. But I need to learn how to do this. Here is my problem:

I have Sage installed from source in /usr/local/src. So every time I want to run Sage I have to type on the terminal

$ cd /usr/local/src/sage-5.4.1/

and once inside this directory, I have to type

./sage

How can I start Sage directly at the prompt $ just by typing "sage"?

Thanks a lot for the answer.

2012-12-17 10:04:46 +0200 answered a question Two quick questions about the tutorial

The problem appears when I try to create an object of class Evens. If I type, as the tutorial suggests

e=Evens(10)

I get the following message

TypeError: 'sage.rings.integer.Integer' object is not iterable
2012-12-15 19:06:18 +0200 answered a question Two quick questions about the tutorial

Sorry, it's not a syntax error what I get but a type error.

2012-12-15 18:54:56 +0200 asked a question Two quick questions about the tutorial

I'm using the Interactive Shell.

First question: How do I get back to the working session after I'm done consulting the documentation? For example, if I look up for tan? I get all the information I need and after that a highlighted END. I just don't know how to get back to where I was before.

Second question: The last example in the section Functions, Indentation, and Counting of the Guided Tour doesn't seem to work. It's the example Class Evens(list) .... I've tried typing exactly as it is several times and I keep getting a syntax error message.

Any help would be appreciated. Thank you very much.