PDA

View Full Version : Howto: JaxoDraw


parktownprawn
July 8th, 2005, 04:46 AM
JaxoDraw (http://jaxodraw.sourceforge.net/index.orig.html) is a nice java app for making feynman diagrams which integrates well with Latex

This probably isn't the best way to install it but its pretty easy.

1. First you need to have Java (http://wiki.ubuntu.com//Java) and Latex (http://wiki.ubuntu.com/LaTeX) installed

2. get the non-ubuntu rpms

wget http://jaxodraw.sourceforge.net/download/pkgs/axodraw-1.0-0.i386.rpm
wget http://jaxodraw.sourceforge.net/download/pkgs/jaxodraw-1.3-1.noarch.rpm

3. Install the rpms

sudo alien -i axodraw-1.0-0.i386.rpm
sudo texhash
sudo alien -i jaxodraw-1.3-1.noarch.rpm

4. Make a menu entry by hand (or use smeg (http://ubuntuforums.org/showthread.php?t=38183) )
sudo gedit /usr/share/applications/jaxodraw.desktop

Insert the following lines into the new file

[Desktop Entry]
Name=JaxoDraw
Comment=JaxoDraw
Exec=jaxodraw
Icon=jaxodraw
Terminal=false
Type=Application
Categories=Application;Graphics;


if you want a custom icon
sudo cp custom_icon.png /usr/share/pixmaps/jaxodraw.png

thats it

Vincosmo
April 3rd, 2007, 09:21 AM
Another installation scheme

sudo apt-get install libgcj7-awt

Now download the latest binaries from
http://jaxodraw.sourceforge.net/download/bin.html

then decompress and execute the.jar, ie:

tar -xzf jaxodraw-1.3-2_bin.tar.gz
cd JaxoDraw-1.3-2/
java -jar jaxodraw-1.3-2.jar

you may (sudo) copy the JaxoDraw dir to /usr/local and create a shortcut on your desktop as quoted above for
java -jar /usr/local/JaxoDraw/jaxodraw-1.3-2.jar

May the Feynman diagrams be with you,

Vincent