w2phtml/source/readme-source.txt
henrikjust 9241a44f6c Java 5 + Writer4LaTeX + bugfixes
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@11 f0f2a975-2e09-46c8-9428-3b39399b9f3c
2009-03-30 07:38:37 +00:00

68 lines
2 KiB
Text

Writer2LaTeX source version 1.1.1
=================================
Writer2LaTeX is (c) 2002-2009 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.
Overview
--------
The source of Writer2LaTeX consists of three major parts:
* A general purpose java library for converting OpenDocument files into LaTeX,
BibTeX, xhtml and xhtml+MathML
This is to be found in the packages writer2latex.* and should only be used
through the provided api writer2latex.api.*
* A command line utility writer2latex.Application
* A collection of components for OpenOffice.org
These are to be found in the packages org.openoffice.da.comp.*
Currently parts of the source for Writer2LaTeX are somewhat messy and
undocumented. This situation is improving from time to time :-)
Building Writer2LaTeX
---------------------
Writer2LaTeX uses Ant version 1.5 or later (http://ant.apache.org) to build.
Some java libraries from OOo are needed to build the filter part of Writer2LaTeX,
these are jurt.jar, unoil.jar, ridl.jar and juh.jar.
To make these files available for the compiler, edit the file build.xml in
the writer2latex09 directory as follows:
The line
<property name="OFFICE_HOME" location=""/>
should be edited to contain the path to your OOo installation, e.g.
<property name="OFFICE_HOME" location="C:/Program Files/OpenOffice.org 2.0.4"/>
To build, open a command shell, navigate to the writer2latex09 directory and type
ant oxt
(this assumes, that ant is in your path; otherwise specifify the full path.)
In addition to oxt, the build file supports the following targets:
all
Build nearly everything
compile
Compile all file except the tests.
jar
Create the standalone jar file.
javadoc
Create the javadoc documentation in target/javadoc.
distro
Create distribution files
clean
Henrik Just, March 2009
Thanks to Michael Niedermair for writing the original ant build file