emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 003f475 28/35: New style ltablex.el.


From: Tassilo Horn
Subject: [elpa] externals/auctex 003f475 28/35: New style ltablex.el.
Date: Sun, 22 Mar 2015 09:27:08 +0000

branch: externals/auctex
commit 003f475d15530eb6b853a639b455087afe341c69
Author: Arash Esbati <address@hidden>
Commit: Tassilo Horn <address@hidden>

    New style ltablex.el.
    
    * Makefile.in (STYLESRC): Add new style.
    
    * style/ltablex.el: New file.
---
 ChangeLog        |    6 ++++++
 Makefile.in      |    2 +-
 style/ltablex.el |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 56 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7e88388..1b8e6d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-03-15  Arash Esbati  <address@hidden>
 
+       * Makefile.in (STYLESRC): Add new style.
+
+       * style/ltablex.el: New file.
+
+2015-03-15  Arash Esbati  <address@hidden>
+
        * style/enumitem.el (LaTeX-enumitem-SetEnumitemKey-regexp): Delete
        match for the second argument.
        (LaTeX-enumitem-SetEnumitemValue-regexp): Delete match for the
diff --git a/Makefile.in b/Makefile.in
index b9f5c08..160f970 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -146,7 +146,7 @@ STYLESRC = style/prosper.el \
           style/wrapfig.el   style/relsize.el   style/currvita.el \
           style/tcolorbox.el style/color.el     style/expl3.el \
           style/bidibeamer.el style/enumitem.el style/caption.el \
-          style/geometry.el
+          style/geometry.el  style/ltablex.el
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/style/ltablex.el b/style/ltablex.el
new file mode 100644
index 0000000..5e0fad5
--- /dev/null
+++ b/style/ltablex.el
@@ -0,0 +1,49 @@
+;;; ltablex.el --- AUCTeX style for `ltablex.sty' (v1.1)
+
+;; Copyright (C) 2015 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <esbati'at'gmx.de>
+;; Maintainer: address@hidden
+;; Created: 2015-03-14
+;; 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 `ltablex.sty' (v1.1) from 2014/08/13.
+;; `ltablex.sty' is part of TeXLive.  `ltablex.sty' modifies the
+;; tabularx environment to combine the features of the tabularx
+;; package with those of the longtable package.  All we need is to
+;; call those styles and add two macros.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "ltablex"
+ (lambda ()
+   (TeX-run-style-hooks "tabularx" "longtable")
+   (TeX-add-symbols
+    '("keepXColumns" 0)
+    '("convertXColumns" 0)))
+ LaTeX-dialect)
+
+(defvar LaTeX-ltablex-package-options nil
+  "Package options for the ltablex package.")
+
+;;; ltablex.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]