Home

Contents

1 Introduction

2 Using the export filters

3 Using the command line utility

4 Configuration

5 Special features for the EPUB export

6 The LaTeX package ooomath.sty

7 Using Writer2LaTeX from another application

8 Troubleshooting

    

6 The LaTeX package ooomath.sty

LO Math has a few features that are not available in standard LaTeX packages. Hence Writer2LaTeX uses an optional package ooomath.sty8 which implements these constructions. This packages is only needed for documents containing formulas. If it is not available, Writer2LaTeX will insert the necessary definitions in the LaTeX preamble.

It is sufficient to place 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 teTeX and MikTeX:

Instructions for teTeX and 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 (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:

Copy ooomath.sty to the tex subdirectory in the local texmf tree. With a standard installation this will be the directory

c:\localtexmf\tex

If this directory does not exist you should start “MikTeX Options” (you can find this in the Start Menu). On the tab page Roots you can see the location of 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.


8 This pakcage replaces writer.sty used by older versions of Writer2LaTeX.