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

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

[elpa] externals/auctex fd04166 29/35: New style ltxtable.el.


From: Tassilo Horn
Subject: [elpa] externals/auctex fd04166 29/35: New style ltxtable.el.
Date: Sun, 22 Mar 2015 09:27:08 +0000

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

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

diff --git a/ChangeLog b/ChangeLog
index 1b8e6d5..6765b01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,12 @@
 
        * Makefile.in (STYLESRC): Add new style.
 
+       * style/ltxtable.el: New file.
+
+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>
diff --git a/Makefile.in b/Makefile.in
index 160f970..848781b 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/ltablex.el
+          style/geometry.el  style/ltablex.el   style/ltxtable.el
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/style/ltxtable.el b/style/ltxtable.el
new file mode 100644
index 0000000..ddc7c89
--- /dev/null
+++ b/style/ltxtable.el
@@ -0,0 +1,51 @@
+;;; ltxtable.el --- AUCTeX style for `ltxtable.sty' (v0.2)
+
+;; 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 `ltxtable.sty' (v0.2) from 1995/12/11.
+;; `ltxtable.sty' is part of TeXLive.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "ltxtable"
+ (lambda ()
+   (TeX-run-style-hooks "tabularx" "longtable")
+   (TeX-add-symbols
+    '("LTXtable"
+      (TeX-arg-length)
+      (TeX-arg-eval
+       (lambda ()
+        (let ((longtable (file-relative-name
+                          (read-file-name "File with longtable: "))))
+          (format "%s" longtable)))))))
+ LaTeX-dialect)
+
+(defvar LaTeX-ltxtable-package-options nil
+  "Package options for the ltxtable package.")
+
+;;; ltxtable.el ends here



reply via email to

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