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

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

[elpa] externals/auctex 107f106 23/28: Add new style vwcol.el.


From: Tassilo Horn
Subject: [elpa] externals/auctex 107f106 23/28: Add new style vwcol.el.
Date: Fri, 07 Aug 2015 15:59:26 +0000

branch: externals/auctex
commit 107f106697148ca18e5a25a0ed0fbf9bb930fdb2
Author: Arash Esbati <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Add new style vwcol.el.
    
    Signed-off-by: Mosè Giordano <address@hidden>
---
 ChangeLog      |    4 +++
 Makefile.in    |    3 +-
 style/vwcol.el |   71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 77 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9832d21..32bd62d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 
        * Makefile.in (STYLESRC): Add new style.
 
+       * style/vwcol.el: New file.
+
+       * Makefile.in (STYLESRC): Add new style.
+
        * style/textpos.el: New file.
 
        * Makefile.in (STYLESRC): Add new style.
diff --git a/Makefile.in b/Makefile.in
index 03ff367..853c2b3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -149,7 +149,8 @@ STYLESRC = style/prosper.el \
           style/geometry.el  style/ltablex.el   style/ltxtable.el \
           style/mn2e.el      style/colortbl.el  style/attachfile.el \
           style/newpxtext.el style/newpxmath.el style/pdfpages.el \
-          style/mnras.el     style/environ.el   style/textpos.el
+          style/mnras.el     style/environ.el   style/textpos.el \
+          style/vwcol.el
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/style/vwcol.el b/style/vwcol.el
new file mode 100644
index 0000000..0a74edf
--- /dev/null
+++ b/style/vwcol.el
@@ -0,0 +1,71 @@
+;;; vwcol.el --- AUCTeX style for `vwcol.sty' (v0.2)
+
+;; Copyright (C) 2015 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <esbati'at'gmx.de>
+;; Maintainer: address@hidden
+;; Created: 2015-07-04
+;; 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 `vwcol.sty' (v0.2) from 2015/02/10.
+;; `vwcol.sty' is part of TeXLive.
+
+;;; Code:
+
+(defvar LaTeX-vwcol-key-val-options
+  '(("widths")
+    ("sep"       ("fill"))
+    ("presep"    ("true" "false"))
+    ("postsep"   ("true" "false"))
+    ("sidesep"   ("true" "false"))
+    ("rule"      ("none" "0pt"))
+    ("prerule"   ("true" "false"))
+    ("postrule"  ("true" "false"))
+    ("siderule"  ("true" "false"))
+    ("justify"   ("ragged" "flush" "raggedleft" "center"))
+    ("rulecolor")
+    ("indent")
+    ("lines"))
+  "Key=value options for vwcol macros and environments.")
+
+(TeX-add-style-hook
+ "vwcol"
+ (lambda ()
+
+   (LaTeX-add-environments
+    '("vwcol" LaTeX-env-args
+      [ TeX-arg-key-val LaTeX-vwcol-key-val-options ]))
+
+   (TeX-add-symbols
+    '("vwcolsetup" (TeX-arg-key-val LaTeX-vwcol-key-val-options)))
+
+   ;; Fontification
+   (when (and (featurep 'font-latex)
+             (eq TeX-install-font-lock 'font-latex-setup))
+     (font-latex-add-keywords '(("vwcolsetup" "{"))
+                             'function)))
+ LaTeX-dialect)
+
+(defvar LaTeX-vwcol-package-options '("quiet")
+  "Package options for the vwcol package.")
+
+;;; vwcol.el ends here



reply via email to

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