emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex c2d3585 03/36: Update MinionPro style.


From: Stefan Monnier
Subject: [elpa] externals/auctex c2d3585 03/36: Update MinionPro style.
Date: Fri, 28 Nov 2014 17:25:38 +0000

branch: externals/auctex
commit c2d35852619f5a553ebfea87f3dfb161b98c5b61
Author: Arash Esbati <address@hidden>
Date:   Sun Nov 2 20:32:57 2014 +0100

    Update MinionPro style.
    
    * style/MinionPro.el (TeX-add-symbols): Remove `figureversion',
    `textsw', `textssc', `sscshape' and `swshape'.
    (TeX-run-style-hooks): Added "fontaxes".
    
    * style/MinionPro.el (LaTeX-MinionPro-package-options): Added
    additional options from v2.3 of `MinionPro.sty', available from
    <https://github.com/sebschub>
    
    Signed-off-by: Tassilo Horn <address@hidden>
---
 ChangeLog          |   10 ++++++++++
 style/MinionPro.el |   45 +++++++++++++++++++++------------------------
 2 files changed, 31 insertions(+), 24 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 00cce5d..96a8165 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2014-11-02  Arash Esbati  <address@hidden>
+
+       * style/MinionPro.el (TeX-add-symbols): Remove `figureversion',
+       `textsw', `textssc', `sscshape' and `swshape'.
+       (TeX-run-style-hooks): Added "fontaxes".
+
+       * style/MinionPro.el (LaTeX-MinionPro-package-options): Added
+       additional options from v2.3 of `MinionPro.sty', available from
+       <https://github.com/sebschub>
+
 2014-11-01  Davide G. M. Salvetti  <address@hidden>
 
         * tex.el (TeX-file-line-error): New customizable option.
diff --git a/style/MinionPro.el b/style/MinionPro.el
index 3441911..75dc931 100644
--- a/style/MinionPro.el
+++ b/style/MinionPro.el
@@ -1,6 +1,6 @@
 ;;; MinionPro.el -- AUCTeX style for MinionPro.sty
 
-;; Copyright (C) 2005 Free Software Foundation, Inc.
+;; Copyright (C) 2005, 2014 Free Software Foundation, Inc.
 
 ;; Author: Mark Trettin <address@hidden>
 ;; Maintainer: address@hidden
@@ -26,39 +26,30 @@
 
 ;;; Commentary: 
 
-;; This file adds support for `MinionPro.sty' (v2.0). 
+;; This file adds support for `MinionPro.sty' (v2.3) from 2012/08/03.
+;; The latest version of MinionPro is available as part of FontPro
+;; bundle from <https://www.github.com/sebschub>.
 
-;;; Code
+;;; Code:
 
 (TeX-add-style-hook
  "MinionPro"
  (lambda ()
+
+   ;; New symbols
    (TeX-add-symbols
-    ;; New symbols
-    '("figureversion"
-      (TeX-arg-eval completing-read "Figure style: "
-                   '(("text") ("osf")
-                     ("lining") ("lf")
-                     ("tabular") ("tab")
-                     ("proportional") ("prop"))))
     '("smallfrac" "Numerator" "Denominator")
-    '("slantfrac" "Numerator" "Denominator")
-    ;; IMHO they should be added to the other \text.. and \..shape commands
-    '("textsw" 1)
-    '("textssc" 1)
-    "sscshape"
-    "swshape")
+    '("slantfrac" "Numerator" "Denominator"))
+
    ;; Run style hook for amsmath which is loaded via MnSymbol
-   (TeX-run-style-hooks "amsmath")
+   (TeX-run-style-hooks "amsmath" "fontaxes" "textcomp")
+
    ;; Fontification
    (when (and (featurep 'font-latex)
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("smallfrac" "{{")
-                               ("slantfrac" "{{")
-                               ("textsw" "{")
-                               ("textssc" "{"))
-                             'textual)
-     (font-latex-add-keywords '(("figureversion" "{")) 'variable)))
+                               ("slantfrac" "{{"))
+                             'textual)))
  LaTeX-dialect)
 
 (defvar LaTeX-MinionPro-package-options
@@ -66,7 +57,13 @@
     "slides" "textosf" "mathosf" "osf" "textlf" "mathlf" "lf"
     "mathtabular" "mnsy" "cmsy" "swash" "abx" "amsbb" "fourierbb"
     "lucidabb" "mixedgreek" "italicgreek" "frenchmath" "minionint"
-    "footnotefigures")
-"Package options for the MinionPro package.")
+    "footnotefigures"
+
+    ;; Additional options in v2.1
+    "onlytext" "onlymath" "loosequotes" "openg" "normalsize" "nonormalsize"
+
+    ;; Additional option in v2.2
+    "scale")
+  "Package options for the MinionPro package.")
 
 ;;; MinionPro.el ends here



reply via email to

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