Writer2LaTeX source version 0.3.3a (2004-02-19)
==================================

Writer2LaTeX is (c) 2002-2004 by Henrik Just.
The source is available under the terms and conditions of the
GNU LESSER GENERAL PUBLIC LICENSE, version 2.1.
Please see the file COPYING.TXT for details.

The file xmergefix.jar contains a modified version of the
file xmerge.jar distributed with OpenOffice.org.
Xmerge is (c) by Sun Microsystems. The original source can
be found at
  http://xml.openoffice.org/
The modified source is included in xmergefix.jar (see the
*.java files).

Currently a large part of the source for Writer2LaTeX is somewhat
messy and undocumented. This situation is planned to change later :-)

Building Writer2LaTeX
---------------------

There is no makefile currently; to build Writer2LaTeX you have to
compile each .java file individually.

Here are some simple instructions:

1. Unzip into some directory.

2. First you will have to set the classpath:

WINDOWS:
set classpath=xmergefix.jar;<directory containing writer2latex source>

UNIX:
export CLASSPATH="xmergefix.jar:<directory containing writer2latex source>"
If "export" doesnt work, try "setenv".

3. Next you will have to compile each .java file, eg.: Go in each
subdirectory and do:

javac *.java

4. Finally you have to generate the writer2latex.jar. Go back to the
directory containing the writer2latex source and do:

WINDOWS:
jar -cmf META-INF\manifest.mf writer2latex.jar META-INF\converter.xml writer2latex\symbols.xml writer2latex\*.class writer2latex\util\*.class  writer2latex\xmerge\*.class writer2latex\office\*.class writer2latex\bibtex\*.class writer2latex\xhtml\*.class

UNIX:
jar -cmf META-INF/manifest.mf writer2latex.jar META-INF/converter.xml writer2latex/symbols.xml writer2latex/*.class writer2latex/util/*.class  writer2latex/xmerge/*.class writer2latex/office/*.class writer2latex/bibtex/*.class writer2latex/xhtml/*.class

Henrik Just, February 2004

Thanks to Jan Suhr for improvements to this file.
