[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 8d30dc1 37/48: Add new style/marginnote.el
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 8d30dc1 37/48: Add new style/marginnote.el |
Date: |
Sun, 16 Sep 2018 01:47:26 -0400 (EDT) |
branch: externals/auctex
commit 8d30dc1db0a1ea626ee97681ed44649d6e2dabd4
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Add new style/marginnote.el
* Makefile.in (STYLESRC): Add new style.
* style/marginnote.el: New file.
---
Makefile.in | 2 +-
style/marginnote.el | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+), 1 deletion(-)
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
- [elpa] externals/auctex 74c4843 40/48: Add new style/thmtools.el and style/thm-restate.el, (continued)
- [elpa] externals/auctex 74c4843 40/48: Add new style/thmtools.el and style/thm-restate.el, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex ff8f183 39/48: ; * style/floatrow.el (LaTeX-floatrow-update-key-val-options): Use `setq' inside the loop., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex e0caf59 25/48: Drop compatibility code for older emacsen in preview-latex, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 1fef01c 45/48: Update style/lettrine.el to package version 2.01, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex cff843b 17/48: Remove obsolete option related to Japanese TeX, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex a59c754 35/48: Adjust test for known emacs bug, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 0d5c1c0 41/48: ; Fix last commit and push missing Makefile.in., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 45747b9 42/48: Add \eqref to RefTeX's reference styles, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex a8ea127 29/48: Accept non-ascii file name in accord with change in TL 2018, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 48325a7 20/48: Update URLs further, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 8d30dc1 37/48: Add new style/marginnote.el,
Tassilo Horn <=
- [elpa] externals/auctex 5df288d 44/48: ; Remove unwanted spaces., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex a7cde09 47/48: Update style/lettrine.el to package version 2.21, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 31ee142 38/48: Fix regression of `TeX-view', Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 80bcd0a 46/48: Update style/lettrine.el to package version 2.1, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 168a4a1 19/48: Update URLs, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex c3cf39e 34/48: Make preamble caching robust to LuaLaTeX and (u)pLaTeX, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 03ba1fa 43/48: Add new style/ocg-p.el and style/ocgx.el, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex f761ab4 48/48: Merge branch 'master' into externals/auctex, Tassilo Horn, 2018/09/16