[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 48/299: * style/biblatex.el: Update copyright range. ("biblatex")
From: |
Stefan Monnier |
Subject: |
[elpa] 48/299: * style/biblatex.el: Update copyright range. ("biblatex"): Check `backend' option value in `TeX-active-styles'. * tex-style.el: Update copyright years. (LaTeX-biblatex-use-Biber) Remove unused variable. * tex.el: Update copyright range. (TeX-auto-add-type): Append new type to `TeX-auto-parser' instead of prepending it. (TeX-auto-store): Fix indentation of first lines of parsed file. * latex.el (LaTeX-auto-cleanup): Append options and styles to `TeX-auto-file' instead of prepending them. |
Date: |
Sun, 02 Nov 2014 03:10:12 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit d853bc02aa55afc6534b3ae0879b9c0413eb8de2
Author: Tassilo Horn <address@hidden>
Date: Tue Feb 12 07:54:40 2013 +0000
* style/biblatex.el: Update copyright range.
("biblatex"): Check `backend' option value in
`TeX-active-styles'.
* tex-style.el: Update copyright years.
(LaTeX-biblatex-use-Biber) Remove unused variable.
* tex.el: Update copyright range.
(TeX-auto-add-type): Append new type to `TeX-auto-parser' instead
of prepending it.
(TeX-auto-store): Fix indentation of first lines of parsed file.
* latex.el (LaTeX-auto-cleanup): Append options and styles to
`TeX-auto-file' instead of prepending them.
---
ChangeLog | 17 +++++++++++++++++
latex.el | 12 +++++++-----
style/biblatex.el | 12 ++++++------
tex-style.el | 9 +--------
tex.el | 11 ++++++-----
5 files changed, 37 insertions(+), 24 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9e33202..fb6173f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2013-02-08 Mos� Giordano <address@hidden>
+
+ * style/biblatex.el: Update copyright range.
+ ("biblatex"): Check `backend' option value in
+ `TeX-active-styles'.
+
+ * tex-style.el: Update copyright years.
+ (LaTeX-biblatex-use-Biber) Remove unused variable.
+
+ * tex.el: Update copyright range.
+ (TeX-auto-add-type): Append new type to `TeX-auto-parser' instead
+ of prepending it.
+ (TeX-auto-store): Fix indentation of first lines of parsed file.
+
+ * latex.el (LaTeX-auto-cleanup): Append options and styles to
+ `TeX-auto-file' instead of prepending them.
+
2013-01-28 Mads Jensen <address@hidden>
* doc/todo.texi (Wishlist): Remove "Completion for sboxes".
diff --git a/latex.el b/latex.el
index 0466cc8..17ce77a 100644
--- a/latex.el
+++ b/latex.el
@@ -1345,18 +1345,20 @@ The input string may include LaTeX comments and
newlines."
;; Get the options.
(setq options (LaTeX-listify-package-options options))
- ;; Add them, to the style list.
+ ;; Append them to the style list.
(dolist (elt options)
- (add-to-list 'TeX-auto-file elt))
+ (add-to-list 'TeX-auto-file elt t))
;; Treat documentclass/documentstyle specially.
(if (or (string-equal "package" class)
(string-equal "Package" class))
(dolist (elt (TeX-split-string
"\\([ \t\r\n]\\|%[^\n\r]*[\n\r]\\|,\\)+" style))
- (add-to-list 'TeX-auto-file elt))
+ ;; Append style to the style list, so style files can check the
+ ;; values of the options given on load time to packages.
+ (add-to-list 'TeX-auto-file elt t))
;; And a special "art10" style file combining style and size.
- (add-to-list 'TeX-auto-file style)
+ (add-to-list 'TeX-auto-file style t)
(add-to-list 'TeX-auto-file
(concat
(cond ((string-equal "article" style)
@@ -1383,7 +1385,7 @@ The input string may include LaTeX comments and newlines."
((member "12pt" options)
"12")
(t
- "10")))))
+ "10"))) t))
;; The third argument if "class" indicates LaTeX2e features.
(cond ((equal class "class")
diff --git a/style/biblatex.el b/style/biblatex.el
index 3a66cff..5a4c005 100644
--- a/style/biblatex.el
+++ b/style/biblatex.el
@@ -1,6 +1,6 @@
;;; biblatex.el --- AUCTeX style for `biblatex.sty'
-;; Copyright (C) 2012 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2013 Free Software Foundation, Inc.
;; Author: Ralf Angeli <address@hidden>
;; Maintainer: address@hidden
@@ -33,11 +33,11 @@
(TeX-add-style-hook
"biblatex"
(lambda ()
- ;; Unfortunately `(member "backend=biber" TeX-active-styles)' does
- ;; not work as a test because "backend=biber" is added to
- ;; `TeX-active-styles' after "biblatex". So we check the value of
- ;; `LaTeX-biblatex-use-biber' and let the user set it if desired.
- (when LaTeX-biblatex-use-Biber
+ ;; Biblatex uses as default backend biber, run it unless biblatex `backend'
+ ;; option value is one of `bibtex', `bibtex8', `bibtexu'.
+ (unless (or (member "backend=bibtex" TeX-active-styles)
+ (member "backend=bibtex8" TeX-active-styles)
+ (member "backend=bibtexu" TeX-active-styles))
(setq LaTeX-using-Biber t))))
;; TODO: Add package options.
diff --git a/tex-style.el b/tex-style.el
index 1c91168..05a706e 100644
--- a/tex-style.el
+++ b/tex-style.el
@@ -1,6 +1,6 @@
;;; tex-style.el --- Customizable variables for AUCTeX style files
-;; Copyright (C) 2005 Free Software Foundation, Inc.
+;; Copyright (C) 2005, 2013 Free Software Foundation, Inc.
;; Author: Reiner Steib <address@hidden>
;; Keywords: tex, wp, convenience
@@ -213,13 +213,6 @@ It can be a list of themes or a function. If it is the
symbol
:tag "Other"
(string)))))
-;; style/biblatex.el
-
-(defcustom LaTeX-biblatex-use-Biber t
- "Whether to use Biber with biblatex."
- :type 'boolean
- :group 'LaTeX-style)
-
;; style/comment.el
(defcustom LaTeX-comment-env-list '("comment")
diff --git a/tex.el b/tex.el
index 7a59a76..c2af20d 100644
--- a/tex.el
+++ b/tex.el
@@ -1,6 +1,6 @@
;;; tex.el --- Support for TeX documents.
-;; Copyright (C) 1985-1987, 1991, 1993, 1994, 1996, 1997, 1999-2012
+;; Copyright (C) 1985-1987, 1991, 1993, 1994, 1996, 1997, 1999-2013
;; Free Software Foundation, Inc.
;; Maintainer: address@hidden
@@ -3121,8 +3121,9 @@ separate type of information in the parser."
(add (intern (concat prefix "-add-" names)))
(local (intern (concat prefix "-" name "-list")))
(change (intern (concat prefix "-" name "-changed"))))
- (setq TeX-auto-parser
- (cons (list name tmp add local change) TeX-auto-parser))
+ ;; Append new type to `TeX-auto-parser' in order to make `style' type
always
+ ;; the first.
+ (add-to-list 'TeX-auto-parser (list name tmp add local change) t)
(set local nil)
(make-variable-buffer-local local)
(set change nil)
@@ -3345,8 +3346,8 @@ If TEX is a directory, generate style files for all files
in the directory."
(save-excursion
(set-buffer (generate-new-buffer file))
(erase-buffer)
- (insert "(TeX-add-style-hook \"" style "\"\n"
- " (lambda ()")
+ (insert "(TeX-add-style-hook\n \""
+ style "\"\n (lambda ()")
(mapc (lambda (el) (TeX-auto-insert el style))
TeX-auto-parser)
(insert "))\n\n")
- [elpa] 35/299: * latex.el (LaTeX-auto-length-regexp-list): New variable. (LaTeX-auto-regexp-list): Use `LaTeX-auto-length-regexp-list'. ("length"): New type for the parser. (TeX-arg-length): New function. (TeX-arg-define-length): New function. (LaTeX-common-initialization): Initialize some standard LaTeX lengths and use `TeX-arg-length' and `TeX-arg-define-length' for completion of some macros., (continued)
- [elpa] 35/299: * latex.el (LaTeX-auto-length-regexp-list): New variable. (LaTeX-auto-regexp-list): Use `LaTeX-auto-length-regexp-list'. ("length"): New type for the parser. (TeX-arg-length): New function. (TeX-arg-define-length): New function. (LaTeX-common-initialization): Initialize some standard LaTeX lengths and use `TeX-arg-length' and `TeX-arg-define-length' for completion of some macros., Stefan Monnier, 2014/11/01
- [elpa] 40/299: * Makefile.in (STYLESRC): Activate new style placeins.el., Stefan Monnier, 2014/11/01
- [elpa] 33/299: * doc/auctex.texi: Document that `TeX-arg-counter' does completion now. * latex.el (LaTeX-auto-pagestyle-regexp-list): Fix typo. (LaTeX-auto-counter-regexp-list): New variable. (LaTeX-auto-regexp-list): Use `LaTeX-auto-counter-regexp-list'. ("counter"): New type for the parser. (TeX-arg-counter): Use `LaTeX-counter-list' function for completion and `definition' argument. (TeX-arg-pagestyle): Use `definition' argument. (LaTeX-common-initialization): Initialize counters., Stefan Monnier, 2014/11/01
- [elpa] 41/299: * tex-buf.el (TeX-output-revert-buffer): New function. (TeX-special-mode, TeX-output-mode): New major modes. (TeX-special-mode-map, TeX-output-mode-map): New variables., Stefan Monnier, 2014/11/01
- [elpa] 43/299: * tex-buf.el (TeX-output-mode): Make revert-buffer-function buffer local before setting it to TeX-output-revert-buffer., Stefan Monnier, 2014/11/01
- [elpa] 42/299: * auctex.texi: Updated documetation about ChkTeX and lacheck. Fixed typos., Stefan Monnier, 2014/11/01
- [elpa] 44/299: * style/siunitx.el ("siunitx"): Add `\gram' and `\SendSettingsToPgf'., Stefan Monnier, 2014/11/01
- [elpa] 46/299: * latex.el (LaTeX-env-contents): Replaced regular expression with `LaTeX-header-end', i.e., filecontents environments must go somewhere in the preamble but not necessarily before the \documentclass., Stefan Monnier, 2014/11/01
- [elpa] 45/299: * latex.el (LaTeX-auto-savebox-regexp-list): New variable. (LaTeX-auto-regexp-list): Use `LaTeX-auto-savebox-regexp-list'. ("savebox"): New type for the parser. (TeX-arg-savebox): Use `LaTeX-savebox-list' for completion and `definition' argument. (LaTeX-common-initialization): Added makeatletter, makeatother, and jobname macros. (LaTeX-default-options): Changed documentstyle to documentclass in docstring., Stefan Monnier, 2014/11/01
- [elpa] 47/299: * doc/todo.texi (Wishlist): Remove "Completion for sboxes"., Stefan Monnier, 2014/11/01
- [elpa] 48/299: * style/biblatex.el: Update copyright range. ("biblatex"): Check `backend' option value in `TeX-active-styles'. * tex-style.el: Update copyright years. (LaTeX-biblatex-use-Biber) Remove unused variable. * tex.el: Update copyright range. (TeX-auto-add-type): Append new type to `TeX-auto-parser' instead of prepending it. (TeX-auto-store): Fix indentation of first lines of parsed file. * latex.el (LaTeX-auto-cleanup): Append options and styles to `TeX-auto-file' instead of prepending them.,
Stefan Monnier <=
- [elpa] 51/299: * Makefile.in (STYLESRC): Activate new style fancynum.el., Stefan Monnier, 2014/11/01
- [elpa] 50/299: * Makefile.in (STYLESRC): Activate new style nameref.el., Stefan Monnier, 2014/11/01
- [elpa] 52/299: * Makefile.in (STYLESRC): Activate new style filecontents.el., Stefan Monnier, 2014/11/01
- [elpa] 55/299: * style/fancyhdr.el (TeX-arg-fancyhdr-position): Document the OPTIONAL argument., Stefan Monnier, 2014/11/01
- [elpa] 56/299: * style/subfigure.el: Expanded copyright range. ("subfigure"): Collapsed the two regular expressions for completion. Added lengths, and commands for fonts., Stefan Monnier, 2014/11/01
- [elpa] 49/299: * style/siunitx.el ("siunitx-unit"): New type for the parser. (LaTeX-siunitx-regexp): New variable. (LaTeX-auto-siunitx-unit): New variable. (LaTeX-siunitx-prepare): New function. (LaTeX-siunitx-cleanup): New function. (TeX-auto-prepare-hook): Add `LaTeX-siunitx-prepare' function. (TeX-auto-cleanup-hook): Add `LaTeX-siunitx-cleanup' function. (TeX-arg-siunitx-unit): New function. (TeX-arg-define-siunitx-unit): New function. ("siunitx"): Add `LaTeX-siunitx-regexp' to list of regexps used for parsing. ("siunitx"): Use `TeX-arg-siunitx-unit' and `TeX-arg-define-siunitx-unit' functions. ("siunitx"): Use `LaTeX-add-siunitx-units' for adding siunitx unit macros to the list of known units., Stefan Monnier, 2014/11/01
- [elpa] 53/299: * doc/auctex.texi (Quotes): Document `TeX-math-close-single-dollar'. (Selecting a Command): Remove reference to `LaTeX-biblatex-use-Biber'. (Parsing Files): Document `LaTeX-auto-index-regexp-list', `LaTeX-auto-class-regexp-list', `LaTeX-auto-pagestyle-regexp-list', `LaTeX-auto-counter-regexp-list', `LaTeX-auto-length-regexp-list', `LaTeX-auto-savebox-regexp-list'., Stefan Monnier, 2014/11/01
- [elpa] 54/299: * Makefile.in (STYLESRC): Activate new style fancyhdr.el., Stefan Monnier, 2014/11/01
- [elpa] 60/299: * Makefile.in (STYLESRC): Activate new style array.el., Stefan Monnier, 2014/11/01
- [elpa] 61/299: * latex.el (LaTeX-math-default): Move `digamma' and `varkappa' to `AMS > Greek Lowercase' menu., Stefan Monnier, 2014/11/01