![]() ![]() (add-hook 'LaTeX-mode-hook '(lambda () (local-set-key (kbd "C-c C-a") 'TeX-texify)))Īlternatively, you can place the following in your. (set-process-sentinel proc 'TeX-texify-sentinel)))))) (setq TeX-texify-sentinel (process-sentinel proc)) (setq proc (get-buffer-process (current-buffer))) (and (null (equal nextCmd TeX-command-Show)) (setq TeX-texify-count-same-command (1 TeX-texify-count-same-command)) Don't want to do it anymore." TeX-texify-last-command TeX-texify-count-same-command) (message "TeX-texify: Did %S already %d times. (if (>= TeX-texify-count-same-command TeX-texify-max-runs-same-command) ![]() (mapc 'make-local-variable '(TeX-texify-sentinel TeX-texify-count-same-command TeX-texify-last-command)) (null (equal nextCmd TeX-texify-last-command))) (null (boundp 'TeX-texify-count-same-command)) (message "TeX-texify: Nothing to be done.")) (let ((nextCmd (TeX-command-default (TeX-master-file))) (unless (plist-get TeX-error-report-switches (intern (TeX-master-file))) (when (string-match "\\(finished\\|exited\\)" sentinel) (funcall TeX-texify-sentinel proc sentinel) If there is still something left do do start the next latex-command." "Non-interactive! Call the standard-sentinel of the current LaTeX-process. (defun TeX-texify-sentinel (
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |