@@ -104,24 +104,24 @@ TexLet g:Tex_MultipleCompileFormats = 'dvi'
104
104
" but it is known that it can sometimes give different results in the output,
105
105
" so use it with care. The '-file-line-error' flag helps sanitize LaTeX error
106
106
" messages for processing by Vim.
107
- TexLet g: Tex_CompileRule_dvi = ' latex -interaction=nonstopmode -file-line-error-style $* '
107
+ TexLet g: Tex_CompileRule_dvi = ' latex -interaction=nonstopmode -file-line-error-style "$*" '
108
108
TexLet g: Tex_EscapeChars = ' {}\'
109
109
110
- TexLet g: Tex_CompileRule_ps = ' dvips -Ppdf -o $*.ps $*.dvi'
110
+ TexLet g: Tex_CompileRule_ps = ' dvips -Ppdf -o " $*.ps" " $*.dvi" '
111
111
112
112
" ways to generate pdf files. there are soo many...
113
113
" NOTE: pdflatex generates the same output as latex. therefore quickfix is
114
114
" possible.
115
115
" Synctex is now supported by pdflatex.
116
- TexLet g: Tex_CompileRule_pdf = ' pdflatex -synctex=1 -interaction=nonstopmode -file-line-error-style $* '
116
+ TexLet g: Tex_CompileRule_pdf = ' pdflatex -synctex=1 -interaction=nonstopmode -file-line-error-style "$*" '
117
117
118
- " TexLet g:Tex_CompileRule_pdf = 'ps2pdf $*.ps'
119
- " TexLet g:Tex_CompileRule_pdf = 'dvipdfm $*.dvi'
120
- " TexLet g:Tex_CompileRule_pdf = 'dvipdf $*.dvi'
118
+ " TexLet g:Tex_CompileRule_pdf = 'ps2pdf " $*.ps" '
119
+ " TexLet g:Tex_CompileRule_pdf = 'dvipdfm " $*.dvi" '
120
+ " TexLet g:Tex_CompileRule_pdf = 'dvipdf " $*.dvi" '
121
121
122
- TexLet g: Tex_CompileRule_html = ' latex2html $*.tex'
122
+ TexLet g: Tex_CompileRule_html = ' latex2html " $*.tex" '
123
123
124
- TexLet g: Tex_CompileRule_bib = g: Tex_BibtexFlavor . ' $* '
124
+ TexLet g: Tex_CompileRule_bib = g: Tex_BibtexFlavor . ' "$*" '
125
125
126
126
" Set Tex_UseMakefile to 0 if you want to ignore the presence of a Makefile
127
127
" when deciding how to compile
@@ -193,7 +193,7 @@ endif
193
193
" Suppose you have a latex->html converter which converts a file say foo.tex
194
194
" to a file foo/index.html. Then you would use:
195
195
"
196
- " let g:Tex_ViewRuleComplete_html = 'MozillaFirebird $*/index.html &'
196
+ " let g:Tex_ViewRuleComplete_html = 'MozillaFirebird " $*/index.html" &'
197
197
"
198
198
" Doing something like this would not be possible using Tex_ViewRule_html
199
199
TexLet g: Tex_ViewRuleComplete_dvi = ' '
@@ -237,7 +237,7 @@ TexLet g:Tex_BibtexFlavor = 'bibtex'
237
237
238
238
" specifies the MakeIndedx flavor and if necessary options. $* will be
239
239
" replaced by the *root* of the main file name. See above.
240
- TexLet g: Tex_MakeIndexFlavor = ' makeindex $*.idx'
240
+ TexLet g: Tex_MakeIndexFlavor = ' makeindex " $*.idx" '
241
241
242
242
" By default the program described by g:Tex_Flavor above is called with the
243
243
" flags '--src-specials --interaction=nonstopmode'. If your particular version
0 commit comments