[Vim-latex-devel] View document in another directory
Brought to you by:
srinathava,
tmaas
From: Luc H. <her...@fr...> - 2004-06-18 20:26:40
|
Hello, I'm trying to configure g:Tex_ViewRule_html. The situation is that into the current directory I have a file foo.tex and that I use TeX4HT to generate several HTML pages into the subdirectory ./html/ My first attempt (Win32-vim + cygwin on Windows XP) was to define this option to: 'cygstart html/' Unfortunatelly, LaTeXSuite inserts a space just after g:Tex_ViewRule_html, and thus tries to execute: :!start cygstart html/ "foo.html" (It would have been the same with iexplorer) Then, I read the man page of cygstart and found out about the =AB-d=BB option. Unfortunatelly $>cygstart -d html foo.html result in IE trying to open http://html/foo.html. Definitivelly not what I expected. Playing with cygstart, I found out that =AB$PWD/html=BB was the argument = I was looking for. Unfortunatelly, while :!cygstart $PWD/html/ "foo.html" works very well, :!start cygstart $PWD/html/ "foo.html" does not. :( Does anybody know a way to configure g:Tex_ViewRule_html to open the file ./html/foo.html ? BTW, I have a request: I'd like an option to disable the default opening of the preview windows as the quickfix windows is enough for me 99% of the time. --=20 Luc Hermitte http://hermitte.free.fr/vim/ |