auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 1fef01cc2d4599e70e256


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 1fef01cc2d4599e70e256f70f2816875ae37cda8
Date: Thu, 9 Aug 2018 16:52:45 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  1fef01cc2d4599e70e256f70f2816875ae37cda8 (commit)
      from  5df288d3b4279d6318caf4db28dcd1f81000938e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1fef01cc2d4599e70e256f70f2816875ae37cda8
Author: Arash Esbati <address@hidden>
Date:   Thu Aug 9 22:51:40 2018 +0200

    Update style/lettrine.el to package version 2.01
    
    * style/lettrine.el (LaTeX-lettrine-key-val-options): Update
    key=val options.
    ("lettrine"): Use correct functions on counters and
    lengths/dimensions provided by lettrine.sty.
    Add support for missing macros.

diff --git a/style/lettrine.el b/style/lettrine.el
index ed32a70..21f1092 100644
--- a/style/lettrine.el
+++ b/style/lettrine.el
@@ -1,8 +1,9 @@
-;;; lettrine.el --- AUCTeX style for `lettrine.sty'
+;;; lettrine.el --- AUCTeX style for `lettrine.sty' (v2.01)
 
-;; Copyright (C) 2011 Free Software Foundation, Inc.
+;; Copyright (C) 2011, 2018 Free Software Foundation, Inc.
 
 ;; Author: Mads Jensen <address@hidden>
+;; Maintainer: address@hidden
 ;; Keywords: tex
 
 ;; This file is part of AUCTeX.
@@ -24,12 +25,13 @@
 
 ;;; Commentary:
 
-;; This file adds support for `lettrine.sty'.
+;; This file adds support for `lettrine.sty' (v2.01) from 2018/07/31.
 
 ;;; Code:
 
 (defvar LaTeX-lettrine-key-val-options
   '(("lines")
+    ("depth")
     ("lhang")
     ("loversize")
     ("lraise")
@@ -37,8 +39,11 @@
     ("nindent")
     ("slope")
     ("ante")
-    ("image" ("true")))
-  "Key=value options for \\lettrine")
+    ("image" ("true"))
+    ("grid" ("true"))
+    ("novskip")
+    ("realheight" ("true")))
+  "Key=value options for \\lettrine marco.")
 
 (TeX-add-style-hook
  "lettrine"
@@ -47,25 +52,34 @@
     '("lettrine" [ TeX-arg-key-val LaTeX-lettrine-key-val-options ]
       "Letter" "Text")
     '("LettrineImageFalse" 0)
-    ;; all of the below can be configured with either \setlength or
-    ;; \renewcommand
+    '("LettrineOnGridfalse" 0)
+    '("LettrineRealHeightfalse" 0)
+    ;; all of the below can be configured with \renewcommand
     '("LettrineFont" 0)
     '("LettrineFontHook" 0)
     '("LettrineTextFont" 0)
-    '("LettrineWidth" 0)
     '("DefaultLhang" 0)
     '("DefaultLoversize" 0)
     '("DefaultLraise" 0)
-    '("DefaultFindent" 0)
-    '("DefaultNindent" 0)
-    '("DefaultSlope" 0)
     ;; above settings can also be input a file, and pointed to with
     ;; \renewcommand
-    '("DefaultOptionsFile" 0))
+    '("DefaultOptionsFile" TeX-arg-file-name))
+
+   ;; Counters:
+   (LaTeX-add-counters "DefaultLines" "DefaultDepth")
+
+   ;; Lengths and dimensions:
+   (LaTeX-add-lengths "DefaultFindent"
+                     "DefaultNindent"
+                     "DefaultSlope"
+                     "DiscardVskip"
+                     "LettrineWidth"
+                     "LettrineHeight"
+                     "LettrineDepth")
 
    ;; Fontification
    (when (and (fboundp 'font-latex-add-keywords)
-              (eq TeX-install-font-lock 'font-latex-setup))
+             (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("lettrine" "[{{")) 'textual)))
  LaTeX-dialect)
 

-----------------------------------------------------------------------

Summary of changes:
 style/lettrine.el | 40 +++++++++++++++++++++++++++-------------
 1 file changed, 27 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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