Ask Your Question

Luis Guzman's profile - activity

2015-07-06 16:12:49 +0200 received badge  Famous Question (source)
2013-06-05 03:04:44 +0200 received badge  Notable Question (source)
2012-12-21 02:43:59 +0200 received badge  Popular Question (source)
2012-06-14 12:23:56 +0200 received badge  Self-Learner (source)
2012-06-14 12:23:56 +0200 received badge  Teacher (source)
2012-06-14 12:03:20 +0200 answered a question Sagetex and windows 7?

@daniel.e2718, it is actually easy to implement. Sage 5.0 comes with sagetex installed. You can verify this by typing at the sage command prompt sage -i | more to view a list of installed packages. You will see sagetex-2.3.3.p2. This means all you have to do is share the windows folder that is your tex working directory. You do this by going to Oracle VM VirtualBox Manager, selecting the Machine->Settings menu path and finally selecting Shared Folders on the left navigation pad. Finally, as The SageTEX package pdf manual states,

To copy the fi les that LATEX needs into your texmf directory (your windows shared folder), simply do

cp -r $SAGE ROOT/local/share/texmf/* HOMEPREFIX/texmf/

You can test your windows tex editor with the provided example.tex now located under your shared folder:

  1. In Windows, build the example.tex file.
  2. In the sage command line process the example.sagetex.sage output file.
  3. Rerun the example.tex file under Windows and all the sage code will be processed in the pdf document.
2012-06-06 17:12:25 +0200 received badge  Supporter (source)
2012-05-30 13:28:58 +0200 asked a question Sagetex and windows 7?

I have sage 5.0 successfully installed on my Windows 7 64 bit machine using Oracle's VM VirtualBox. However, I would like to use sagetex in my LyX 2.0 and TeXworks 0.4.3 editors. How can I accomplish this?