auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 45aff50ff3 48/60: Support \mathco


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 45aff50ff3 48/60: Support \mathcolor in style/x?color.el
Date: Fri, 8 Apr 2022 11:52:55 -0400 (EDT)

branch: externals/auctex
commit 45aff50ff39ab485cb25f0460ccb3c4e6a5a465b
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    Support \mathcolor in style/x?color.el
    
    * style/color.el ("color"): Add support for 'mathcolor' macro.
    (LaTeX-color-package-options): Update options.
    
    * style/xcolor.el ("xcolor"): Add support for 'mathcolor' macro.
    (LaTeX-xcolor-package-options): Update options.
---
 style/color.el  | 15 ++++++++++-----
 style/xcolor.el | 15 ++++++++++-----
 2 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/style/color.el b/style/color.el
index 517780f949..a98b01bd48 100644
--- a/style/color.el
+++ b/style/color.el
@@ -1,6 +1,6 @@
-;;; color.el --- AUCTeX style for `color.sty' (v1.1a)  -*- lexical-binding: t; 
-*-
+;;; color.el --- AUCTeX style for `color.sty' (v1.3d)  -*- lexical-binding: t; 
-*-
 
-;; Copyright (C) 2015--2020 Free Software Foundation, Inc.
+;; Copyright (C) 2015--2022 Free Software Foundation, Inc.
 
 ;; Author: Arash Esbati <arash@gnu.org>
 ;; Maintainer: auctex-devel@gnu.org
@@ -26,7 +26,7 @@
 
 ;;; Commentary:
 
-;; This file adds support for `color.sty' (v1.1a) from 2014/10/28.
+;; This file adds support for `color.sty' (v1.3d) from 2022/01/06.
 ;; `color.sty' is part of TeXLive.
 
 ;; Many thanks to Tassilo Horn for his percetive comments on
@@ -273,6 +273,10 @@
       ;; \textcolor[<model>]{<color spec>}{<text>}
       '("textcolor" TeX-arg-color "Text")
 
+      ;; \mathcolor{<name>}{<math>} or
+      ;; \mathcolor[<model>]{<color spec>}{<math>}
+      '("mathcolor" TeX-arg-color "Math")
+
       ;; \pagecolor{<name>} or
       ;; \pagecolor[<model>]{<color spec>}
       '("pagecolor" TeX-arg-color)
@@ -304,8 +308,9 @@
 
 (defvar LaTeX-color-package-options
   '("debugshow" "dvipdf" "dvipdfm" "dvipdfmx" "dvips" "dvipsnames"
-    "dvipsone" "dviwin" "dviwindo" "emtex" "monochrome" "nodvipsnames"
-    "oztex" "pctex32" "pctexhp" "pctexps" "pctexwin" "pdftex" "tcidvi"
+    "dvipsone" "dvisvgm" "dviwin" "dviwindo" "emtex" "luatex"
+    "monochrome" "nodvipsnames" "nosetpagesize" "oztex" "pctex32"
+    "pctexhp" "pctexps" "pctexwin" "pdftex" "setpagesize" "tcidvi"
     "textures" "truetex" "usenames" "vtex" "xdvi" "xetex")
   "Package options for the color package.")
 
diff --git a/style/xcolor.el b/style/xcolor.el
index 6399516a60..06bd28f73b 100644
--- a/style/xcolor.el
+++ b/style/xcolor.el
@@ -1,6 +1,6 @@
 ;; xcolor.el --- AUCTeX style for `xcolor.sty' (v2.12)  -*- lexical-binding: 
t; -*-
 
-;; Copyright (C) 2016--2020 Free Software Foundation, Inc.
+;; Copyright (C) 2016--2022 Free Software Foundation, Inc.
 
 ;; Author: Arash Esbati <arash@gnu.org>
 ;; Maintainer: auctex-devel@gnu.org
@@ -26,7 +26,7 @@
 
 ;;; Commentary:
 
-;; This file adds support for `xcolor.sty' (v2.12) from 2016/05/11.
+;; This file adds support for `xcolor.sty' (v2.13) from 2021/10/31.
 ;; `xcolor.sty' is part of TeXLive.
 
 ;; `xcolor.sty' and `color.sty' share many command namens, but the
@@ -463,6 +463,10 @@ xcolor package.")
     ;; \textcolor[<model>]{<color spec>}{<text>}
     '("textcolor" TeX-arg-xcolor "Text")
 
+    ;; \mathcolor{<name>}{<math>} or
+    ;; \mathcolor[<model>]{<color spec>}{<math>}
+    '("mathcolor" TeX-arg-xcolor "Math")
+
     ;; \pagecolor{<name>} or
     ;; \pagecolor[<model>]{<color spec>}
     '("pagecolor" TeX-arg-xcolor)
@@ -627,9 +631,10 @@ xcolor package.")
 
 (defvar LaTeX-xcolor-package-options
   '(;; options that determine the color driver
-    "dvips" "xdvi" "dvipdf" "dvipdfm" "dvipdfmx" "pdftex" "dvipsone"
-    "dviwindo" "emtex" "dviwin" "oztex" "textures" "pctexps" "pctexwin"
-    "pctexhp" "pctex32" "truetex" "tcidvi" "vtex" "xetex"
+    "dvipdf" "dvipdfm" "dvipdfmx" "dvips" "dvipsone" "dvisvgm"
+    "dviwin" "dviwindo" "emtex" "luatex" "oztex" "pctex32"
+    "pctexhp" "pctexps" "pctexwin" "pdftex" "tcidvi" "textures"
+    "truetex" "vtex" "xdvi" "xetex"
 
     ;; options that determine the target color model
     "natural" "rgb" "cmy" "cmyk" "hsb" "gray" "RGB" "HTML"




reply via email to

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