#!/bin/bash # *Very* simple script to run Writer2LaTeX (unix version) # Created by Henrik Just, october 2003 # Modified december 2003 as suggested by Juan Julian Merelo Guervos # Modified may 2004 as suggested by J. Wolfgang Kaltz # Please edit the following line to contain the full path to Writer2LaTeX: # modified by JB W2LPATH="$HOME/bin/writer2latex05" # If the Java executable is not in your path, please edit the following # line to contain the full path and file name JAVAEXE="java" # JAVAEXE="/usr/java/jre1.5.0_09/bin/java" W2LCONFIG="/home/baron/jdm/jdm.xml" # W2LCONFIG="/home/baron/bin/writer2latex05/clean.xml" $JAVAEXE -jar $W2LPATH/writer2latex.jar -config $W2LCONFIG $1.sxw tmp1.tex sed -f /home/baron/bin/w2l.sed tmp1.tex > $1.tex /bin/rm tmp1.tex