3.1 The LaTeX package writer.sty
The LaTeX documents generated by Writer2LaTeX requires the package writer.sty, which is contained in the Writer2LaTeX distribution. This package contains some useful macros, that are not available in the standard LaTeX packages (for example \textsubscript to use subscript in text mode, \ddotsup to insert diagonal raising dots etc.).
It is sufficient to place writer.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 (unix)
If you use teTeX you can install writer.sty as follows:
Open a shell and type
texconfig conf
This will list the configuration details for teTeX. Under the heading “Kpathsea” you will see a list of directories searched by TeX. You can put writer.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 teTeX refresh it's filename database.
Instructions for MikTeX (Windows)
If you use MikTeX you can install writer.sty as follows:
Copy writer.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.
Next you should start “MikTeX Options”. On the tab page General, click the button Refresh Now to make MikTeX refresh it's filename database.