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


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 8d30dc1db0a1ea626ee97681ed44649d6e2dabd4
Date: Sat, 7 Jul 2018 18:00:45 -0400 (EDT)

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  8d30dc1db0a1ea626ee97681ed44649d6e2dabd4 (commit)
      from  48160922debb8958a51b47fd30aef6afcf55d709 (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 8d30dc1db0a1ea626ee97681ed44649d6e2dabd4
Author: Arash Esbati <address@hidden>
Date:   Sun Jul 8 00:00:15 2018 +0200

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

diff --git a/Makefile.in b/Makefile.in
index 2ec7882..ec8d76f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -168,7 +168,7 @@ STYLESRC = style/prosper.el \
           style/csquotes.el  style/babel.el     style/dk-bib.el \
           style/floatrow.el  style/moodle.el    style/canadian.el \
           style/arabxetex.el style/australian.el style/newzealand.el \
-          style/xltabular.el
+          style/xltabular.el style/marginnote.el
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/style/marginnote.el b/style/marginnote.el
new file mode 100644
index 0000000..706182f
--- /dev/null
+++ b/style/marginnote.el
@@ -0,0 +1,64 @@
+;;; marginnote.el --- AUCTeX style for `marginnote.sty' (v1.4)
+
+;; Copyright (C) 2018 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <address@hidden>
+;; Maintainer: address@hidden
+;; Created: 2018-07-07
+;; 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 `marginnote.sty' (v1.4) from 2018/07/01.
+;; `marginnote.sty' is part of TeXLive.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "marginnote"
+ (lambda ()
+
+   (TeX-add-symbols
+    '("marginnote" [ "Left margin text" ] "Text"
+      [ TeX-arg-length "Vertical offset" ] )
+
+    '("marginnotetextwidth" 0)
+
+    '("marginnotevadjust" 0)
+
+    '("raggedleftmarginnote" 0)
+
+    '("raggedrightmarginnote" 0)
+
+    '("marginfont" 0))
+
+   ;; Fontification
+   (when (and (featurep 'font-latex)
+             (eq TeX-install-font-lock 'font-latex-setup))
+     (font-latex-add-keywords '(("marginnote"  "[{["))
+                             'reference)))
+ LaTeX-dialect)
+
+(defvar LaTeX-marginnote-package-options
+  '("fulladjust" "heightadjust" "depthadjust" "noadjust"
+    "parboxrestore" "noparboxrestore")
+  "Package options for the marginnote package.")
+
+;;; marginnote.el ends here

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

Summary of changes:
 Makefile.in                          |  2 +-
 style/{newtxttt.el => marginnote.el} | 48 +++++++++++++++++++-----------------
 2 files changed, 26 insertions(+), 24 deletions(-)
 copy style/{newtxttt.el => marginnote.el} (56%)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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