[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 363b778 56/71: Update style/multi
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 363b778 56/71: Update style/multicol.el to package version 1.9b |
Date: |
Fri, 17 Dec 2021 15:00:36 -0500 (EST) |
branch: externals/auctex
commit 363b77821886a6b4d063587d9de50905d18046cc
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Update style/multicol.el to package version 1.9b
* style/multicol.el ("multicol"): Add new macros. Change the
query for \columnbreak which accepts an optional argument.
Add fontification support for relevant macros.
(LaTeX-multicol-package-options): Add new option "colcation".
---
style/multicol.el | 35 +++++++++++++++++++++++++++++++----
1 file changed, 31 insertions(+), 4 deletions(-)
diff --git a/style/multicol.el b/style/multicol.el
index d9f7284..6fc65b9 100644
--- a/style/multicol.el
+++ b/style/multicol.el
@@ -26,13 +26,18 @@
;;; Commentary:
-;; This file adds support for `multicol.sty'.
+;; This file adds support for `multicol.sty' v1.9b from 2021/10/28.
;;; Code:
(require 'tex)
(require 'latex)
+;; Silence the compiler:
+(declare-function font-latex-add-keywords
+ "font-latex"
+ (keywords class))
+
(TeX-add-style-hook
"multicol"
(lambda ()
@@ -48,18 +53,40 @@
"columnseprulecolor"
'("raggedcolumns" 0)
'("flushcolumns" 0)
- '("columnbreak" 0))
+ ;; 2.3 Manually breaking columns
+ '("newcolumn" 0)
+ '("columnbreak" [ "How much [0 - 4]" ])
+
+ ;; Preface to version 1.7
+ "RLmulticolcolumns"
+ "LRmulticolcolumns")
+
+ ;; Preface to version 1.8
+ (when (LaTeX-provided-package-options-member "multicol" "colaction")
+ (TeX-add-symbols '("docolaction" 3)))
(LaTeX-add-lengths "premulticols"
"postmulticols"
"multicolsep"
"multicolbaselineskip"
"multicolovershoot"
- "multicolundershoot"))
+ "multicolundershoot")
+
+ (LaTeX-add-counters "collectmore")
+
+ ;; Fontification
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("columnbreak" "")
+ ("newcolumn" "")
+ ("LRmulticolcolumns" "")
+ ("RLmulticolcolumns" ""))
+ 'warning)))
TeX-dialect)
(defvar LaTeX-multicol-package-options
- '("errorshow" "infoshow" "balancingshow" "markshow" "debugshow" "grid")
+ '("errorshow" "infoshow" "balancingshow" "markshow" "debugshow"
+ "grid" "colaction")
"Package options for the multicol package.")
;;; multicol.el ends here
- [AUCTeX-diffs] [elpa] externals/auctex fa309c9 02/71: Fix error when tex.el is loaded while default-directory doesn't exist, (continued)
- [AUCTeX-diffs] [elpa] externals/auctex fa309c9 02/71: Fix error when tex.el is loaded while default-directory doesn't exist, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 5f67eac 50/71: Fix logic again, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex b866110 31/71: Autoload `TeX-check-engine-add-engines' in tex.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex e118a53 64/71: ; Prepare for upcoming release, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex f6edd15 70/71: Add style/sidecap.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 6902d05 42/71: Improve handling of key=vals in style/minted.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex fd73414 11/71: ; * doc/changes.texi: Add supplementary notice., Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 464fd34 20/71: * tests/latex/latex-test.el (LaTeX-flush-left-indent): New test., Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 16bcc8d 21/71: ; * tex.el (TeX-source-correlate-mode): Quote function name by #'., Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 2af20f4 27/71: ; Silence TeX warnings, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 363b778 56/71: Update style/multicol.el to package version 1.9b,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex 7fa094f 14/71: ; * style/tabulary.el ("tabulary"): Really append the entry., Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 2ee9a07 71/71: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 0752650 44/71: Don't use obsolete @inforef, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex bc5f7bc 60/71: Add new style/cancel.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 380bc4a 06/71: Handle optional embellishment arguments correctly, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex db45d9e 41/71: Improve handling of key=vals in style/mdframed.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 9f3e760 10/71: Recognize L3 \msg_line_context: on warning parsing, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 3684fde 17/71: Explain how to support option completion, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 44a8a42 09/71: ; Don't use `assoc-delete-all', Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 22e4415 68/71: Add styles for packages from sttools collection, Tassilo Horn, 2021/12/17