[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] How to customize the AucTex toolbar?
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] How to customize the AucTex toolbar? |
Date: |
Thu, 20 Dec 2012 09:22:10 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Customer Zhang <address@hidden> writes:
> Since the AucTex replaced the emacs toolbar by its own,
> the emacs (tool-bar-xxx) functions do not work on that.
>
> I want to do two things:
> (1) Show only icon without text on the toolbar
(setq tool-bar-style 'image)
> (2) Add the ispell-buffer button to the toolbar
I've just added a spell-check button in CVS. If you don't use the
development version, you can apply this path to tex-bar.el yourself.
--8<---------------cut here---------------start------------->8---
Index: tex-bar.el
===================================================================
RCS file: /sources/auctex/auctex/tex-bar.el,v
retrieving revision 1.23
diff -r1.23 tex-bar.el
87c87
< [separator nil] tex next-error view bibtex)
---
> [separator nil] tex next-error view bibtex spell)
117c117,118
< (const clean))
---
> (const clean)
> (const spell))
199c200,204
< (TeX-bar-help-from-command-list "Clean"))))
---
> (TeX-bar-help-from-command-list "Clean")))
> (spell :image "view" ;; TODO: We probably want a custom icon.
> :command (TeX-command "Spell" 'TeX-master-file -1)
> :help (lambda (&rest ignored)
> (TeX-bar-help-from-command-list "Spell"))))
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo