[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 7cd329f 74/80: Add fontification support for rag
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 7cd329f 74/80: Add fontification support for ragged2e macros |
Date: |
Wed, 16 Oct 2019 11:07:21 -0400 (EDT) |
branch: externals/auctex
commit 7cd329f06daf166fb5fb6a6e3959935c786c91a9
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Add fontification support for ragged2e macros
* style/ragged2e.el ("ragged2e"): Add provided macros to function
keywords class. This is in line with decision in `font-latex.el'
for corresponding kernel macros.
---
style/ragged2e.el | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/style/ragged2e.el b/style/ragged2e.el
index 2b7050e..fd6fd1b 100644
--- a/style/ragged2e.el
+++ b/style/ragged2e.el
@@ -1,6 +1,6 @@
;;; ragged2e.el --- AUCTeX style for `ragged2e.sty'
-;; Copyright (C) 2011, 2015 Free Software Foundation, Inc.
+;; Copyright (C) 2011, 2015, 2019 Free Software Foundation, Inc.
;; Author: Mads Jensen <address@hidden>
;; Created: 2011-04-16
@@ -54,10 +54,19 @@
;; \justifying
"JustifyingParfillskip" "JustifyingParindent")
- (TeX-run-style-hooks "footmisc" "everysel"))
+ (TeX-run-style-hooks "footmisc" "everysel")
+
+ ;; Fontification
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("Centering" "")
+ ("justifying" "")
+ ("RaggedRight" "")
+ ("RaggedLeft" ""))
+ 'function)))
LaTeX-dialect)
-(defvar LaTeX-ragged2e-package-options
+(defvar LaTeX-ragged2e-package-options
'("originalcommands" "newcommands" "originalparameters" "document"
"newparameters" "footnotes" "raggedrightboxes")
"Package options for the ragged2e package.")
- [elpa] externals/auctex ff688b9 33/80: Stop depreciated usage of undeclared dynamic variable, (continued)
- [elpa] externals/auctex ff688b9 33/80: Stop depreciated usage of undeclared dynamic variable, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 3e179f8 53/80: Update style/fvextra.el to package version 1.4, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 3542a23 70/80: Update style/subcaption.el to package version 1.3, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 7cb6c19 59/80: Fix lisp example for `TeX-electric-math', Tassilo Horn, 2019/10/16
- [elpa] externals/auctex a033c30 43/80: ; Use `LaTeX-extract-key-value-label', Tassilo Horn, 2019/10/16
- [elpa] externals/auctex aa17420 46/80: ; Silence the compiler, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 01dc048 78/80: Change default for new Ghostscript, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 799c844 63/80: Add new style/changelog.el, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex dc2c2d6 65/80: Make "PDF Tools" viewer available under Windows and macOS, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex dbc1fa0 71/80: Support new kernel macros \Ref and \labelformat, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 7cd329f 74/80: Add fontification support for ragged2e macros,
Tassilo Horn <=
- [elpa] externals/auctex 85dd4fe 73/80: Delete \Ref and \labelformat from varioref.el, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex d93db40 72/80: * latex.el (LaTeX-common-initialization): Add \Ref to `TeX-complete-list'., Tassilo Horn, 2019/10/16
- [elpa] externals/auctex cc52bce 77/80: Fix for revised file access controls of gs (bug#37719), Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 65607e5 76/80: * preview.el.in (preview-undump-replacements): Fix last commit., Tassilo Horn, 2019/10/16
- [elpa] externals/auctex c6d6c19 79/80: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2019/10/16