On Mar 13, 2014, at 9:20 AM, [email protected] 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 TeXShop only when I compile with sagetex ?
According to the documentation [1], you should be able to add sage support to TeXmaker. I have never used it so I don't know how hard that would be to add, but if you do, add the instructions to the wiki or something and I bet many people would be grateful. 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. -Ivan [1] http://www.xm1math.net/texmaker/doc.html#SECTION33 Le jeudi 13 mars 2014 16:09:32 UTC+1, kcrisman a écrit : > > 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 how to fix this >> > > Luckily, there are a few ways to do this on Mac. > > 1) First, you could actually run this in the directory you make the files > in. This does require opening Terminal and some other steps. Roughly: > * Open Terminal and navigate to the directory you created the files in, > using "cd". You should be able to get the whole path by Ctrl-clicking on > the directory name in the Finder, so e.g. if it lives in > user.name/Desktop/my_files/Sagetex you'd open Terminal and do "cd > Desktop/my_files/Sagetex". > * Now you need to call Sage on example.sagetex.sage. This requires you > running the Sage command buried in the app. Let's suppose you have it in > the top-level Applications directory; then you would do > "/Applications/Sage-6.1.1-OSX-64bit-10.6/Contents/Resources/sage/sage > example.sagetex.sage" (or change the names for what yours is). > > 2) You could use TexShop. (See the SageTex documentation and > http://trac.sagemath.org/ticket/13261, as well as a number of > tex.stackexchange.com questions and http://tug.org/pipermail/ > macostex-archives/2013-May/051021.html for examples, though not all may > be 100% up to date. See also http://pages.uoregon.edu/koch/ > texshop/version.html where the TexShop author discusses his preferred > variant.) Then you can just add > %!TEX TS-program = sage > to the top of your TeX files. But you would need to do some other > command-line things to set it up, though then it should "just work". I use > it all the time this way. > -- 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/d/optout.
