auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Re: Too many questions


From: Anakreon
Subject: [AUCTeX] Re: Too many questions
Date: Thu, 02 Jun 2005 13:23:44 +0300
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)


If you put the following in .emacs then C-f5 will run save the file
and run LaTeX.

(defun rl-save-and-LaTeX ()
        "Save and LaTeX `TeX-master-file' (without querying the user).

Any files \\input by `TeX-master-file' are also saved without prompting."
        (interactive)
        (let (TeX-save-query)                                                   
                   ;the following will save without prompting
                (TeX-save-document (TeX-master-file))) ;save master document 
and its files
  (TeX-command "LaTeX" 'TeX-master-file))  ;LaTeX master doument

(add-hook 'LaTeX-mode-hook (lambda ()
                                                                                
                                 (define-key
Thanks friend, it worked.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]