[sage-support] Re: Sagetex version ?

2022-08-20 Thread slelievre
This Sage Trac query for tickets whose summary contains "sagetex": https://trac.sagemath.org/query?order=id&desc=1&summary=~sagetex reveals in particular this ticket: - Sage Trac ticket 32887: update sagetex to version 3.6 https://trac.sagemath.org/ticket/32887 where a discussion on what sh

[sage-support] Re: sagetex update ready for review

2020-08-12 Thread Dima Pasechnik
please test the new update: https://trac.sagemath.org/ticket/30342 On Sunday, January 6, 2019 at 4:10:56 AM UTC Dima Pasechnik wrote: > Dear sagetex users, > > please test > https://trac.sagemath.org/ticket/27024 > > Thanks, > Dima > -- You received this message because you are subscribed

[sage-support] Re: (sagetex vs pythontex)+foreach

2017-07-03 Thread HG
I used circuitikz with sage and it's fine ? Can you detailed what you mean with tikz ? I can't use sagetex, so I will try pythontex Le lundi 3 juillet 2017 11:00:38 UTC+2, Oguz Kurt a écrit : > > Hi: > > I typed a single page of basic math randomly. While doing so, I used > sagetex for randomiza

[sage-support] Re: SageTeX and Sage Cloud Error

2016-01-27 Thread Ron Bannon
First, thank you for you reply. Okay, I deleted the code before the DE and now it compiles as expected. The original file is long, so I am not sure where the troubles begin. Well, I guess I have some work ahead of me if I am going to find the place where the error originates. On Wednesday, J

[sage-support] Re: SageTeX and Sage Cloud Error

2016-01-27 Thread Dominique Laurain
Hi Ron, It's difficult for me to assume the result you guessed, without a full complete example of tex file displaying the error (try to shorten your tex file and post it, next time). I tried next tex content in new file in cloud project without any issue or error from the pdf previewer... As

[sage-support] Re: sagetex & TeXShop

2014-08-16 Thread Ron Bannon
I have a ~50 page tutorial on using Sage/SageTeX with TeXShop. It is a living document so please consider making constructive comments. http://devio.us/~bannon/sage/ If Drake and Stein are listening . . . Sage and SageTeX need to be further promoted by doing a Coursera course. Please do a Cours

[sage-support] Re: sagetex & TeXShop

2014-08-16 Thread Ron Bannon
I've posted a ~50 page guide to using SageTex with TeXShop. It is a living document, so I welcome comments. http://devio.us/~bannon/sage/ Sage is a great product, but SageTeX is what makes Sage a must have product. I just wish Stein and Drake would get together and do a Coursera course to real

Re: [sage-support] Re: Sagetex issues

2014-03-19 Thread sdermon
OK so my command line in TeXMaker is "/usr/local/bin/sage" %.sagetex.sage I have made a simlink (sudo ln -s ...) from the sage exec in the Sage app folder : /Applications/Sage-6.1.1.app/Contents/Resources/sage/ and I placed it in my /usr/local/bin folder. The previous simlink was actually point

Re: [sage-support] Re: Sagetex issues

2014-03-19 Thread Dan Drake
On Tue, 18 Mar 2014 at 01:52PM -0700, sder...@gmail.com wrote: > It worked! So now I know what to do: point to the right sage exec in the > sage app folder lol! There are 2 and my simlink was pointing to the wrong > one. I'm glad to hear you have it working! I'd like to include some documentati

Re: [sage-support] Re: Sagetex issues

2014-03-18 Thread sdermon
It worked! So now I know what to do: point to the right sage exec in the sage app folder lol! There are 2 and my simlink was pointing to the wrong one. Now texmaker does the job and I don't get the "??" anymore. Thanks a lot! Samuel Le mardi 18 mars 2014 21:44:23 UTC+1, kcrisman a écrit : > >

Re: [sage-support] Re: Sagetex issues

2014-03-18 Thread kcrisman
On Tuesday, March 18, 2014 1:17:12 PM UTC-4, Dan Drake wrote: > > Sorry for the delay in replying... > > On Thu, 13 Mar 2014 at 08:20AM -0700, sde...@gmail.com wrote: > > For the second method... I have been using TeXMaker > > for quite a while and I really like the GUI so... I don't know what

Re: [sage-support] Re: Sagetex issues

2014-03-18 Thread sdermon
I am gonna give you a headache hahaha New error : Process started 2014-03-18 21:35:24.278 Sage[1091:507] No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting Process exited with error(s) I looked it up on the internet and apparently I can't use a

Re: [sage-support] Re: Sagetex issues

2014-03-18 Thread Dan Drake
Sorry for the delay in replying... On Thu, 13 Mar 2014 at 08:20AM -0700, sder...@gmail.com wrote: > For the second method... I have been using TeXMaker > for quite a while and I really like the GUI so... I don't know what to do. > Should I switch to TeXShop only when I compile with sagetex ? Yo

[sage-support] Re: Sagetex issues

2014-03-14 Thread sdermon
I had already created an alias in my /usr/local/bin/ folder using the ln command so there should be no PATH related issues right? I'm asking because I'm no expert at this, I've only used Ubuntu for a little while and most of my work is done in TeXMaker so I don't usually fiddle with my Terminal

[sage-support] Re: Sagetex issues

2014-03-13 Thread kcrisman
> > Anyways, if the first method didn't work, isn't there some kind of deeper > problem ? > > > If the first method didn’t work, then it seems there is some bigger > problem. Perhaps you could include a transcript of what you did together > with your sample file. > Yeah, at this point I think

[sage-support] Re: Sagetex issues

2014-03-13 Thread Ivan Andrus
On Mar 13, 2014, at 9:20 AM, sder...@gmail.com wrote: Hi, I have tried the first method and it still created the files in my home folder which is weird. For the second method... I have been using TeXMaker for quite a while and I really like the GUI so... I don't know what to do. Should I switch to

[sage-support] Re: Sagetex issues

2014-03-13 Thread sdermon
Hi, I have tried the first method and it still created the files in my home folder which is weird. For the second method... I have been using TeXMaker for quite a while and I really like the GUI so... I don't know what to do. Should I switch to TeXShop only when I compile with sagetex ? Anyways

[sage-support] Re: Sagetex issues

2014-03-13 Thread kcrisman
First to Ivan and Dan - see http://trac.sagemath.org/ticket/13261 for one place where this can be dealt with. Is http://trac.sagemath.org/ticket/11755 or http://trac.sagemath.org/ticket/13247 possibly relevant? I've opened http://trac.sagemath.org/ticket/15932 for this issue. I have no idea

[sage-support] Re: Sagetex issues

2014-03-12 Thread sdermon
I have no idea how to fix this -- 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 sa

Re: [sage-support] Re: Sagetex issues

2014-03-12 Thread Ivan Andrus
On Mar 12, 2014, at 12:17 PM, Dan Drake wrote: On Wed, 12 Mar 2014 at 10:04AM -0700, sder...@gmail.com wrote: Well the only problem is that I... don't use a script haha! I double click on the sage file and a terminal window pops up and sage starts to process the file. I get a few lines telling m

Re: [sage-support] Re: Sagetex issues

2014-03-12 Thread Dan Drake
On Wed, 12 Mar 2014 at 10:04AM -0700, sder...@gmail.com wrote: > Well the only problem is that I... don't use a script haha! I double click > on the sage file and a terminal window pops up and sage starts to process > the file. I get a few lines telling me it's working on the file and then > som

[sage-support] Re: Sagetex issues

2014-03-12 Thread sdermon
Well the only problem is that I... don't use a script haha! I double click on the sage file and a terminal window pops up and sage starts to process the file. I get a few lines telling me it's working on the file and then some files are created in my Home directory : E2.sobj example.sagetex.scm

Re: [sage-support] Re: Sagetex issues

2014-03-12 Thread Dan Drake
On Tue, 11 Mar 2014 at 07:26AM -0700, sder...@gmail.com wrote: > Thank you for your time. > > A bunch of files are created : > example_doctest.sage > example.aux > example.log > example.out > example.pdf > example.sagetex.sage Okay, so example.sagetex.sage is created. That leads me to think that

[sage-support] Re: Sagetex issues

2014-03-11 Thread sdermon
Thank you for your time. A bunch of files are created : example_doctest.sage example.aux example.log example.out example.pdf example.sagetex.sage Le vendredi 6 février 2009 13:50:33 UTC+1, Samuel DM a écrit : > > Hello, > I have a couple of problems trying to use sagetex. I am basically > tryin

Re: [sage-support] Re: Sagetex issues

2014-03-11 Thread Dan Drake
On Mon, 10 Mar 2014 at 09:08AM -0700, sder...@gmail.com wrote: > kpsewhich answered : > > sdermon-macbook:~ sdermon$ kpsewhich sagetex.sty > > /usr/local/texlive/2013/../texmf-local/tex/latex/local/sagetex/sagetex.sty Okay, that looks good. So the problem is example.sagetex.sage doesn't exist. W

[sage-support] Re: Sagetex issues

2014-03-11 Thread sdermon
> > Could there be some kind of authorization that I haven't set up correctly? > Like a chmod or something like that ? -- 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 em

[sage-support] Re: Sagetex issues

2014-03-10 Thread sdermon
kpsewhich answered : sdermon-macbook:~ sdermon$ kpsewhich sagetex.sty /usr/local/texlive/2013/../texmf-local/tex/latex/local/sagetex/sagetex.sty So it should work ! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this grou

[sage-support] Re: Sagetex issues

2014-03-10 Thread sdermon
Hi, kpsewhich gives me the sagetex file I have in my texmf tree, the one I grabbed from the sage app. Le vendredi 6 février 2009 13:50:33 UTC+1, Samuel DM a écrit : > > Hello, > I have a couple of problems trying to use sagetex. I am basically > trying to compile the example.tex file in the lat

Re: [sage-support] Re: Sagetex issues

2014-03-10 Thread Dan Drake
On Sun, 09 Mar 2014 at 07:14AM -0700, sder...@gmail.com wrote: > Sage commandline 6 > Traceback (most recent call last): > File "/Users/sdermon/Documents/popo/example.sagetex.py", line 367, in > > _st_.endofdoc() > File > "/Applications/Sage-6.1.1.app/Contents/Resources/sage/local/lib/py

Re: [sage-support] Re: Sagetex issues

2014-03-09 Thread sdermon
Hi, it's been a really long time since my previous post. I had given up trying to use sagetex (I actually had completely forgotten about it). But then recently, I rediscovered it and decided I should try to use it again. I am still having issues with the example file, so I'll copy paste the err

[sage-support] Re: sagetex - result with comma as decimal separator

2014-01-26 Thread YvesD
I just updated my way of replacing the dot with a comma. Just after the "\ begin{document}", I insert this: \begin{sagesilent} # Pour adapter la sortie LaTeX de sage aux conventions francaises. def numprint(x): x = latex(x) x = str(x) x = x.replace('.', ',\!').replace('\\times'

[sage-support] Re: Sagetex and TeXShop

2013-12-05 Thread philipp . uibel
I justed changed the script and now Sagetex is running perfectly. I can't thank you enough for your hint. Thanks so much! Philipp > > -- 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

Re: [sage-support] Re: sagetex documentation

2013-03-09 Thread John Cremona
On 9 March 2013 18:53, Dan Drake wrote: > On Sat, 09 Mar 2013 at 06:06PM +, John Cremona wrote: >> Thanks, I have that file too: so the only error is in the >> documentation which gives the wrong path to the file. > > This is now http://trac.sagemath.org/sage_trac/ticket/14264 . Correction:

Re: [sage-support] Re: sagetex documentation

2013-03-09 Thread John Cremona
Thanks Dan. Now I have a harder (I suspect) question... I have quite a long Sage script which does a complicated computation I have been working on with a student of mine (in case anyone is interested it computes explicit models for three modular curves of level 13, all of genus 3!). In my norma

Re: [sage-support] Re: sagetex documentation

2013-03-09 Thread Dan Drake
On Sat, 09 Mar 2013 at 06:06PM +, John Cremona wrote: > Thanks, I have that file too: so the only error is in the > documentation which gives the wrong path to the file. This is now http://trac.sagemath.org/sage_trac/ticket/14264 . Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddr

Re: [sage-support] Re: sagetex documentation

2013-03-09 Thread Dan Drake
On Sat, 09 Mar 2013 at 06:06PM +, John Cremona wrote: > I did not think that the Sage source distribution included pdf files, > but it appears that I was wrong. SageTeX includes PDFs of the documentation because we don't want to assume a working TeX distribution is present. (Although if you do

Re: [sage-support] Re: sagetex documentation

2013-03-09 Thread John Cremona
Thanks, I have that file too: so the only error is in the documentation which gives the wrong path to the file. The pdf I have in my 5.7 build from source was part of the distribution, it seems, since it has a datestamp of Jan 15 while I made that build in February, and had not built any pdf docs.

[sage-support] Re: sagetex documentation

2013-03-09 Thread Johan Grönqvist
2013-03-09 16:41, John Cremona skrev: According to the online documentation at http://www.sagemath.org/doc/installation/sagetex.html the documentation for sagetex is in SAGE_ROOT/local/share/texmf/tex/generic/sagetex/sagetexpackage.pdf but in my installation of Sage-5.7 that files does not exist

Re: [sage-support] Re: Sagetex

2013-02-24 Thread Dan Drake
On Fri, 22 Feb 2013 at 07:50PM -0800, Nathan Carter wrote: > Aha! After investigating a bunch, it turns out that I haven't updated my > texlive install since the dawn of time, That's pretty common with TeX installations, and it's a source of many headaches with SageTeX! > and a sagetex.sty comes

Re: [sage-support] Re: Sagetex

2013-02-22 Thread Nathan Carter
After upgrading to TeX live 2012, running latex on my example file now pulls in the sagetex.sty from the symlinked folder, and everything works as expected, both from the command line and inside TeXShop. Thank you! On Friday, February 22, 2013 10:50:42 PM UTC-5, Nathan Carter wrote: > > > > Tha

Re: [sage-support] Re: Sagetex

2013-02-22 Thread Nathan Carter
That's very strange. You have Sage 5.3, so you should have a pretty > recent version of SageTeX, but as far as I can tell, the openout problem > can only arise if you're using a really, really old version of SageTeX. > > Aha! After investigating a bunch, it turns out that I haven't updated my

Re: [sage-support] Re: Sagetex

2013-02-22 Thread Dan Drake
On Fri, 22 Feb 2013 at 07:05AM -0800, Nathan Carter wrote: >6. Whether I run with the TeXShop engine (which indeed runs sage on the >.sage file) or do it manually (just LaTeX the file within TeXShop, then > run >sage from Terminal myself) I get the same error as the original poster,

Re: [sage-support] Re: Sagetex

2013-02-22 Thread kcrisman
On Friday, February 22, 2013 10:05:09 AM UTC-5, Nathan Carter wrote: > > > I am having similar problems to the original poster, but the suggestion > that worked for him did not work for me. To be specific, I have this setup: > >1. Sage app for Mac in /Applications/Sage-5.3-OSX-64bit-10.6.ap

Re: [sage-support] Re: Sagetex

2013-02-22 Thread Nathan Carter
I am having similar problems to the original poster, but the suggestion that worked for him did not work for me. To be specific, I have this setup: 1. Sage app for Mac in /Applications/Sage-5.3-OSX-64bit-10.6.app/. 2. Created symlink ~/Library/texmf/tex/sage_generic -> /Applications/

Re: [sage-support] Re: sagetex difficulty

2012-12-16 Thread pong
@Dan, thanks a lot! That solves my problem. On Saturday, December 15, 2012 1:05:49 PM UTC-8, Dan Drake wrote: > > On Sat, 15 Dec 2012 at 10:55AM -0800, pong wrote: > > Hi Dan my intention is to generate tests using sagetex and sage. So I > will > > have something like > > > > m = 'undefined'

Re: [sage-support] Re: sagetex difficulty

2012-12-15 Thread Dan Drake
On Sat, 15 Dec 2012 at 10:55AM -0800, pong wrote: > Hi Dan my intention is to generate tests using sagetex and sage. So I will > have something like > > m = 'undefined' if denom==0 else (y2-y1)/(x2-x1) > > . > > then print out m at some point. So $\sage{m}$ does not work is denom==0 > but \s

Re: [sage-support] Re: sagetex difficulty

2012-12-15 Thread pong
Hi Dan my intention is to generate tests using sagetex and sage. So I will have something like m = 'undefined' if denom==0 else (y2-y1)/(x2-x1) . then print out m at some point. So $\sage{m}$ does not work is denom==0 but \sagestr{m} doesn't seem to work if denom<>0. Any suggestion? On S

Re: [sage-support] Re: sagetex difficulty

2012-12-15 Thread Dan Drake
On Sat, 15 Dec 2012 at 02:45AM -0800, pong wrote: > I am having the same trouble as John. Would you expand a little bit on your > solution: > > for example > $\sage{'Hello'}$ > causes an error. Where should I put the 'r' as suggested in your post (I > think stands for raw string)? I tried severa

[sage-support] Re: sagetex difficulty

2012-12-15 Thread pong
I am having the same trouble as John. Would you expand a little bit on your solution: for example $\sage{'Hello'}$ causes an error. Where should I put the 'r' as suggested in your post (I think stands for raw string)? I tried several combination but nothing seems to work. Btw, 'text' in sage ta

[sage-support] Re: sagetex difficulty

2012-06-24 Thread Slumberland
Your output looks different than mine when this happens, but I think it's the same: there is still a Python text parser operating on your strings before Latex can get to them. \nabla will give you \n "newline", \tau will give you \t, etc. if you type an r before the quotes surrounding the str

Re: [sage-support] Re: sagetex difficulty

2012-06-13 Thread John Cremona
On 13 June 2012 04:26, Jason Grout wrote: > On 6/12/12 6:13 PM, Dan Drake wrote: >> >> On Tue, 12 Jun 2012 at 02:49PM +0100, John Cremona wrote: >> >>> The second machine I tried (which I will not have access to until I go >>> home) had only just been upgraded to ubuntu 12.04, so it is surprising

[sage-support] Re: sagetex difficulty

2012-06-12 Thread Jason Grout
On 6/12/12 6:13 PM, Dan Drake wrote: On Tue, 12 Jun 2012 at 02:49PM +0100, John Cremona wrote: The second machine I tried (which I will not have access to until I go home) had only just been upgraded to ubuntu 12.04, so it is surprising that it's using an old texlive version. Debian (and henc

[sage-support] Re: sagetex difficulty

2012-06-12 Thread John Cremona
One more thing: I get latex errors if I do \sage{s} where s is a string. Here latex(s) will put \verb| before the string and | after it, but whatever the result, latex cannot parse it. I was using this to get the label of an elliptic curve E into my latex: E.label() is a string. ! Missing }

[sage-support] Re: sagetex - result with comma as decimal separator

2012-05-03 Thread Felipo Bacani
Is there a way that *every* printed number (and not only the ones that one uses "replace" ou "locale.format" ) have a comma as a separator for decimals? I ask this because I can't make the ticks of my graphics to print in this format. Thanks. BTW, there's a ticket on this: http://trac.sagemath

[sage-support] Re: sagetex question

2012-04-03 Thread Jason Grout
On 4/3/12 9:16 PM, kcrisman wrote: On Tuesday, April 3, 2012 10:14:01 PM UTC-4, Jason Grout wrote: On 4/3/12 8:35 PM, kcrisman wrote: > > > On Friday, March 30, 2012 9:45:21 PM UTC-4, Dan Drake wrote: > > On Fri, 30 Mar 2012 at 11:24AM -0700, Tom Judson wrote:

[sage-support] Re: sagetex question

2012-04-03 Thread kcrisman
On Tuesday, April 3, 2012 10:14:01 PM UTC-4, Jason Grout wrote: > > On 4/3/12 8:35 PM, kcrisman wrote: > > > > > > On Friday, March 30, 2012 9:45:21 PM UTC-4, Dan Drake wrote: > > > > On Fri, 30 Mar 2012 at 11:24AM -0700, Tom Judson wrote: > > > I have a question about sagetex. Is it pos

[sage-support] Re: sagetex question

2012-04-03 Thread Jason Grout
On 4/3/12 8:35 PM, kcrisman wrote: On Friday, March 30, 2012 9:45:21 PM UTC-4, Dan Drake wrote: On Fri, 30 Mar 2012 at 11:24AM -0700, Tom Judson wrote: > I have a question about sagetex. Is it possible to run sagetex if you are > using a remote server as opposed to a local co

[sage-support] Re: sagetex question

2012-03-30 Thread Jason Grout
On 3/30/12 1:24 PM, Tom Judson wrote: I have a question about sagetex. Is it possible to run sagetex if you are using a remote server as opposed to a local copy of sage. I run sagetex locally on my Mac, but I have a graduate student who would like to use sagetex on a PC. She is currently doing al

[sage-support] Re: SageTeX, Numpy, and Verbatim Environment

2011-12-03 Thread Jason Grout
On 12/3/11 9:24 PM, Dan Drake wrote: On Sat, 03 Dec 2011 at 09:16AM -0800, Mark wrote: I'm trying to represent Sage non-native elements in a LaTeX document using SageTeX. Sage generates the representation without complaint, but the result does not compile properly on the second LaTeX step (LaTe

[sage-support] Re: sagetex

2011-10-06 Thread David Hren
Kile was using the sagetex.sty that came with TeXLive. I removed the old version, and now sagetex is running with no problems. Thanks for your help. On Oct 5, 7:02 pm, Dan Drake wrote: > On Wed, 05 Oct 2011 at 10:15AM -0700, David Hren wrote: > > Error in Sage code on line 8 of HWK7.tex! Tr

[sage-support] Re: SageTeX encoding issue?

2010-11-23 Thread Maxim
On 23 nov, 02:07, Dan Drake wrote: > my guess is that > something strange is happening with Tex / XeTeX. > > Dan I found it is not specific to XeTeX, as the same issue arises when using LaTeX. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group,

[sage-support] Re: sagetex -- how to get started?

2010-11-19 Thread John Cremona
I failed to get this to work last time I tried, so gave up. Maybe I will try again. Thanks, John On Nov 19, 3:14 am, Dan Drake wrote: > On Sat, 30 Oct 2010 at 02:53PM -0700, John Cremona wrote: > > Thanks to both for the advice.  The minimal tex file from Jason works > > fine.  I do have all t

Re: [sage-support] Re: sagetex -- how to get started?

2010-11-18 Thread Dan Drake
On Sat, 30 Oct 2010 at 02:53PM -0700, John Cremona wrote: > Thanks to both for the advice. The minimal tex file from Jason works > fine. I do have all those additional texlive packages installed, but > they are 2007 versions -- my ubuntu is 2008, something like version > 10.08, which seems to be

[sage-support] Re: sagetex -- how to get started?

2010-10-30 Thread Jason Grout
On 10/30/10 4:53 PM, John Cremona wrote: Thanks to both for the advice. The minimal tex file from Jason works fine. I do have all those additional texlive packages installed, but they are 2007 versions -- my ubuntu is 2008, something like version 10.08, which seems to be the problem. (And I do

[sage-support] Re: sagetex -- how to get started?

2010-10-30 Thread John Cremona
Thanks to both for the advice. The minimal tex file from Jason works fine. I do have all those additional texlive packages installed, but they are 2007 versions -- my ubuntu is 2008, something like version 10.08, which seems to be the problem. (And I don't much want to upgrade the whole distribu

[sage-support] Re: sagetex -- how to get started?

2010-10-30 Thread Maxim
Hmm, actually, to generate the output embedding the plots made with sageplot, you need to do: pdflatex test.tex sage test.sagetex.sage pdflatex test.tex That's why I usually use makefiles to ease the process. Maxim -- To post to this group, send email to sage-support@googlegroups

[sage-support] Re: sagetex -- how to get started?

2010-10-30 Thread Maxim
Jason is right, Looking at the example.tex included with sagetex, the following lines in the preamble lists the dependencies: \usepackage{hyperref} \usepackage{tkz-berge} \usepackage{sagetex} If using the Ubuntu texlive latex distribution, you need to make sure to install the texlive-latex-extra

[sage-support] Re: sagetex -- how to get started?

2010-10-30 Thread Jason Grout
On 10/30/10 12:31 PM, John Cremona wrote: Can someone tell me what more I need to do to use sagetex? The sagetex documention just talks about making sagetex.sty availaible to latex, which I have done. But then when I tried to use pdflatex on example.tex it complained about not having a package

[sage-support] Re: SageTeX compiling errors in TeXShop

2010-08-04 Thread Katie Johnson
That works! I had followed the "more permanent instructions" previously, but somehow the wrong version still ended up in the right place. Anyway, it works now, even the automatic compiling in TeXShop. The only thing that is still acting funny is when I compile the example that came with SageTeX,

[sage-support] Re: SageTeX compiling errors in TeXShop

2010-08-03 Thread Katie Johnson
No problem! Just wanted to make sure I wasn't forgotten. :) On Aug 2, 9:32 pm, Dan Drake wrote: > Hi Katie, > > Sorry for the slow replies. I'm traveling and have not been keeping > super current on email. > > > > On Mon, 02 Aug 2010 at 09:06AM -0700, Katie Johnson wrote: > > Does anyone know ho

Re: [sage-support] Re: SageTeX compiling errors in TeXShop

2010-08-02 Thread Dan Drake
Hi Katie, Sorry for the slow replies. I'm traveling and have not been keeping super current on email. On Mon, 02 Aug 2010 at 09:06AM -0700, Katie Johnson wrote: > Does anyone know how to fix this? > > On Jul 28, 2:50 pm, Katie Johnson wrote: > > I used Dan's minimal example.  I copied his code

[sage-support] Re: SageTeX compiling errors in TeXShop

2010-08-02 Thread Katie Johnson
Does anyone know how to fix this? On Jul 28, 2:50 pm, Katie Johnson wrote: > I used Dan's minimal example.  I copied his code into a file, ran it > in TexShop and got no errors, but did get a warning: > > *** > *

[sage-support] Re: SageTeX compiling errors in TeXShop

2010-07-28 Thread Katie Johnson
I used Dan's minimal example. I copied his code into a file, ran it in TexShop and got no errors, but did get a warning: ** This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) \write18 e

[sage-support] Re: SageTeX compiling errors in TeXShop

2010-07-27 Thread ma...@mendelu.cz
On 27 čnc, 23:45, Katie Johnson wrote: > The problem comes from when I try to add the simple command $ > \sage{2+2}$ to the beginning of the document (right after \maketitle, > for example).  Then I get a very strange error: > > ! Missing \endgroup inserted. > >                \endgroup > l.417

Re: [sage-support] Re: sagetex question

2010-07-08 Thread Mike Hansen
On Thu, Jul 8, 2010 at 4:10 PM, Ra wrote: > Hi again, > > I have looked into my problem further, and it seems that the latex > command is at fault. As you see, only when I multiply the fraction by > -2 (or anything other than -1), do I get a negative fraction back from > the latex command. > > Any

[sage-support] Re: sagetex question

2010-07-08 Thread Ra
Hi again, I have looked into my problem further, and it seems that the latex command is at fault. As you see, only when I multiply the fraction by -2 (or anything other than -1), do I get a negative fraction back from the latex command. Any ideas? Bug report? SAGE seems a very useful tool but if

Re: [sage-support] Re: Sagetex wont plot

2010-05-07 Thread Dan Drake
On Thu, 06 May 2010 at 10:51AM -0700, Oscar wrote: > I tried export PATH=/Applications/sage/:$PATH in Terminal and got > this: > > export: Command not found. > > I'm running Mac OS 10.5.8. Hrm, are you using bash or tcsh for your shell? That should work in bash. I don't know how to export environ

[sage-support] Re: Sagetex wont plot

2010-05-06 Thread Oscar
I tried export PATH=/Applications/sage/:$PATH in Terminal and got this: export: Command not found. I'm running Mac OS 10.5.8. Oscar Chavez On May 5, 7:54 pm, Dan Drake wrote: > On Wed, 05 May 2010 at 07:38AM -0600, jrodri1...@gmail.com wrote: > > Thanks!!! I got that working. But, I stumbled

[sage-support] Re: sagetex - result with comma as decimal separator

2010-03-24 Thread Oscar
I agree. Ideally, sagetex would work with the numprint package and the different language packages for babel,so that users of sagetex and those packages wouldn't need to do anything different. Or, as I think you imply, an option within sagetex. Oscar On Mar 23, 7:34 pm, Dan Drake wrote: > On Tue

Re: [sage-support] Re: sagetex - result with comma as decimal separator

2010-03-24 Thread Mike Hansen
If the locale is properly set, we can get this information from sage: locale.localeconv()['decimal_point'] '.' --Mike -- 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,

[sage-support] Re: sagetex - result with comma as decimal separator

2010-03-24 Thread iDan
On 24 mar, 07:00, "ma...@mendelu.cz" wrote: > And note the difference between $12,13212$ and $12{,}13212$  - the > first one has incorrect spacing in TeX! Hi Robert, You are right, but there is no difference between $12{,}345$, $ \numprint{12,345}$ and $\DecimalMathComma 12,345$ If you don't have

[sage-support] Re: sagetex - result with comma as decimal separator

2010-03-24 Thread iDan
On 23 mar, 20:34, Dan Drake wrote: > > \begin{sagesilent} >   def numprint(x): >     return x.str().replace('.', ',') > \end{sagesilent} > > and then use \sage{numprint(x)}, which is a bit nicer. Hi, Thanks for your suggestion. But, - this function change the number of significant figures - \s

[sage-support] Re: sagetex - result with comma as decimal separator

2010-03-24 Thread ma...@mendelu.cz
On 24 bře, 01:34, Dan Drake wrote: > On Tue, 23 Mar 2010 at 07:25AM -0700, iDan wrote: > > Hi, > > In french, we use comma as decimal separator. How can I convert the > > result of the instruction \sage{} (from sagetex package) ? > > Hrm, unfortunately, I don't think this is possible right now.

Re: Re : [sage-support] Re: Sagetex issue

2010-03-03 Thread Dan Drake
On Wed, 03 Mar 2010 at 01:34PM +, Colombel Bruno wrote: > I'm trying to use sagetex to put 3d-surfaces in latex document : > > \begin{sageblock} > var('u,v') > h= lambda u,v: u^2 + 2*v^2 > f=plot3d(h, (u,-1,1), (v,-1,1)) > f.show() > \end{sageblock} > > \sageplot[][pn

Re : [sage-support] Re: Sagetex issue

2010-03-03 Thread Colombel Bruno
geplot function doesn't work here ... The file plot-0.png and plot-0.eps are not created ... Same problem with implicit3dplot, ... If anybody knows what to do --- En date de : Mer 3.3.10, Adrián a écrit : De: Adrián Objet: [sage-support] Re: Sagetex issue À: "sage-support&quo

[sage-support] Re: Sagetex issue

2010-03-02 Thread Adrián
Thanks, that's just what I needed, just the load instruction. I finally got it to work somehow. Although it seems kind of weird that I get an error message after I load the .sage file in the console, it always ends saying IOError: [Errno 2] No such file or directory: 'sagetex_practice.sage' but i

[sage-support] Re: sagetex

2010-02-23 Thread Jason Grout
On 02/23/2010 02:18 PM, Dana Ernst wrote: Is the newest version of sagetex included in Sage 4.3.2? Also, what is the newest version of sagetex? It's not listed here: It's now a standard spkg: http://sagemath.org/packages/standard/ Looks like the version is 2.2.3. Jason -- To post to t

[sage-support] Re: sagetex & TeXShop

2010-02-16 Thread Oscar
Using "solve(x^2-5*x-24, x)" did fix my problem, thank you. I should have checked that. Oscar On Feb 15, 7:11 pm, Dan Drake wrote: > On Mon, 15 Feb 2010 at 08:21AM -0800, Oscar wrote: > > Back to square 1: > > > I added a few more lines of code and then it stopped working. Plots > > are OK, but

Re: [sage-support] Re: sagetex & TeXShop

2010-02-15 Thread Dan Drake
On Mon, 15 Feb 2010 at 08:21AM -0800, Oscar wrote: > Back to square 1: > > I added a few more lines of code and then it stopped working. Plots > are OK, but Sage seems not to be calculating. I checked the > generated .sage file, and now it says what it should say, I think: > _st_.inline(0, latex(2

[sage-support] Re: sagetex & TeXShop

2010-02-15 Thread Oscar
The .tex file is at: http://dl.dropbox.com/u/3709792/example1.tex And the generated .sage file: http://dl.dropbox.com/u/3709792/example1.sage Oscar On Feb 15, 10:21 am, Oscar wrote: > Back to square 1: > > I added a few more lines of code and then it stopped working. Plots > are OK, but Sage

[sage-support] Re: sagetex & TeXShop

2010-02-15 Thread Oscar
Back to square 1: I added a few more lines of code and then it stopped working. Plots are OK, but Sage seems not to be calculating. I checked the generated .sage file, and now it says what it should say, I think: _st_.inline(0, latex(2^100)) I didn't do anything different, except add more lines o

[sage-support] Re: sagetex & TeXShop

2010-02-14 Thread Oscar
SUCESS!! Thank you very much. I had already changed the sagetex.sty file in my texmf. It had the one that comes with TeXLive, and I put there the one that comes with Sage, since I noticed it was more recent. That didn't seem to help, but I just did what you recommend (sudo gzip sagetex.sty and then

Re: [sage-support] Re: sagetex & TeXShop

2010-02-14 Thread Dan Drake
On Sun, 14 Feb 2010 at 12:26PM -0800, Oscar wrote: > The story gets more complicated: I commented out the \sage{2^100} > calculation, and without that, it runs fine. The reason is a change in sagetex.sty. Right now, your system is using sagetex.sty from TeXLive (look for "/usr/local/texlive/2009/t

[sage-support] Re: sagetex & TeXShop

2010-02-14 Thread Oscar
The story gets more complicated: I commented out the \sage{2^100} calculation, and without that, it runs fine. This seems to have no problems: %!TEX TS-program = sage \documentclass{article} \usepackage{sagetex} \usepackage{graphicx} \begin{document} This is an example

[sage-support] Re: sagetex & TeXShop

2010-02-14 Thread Oscar
I did change the drop-down menu so that it says 'sage'. I did 'kpsewhich sagetex.sty' and this is what I got: Cnidus:~ oscar$ kpsewhich sagetex.sty /Users/oscar/Library/texmf/tex/sagetex.sty The whole console text is at http://dl.dropbox.com/u/3709792/sagetex_example_console.txt You'll see that

Re: [sage-support] Re: sagetex: granular builds for large documents

2009-12-02 Thread Laurent
> I don't know how far Dan's > ideas are, but there is one immediate hack i can suggest you: Just > create PDF files for each chapter and then stick them together using a > PDF-merge tool. With Ubuntu : apt-get install pdftk pdftk *.pdf cat output combined.pdf Laurent -- To post to this group

Re: [sage-support] Re: sagetex: granular builds for large documents

2009-12-01 Thread Dima Pasechnik
one can just use pdfpages in (pdf) LaTeX: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages=-]{bla} \includepdf[pages=-]{foo} \end{document} creates a pdf document consisting of bla.pdf followed by foo.pdf 2009/12/2 Marshall Hampton : > I use pyPdf to glue pdfs tog

[sage-support] Re: sagetex: granular builds for large documents

2009-12-01 Thread Marshall Hampton
I use pyPdf to glue pdfs together, its nice if you already like python and want to automate such tasks: http://pybrary.net/pyPdf/ -Marshall On Dec 1, 5:11 pm, Harald Schilly wrote: > On Dec 1, 8:44 pm, Eric Drechsel wrote: > > > 1. Is it possible to have a master document that includes a bunc

[sage-support] Re: sagetex: granular builds for large documents

2009-12-01 Thread Eric Drechsel
Hi Harald, thanks for the suggestion, I had thought of that too. It seems like a viable route. Each subdocument ends up on its own set of pages, but I guess that's the case when using \include too. -- Eric On Dec 1, 3:11 pm, Harald Schilly wrote: > On Dec 1, 8:44 pm, Eric Drechsel wrote: > > >

[sage-support] Re: sagetex: granular builds for large documents

2009-12-01 Thread Eric Drechsel
On Dec 1, 3:30 pm, Dan Drake wrote: > Hi Eric, > > > > On Tue, 01 Dec 2009 at 11:44AM -0800, Eric Drechsel wrote: > > I'm experimenting with a homework workflow using sagetex. I'd like to > > make efficient use of resources, which seems to be a (the?) major > > deficiency with sagetex, especiall

  1   2   >