Re: [Vim-latex-devel] How to print?
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2004-06-16 06:48:08
|
On Wed, 16 Jun 2004, Jan Ulrich Hasecke wrote: > Srinath Avadhanula wrote: > > There is no support for printing in latex-suite by default. I personally > > do not see this happening any time because there is absolutely a HUGE > > number of ways in which printing happens across platforms and even > > within a single platform. I would recommend using the print utility of > > the viewer which comes up by doing \lv. > > I'm using xdvi, which AFAIK has no printing support. > Well, xdvi doesn't have printing support, but most postscript viewers do. For example, I beleive the default for latex-suite on linux is ghostview which does do printing. Do :TVarget ps to set the target for viewing to ps, bring up ghostscript by doing \lv and then print from there. You can then restore the target to dvi... You could do all this with your own mapping. For instance: map \lp :TTarget ps<CR>\ll:lpr -P printer_name <C-r>=Tex_GetMainFile()<CR>:TTarget dvi<CR> Srinath |