auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 061d8cdb9ac0e154783ac


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 061d8cdb9ac0e154783ac722be5921ae2beb37f4
Date: Wed, 04 Feb 2015 09:22:18 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  061d8cdb9ac0e154783ac722be5921ae2beb37f4 (commit)
      from  4b2587df35092313c106758f9543a2826f93904c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 061d8cdb9ac0e154783ac722be5921ae2beb37f4
Author: Tassilo Horn <address@hidden>
Date:   Wed Feb 4 10:21:56 2015 +0100

    New tcolorbox style
    
    * Makefile.in (STYLESRC): Add new style.
    
    * style/tcolorbox.el: New style.

diff --git a/ChangeLog b/ChangeLog
index 7c73af6..169f5d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-04  Tassilo Horn  <address@hidden>
+
+       * Makefile.in (STYLESRC): Add new style.
+
+       * style/tcolorbox.el: New style.
+
 2015-01-31  Arash Esbati  <address@hidden>
 
        * Makefile.in (STYLESRC): Add new style.
diff --git a/Makefile.in b/Makefile.in
index ceef32e..ed71dfa 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -143,7 +143,8 @@ STYLESRC = style/prosper.el \
           style/luatextra.el style/erewhon.el   style/baskervaldx.el \
           style/fbb.el       style/newtxmath.el style/newtxsf.el \
           style/newtxtext.el style/newtxttt.el  style/minted.el \
-          style/wrapfig.el   style/relsize.el   style/currvita.el
+          style/wrapfig.el   style/relsize.el   style/currvita.el \
+          style/tcolorbox.el
 STYLEELC = $(STYLESRC:.el=.elc)
 
 ifeq (@preview_enabled@,yes)
diff --git a/style/tcolorbox.el b/style/tcolorbox.el
new file mode 100644
index 0000000..73c8555
--- /dev/null
+++ b/style/tcolorbox.el
@@ -0,0 +1,82 @@
+;;; tcolorbox.el --- AUCTeX style for `tcolorbox.sty'
+
+;; Copyright (C) 2015 Free Software Foundation, Inc.
+
+;; Author: Tassilo Horn <address@hidden>
+;; Maintainer: address@hidden
+;; Created: 2015-01-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 `tcolorbox.sty'.
+
+;;; Code:
+
+;; TODO: There are tons of more options...
+(defvar LaTeX-tcolorbox-keyval-options
+  '(("title")
+    ("notitle")
+    ("adjusted title")
+    ("adjust text")
+    ("squeezed title")
+    ("squeezed title*")
+    ("detach title")
+    ("attach title")
+    ("attach title to upper")
+    ("upperbox" ("visible" "invisible"))
+    ("visible")
+    ("invisible")
+    ("lowerbox" ("visible" "invisible" "ignored"))
+    ("savelowerto")
+    ("lower separated" ("true" "false"))
+    ("savedelimiter")
+    ("colframe")
+    ("colback")
+    ("title filled" ("true" "false"))
+    ("colbacktitle")
+    ("colupper")
+    ("collower")
+    ("coltext")
+    ("coltitle")
+    ("fontupper")
+    ("fontlower")
+    ("fonttitle")
+    ("width")
+    ("height")
+    ("after")
+    ("before")))
+
+(TeX-add-style-hook
+ "tcolorbox"
+ (lambda ()
+   ;; TODO: There are many more macros
+   (TeX-add-symbols
+    "tcblower"
+    '("tcbset"
+      (TeX-arg-key-val LaTeX-tcolorbox-keyval-options))
+    '("tcbsetforeverylayer"
+      (TeX-arg-key-val LaTeX-tcolorbox-keyval-options)))
+   (LaTeX-add-environments
+    '("tcolorbox" LaTeX-env-args
+      [TeX-arg-key-val LaTeX-tcolorbox-keyval-options])))
+ LaTeX-dialect)
+
+;;; tcolorbox.el ends here

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    6 ++++
 Makefile.in        |    3 +-
 style/tcolorbox.el |   82 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 90 insertions(+), 1 deletions(-)
 create mode 100644 style/tcolorbox.el


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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