Closed Konfekt closed 10 years ago
I don't use windows myself, so I can't test changes. But I think the bug is in ftplugin/latex-box/common.vim line 223:
let cmd = '!start /b' . cmd . ' >nul'
should be
let cmd = '!start /b ' . cmd . ' >nul'
Could you test this? If I'm right, the fix should make it work for your second example, but it should also work for the first example.
Yeah, that's it. Now it works as expected.
Am mardi 10 juin 2014 17:01:21 schrieb Karl Yngve Lervåg:
I don't use windows myself, so I can't test changes. But I think the bug is in ftplugin/latex-box/common.vim line 223:
let cmd= '!start /b' . cmd .' >nul'
should be
let cmd= '!start /b' . cmd .' >nul'
Could you test this? If I'm right, the fix should make it work for your second example, but it should also work for the first example.
— Reply to this email directly or view it on GitHub https://github.com/LaTeX-Box-Team/LaTeX-Box/issues/175#issuecomment-45625194.
When
let g:LatexBox_viewer
under Windows demands an additional space, that is,let g:LatexBox_viewer=" SumatraPDF"
works, but
let g:LatexBox_viewer="SumatraPDF"
not. If intended, this should be better documented, or otherwise be fixed to accept the latter version too.