[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 113/299: Change BibTeX button to Biber when LaTeX-using-biber is
From: |
Stefan Monnier |
Subject: |
[elpa] 113/299: Change BibTeX button to Biber when LaTeX-using-biber is non-nil. |
Date: |
Sun, 02 Nov 2014 03:10:43 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit c1021d14f8f7a17a9f4c430202cbc9105649d8f7
Author: Mosè Giordano <address@hidden>
Date: Sun Apr 28 18:23:27 2013 +0200
Change BibTeX button to Biber when LaTeX-using-biber is non-nil.
* tex-bar.el: Update copyright range.
(TeX-bar-LaTeX-button-alist): Change BibTeX button to Biber when
`LaTeX-using-biber' is non-nil.
(LaTeX-install-toolbar): Refresh toolbar after styles update.
---
ChangeLog | 7 +++++++
tex-bar.el | 11 ++++++++---
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c1ce656..ca2086e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-04-28 Mos� Giordano <address@hidden>
+
+ * tex-bar.el: Update copyright range.
+ (TeX-bar-LaTeX-button-alist): Change BibTeX button to Biber when
+ `LaTeX-using-biber' is non-nil.
+ (LaTeX-install-toolbar): Refresh toolbar after styles update.
+
2013-04-25 Mos� Giordano <address@hidden>
* latex.el (LaTeX-default-document-environment): New buffer-local
diff --git a/tex-bar.el b/tex-bar.el
index 32ed5ee..28fafda 100644
--- a/tex-bar.el
+++ b/tex-bar.el
@@ -1,6 +1,6 @@
;;; tex-bar.el --- toolbar icons on AUCTeX in GNU emacs and XEmacs
-;; Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+;; Copyright (C) 2004-2008, 2012, 2013 Free Software Foundation, Inc.
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
@@ -338,9 +338,11 @@ the argument BUTTON-ALIST in function
`toolbarx-install-toolbar'."
:help (lambda (&rest ignored)
(TeX-bar-help-from-command-list "File")))
(bibtex :image "bibtex"
- :command (TeX-command "BibTeX" 'TeX-master-file -1)
+ :command (TeX-command (if LaTeX-using-Biber "Biber" "BibTeX")
+ 'TeX-master-file -1)
:help (lambda (&rest ignored)
- (TeX-bar-help-from-command-list "BibTeX")))
+ (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)
@@ -371,6 +373,9 @@ format of the argument MEANING-ALIST in the mentioned
function."
(add-to-list 'toolbarx-image-path
(expand-file-name "images" TeX-data-directory))
(add-hook 'TeX-PDF-mode-hook 'toolbarx-refresh nil t)
+ ;; Refresh toolbar after styles update because `LaTeX-using-Biber' value
could
+ ;; have been changed.
+ (add-hook 'TeX-update-style-hook 'toolbarx-refresh nil t)
(toolbarx-install-toolbar TeX-bar-LaTeX-buttons
(let ((append-list))
(dolist (elt TeX-bar-LaTeX-all-button-alists)
- [elpa] 96/299: Raise frame on backward search., (continued)
- [elpa] 96/299: Raise frame on backward search., Stefan Monnier, 2014/11/01
- [elpa] 105/299: Fix plain TeX abbrev table name., Stefan Monnier, 2014/11/01
- [elpa] 102/299: Document some missing functions and options., Stefan Monnier, 2014/11/01
- [elpa] 103/299: Use user-full-name as initial input to author macro., Stefan Monnier, 2014/11/01
- [elpa] 100/299: Better unbinding of SPC in LaTeX-arg-acro-key-val and LaTeX-arg-siunitx-unit., Stefan Monnier, 2014/11/01
- [elpa] 106/299: Add beamer class options., Stefan Monnier, 2014/11/01
- [elpa] 95/299: Add new style files acro.el and acronym.el., Stefan Monnier, 2014/11/01
- [elpa] 108/299: Some improvements to amsthm style file., Stefan Monnier, 2014/11/01
- [elpa] 107/299: Add counters and pagestyle to some class styles., Stefan Monnier, 2014/11/01
- [elpa] 110/299: Set default environment for some class styles., Stefan Monnier, 2014/11/01
- [elpa] 113/299: Change BibTeX button to Biber when LaTeX-using-biber is non-nil.,
Stefan Monnier <=
- [elpa] 112/299: Add new variable `LaTeX-default-document-environment'., Stefan Monnier, 2014/11/01
- [elpa] 111/299: Add history variables in some style files., Stefan Monnier, 2014/11/01
- [elpa] 115/299: Document LaTeX-default-document-environment., Stefan Monnier, 2014/11/01
- [elpa] 114/299: Wrap dollars around active region typing `$'., Stefan Monnier, 2014/11/01
- [elpa] 119/299: Fixes to TeX-arg-index-tag, TeX-arg-cite, TeX-parse-arguments., Stefan Monnier, 2014/11/01
- [elpa] 117/299: Insert one $ when point is in a verbatim construct., Stefan Monnier, 2014/11/01
- [elpa] 109/299: Fix in TeX-arg-insert-braces., Stefan Monnier, 2014/11/01
- [elpa] 121/299: Silence some compilation warning., Stefan Monnier, 2014/11/01
- [elpa] 124/299: Make forward PDF search with Okular work., Stefan Monnier, 2014/11/01
- [elpa] 123/299: Fix docstring of `TeX-source-correlate-sync-source'., Stefan Monnier, 2014/11/01