Latex-Suite also handles compiling dependencies automatically via certain rules which specify the "dependency chain" for each target format. For example, if in your case, you use
.tex -> .dvi -> .ps -> .pdf
to generate pdf files from dvi
files, then you will need to specify the following setting in your
Latex-Suite configuration (see customizing Latex-Suite for where
these settings should go):
let g:Tex_FormatDependency_pdf = 'dvi,ps,pdf'
This is a comma separated string of formats specifying the order in
which the formats to be compiled into should be chosen. With this
setting, if you set the target format to pdf, then
the next time you compile via the \ll shortcut, Latex-Suite
will first generate a dvi file, then use that to
generate the ps file and finally create the
pdf file from that.
If any of the intermediate formats is listed in the
g:Tex_MultipleCompileFormats setting as described
in the section Compiling multiple
times, then Latex-Suite might make multiple calls to the compiler to
generate the output file of that format.
Along with the g:Tex_FormatDependency_{format}
setting, you should ofcourse specify the rule for compiling to each of
the formats as described in the previous
section. For example, with the setting above, you could use:
let g:Tex_CompileRule_dvi = 'latex --interaction=nonstopmode $*' let g:Tex_CompileRule_ps = 'dvips -Ppdf -o $*.ps $*.dvi' let g:Tex_CompileRule_pdf = 'ps2pdf $*.ps'
By default, Latex-Suite does not specify any compiler dependencies. Each target format for which a rule has been derived will be compiled independently.