# Applications

org.openoffice.da.writer2latex.oxt/applications.xhp
Configuration of applications
Before you can use Writer2LaTeX you must configure it to use your LaTeX distribution as well as viewers for the different output formats.
Select Tools - Options - %PRODUCTNAME Writer - Writer2LaTeX toolbar - Applications
Prerequisites
This requires that you have installed certain software on your system.
- Writer2LaTeX needs a working LaTeX distribution. MikTeX is recommended and can be downloaded from http://www.miktex.org.
- In addition, you should install viewers for PDF and PostScript files. Gsview is recommended and can be downloaded from http://pages.cs.wisc.edu/~ghost/gsview/. Note that you have to install ghostscript as well (follow the links on the web site).
- Writer2LaTeX needs a working LaTeX distribution. TeX live is recommended and is available for most UNIX-like systems. The installation depends on your system. If you are using Debian or Ubuntu you can for example install the basic required packages by typing these commands from a terminal window:
  sudo apt-get install texlive
  sudo apt-get install texlive-latex-extra
  sudo apt-get install texlive-xetex
- Also you should install viewers for DVI, PDF and PostScript files. The viewers evince and okular can handle all formats and are recommended. You can also use a combination of the viewers xdvi, xpdf and ghostview.
- Writer2LaTeX needs a working LaTeX distribution.
- Also you should install viewers for DVI, PDF and PostScript files.
Note
: The Writer2LaTeX toolbar is not tested on Mac OS X.
Automatic Configuration
If you click this button, Writer2LaTeX will try to locate the external programs and configure them. You will be presented with a short report of the results. Any applications that Writer2LaTeX cannot find for you must be configured manually.
Click here to let Writer2LaTeX configure your external applications automatically
Application
Select the external application you wish to configure in the list.
The available applications are:
- PdfLaTeX: The pdflatex executable (used if you select PDF as your backend format)
- LaTeX: The latex executable (used for other backend formats)
- Dvips: The DVI to PostScript converter dvips (used if you select PostScript as your backend format)
- BibTeX: The bibtex executable (used if your document contains a bibliography)
- MakeIndex: The makeindex executable (used if your document contains an alphabetical index)
- DVI Viewer: Application to view DVI files
- PDF Viewer: Application to view PDF files
- PostScript Viewer: Application to view PostScript files
Select the external application you wish to configure here
Executable
Type the full path to the executable or click Browse to find the executable in your file system
Type the full path to the executable here or find it using the Browse button
Options
Fill out any additional options here. Often you will only need the file name, which is denoted %s.
Fill out any additional options here, using %s to represent the file name