Hi Tassilo & Lars,

thank you for your responses, very nice group here :-) I use this function to compile my documents:

########################################################################
(defun run-latexmk ()
  (interactive)
  (let ((TeX-save-query nil)
        (TeX-process-asynchronous nil)
        (master-file (TeX-master-file)))
    (TeX-save-document "")
    (TeX-run-TeX "latexmk"
                 (TeX-command-expand "latexmk %t" 'TeX-master-file)
                 master-file)
    (if (plist-get TeX-error-report-switches (intern master-file))
        (TeX-next-error t)
      (minibuffer-message "LatexMK fertig"))))

########################################################################

and bound it to C-s, this works fine and error messages are displayed.

But I would be nicer *not to press C-s*, like in ATP or in the Editor Gummi. I mean Auctex should recognize automatically if someting changed in the buffer and execute this function. Another approach would be if Auctex automatcally saves the document from time to time and executes this function or the other functions supposed by you.

Is that possible?

Regards
Thorsten


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

Reply via email to