solivet.blogg.se

Latex aquamacs tutorial
Latex aquamacs tutorial





latex aquamacs tutorial

(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)

#Latex aquamacs tutorial code#

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.







Latex aquamacs tutorial