[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex ee4cc54 31/42: Add new style/xltabular.el
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex ee4cc54 31/42: Add new style/xltabular.el |
Date: |
Thu, 23 Nov 2017 06:06:13 -0500 (EST) |
branch: externals/auctex
commit ee4cc54ab3dd890f11f514f9a37b35bce7883eb3
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Add new style/xltabular.el
* Makefile.in (STYLESRC): Add new style.
* style/xltabular.el: New file.
---
Makefile.in | 3 ++-
style/xltabular.el | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index 4f2910a..abe2b2e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -167,7 +167,8 @@ STYLESRC = style/prosper.el \
style/preview.el style/fvextra.el style/jurabib.el \
style/csquotes.el style/babel.el style/dk-bib.el \
style/floatrow.el style/moodle.el style/canadian.el \
- style/arabxetex.el style/australian.el style/newzealand.el
+ style/arabxetex.el style/australian.el style/newzealand.el \
+ style/xltabular.el
STYLEELC = $(STYLESRC:.el=.elc)
diff --git a/style/xltabular.el b/style/xltabular.el
new file mode 100644
index 0000000..e78b4e9
--- /dev/null
+++ b/style/xltabular.el
@@ -0,0 +1,64 @@
+;;; xltabular.el --- AUCTeX style for `xltabular.sty' (v0.05)
+
+;; Copyright (C) 2017 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <address@hidden>
+;; Maintainer: address@hidden
+;; Created: 2017-11-03
+;; Keywords: tex
+
+;; This file is part of AUCTeX.
+
+;; AUCTeX is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; AUCTeX is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with AUCTeX; see the file COPYING. If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Commentary:
+
+;; This file adds support for `xltabular.sty' (v0.05) from 2017/10/26.
+;; `xltabular.sty' is part of TeXLive.
+
+(TeX-add-style-hook
+ "xltabular"
+ (lambda ()
+ ;; ltablex loads both tabularx and longtable
+ (TeX-run-style-hooks "ltablex")
+
+ ;; `LaTeX-env-longtable' is provided by `longtable.el':
+ (LaTeX-add-environments
+ '("xltabular" LaTeX-env-longtable))
+
+ ;; Use the enhanced table formatting. Append to
+ ;; `LaTeX-indent-environment-list' in order not to override custom settings.
+ (add-to-list (make-variable-buffer-local 'LaTeX-indent-environment-list)
+ '("xltabular" LaTeX-indent-tabular) t)
+
+ ;; Append xltabular to `LaTeX-label-alist', in order not to
+ ;; override possible custome values.
+ (add-to-list 'LaTeX-label-alist '("xltabular" . LaTeX-table-label) t)
+
+ ;; Append xltabular to `LaTeX-item-list' with `LaTeX-item-longtable'
+ (add-to-list 'LaTeX-item-list '("xltabular" . LaTeX-item-longtable) t)
+
+ ;; Tell RefTeX -- This is the same entry as for "longtable" in
+ ;; `reftex-label-alist-builtin':
+ (when (fboundp 'reftex-add-label-environments)
+ (reftex-add-label-environments
+ '(("xltabular" ?t nil nil caption)))))
+ LaTeX-dialect)
+
+(defvar LaTeX-xltabular-package-options nil
+ "Package options for the xltabular package.")
+
+;;; xltabular.el ends here
- [elpa] externals/auctex 0d8e6c6 34/42: Document `TeX-math-input-method-off-regexp' properly., (continued)
- [elpa] externals/auctex 0d8e6c6 34/42: Document `TeX-math-input-method-off-regexp' properly., Tassilo Horn, 2017/11/23
- [elpa] externals/auctex f0145f4 30/42: Add new function `LaTeX-env-longtable', Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 213b705 33/42: Mention the necessity of GNU make, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 842471c 37/42: Give proper argument to `TeX-command-expand', Tassilo Horn, 2017/11/23
- [elpa] externals/auctex b69d894 39/42: * doc/changes.texi: Mention compatibility of preview with GS 9.22., Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 5d6839e 36/42: Add test for the recent change about `TeX-kpathsea-path-delimiter', Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 5f007f1 42/42: Regenerate tex-site.el and docs, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex b20eea0 26/42: Fix Copyright year, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 463ead7 35/42: Document `TeX-view-evince-keep-focus', Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 420ec0e 32/42: Bug fix and code refactoring related to kpathsea, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex ee4cc54 31/42: Add new style/xltabular.el,
Tassilo Horn <=
- [elpa] externals/auctex c03ca2c 38/42: Improve style/epigraph.el, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 800064f 41/42: Merge branch 'master' into externals/auctex, Tassilo Horn, 2017/11/23