[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 1fef01c 45/48: Update style/lettrine.el to packa
From: |
Tassilo Horn |
Subject: |
[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
- ;; \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)
- [elpa] externals/auctex 4afd633 11/48: Update key=val options to geometry package v5.8, (continued)
- [elpa] externals/auctex 4afd633 11/48: Update key=val options to geometry package v5.8, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 6a17a52 24/48: ; * doc/changes.texi (News in 12.2): Add news about removed option., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex ff08d38 28/48: Fix region compilation with \usepackage[utf8]{inputenc}, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex cad042f 31/48: Add note and test about the change involving non-ascii file name, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 5ce08ab 33/48: Raise robustness of call of dvipng command, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 3741b8c 26/48: Prepare for UTF-8 with BOM, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 4816092 36/48: Fix possible endless loop, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 74c4843 40/48: Add new style/thmtools.el and style/thm-restate.el, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex ff8f183 39/48: ; * style/floatrow.el (LaTeX-floatrow-update-key-val-options): Use `setq' inside the loop., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex e0caf59 25/48: Drop compatibility code for older emacsen in preview-latex, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 1fef01c 45/48: Update style/lettrine.el to package version 2.01,
Tassilo Horn <=
- [elpa] externals/auctex cff843b 17/48: Remove obsolete option related to Japanese TeX, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex a59c754 35/48: Adjust test for known emacs bug, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 0d5c1c0 41/48: ; Fix last commit and push missing Makefile.in., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 45747b9 42/48: Add \eqref to RefTeX's reference styles, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex a8ea127 29/48: Accept non-ascii file name in accord with change in TL 2018, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 48325a7 20/48: Update URLs further, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 8d30dc1 37/48: Add new style/marginnote.el, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 5df288d 44/48: ; Remove unwanted spaces., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex a7cde09 47/48: Update style/lettrine.el to package version 2.21, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 31ee142 38/48: Fix regression of `TeX-view', Tassilo Horn, 2018/09/16