branch: master
commit dfa05bf69d80247ba04877bf7949f743c57d95b0
Author: Arash Esbati <ar...@gnu.org>
Commit: Arash Esbati <ar...@gnu.org>

    Track the latest version of fntguide.tex
    
    * latex.el (LaTeX-common-initialization): Add entries for
    \fontseriesforce and \fontshapeforce.
    
    * style/ltx-base.el ("ltx-base"): Add entries for
    \DeclareFontSeriesChangeRule and \DeclareFontShapeChangeRule.
---
 latex.el          |  2 ++
 style/ltx-base.el | 11 +++++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/latex.el b/latex.el
index cd87bd99..98fe005b 100644
--- a/latex.el
+++ b/latex.el
@@ -8941,7 +8941,9 @@ function would return non-nil and `(match-string 1)' 
would return
      '("fontencoding" "Encoding")
      '("fontfamily" "Family")
      '("fontseries" "Series")
+     '("fontseriesforce" "Series")
      '("fontshape" "Shape")
+     '("fontshapeforce" "Shape")
      '("fontsize" "Size" "Baselineskip")
      "selectfont"
      '("usefont" "Encoding" "Family" "Series" "Shape")
diff --git a/style/ltx-base.el b/style/ltx-base.el
index 472a9937..57c43f07 100644
--- a/style/ltx-base.el
+++ b/style/ltx-base.el
@@ -289,7 +289,11 @@
       (TeX-arg-completing-read ("bf" "md") "Meta series")
       "Series value")
 
-    ;; 6.7 Handling of nested emphasis
+    ;; 6.7 Handling of current and requested font series and shape
+    '("DeclareFontSeriesChangeRule" 4)
+    '("DeclareFontShapeChangeRule"  4)
+
+    ;; 6.8 Handling of nested emphasis
     '("DeclareEmphSequence"
       (TeX-arg-completing-read-multiple (lambda ()
                                           (mapcar (lambda (x)
@@ -297,7 +301,7 @@
                                                   LaTeX-font-shape))
                                         "Font declarations"))
 
-    ;; 6.8 Providing font family substitutions
+    ;; 6.9 Providing font family substitutions
     '("DeclareFontFamilySubstitution"
       (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
       2)
@@ -390,6 +394,9 @@
 
                                 ("DeclareFontSeriesDefault" "[{{")
 
+                                ("DeclareFontSeriesChangeRule" "{{{{")
+                                ("DeclareFontShapeChangeRule " "{{{{")
+
                                 ("DeclareEmphSequence" "{")
 
                                 ("DeclareFontFamilySubstitution" "{{{")

Reply via email to