[OS X TeX] how to automatically save before compiling?

Ross Moore ross at ics.mq.edu.au
Sun Jun 25 22:47:40 CEST 2006


On 26/06/2006, at 6:15 AM, Maarten Sneep wrote:

> On 24-jun-2006, at 10:33, Jiajun Wang wrote:
>
>> Does anyone know how to set this up? I mean let vim + latex-suite  
>> save the tex file first before compiling? Thanks
>
> Automatically: no. vim is a separate entity, and all saving has to  
> be done manually there (just like with any other external editor  
> AFAIK). If you want support for that, you'll need an applescript  
> interface for vim (meaning that other applications can send  
> commends to vim while it is running, as if you typed :s in the vim  
> command mode).

Actually, you want  :w  (write) ,
not  :s  (save)  which requires a new filename.



>
> Maarten

Cheers,

	Ross

------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114
------------------------------------------------------------------------


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list