Re: point and click with latex
On Sat, Oct 05, 2002 at 09:54:19PM -0400, Andy Saxena wrote:
> On Sat, Oct 05, 2002 at 03:59:01PM +0200, Olivier Esser wrote:
> > Dear LaTeX users,
> >
> > I have configured emacs and xdvi for forward and inverse search:
> > C-c C-s willl open xdvi in the place you were in your tex file and
> > reciprocally hold the CRTL key and click in xdvi to put the cursor in
> > the corresponding place within emacs.
> >
> > If you are interestred please read my mini howto available at
> >
> > http://homepages.ulb.ac.be/~oesser/pointandclick.txt
> >
> > Have fun!
>
> I am tempted to learn me some emacs! Doing LaTeX in Vim isn't that much
> fun.
>
I am also a vim user and you can get the same functionality with vim
also. In case you are interested, just do the following things:
1. Compile the latex file as
latex --src-specials=auto filename
You can make it permanent by editing /etc/texmf.cnf
2. In ~/.Xdefaults (or .Xresources)
XDvi.editor: gvim --remote +%l %f
3. Now ctrl+click in xdvi opens the file in gvim and puts you on that
line. If gvim is already running, the file is opened in that session
itself.
HTH,
Regards,
--
Sridhar M.A.
Dawn, n.:
The time when men of reason go to bed.
-- Ambrose Bierce, "The Devil's Dictionary"
Reply to: