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, if the first method didn't work, isn't there some kind of deeper problem ? 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.
