pdflatex+vim

pdflatex+vim

Yosef Meller mellerf at netvision.net.il
Sat Jan 22 12:48:37 IST 2011


On 22/01/11 07:01, Avraham Rosenberg wrote:
> Hi,
> I am trying to switch pdflatex.
> With latex, I used to edit the tex file in vim, latex it using the macro
> defined in vimrc, and check the output with xdvi. If corrections were
> needed, I made them without closing the xdvi screen. After latex-ing again
> the corrected source the xdvi display updated automatically.
> Trying to obtain the same behavior with pdflatex, I introduced the
> following macro in my vimrc file:
> map _P_ :!pdflatex %
> which works allrigth. But, unlike xdvi, neither the xpdf, nor the gv
> displays update automatically after corrections.

Both Okular and KPDF display the update after they get focus.



More information about the Linux-il mailing list