[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 88edbf8 22/43: Improve support fo
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 88edbf8 22/43: Improve support for extended NFSS macros |
Date: |
Sat, 11 Apr 2020 15:05:22 -0400 (EDT) |
branch: externals/auctex
commit 88edbf82425fbfce05955714d9ace027784a08aa
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Improve support for extended NFSS macros
* font-latex.el (font-latex-built-in-keyword-classes): Move
entries for \normalfont and \normalshape to `function' class.
Add \textssc to `bold-command' and \sscshape to `bold-declaration'
class.
* latex.el (LaTeX-common-initialization): Add entries for `spaced
small caps' macros \sscshape and \textssc. \textssc is not part
of `LaTeX-font-list' yet.
---
font-latex.el | 12 ++++++------
latex.el | 10 ++++++++--
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/font-latex.el b/font-latex.el
index 81e52c6..c8e46e1 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -358,7 +358,8 @@ variable `font-latex-fontify-sectioning'." ',num)
;; separate category with 'noarg instead of 'command handling?
("enspace" "") ("enskip" "") ("quad" "") ("qquad" "") ("nonumber" "")
("centering" "") ("raggedright" "") ("raggedleft" "")
- ("TeX" "") ("LaTeX" "") ("LaTeXe" ""))
+ ("TeX" "") ("LaTeX" "") ("LaTeXe" "")
+ ("normalfont" "") ("normalshape" ""))
font-lock-function-name-face 2 command)
("sectioning-0"
(("part" "*[{"))
@@ -404,8 +405,8 @@ variable `font-latex-fontify-sectioning'." ',num)
("textsuperscript" "{") ("textsubscript" "{") ("verb" "*"))
font-lock-type-face 2 command)
("bold-command"
- (("textbf" "{") ("textsc" "{") ("textulc" "{") ("textup" "{")
- ("textsw" "{") ("boldsymbol" "{") ("pmb" "{"))
+ (("textbf" "{") ("textsc" "{") ("textssc" "{") ("textulc" "{")
+ ("textup" "{") ("textsw" "{") ("boldsymbol" "{") ("pmb" "{"))
font-latex-bold-face 1 command)
("italic-command"
(("emph" "{") ("textit" "{") ("textsl" "{"))
@@ -417,7 +418,7 @@ variable `font-latex-fontify-sectioning'." ',num)
(("texttt" "{") ("textsf" "{") ("textrm" "{") ("textmd" "{")
("oldstylenums" "{"))
font-lock-type-face 1 command)
("bold-declaration"
- ("bf" "bfseries" "sc" "scshape" "ulcshape" "upshape" "swshape")
+ ("bf" "bfseries" "sc" "scshape" "sscshape" "ulcshape" "upshape" "swshape")
font-latex-bold-face 1 declaration)
("italic-declaration"
("em" "it" "itshape" "sl" "slshape")
@@ -425,8 +426,7 @@ variable `font-latex-fontify-sectioning'." ',num)
("type-declaration"
("tt" "ttfamily" "sf" "sffamily" "rm" "rmfamily" "mdseries"
"tiny" "scriptsize" "footnotesize" "small" "normalsize"
- "large" "Large" "LARGE" "huge" "Huge"
- "normalfont" "normalshape")
+ "large" "Large" "LARGE" "huge" "Huge")
font-lock-type-face 1 declaration))
"Built-in keywords and specifications for font locking.
diff --git a/latex.el b/latex.el
index 50f81d9..db7bf6e 100644
--- a/latex.el
+++ b/latex.el
@@ -6502,8 +6502,14 @@ function would return non-nil and `(match-string 1)'
would return
'("itshape" -1) '("slshape" -1)
'("upshape" -1) '("scshape" -1)
'("eminnershape" -1)
- ;; The next 2 were added to LaTeX kernel with 2020-02-02 release:
- '("ulcshape" -1) '("swshape" -1)
+ ;; The next 3 were added to LaTeX kernel with 2020-02-02 release:
+ '("sscshape" -1) '("swshape" -1) '("ulcshape" -1)
+ ;; These are for the default settings:
+ "sscdefault" "swdefault" "ulcdefault"
+ ;; This macro is for `spaced small caps'. Currently, only some
+ ;; commercial fonts offer this. It should be moved into
+ ;; `LaTeX-font-list' once it is needed more frequently.
+ '("textssc" t)
;; User level reset macros:
'("normalfont" -1) '("normalshape" -1)))
- [AUCTeX-diffs] [elpa] externals/auctex 45f0298 07/43: * font-latex.el (font-latex-setup): Remove XEmacs compat code., (continued)
- [AUCTeX-diffs] [elpa] externals/auctex 45f0298 07/43: * font-latex.el (font-latex-setup): Remove XEmacs compat code., Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex e35f85a 06/43: Update style/caption.el to package version 3.4a, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 6c25ffe 08/43: Adjust Makefile clean targets, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex d308a1e 14/43: Fix handling of LaTeX font declaration macros, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 68247ff 18/43: Delete obsolete comment, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex f2bac9d 11/43: Improve environment insertion (bug#35284), Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 8cd9db3 17/43: Add changelog for my previous bug fix, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 3424aae 15/43: Update style/fbox.el to package version 0.04, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 7565d7c 19/43: Remove compatibility code for older emacsen, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 8979812 20/43: Don't use obsolete variable, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 88edbf8 22/43: Improve support for extended NFSS macros,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex c1e0419 23/43: Adjust style/fontaxes.el to LaTeX kernel, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 0bc0ff5 29/43: Add fontification support \textnormal macro, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 1d2e61d 26/43: Add new font macros in the related menus, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex cc3f860 32/43: Fix regexp for parsing optional arguments, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 0d3393d 36/43: * preview.el.in (preview-gs-open): Use wrapper function., Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 811c52a 34/43: Update style/listings.el, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 520585a 25/43: ; * style/revtex4-2.el: Silence the compiler., Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex ae89690 28/43: * doc/auctex.texi (Font Specifiers): Document new font macros., Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 54cb9c0 37/43: Load caption style before asking for package options, Tassilo Horn, 2020/04/11
- [AUCTeX-diffs] [elpa] externals/auctex 4894e78 27/43: Move customizable variable into tex-style.el, Tassilo Horn, 2020/04/11