[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 31/299: * style/listings.el: Update copyright range. (LaTeX-listi
From: |
Stefan Monnier |
Subject: |
[elpa] 31/299: * style/listings.el: Update copyright range. (LaTeX-listings-key-val-options, "listings") (LaTeX-listings-package-options): Update to recent listings version. |
Date: |
Sun, 02 Nov 2014 03:10:03 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit dcb5b9a2b43acb1c038fddbe65cfeb7030b57599
Author: Tassilo Horn <address@hidden>
Date: Mon Jan 14 19:37:34 2013 +0000
* style/listings.el: Update copyright range.
(LaTeX-listings-key-val-options, "listings")
(LaTeX-listings-package-options): Update to recent listings
version.
---
ChangeLog | 5 ++++
style/listings.el | 56 +++++++++++++++++++++++++++++++++++++++++++++-------
2 files changed, 53 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3c8cea7..0f6cf28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,11 @@
("varioref"): Add more definitions.
(LaTeX-varioref-package-options): Reformat.
+ * style/listings.el: Update copyright range.
+ (LaTeX-listings-key-val-options, "listings")
+ (LaTeX-listings-package-options): Update to recent listings
+ version.
+
2013-01-14 Tassilo Horn <address@hidden>
* Makefile.in (STYLESRC): Enable memoir.el style.
diff --git a/style/listings.el b/style/listings.el
index cfb11e9..7b467ed 100644
--- a/style/listings.el
+++ b/style/listings.el
@@ -1,6 +1,6 @@
;;; listings.el --- AUCTeX style for `listings.sty'
-;; Copyright (C) 2004, 2005, 2009 Free Software Foundation, Inc.
+;; Copyright (C) 2004, 2005, 2009, 2013 Free Software Foundation, Inc.
;; Author: Ralf Angeli <address@hidden>
;; Maintainer: address@hidden
@@ -33,8 +33,7 @@
;;; Code:
;; The following are options taken from chapter 4 of the listings
-;; manual (2006/05/08 Version 1.3c). Experimental options described
-;; in chapter 5 are not included.
+;; manual (2007/02/22 Version 1.4).
(defvar LaTeX-listings-key-val-options
'(;; Space and placement
("float" ("t" "b" "p" "h")) ; Support [*] as an optional prefix and that
@@ -102,6 +101,7 @@
("caption") ; Insert braces?
("label")
("nolol" ("true" "false"))
+ ("numberbychapter" ("true" "false"))
("captionpos" ("t" "b")) ; Can be a subset of tb.
("abovecaptionskip")
("belowcaptionskip")
@@ -141,8 +141,9 @@
("deleteindex")
("indexstyle")
;; Column alignment
- ("columns" ("fixed" "flexible" "fullflexible")) ; Also supports an optional
- ; argument with {c,l,r}.
+ ("columns" ("fixed" "flexible" "fullflexible" "spaceflexible")) ;
+ ; Also supports an optional
+ ; argument with {c,l,r}.
("flexiblecolumns" ("true" "false"))
("keepspaces" ("true" "false"))
("basewidth")
@@ -185,7 +186,35 @@
("morekeywordcomment")
("deletekeywordcomment")
("keywordcommentsemicolon")
- ("podcomment" ("true" "false")))
+ ("podcomment" ("true" "false"))
+ ;; The following are all options from chapter 5, which are
+ ;; experimental
+ ;; Export of identifiers
+ ("procnamekeys")
+ ("moreprocnamekeys")
+ ("deleteprocnamekeys")
+ ("procnamestyle")
+ ("indexprocnames" ("true" "false"))
+ ;; Hyperlink references
+ ("hyperref")
+ ("morehyperref")
+ ("deletehyperref")
+ ("hyperanchor")
+ ("hyperlink")
+ ;; Literate programming
+ ("literate") ;; three arguments: replace,replacement text,length
+ ;; LGrind definitions
+ ("lgrindef")
+ ;; Arbitrary linerange markers
+ ("rangebeginprefix")
+ ("rangebeginsuffix")
+ ("rangeendprefix")
+ ("rangeendsuffix")
+ ("rangeprefix")
+ ("rangesuffix")
+ ("includerangemarker" ("true" "false"))
+ ;; Multicolumn Listing
+ ("multicolumn"))
"Key=value options for listings macros and environments.")
(TeX-add-style-hook
@@ -202,7 +231,15 @@
"lstlistoflistings"
'("lstnewenvironment" "Name" ["Number or arguments"] ["Default argument"]
"Starting code" "Ending code")
- '("lstset" (TeX-arg-key-val LaTeX-listings-key-val-options)))
+ '("lstset" (TeX-arg-key-val LaTeX-listings-key-val-options))
+ '("lstloadlanguages" t)
+ ;; 4.17 Short Inline Listing Commands
+ '("lstMakeShortInline" [ "Options" ] "Character")
+ '("lstDeleteShortLine" "Character")
+
+ "lstgrinddeffile" "lstaspectfiles" "lstlanguagefiles"
+ "lstlistingname" "lstlistlistingname")
+
;; New environments
(LaTeX-add-environments
'("lstlisting" LaTeX-env-args
@@ -237,7 +274,10 @@
(font-lock-set-defaults))))
(defvar LaTeX-listings-package-options '("draft" "final" "savemem"
- "noaspects")
+ "noaspects"
+ ;; procnames is mentioned in
+ ;; Section 5.2
+ "procnames")
"Package options for the listings package.")
;;; listings.el ends here
- [elpa] 23/299: * latex.el (LaTeX-env-document): Only insert \documentclass in case the document does not already contain one., (continued)
- [elpa] 23/299: * latex.el (LaTeX-env-document): Only insert \documentclass in case the document does not already contain one., Stefan Monnier, 2014/11/01
- [elpa] 26/299: * latex.el: Update copyright range. (LaTeX-auto-pagestyle-regexp-list): New variable. (LaTeX-auto-regexp-list): Use `LaTeX-auto-pagestyle-regexp-list'. ("pagestyle"): New type for the parser. (LaTeX-pagestyle-list): Remove. (TeX-arg-pagestyle): Use `LaTeX-pagestyle-list' function for completing. (LaTeX-common-initialization): Initialize pagestyles. * style/imakeidx.el: Use `LaTeX-pagestyle-list' function to set `firstpagestyle' option values., Stefan Monnier, 2014/11/01
- [elpa] 24/299: * Makefile.in (STYLESRC): Add new style files kantlipsum.el, lipsum.el, and longtable.el. * style/kantlipsum.el: New style. * style/lipsum.el: Ditto. * style/longtable.el: Ditto, Stefan Monnier, 2014/11/01
- [elpa] 29/299: * style/pstricks.el (LaTeX-pstricks-package-options): New variable., Stefan Monnier, 2014/11/01
- [elpa] 28/299: * Makefile.in (STYLESRC): Enable memoir.el style. * style/memoir.el: New style., Stefan Monnier, 2014/11/01
- [elpa] 32/299: * style/ulem.el (LaTeX-arg-fontdecl, LaTeX-arg-fontcmd): Fix declarations., Stefan Monnier, 2014/11/01
- [elpa] 34/299: Fix previous change to auctex.texi., Stefan Monnier, 2014/11/01
- [elpa] 30/299: * style/varioref.el: Update copyright range. ("varioref"): Add more definitions. (LaTeX-varioref-package-options): Reformat., Stefan Monnier, 2014/11/01
- [elpa] 36/299: * doc/auctex.texi: Document `TeX-arg-length' and `TeX-arg-define-length'., Stefan Monnier, 2014/11/01
- [elpa] 37/299: * doc/todo.texi: Remove the todo concerning completion for counters that was implemented by Mosè Giordano on 2013-01-15., Stefan Monnier, 2014/11/01
- [elpa] 31/299: * style/listings.el: Update copyright range. (LaTeX-listings-key-val-options, "listings") (LaTeX-listings-package-options): Update to recent listings version.,
Stefan Monnier <=
- [elpa] 38/299: * style/placeins.el: New style., Stefan Monnier, 2014/11/01
- [elpa] 39/299: * texmathp.el (texmathp-tex-commands-default): Add \shortintertext., Stefan Monnier, 2014/11/01
- [elpa] 35/299: * latex.el (LaTeX-auto-length-regexp-list): New variable. (LaTeX-auto-regexp-list): Use `LaTeX-auto-length-regexp-list'. ("length"): New type for the parser. (TeX-arg-length): New function. (TeX-arg-define-length): New function. (LaTeX-common-initialization): Initialize some standard LaTeX lengths and use `TeX-arg-length' and `TeX-arg-define-length' for completion of some macros., Stefan Monnier, 2014/11/01
- [elpa] 40/299: * Makefile.in (STYLESRC): Activate new style placeins.el., Stefan Monnier, 2014/11/01
- [elpa] 33/299: * doc/auctex.texi: Document that `TeX-arg-counter' does completion now. * latex.el (LaTeX-auto-pagestyle-regexp-list): Fix typo. (LaTeX-auto-counter-regexp-list): New variable. (LaTeX-auto-regexp-list): Use `LaTeX-auto-counter-regexp-list'. ("counter"): New type for the parser. (TeX-arg-counter): Use `LaTeX-counter-list' function for completion and `definition' argument. (TeX-arg-pagestyle): Use `definition' argument. (LaTeX-common-initialization): Initialize counters., Stefan Monnier, 2014/11/01
- [elpa] 41/299: * tex-buf.el (TeX-output-revert-buffer): New function. (TeX-special-mode, TeX-output-mode): New major modes. (TeX-special-mode-map, TeX-output-mode-map): New variables., Stefan Monnier, 2014/11/01
- [elpa] 43/299: * tex-buf.el (TeX-output-mode): Make revert-buffer-function buffer local before setting it to TeX-output-revert-buffer., Stefan Monnier, 2014/11/01
- [elpa] 42/299: * auctex.texi: Updated documetation about ChkTeX and lacheck. Fixed typos., Stefan Monnier, 2014/11/01
- [elpa] 44/299: * style/siunitx.el ("siunitx"): Add `\gram' and `\SendSettingsToPgf'., Stefan Monnier, 2014/11/01
- [elpa] 46/299: * latex.el (LaTeX-env-contents): Replaced regular expression with `LaTeX-header-end', i.e., filecontents environments must go somewhere in the preamble but not necessarily before the \documentclass., Stefan Monnier, 2014/11/01