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. 8a2cdac67c6d66809c20a


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 8a2cdac67c6d66809c20a4f7f934c35fa4e165ef
Date: Fri, 8 Nov 2019 16:02:46 -0500 (EST)

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  8a2cdac67c6d66809c20a4f7f934c35fa4e165ef (commit)
      from  19716fb496e7ba495c2e69aaf4e075a430305edd (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 8a2cdac67c6d66809c20a4f7f934c35fa4e165ef
Author: Arash Esbati <address@hidden>
Date:   Fri Nov 8 22:01:54 2019 +0100

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

diff --git a/Makefile.in b/Makefile.in
index 95bc0eb..666b686 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -170,7 +170,7 @@ STYLESRC = style/prosper.el \
           style/ocg-p.el     style/ocgx.el      style/thm-restate.el \
           style/pythontex.el style/dashundergaps.el style/beamerarticle.el \
           style/changelog.el style/ltugboat.el  style/beamerswitch.el \
-          style/multitoc.el  style/xkcdcolors.el
+          style/multitoc.el  style/fbox.el      style/xkcdcolors.el
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/style/fbox.el b/style/fbox.el
new file mode 100644
index 0000000..bc3b5cf
--- /dev/null
+++ b/style/fbox.el
@@ -0,0 +1,51 @@
+;;; fbox.el --- AUCTeX style for `fbox.sty' (v0.03)
+
+;; Copyright (C) 2019 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <address@hidden>
+;; Maintainer: address@hidden
+;; Created: 2019-11-08
+;; 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 `fbox.sty' (v2.01) from 2019/11/04.
+;; `fbox.sty' is part of TeXLive.
+
+;; Silence the compiler:
+(declare-function font-latex-add-keywords
+                 "font-latex"
+                 (keywords class))
+
+(TeX-add-style-hook
+ "fbox"
+ (lambda ()
+   (TeX-add-symbols
+    '("fbox"  [ "Frame parts (combination of lrtb)" ] t)
+    '("fbox*" [ "Frame parts (combination of lrtb)" ] t))
+
+   ;; Fontification
+   (when (and (featurep 'font-latex)
+             (eq TeX-install-font-lock 'font-latex-setup))
+     (font-latex-add-keywords '(("fbox" "*[{"))
+                             'function)))
+ LaTeX-dialect)
+
+;;; fbox.el ends here

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

Summary of changes:
 Makefile.in                  |  2 +-
 style/{xspace.el => fbox.el} | 29 +++++++++++------------------
 2 files changed, 12 insertions(+), 19 deletions(-)
 copy style/{xspace.el => fbox.el} (67%)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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