[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 60/299: * Makefile.in (STYLESRC): Activate new style array.el.
From: |
Stefan Monnier |
Subject: |
[elpa] 60/299: * Makefile.in (STYLESRC): Activate new style array.el. |
Date: |
Sun, 02 Nov 2014 03:10:18 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit e850d67a3df7f0e3bb4af9c748f9b49b99778c6c
Author: Tassilo Horn <address@hidden>
Date: Mon Feb 18 19:23:38 2013 +0000
* Makefile.in (STYLESRC): Activate new style array.el.
* style/array.el: New style.
* style/tabularx.el: Expand copyright range.
("tabularx"): The package relies on the array package, so run its
style hook.
---
ChangeLog | 10 +++++++++
Makefile.in | 3 +-
style/{tabularx.el => array.el} | 40 +++++++++++++++++---------------------
style/tabularx.el | 7 ++++-
4 files changed, 35 insertions(+), 25 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0aacfc2..9002184 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2013-02-18 Mads Jensen <address@hidden>
+
+ * Makefile.in (STYLESRC): Activate new style array.el.
+
+ * style/array.el: New style.
+
+ * style/tabularx.el: Expand copyright range.
+ ("tabularx"): The package relies on the array package, so run its
+ style hook.
+
2013-02-18 Tassilo Horn <address@hidden>
* tex.el (require): Require crm.
diff --git a/Makefile.in b/Makefile.in
index 45be16c..09087d0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -129,7 +129,8 @@ STYLESRC = style/prosper.el \
style/multirow.el style/imakeidx.el style/afterpage.el \
style/longtable.el style/lipsum.el style/kantlipsum.el \
style/memoir.el style/placeins.el style/nameref.el \
- style/fancynum.el style/fancyhdr.el style/filecontents.el
+ style/fancynum.el style/fancyhdr.el style/filecontents.el \
+ style/array.el
STYLEELC = $(STYLESRC:.el=.elc)
CLEANFILES = $(AUCELC) $(STYLEELC) $(MULEELC)
diff --git a/style/tabularx.el b/style/array.el
similarity index 52%
copy from style/tabularx.el
copy to style/array.el
index 0fc8234..89c2222 100644
--- a/style/tabularx.el
+++ b/style/array.el
@@ -1,10 +1,9 @@
-;;; tabularx.el --- AUCTeX style for the tabularx package.
+;;; array.el --- AUCTeX style for `array.sty'
-;; Copyright (C) 2009 Free Software Foundation, Inc.
+;; Copyright (C) 2013 Free Software Foundation, Inc.
-;; Author: Ralf Angeli <address@hidden>
+;; Author: Mads Jensen <address@hidden>
;; Maintainer: address@hidden
-;; Created: 2009-02-22
;; Keywords: tex
;; This file is part of AUCTeX.
@@ -26,27 +25,24 @@
;;; Commentary:
-;; This file adds support for the tabularx package.
+;; This file adds support for `array.sty'
;;; Code:
-(defvar LaTeX-tabularx-package-options
- '("infoshow" "debugshow")
- "Package options for the tabularx package.")
-
(TeX-add-style-hook
- "tabularx"
+ "array"
(lambda ()
- ;; New symbols
(TeX-add-symbols
- "tracingtabularx"
- '("tabularxcolumn" 0))
- ;; New environments
- (LaTeX-add-environments
- ;; XXX: The tabularx environment takes the same arguments as the
- ;; tabular* environment. However, the supported tokens in the
- ;; format can differ, so at some point in time we might want to
- ;; separate tabular* and tabularx.
- '("tabularx" LaTeX-env-tabular*))))
-
-;;; tabularx.el ends here
+ '("newcolumntype" "Column type" [ "Number of arguments" ] t)
+ '("showcols" 0)
+ '("firsthline" 0)
+ '("lasthline" 0))
+
+ ;; `array.sty' adds a couple of new lengths. They're added here, rather
than
+ ;; in the `TeX-add-symbols' block.
+ (LaTeX-add-lengths "extratabsurround" "extrarowheight")))
+
+(defvar LaTeX-array-package-options nil
+ "Package options for array.")
+
+;; array.el ends here
diff --git a/style/tabularx.el b/style/tabularx.el
index 0fc8234..f7d9ea7 100644
--- a/style/tabularx.el
+++ b/style/tabularx.el
@@ -1,6 +1,6 @@
;;; tabularx.el --- AUCTeX style for the tabularx package.
-;; Copyright (C) 2009 Free Software Foundation, Inc.
+;; Copyright (C) 2009, 2013 Free Software Foundation, Inc.
;; Author: Ralf Angeli <address@hidden>
;; Maintainer: address@hidden
@@ -47,6 +47,9 @@
;; tabular* environment. However, the supported tokens in the
;; format can differ, so at some point in time we might want to
;; separate tabular* and tabularx.
- '("tabularx" LaTeX-env-tabular*))))
+ '("tabularx" LaTeX-env-tabular*))
+
+ ;; `tabularx' requires array to define the column types
+ (TeX-run-style-hooks "array")))
;;; tabularx.el ends here
- [elpa] 47/299: * doc/todo.texi (Wishlist): Remove "Completion for sboxes"., (continued)
- [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, 2014/11/01
- [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 <=
- [elpa] 61/299: * latex.el (LaTeX-math-default): Move `digamma' and `varkappa' to `AMS > Greek Lowercase' menu., Stefan Monnier, 2014/11/01
- [elpa] 58/299: * style/biblatex.el ("biblatex"): Add hooks for loaded packages. (LaTeX-biblatex-package-options): New function. (LaTeX-biblatex-package-options-list): Renamed from `LaTeX-biblatex-package-options' to avoid clash with the function with the same name., Stefan Monnier, 2014/11/01
- [elpa] 63/299: * style/scrbase.el ("scrbase"): Add \minisec macro to `LaTeX-paragraph-commands' locally., Stefan Monnier, 2014/11/01
- [elpa] 64/299: * latex.el (LaTeX-paragraph-commands-internal): Add \clearpage and \newpage., Stefan Monnier, 2014/11/01
- [elpa] 65/299: * tex.el (TeX-parse-macro): Add TeX group characters also in math environments if there is an active region that should probably used as argument., Stefan Monnier, 2014/11/01
- [elpa] 67/299: * tex.el (TeX-run-style-hooks): Guard running style hooks in a `condition-case' in order not to error in cases the auto file contains calls to functions that are defined by a style that has been deactivated in the meantime., Stefan Monnier, 2014/11/01
- [elpa] 59/299: * tex.el (require): Require crm., Stefan Monnier, 2014/11/01
- [elpa] 68/299: * latex.el (TeX-arg-date): New function. (LaTeX-common-initialization): Use `TeX-arg-date' for \date macro., Stefan Monnier, 2014/11/01
- [elpa] 57/299: * style/siunitx.el (LaTeX-siunitx-package-options): New function., Stefan Monnier, 2014/11/01
- [elpa] 70/299: * tex.el (TeX-command-list): Add support for xindy., Stefan Monnier, 2014/11/01