AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
(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 (&optional proc sentinel) (defcustom TeX-texify-max-runs-same-command 5 "Maximal run number of the same command" :type 'integer :group 'TeX-command) (defcustom TeX-texify-Show t "Start view-command at end of TeX-texify?" :type 'boolean :group 'TeX-command) We should check for bst files here as well. ((and (memq major-mode '(doctex-mode latex-mode)) (TeX-check-files (concat name "." (TeX-output-extension)) (cond ((if (string-equal name TeX-region) Most of the code is stolen from `TeX-command-query'." This snippet of code was copied from under the TEX-texify section. The only thing I would add is that if you solely use Aquamacs it is better to edit the file Preference.el located in ~/Library/Preferences/Aquamacs\ Emacs/ Once you add the code below in the file the command sequence C-c C-a will run the default compiler and then send the output to preview. The post from Sean Allred helped me find the answer I was looking for. I am using Aquamacs and had the same question. (TeX-command "View" (quote TeX-master-file) -1))))) You might want to add a similar action bound to C-c v for viewing (add-hook That will bind the same function executed by clicking the icon to C-c c. (TeX-command "LaTeX" (quote TeX-master-file) -1)))))) :)Īlternatively, do Command-O to open a file and navigate to /Library/Preferences/Aquamacs EmacsĪnd open Preferences.el (which is preferred in Aquamacs to the. Just click on the LaTeX button in the tool bar.
0 Comments
Read More
Leave a Reply. |