>From 3178399ea07e26a45fe96e4085255e45977b4f69 Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Thu, 8 Oct 2015 22:34:30 +0200 Subject: [PATCH 4/4] Use `LaTeX-add-counters' on "LTchunksize". * style/longtable.el ("longtable"): Use `LaTeX-add-counters' on "LTchunksize" and not `TeX-add-symbols'. --- ChangeLog | 3 +++ style/longtable.el | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1754c48..ec8171c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-10-08 Arash Esbati + * style/longtable.el ("longtable"): Use `LaTeX-add-counters' on + "LTchunksize" and not `TeX-add-symbols'. + * style/enumitem.el (LaTeX-arg-SetEnumitemKey): Remove unused `prompt' from arguments list. (LaTeX-arg-SetEnumitemValue): ditto. diff --git a/style/longtable.el b/style/longtable.el index 3363119..6c9aeaf 100644 --- a/style/longtable.el +++ b/style/longtable.el @@ -58,8 +58,6 @@ (LaTeX-newline) (indent-according-to-mode))))))) (TeX-add-symbols - ;; Parameter - '("LTchunksize" 0) ;; Commands to end table rows '("endhead" 0) '("endfirsthead" 0) @@ -72,6 +70,9 @@ (LaTeX-add-lengths "LTleft" "LTright" "LTpre" "LTpost" "LTcapwidth") + ;; This parameter is set with \setcounter + (LaTeX-add-counters "LTchunksize") + ;; Use the enhanced table formatting (add-to-list 'LaTeX-indent-environment-list '("longtable" LaTeX-indent-tabular)) -- 2.6.0