Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to ease working with LaTeX and vim' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to ease working with LaTeX and vim
Authored by: jdsmith on Jan 12, '07 01:53:10PM
For users of Emacs, there is a similar method using the "source-specials" functionality in AUCTeX + XDVIK. In fact, it even goes one better: you can hit a key in Emacs to send your viewer directly to the location of your cursor, even highlighting the enclosing paragraph/figures/etc. in a red box. In reverse, you can Control-click anywhere in the XDVI window (text, figures, tables, etc.), to cue the Emacs cursor right to the corresponding block of text. AUCTex even understands multi-file documents, so if, for instance, you have a long table in a separate file, Control-clicking it in XDVI will pull it up.

Read about it how to set your Emacs up this way (along with some single keystroke LaTeX'ing + viewer reloading magic) here. This works for all platforms which support Emacs/LaTeX/xdvi. I use teTeX and xdvik from Macports, and xdvi-xaw.bin as the binary name for the running xdvi.

[ Reply to This | # ]