Variable: TeX-bar-TeX-button-alist

TeX-bar-TeX-button-alist is a customizable variable defined in tex-bar.el.

Value

Large value
((tex :image
      #[0 "\203�\301\207\302\207"
	  [TeX-PDF-mode "pdftex" "tex"]
	  1]
      :command
      (progn
	(TeX-save-document #'TeX-master-file)
	(TeX-command "TeX" #'TeX-master-file -1))
      :help
      #[128 "\300\301!\207"
	    [TeX-bar-help-from-command-list "TeX"]
	    3 "\n\n(fn &rest IGNORED)"])
 (pdftex :image "pdftex" :command
	 (progn
	   (TeX-save-document #'TeX-master-file)
	   (TeX-command "PDFTeX" #'TeX-master-file -1))
	 :help
	 #[128 "\300\301!\207"
	       [TeX-bar-help-from-command-list "PDFTeX"]
	       3 "\n\n(fn &rest IGNORED)"])
 (next-error :image "error" :command TeX-next-error :enable
	     (TeX-error-report-has-errors-p)
	     :visible
	     (TeX-error-report-has-errors-p))
 (view :image
       #[0 "\203�\301\207\302\207"
	   [TeX-PDF-mode "viewpdf" "viewdvi"]
	   1]
       :command
       (TeX-command "View" #'TeX-master-file -1)
       :help
       #[128 "\300\301!\207"
	     [TeX-bar-help-from-command-list "View"]
	     3 "\n\n(fn &rest IGNORED)"])
 (file :image "dvips" :command
       (TeX-command "File" #'TeX-master-file -1)
       :visible
       (not TeX-PDF-mode)
       :help
       #[128 "\300\301!\207"
	     [TeX-bar-help-from-command-list "File"]
	     3 "\n\n(fn &rest IGNORED)"])
 (bibtex :image "bibtex" :command
	 (TeX-command "BibTeX" #'TeX-master-file -1)
	 :help
	 #[128 "\300\301!\207"
	       [TeX-bar-help-from-command-list "BibTeX"]
	       3 "\n\n(fn &rest IGNORED)"])
 (clean :image "delete" :command
	(TeX-command "Clean" #'TeX-master-file -1)
	:help
	#[128 "\300\301!\207"
	      [TeX-bar-help-from-command-list "Clean"]
	      3 "\n\n(fn &rest IGNORED)"])
 (spell :image "spell" :command
	(TeX-command "Spell" #'TeX-master-file -1)
	:help
	#[128 "\300\301!\207"
	      [TeX-bar-help-from-command-list "Spell"]
	      3 "\n\n(fn &rest IGNORED)"]))

Documentation

Alist for button definitions in TeX bar.

Value should le a list where each element is of format (KEY . PROPS), where KEY is a symbol that labels the button and PROPS is a list of properties of the button. For a description of the format of PROPS, please see documentation of function toolbarx-install-toolbar. This custom variable is in the same format of the argument MEANING-ALIST in the mentioned function.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex-bar.el
(defcustom TeX-bar-TeX-button-alist
  `((tex :image ,(lambda nil (if TeX-PDF-mode "pdftex" "tex"))
         :command (progn
                    (TeX-save-document #'TeX-master-file)
                    (TeX-command "TeX" #'TeX-master-file -1))
         :help ,(lambda (&rest _ignored)
                  (TeX-bar-help-from-command-list "TeX")))
    (pdftex :image "pdftex"
            :command (progn
                       (TeX-save-document #'TeX-master-file)
                       (TeX-command "PDFTeX" #'TeX-master-file -1))
            :help ,(lambda (&rest _ignored)
                     (TeX-bar-help-from-command-list "PDFTeX")))
    (next-error :image "error"
                :command TeX-next-error
                :enable (TeX-error-report-has-errors-p)
                :visible (TeX-error-report-has-errors-p))
    (view :image ,(lambda nil (if TeX-PDF-mode "viewpdf" "viewdvi"))
          :command (TeX-command "View" #'TeX-master-file -1)
          :help ,(lambda (&rest _ignored)
                   (TeX-bar-help-from-command-list "View")))
    (file :image "dvips"
          :command (TeX-command "File" #'TeX-master-file -1)
          :visible (not TeX-PDF-mode)
          :help ,(lambda (&rest _ignored)
                   (TeX-bar-help-from-command-list "File")))
    (bibtex :image "bibtex"
            :command (TeX-command "BibTeX" #'TeX-master-file -1)
            :help ,(lambda (&rest _ignored)
                     (TeX-bar-help-from-command-list "BibTeX")))
    (clean  :image "delete"
            :command (TeX-command "Clean" #'TeX-master-file -1)
            :help ,(lambda (&rest _ignored)
                     (TeX-bar-help-from-command-list "Clean")))
    (spell  :image "spell"
            :command (TeX-command "Spell" #'TeX-master-file -1)
            :help ,(lambda (&rest _ignored)
                     (TeX-bar-help-from-command-list "Spell"))))
  ;; latex-symbols-experimental?
  "Alist for button definitions in TeX bar.
Value should le a list where each element is of format (KEY .
PROPS), where KEY is a symbol that labels the button and PROPS is
a list of properties of the button.  For a description of the
format of PROPS, please see documentation of function
`toolbarx-install-toolbar'.  This custom variable is in the same
format of the argument MEANING-ALIST in the mentioned function."
  :type '(alist :key-type symbol :value-type sexp)
  :group 'TeX-tool-bar-button-definitions)