[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 1fef01c 45/48: Update style/lettr
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 1fef01c 45/48: Update style/lettrine.el to package version 2.01 |
Date: |
Sun, 16 Sep 2018 01:47:28 -0400 (EDT) |
branch: externals/auctex
commit 1fef01cc2d4599e70e256f70f2816875ae37cda8
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
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.
---
style/lettrine.el | 40 +++++++++++++++++++++++++++-------------
1 file changed, 27 insertions(+), 13 deletions(-)
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
- ;; enewcommand
+ '("LettrineOnGridfalse" 0)
+ '("LettrineRealHeightfalse" 0)
+ ;; all of the below can be configured with enewcommand
'("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
;; enewcommand
- '("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)
- [AUCTeX-diffs] [elpa] externals/auctex 8d30dc1 37/48: Add new style/marginnote.el, (continued)
- [AUCTeX-diffs] [elpa] externals/auctex 8d30dc1 37/48: Add new style/marginnote.el, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex c3cf39e 34/48: Make preamble caching robust to LuaLaTeX and (u)pLaTeX, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 80bcd0a 46/48: Update style/lettrine.el to package version 2.1, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 5ce08ab 33/48: Raise robustness of call of dvipng command, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex e0caf59 25/48: Drop compatibility code for older emacsen in preview-latex, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex a7cde09 47/48: Update style/lettrine.el to package version 2.21, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 5df288d 44/48: ; Remove unwanted spaces., Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 74c4843 40/48: Add new style/thmtools.el and style/thm-restate.el, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 45747b9 42/48: Add qref to RefTeX's reference styles, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 31ee142 38/48: Fix regression of `TeX-view', Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 1fef01c 45/48: Update style/lettrine.el to package version 2.01,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex 48325a7 20/48: Update URLs further, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex f761ab4 48/48: Merge branch 'master' into externals/auctex, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 168a4a1 19/48: Update URLs, Tassilo Horn, 2018/09/16