Variable: TeX-bar-LaTeX-button-alist

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

Value

Large value
((latex :image
	#[0 "\203�\301\207\302\207" [TeX-PDF-mode "pdftex" "tex"]
	    1]
	:command
	(progn
	  (TeX-save-document #'TeX-master-file)
	  (TeX-command "LaTeX" #'TeX-master-file -1))
	:help
	#[128 "\300\301!\207" [TeX-bar-help-from-command-list "LaTeX"]
	      3
	      ("/root/.emacs.d/elpa/auctex-14.1.2/tex-bar.elc" . 1488)])
 (pdflatex :image "pdftex" :command
	   (progn
	     (TeX-save-document #'TeX-master-file)
	     (TeX-command "PDFLaTeX" #'TeX-master-file -1))
	   :help
	   #[128 "\300\301!\207"
		 [TeX-bar-help-from-command-list "PDFLaTeX"] 3
		 ("/root/.emacs.d/elpa/auctex-14.1.2/tex-bar.elc"
		  . 1488)])
 (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
	     ("/root/.emacs.d/elpa/auctex-14.1.2/tex-bar.elc" . 1488)])
 (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
	     ("/root/.emacs.d/elpa/auctex-14.1.2/tex-bar.elc" . 1488)])
 (bibtex :image "bibtex" :command
	 (TeX-command (if LaTeX-using-Biber "Biber" "BibTeX")
		      #'TeX-master-file -1)
	 :help
	 #[128 "\301\203	�\302\202\n�\303!\207"
	       [LaTeX-using-Biber TeX-bar-help-from-command-list
				  "Biber" "BibTeX"]
	       3
	       ("/root/.emacs.d/elpa/auctex-14.1.2/tex-bar.elc" . 1488)])
 (clean :image "delete" :command
	(TeX-command "Clean" #'TeX-master-file -1) :help
	#[128 "\300\301!\207" [TeX-bar-help-from-command-list "Clean"]
	      3
	      ("/root/.emacs.d/elpa/auctex-14.1.2/tex-bar.elc" . 1488)])
 (spell :image "spell" :command
	(TeX-command "Spell" #'TeX-master-file -1) :help
	#[128 "\300\301!\207" [TeX-bar-help-from-command-list "Spell"]
	      3
	      ("/root/.emacs.d/elpa/auctex-14.1.2/tex-bar.elc" . 1488)])
 (latex-symbols-experimental :alias :eval-group
			     LaTeX-symbols-toolbar-switch-contents
			     LaTeX-symbols-toolbar-contents))

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-LaTeX-button-alist
  `((latex :image ,(lambda nil (if TeX-PDF-mode "pdftex" "tex"))
           :command (progn
                      (TeX-save-document #'TeX-master-file)
                      (TeX-command "LaTeX" #'TeX-master-file -1))
           :help ,(lambda (&rest _ignored)
                    (TeX-bar-help-from-command-list "LaTeX")))
    (pdflatex :image "pdftex"
              :command (progn
                         (TeX-save-document #'TeX-master-file)
                         (TeX-command "PDFLaTeX" #'TeX-master-file -1))
              :help ,(lambda (&rest _ignored)
                       (TeX-bar-help-from-command-list "PDFLaTeX")))
    (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 (if LaTeX-using-Biber "Biber" "BibTeX")
                                  #'TeX-master-file -1)
            :help ,(lambda (&rest _ignored)
                     (TeX-bar-help-from-command-list
                      (if LaTeX-using-Biber "Biber" "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 . (:alias :eval-group
                                          LaTeX-symbols-toolbar-switch-contents
                                          LaTeX-symbols-toolbar-contents)))
  "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)