Customer Zhang <[email protected]> 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


_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to