6 The LaTeX package ooomath.sty

LO/AOO Math has a few features that are not available in standard LaTeX packages. To support those features, Writer2LaTeX will insert definitions in the LaTeX preamble. As an alternative, Writer2LaTeX provides an optional package ooomath.sty11 which implements these constructions. This packages is only needed for documents containing formulas. Setting the option use_ooomath to true enables the use of this package (see section 4.1)

It is sufficient to put ooomath.sty in the same directory as the converted LaTeX document. It will however be more convenient if you install it in your TeX distribution. The proper place will usually be the “local texmf tree”, please see the documentation of your TeX distribution. Below are specific instructions for TeX Live on Linux and and MikTeX on Windows:

Instructions for TeX Live (Linux)

If you use teTeX or TeX Live on Linux you can install ooomath.sty as follows:

Open a shell and type

texconfig conf

This will list the configuration details for TeX. Under the heading “Kpathsea” you will see a list of directories searched by TeX. You can put ooomath.sty in the subdirectory tex of any of these directories. Usually the directory

/home/<user name>/texmf/tex

can be used for the local texmf tree (you can create it if it doesn't exist).

Next you should type

texconfig rehash

to make TeX refresh it's filename database.

Instructions for MikTeX (Windows)

If you use MikTeX you can install ooomath.sty as follows:

First you should create a local texmf tree if it does note already exist. Start MikTeX settings (All Programs – MikTeX – Maintenance – Settings). Choose the admin variants if you want to install for all users. If the list on the tab page Roots is empty, create a suitable directory such as C:\localtexmf, click Add and select this directory.

Copy ooomath.sty to the tex subdirectory in the local texmf tree. If the subdirectory tex does not exist, you can create it.

Next you should start “MikTeX Options”. On the tab page General, click the button Refresh Now to make MikTeX refresh it's filename database.