10.6 Viewer Customization

10.6.1 g:Tex_ViewRule_<format>

The following settings affect how Latex-Suite will display compiled files.

10.6.1 g:Tex_ViewRule_<format>

Here <format> refers to a format such as dvi, ps, etc. This variable defines the program which will be called to display a file of that format.

By default, Latex-Suite defines viewer programs for viewing DVI, PS and PDF formats as follows:

 WindowsUnix
g:Tex_ViewRule_dvi'yap -1''xdvi'
g:Tex_ViewRule_ps'gsview32''ghostview'
g:Tex_ViewRule_pdf'AcroRd32''xpdf'

For Macintosh systems, these strings are left empty by default. This lets the system pick the program for each format. If you define these variables for Mac, the system choice will be over-ridden.

Note

For windows, you will need to set the $PATH variable to include the paths to yap, AcroRd32, gsview32 and any other programs. See your system documentation for how to do this.

Default Viewing Format

To change the default format for viewing files, set the g:Tex_DefaultTargetFormat variable.