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.



_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to