vim file.tex !latex file.tex & pdfdvi file.dvi & xpdf -remote sname -reload
I'm not exactly sure where to post this, or even if there is a better title than that.
I had just recently learned about "xpdf -remote sessionname -reload", so now I can quickly view latex files directly after editing them from within vim. However, that is a lot of keystrokes, and I haven't even began learning about all the other commands for those programs.
I looked over the man pages of xdvi, which would save one extra step, but I didn't see anything about reloading a dvi file loaded in xdvi from a terminal.
Anyway, this is about the simplest that I can come up for editing latex files and viewing the data.
I am just curious if there weren't some other methods/files/tricks that anyone would know that would make this a bit easier.
Also, what would happen if I recursively ran a script file? I don't think using xpdf -remote sessionname -reload will be a problem, but this is something I've been curious about.
|All times are GMT -5. The time now is 09:47 AM.|