Changes

Jump to navigation Jump to search
169 bytes added ,  15:03, 12 July 2009
→‎Requirements: installation instructions now point to github as the source of gnuplot
== Requirements ==
* '''[http://modules.contextgarden.net/gnuplot Gnuplot module]''' (on MikTeX ** in TeX Live you need to have <code>context-gnuplot</code> installed, in [[ConTeXt Minimals]] you can install it's part of the distribution already)with <code>--extras=t-gnuplot</code> switch
* '''Gnuplot has to be installed''' (and in your PATH)
:On most Linux installations this is probably already the case. On Windows you have to create a file <code>gnuplot.bat</code> with something like:
* '''[[write18]]''' has to be enabled
=== To use the ConTeXt terminal (recommended) ===
* for ==== Windows, you ====You can take [http://dl.contextgarden.net/modules/gnuplot-win.zip these] binaries from [[modules:gnuplot-win|Modules in the garden]]* for Linux or Mac you ''(Note: the binary is old, but I don't have windows any more to download compile the source from http://wwwlatest binary; I can only hope that it still works.gnuplot.info (use [http://downloads.sourceforge.net/gnuplot/gnuplot-4.2.2.tar.gz this file] )''==== Unix or Mac ====The easiest way to fetch and compile the version from [httpbinary is://sourceforge.net/cvs/?group_id=2055 CVS]), extract it, copy [http git clone git://dl.contextgardengithub.net/modulescom/gnuplot-winmojca/gnuplot/term/context.trm context.trm] to <code>term/</code>, add <code>#include "context.trm"</code> to <code>src/term.h</code> and compile it using # prepare is only needed if you use CVS version of gnuplotgit
./prepare
./configure
make
:''(Alternatively you could download gnuplot source from http://www.gnuplot.info, copy [http://github.com/mojca/gnuplot/raw/master/term/context.trm context.trm] to <code>term/</code>, add <code>#include "context.trm"</code> to <code>src/term.h</code> and follow the same steps for compilation.)'' Then replace the old gnuplot executable (once backup-ed) with the one in <code>src/gnuplot</code> or type:
make install
Feel free to contact [[User:Mojca Miklavec|Mojca]] in case of problems.

Navigation menu