Asymptote: Difference between revisions
Jump to navigation
Jump to search
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Asymptote is the LaTeX for three dimensional graphics. It creates flat (bidimensional) and |
Asymptote is the LaTeX for three dimensional graphics. It creates flat (bidimensional) and three dimensional graphics that can be inserted in a LaTeX/PDF document. The results are consistent with the LaTeX typography and 3D graphics can be freely rotated with Acrobat Reader. |
||
= Install = |
= Install = |
||
| Line 12: | Line 12: | ||
cd asymptote/ |
cd asymptote/ |
||
First you need these tools: autoheader (autoconf), zlib, fftw3 (optional), freeglut, bison, flex. They are installed in most systems |
First you need these tools: autoheader (autoconf), zlib, fftw3 (optional), freeglut, bison, flex, texi2dvi (texinfo). They are installed in most systems |
||
[in ubuntu] sudo apt-get install autoconf libz-dev libfftw3-dev freeglut3-dev bison |
[in ubuntu] sudo apt-get install autoconf libz-dev libfftw3-dev freeglut3-dev bison |
||
and download |
and download |
||
| Line 19: | Line 19: | ||
Then |
Then |
||
./autogen.sh |
./autogen.sh |
||
./configure --prefix=$HOME/usr --bindir=$HOME/usr/bin$CLUSTER |
|||
./configure |
|||
make all |
make all |
||
make install |
make install |
||
(3 minutes, 46 seconds with 'make all -j 4') |
(3 minutes, 46 seconds with 'make all -j 4') |
||
Test |
|||
~/usr/bin/asy |
|||
Welcome to Asymptote version 2.09svn-r5246 (to view the manual, type help) |
|||
> |
|||
Add ~/usr/bin$CLUSTER to the PATH, for example by adding the following line to ~/.profile |
|||
# set PATH so it includes user's private bin if it exists |
|||
if [ -d "$HOME/usr/bin" ] ; then |
|||
PATH="$HOME/usr/bin$CLUSTER:$PATH" |
|||
fi |
|||
Latest revision as of 23:15, 14 January 2011
Asymptote is the LaTeX for three dimensional graphics. It creates flat (bidimensional) and three dimensional graphics that can be inserted in a LaTeX/PDF document. The results are consistent with the LaTeX typography and 3D graphics can be freely rotated with Acrobat Reader.
Install
From SVN
Check out from SVN server:
mkdir ~/soft cd ~/soft svn co http://asymptote.svn.sourceforge.net/svnroot/asymptote/trunk/asymptote cd asymptote/
First you need these tools: autoheader (autoconf), zlib, fftw3 (optional), freeglut, bison, flex, texi2dvi (texinfo). They are installed in most systems
[in ubuntu] sudo apt-get install autoconf libz-dev libfftw3-dev freeglut3-dev bison
and download
wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz
Then
./autogen.sh ./configure --prefix=$HOME/usr --bindir=$HOME/usr/bin$CLUSTER make all make install
(3 minutes, 46 seconds with 'make all -j 4')
Test
~/usr/bin/asy Welcome to Asymptote version 2.09svn-r5246 (to view the manual, type help) >
Add ~/usr/bin$CLUSTER to the PATH, for example by adding the following line to ~/.profile
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/usr/bin" ] ; then
PATH="$HOME/usr/bin$CLUSTER:$PATH"
fi