Thread: [Vim-latex-devel] output of xdvi shows in tex-file
Brought to you by:
srinathava,
tmaas
From: Qiuye W. <qi...@gm...> - 2007-11-16 11:14:23
|
Hello list, when i press \lv or \ls in vim, ie launch the xdvi i always got the output info of xdvi in the line of my tex file, where the cursor were. It's really annoying although they just show temporary (they will disappear if i move the cursor down or up till they are out of the sight). i know this is the issue of xdvi, but is there any way that i can prevent the output of appearing in my tex ie vim window? Thank you. Cheers QY -- VIM version: 7.1.138 Linux version 2.6.22-2-686 Debian GNU/Linux lenny/sid |
From: Martin S. <fo...@un...> - 2007-11-16 12:08:32
|
Hey. Workarounds: a) use gvim. Usuallally I use terminal-vim all the time, but for LaTeX I prefer gvim because it does not show console output and because I found it easier to set up forward and backward searching. b) $ head .Xdefaults xdvi.hushStdout: true some other useful (for me at last) settings for .Xdefaults: xdvi.editor: gvim --servername %f --remote-silent +%l %f xdvi.wheelTranslations: <Btn5Down>: forward-page()\n \ <Btn4Down>:back-page()\n xdvi.mainTranslations: #override \ Ctrl<Btn1Down>: source-special()\n \ <Btn1Down>: do-href()drag(+)\n !<Btn1Down>: magnifier(*3)\n xdvi.keepPosition: true see xdvi(1) for all these cryptic settings. happy vimming Martin On Fri, Nov 16, 2007 at 12:14:52PM +0100, Qiuye Wang wrote: > Hello list, > > when i press \lv or \ls in vim, ie launch the xdvi i always got the > output info of xdvi in the line of my tex file, where the cursor were. > It's really annoying although they just show temporary (they will > disappear if i move the cursor down or up till they are out of the > sight). > > i know this is the issue of xdvi, but is there any way that i can > prevent the output of appearing in my tex ie vim window? > > Thank you. > > Cheers > QY |
From: Qiuye W. <qi...@gm...> - 2007-11-17 08:00:53
|
Hi, thanks for the response. i do want to use gvim as my editor to edit the tex file, but unfortunately i need a special input platform for my native language, which has conflict with the gvim+vim-latexsuite combination. i have also put the hushStdout in .Xdefaults, but just as in the manpage of xdvi written, that errors or warnings will still be printed to stderr even if the option is used. i guess the only way to fix the problem is to let the xdvi absolutely normal work, since there are no error, there will also be no output. But this is already out of range of this list. Anyway, thank you for the advices. Cheers QY On Fri, Nov 16, 2007 at 01:08:26PM +0100, Martin Sander wrote: >Hey. >Workarounds: > >a) use gvim. Usuallally I use terminal-vim all the time, but for LaTeX I >prefer gvim because it does not show console output and because I found >it easier to set up forward and backward searching. > >b) $ head .Xdefaults > > xdvi.hushStdout: true > >some other useful (for me at last) settings for .Xdefaults: > > xdvi.editor: gvim --servername %f --remote-silent +%l %f > > xdvi.wheelTranslations: <Btn5Down>: forward-page()\n \ > <Btn4Down>:back-page()\n > > xdvi.mainTranslations: #override \ > Ctrl<Btn1Down>: source-special()\n \ > <Btn1Down>: do-href()drag(+)\n > !<Btn1Down>: magnifier(*3)\n > > xdvi.keepPosition: true > >see xdvi(1) for all these cryptic settings. > >happy vimming > >Martin > >On Fri, Nov 16, 2007 at 12:14:52PM +0100, Qiuye Wang wrote: >> Hello list, >> >> when i press \lv or \ls in vim, ie launch the xdvi i always got the >> output info of xdvi in the line of my tex file, where the cursor were. >> It's really annoying although they just show temporary (they will >> disappear if i move the cursor down or up till they are out of the >> sight). >> >> i know this is the issue of xdvi, but is there any way that i can >> prevent the output of appearing in my tex ie vim window? >> >> Thank you. >> >> Cheers >> QY > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2005. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >Vim-latex-devel mailing list >Vim...@li... >https://lists.sourceforge.net/lists/listinfo/vim-latex-devel |
From: Thomi D. <Th...@Fa...> - 2007-11-19 13:20:09
|
> when i press \lv or \ls in vim, ie launch the xdvi i always got the > output info of xdvi in the line of my tex file, where the cursor were. > It's really annoying although they just show temporary (they will > disappear if i move the cursor down or up till they are out of the > sight). To redraw the screen on xterm use <CTRL>L. This is much simpler than scrolling the screen up and down. To get rid the messages you can try :let g:Tex_ViewRule_dvi='xdvi>/dev/null 2>/dev/null'. (assuming you use Unix). Regards Thomi |
From: Qiuye W. <qi...@gm...> - 2007-11-21 22:00:26
|
On Mon, Nov 19, 2007 at 02:19:17PM +0100, Thomi Dammann wrote: > >> when i press \lv or \ls in vim, ie launch the xdvi i always got the >> output info of xdvi in the line of my tex file, where the cursor were. >> It's really annoying although they just show temporary (they will >> disappear if i move the cursor down or up till they are out of the >> sight). >To redraw the screen on xterm use <CTRL>L. This is much simpler than >scrolling the screen up and down. > >To get rid the messages you can try > >:let g:Tex_ViewRule_dvi='xdvi>/dev/null 2>/dev/null'. (assuming you use >Unix). Thank you for the hints, i've found the way to keep the xdvi normally work and now it's quite, but the `2>/dev/null' is also a good idea. Thanks anyway. Cheers, QY |