[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] 11.84; Wrong toolbar items

From: David Reitter
Subject: [Bug-AUCTeX] 11.84; Wrong toolbar items
Date: Thu, 19 Apr 2007 18:12:36 +0100


I have defined my own tool-bar buttons via `tool-bar-map'. There, I have replaced the `write-file' and `undo' functions with something that is more suitable to my (and Mac user's) needs, and I have produced icons that contain an additional "disabled" state.

`latex-mode', however, doesn't seem to respect these changes. Rather than hiding some less important icons to make room for additional icons, it replaces the toolbar with some icons assumed to be standard icons with other functionalities than what I had defined in my `tool- bar-map'.

I had a look at the `toolbar-x' package and it seems that it has its own idea of what the default tool-bar looks like (`toolbarx-default- toolbar-meaning-alist'). While the `toolbarx-install-toolbar' seems to be a lot more user-friendly than the functionality provided by Emacs 22, it seems that AUCTeX's way of isn't compatible with the Emacs-22 way of changing the toolbar.

Does anyone know how I can programmatically tell AUCTeX to respect my toolbar and just add the latex icons to it?

- David

Emacs : GNU Emacs (powerpc-apple-darwin7.9.0, Carbon Version 1.6.0)
of 2007-04-17 on rodrigues.inf.ed.ac.uk - Aquamacs Distribution 1.0rc3
Package: 11.84

current state:
AUCTeX-date "2007-01-12"
window-system 'mac
LaTeX-version "2e"
TeX-style-path '("style" "auto"
"/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/ edit-modes/auctex/style" "/Applications/Aquamacs Emacs.app/Contents/ Resources/site-lisp/edit-modes/var/auctex")
TeX-auto-save nil
TeX-parse-self t
TeX-master nil
TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
                     TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile
                     nil (texinfo-mode) :help
                     "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %`%S%(PDFout)%(mode)%' %t"
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help
                     "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
                     "Run BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help
                     "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help
                     "View the printer queue" :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t
                     :help "Generate PostScript file")
                    ("Index" "makeindex %s" TeX-run-command nil t :help
                     "Create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
                     :help "Check LaTeX file for correctness")
                    ("Spell" "(TeX-ispell-document \"\")" TeX-run-function
                     nil t :help "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help
                     "Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil t
                     :help "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]