Re: [Vim-latex-devel] [Wishlist] Shortcut to produce postscript files
Brought to you by:
srinathava,
tmaas
From: Mikolaj M. <mi...@wp...> - 2003-05-29 10:45:29
|
On Wed, May 28, 2003 at 02:55:24PM +0100, A. S. Budden wrote: > I also think this would be great, as would a latex->dvips->ps2pdf option > -- this is the way I normally view the output of latex as I can see the > pictures and colour nicely and kghostview showing pdf is much faster > than anything showing ps when you've got bitmapped images in the > document. As I wrote previously you can make with :map with existing "bricks". Just change g:Tex_CompileRule_pdf in texrc with ps2pdf (default is pdflatex). You can also create your own CompileRule. Example: I replaced in first section of texrc DefaultTargetFormat with 'mik' (default is dvi). Then in section of Compilers added: TexLet g:Tex_CompileRule_mik = 'platex ' . s:CompileFlags . \ ' -interaction=nonstopmode $* ; dvips -Ppdf -o $*.ps $*.dvi' And in Viewers: TexLet g:Tex_ViewRule_mik = 'ghostview' And I can create .ps with one <Leader>ll. IMO there is too many possible combinations to include them in lS. But lS provides simple API to make various things possible. Maybe such things could be put in TIPS&TRICKS section of latex-suite.txt (by OTHER PLUGINGS - any propositions?). m. Drone, Offensive, Special Circumstances, Contact. :) ps. Ah, I understand now problems with ps target. It produces .ps from .dvi not directly from .tex file. |