branch: externals/auctex
commit 43e98f1e3c6497d884de66f26d4ec7982d245ab2
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Update style/titlesec.el to package version 2.11
* style/titlesec.el ("titlesec"): Add \nostruts macro.
(LaTeX-titlesec-package-options): Add `nostruts' option.
---
style/titlesec.el | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/style/titlesec.el b/style/titlesec.el
index 519ce4e..e8922af 100644
--- a/style/titlesec.el
+++ b/style/titlesec.el
@@ -1,6 +1,6 @@
-;;; titlesec.el --- AUCTeX style for `titlesec.sty' (v2.10.0)
+;;; titlesec.el --- AUCTeX style for `titlesec.sty' (v2.11)
-;; Copyright (C) 2016, 2018 Free Software Foundation, Inc.
+;; Copyright (C) 2016--2019 Free Software Foundation, Inc.
;; Author: Arash Esbati <[email protected]>
;; Maintainer: [email protected]
@@ -26,8 +26,8 @@
;;; Commentary:
-;; This file adds support for `titlesec.sty' (v2.10.0) from
-;; 2011/12/15. `titlesec.sty' is part of TeXLive.
+;; This file adds support for `titlesec.sty' (v2.11) from
+;; 2019/07/16. `titlesec.sty' is part of TeXLive.
;;; Code:
@@ -121,11 +121,11 @@ insert the argument in brackets."
'("titleformat"
(LaTeX-arg-titlesec-titlespec)
[TeX-arg-eval completing-read
- (TeX-argument-prompt optional nil "Shape")
- LaTeX-titlesec-section-shape-list]
+ (TeX-argument-prompt optional nil "Shape")
+ LaTeX-titlesec-section-shape-list]
(TeX-arg-conditional (y-or-n-p "With optional after-code? ")
(4 [nil])
- (4)))
+ (4)))
'("chaptertitlename" 0)
@@ -152,7 +152,8 @@ insert the argument in brackets."
'("fillast" 0)
'("filinner" 0)
'("filouter" 0)
- '("wordsep" 0)
+ '("wordsep" 0)
+ '("nostruts" 0)
;; 3.4. Rules
'("titleline"
@@ -240,6 +241,7 @@ insert the argument in brackets."
"rigidchapters" "rubberchapters"
"bottomtitles" "nobottomtitles" "nobottomtitles*"
"aftersep" "largestsep" "pageatnewline"
+ "nostruts"
;; 3.4. Rules
"calcwidth"