2 Installation

2.1 How to install Writer2LaTeX for command line usage

Writer2LaTeX can work as a standalone command line utility (that is without OOo).

Installation for Microsoft Windows

To install Writer2LaTeX under Microsoft Windows follow these instructions:

  1. Unzip writer2latex032.zip into some directory. This will create a subdirectory writer2latex.

  2. Add this directory to your PATH environment variable.

  3. Open the file w2l.bat with a text editor and replace the path at the top of the file with the full path to Writer2LaTeX, for example

    set W2LPATH="c:\program files\writer2latex"

    At a command line type java -version to verify that the Java executable is in your path. If this is not the case or you have several Java versions installed you should edit the next line to contain the full path to the Java executable, eg.

    set JAVAEXE="C:\j2sdk1.4.0_01\bin\java”

To use the LaTeX files generated by Writer2LaTeX, you will need the LaTeX package writer.sty, see section 3.1.

Installation for Unix and friends

  1. Unzip writer2latex032.zip into some directory. This will create a subdirectory writer2latex.

  2. Add this directory to your PATH environment variable or create a symbolic link to the file w2l from some directory in yout PATH.

  3. Open the fle w2l with a text editor and replace the path at the top of the file with the full path to Writer2LaTeX, eg.

  1. W2LPATH="/home/username/writer2latex"

    Open a command shell and type java -version to verify that the Java executable is in your path. If this is not the case or you have several Java versions installed you should edit the next line to contain the full path to the Java executable, ie.

    set JAVAEXE="/path/to/java/executable/”

  2. Add execute permissions to w2l as follows:

    chmod +x w2l

To use the LaTeX files generated by Writer2LaTeX, you will need the LaTeX package writer.sty, see section 3.1.