emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d944f72: Improve wrapfig package support and captio


From: Tassilo Horn
Subject: [Emacs-diffs] master d944f72: Improve wrapfig package support and caption parsing
Date: Mon, 28 Sep 2015 06:32:14 +0000

branch: master
commit d944f728b7190a6d7ad7d4390bad491ffe0e99e5
Author: (tiny change) Arash Esbati <address@hidden>
Commit: Tassilo Horn <address@hidden>

    Improve wrapfig package support and caption parsing
    
    * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Correct
    description string and add wraptable environment.
    (reftex-default-context-regexps): Improve caption regexp.
    
    Copyright-paperwork-exempt: yes
---
 lisp/textmodes/reftex-vars.el |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index 357a093..97c8af3 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -85,8 +85,9 @@
     (supertab    "Supertabular environment"
      (("supertabular" ?t nil nil "\\tablecaption{")))
 
-    (wrapfig     "The wrapfigure environment"
-     (("wrapfigure" ?f nil nil caption)))
+    (wrapfig     "The wrapfig package"
+     (("wrapfigure" ?f nil nil caption)
+      ("wraptable"  ?t nil nil caption)))
 
     (ctable    "The ctable package"
      (("\\ctable[]{}{}{}" ?t "tab:" "~\\ref{%s}" 1 ("table" "Tabelle"))))
@@ -653,7 +654,7 @@ Possible keys are sectioning macro names like `chapter', 
section levels
                 (string :tag "Prefix"))))
 
 (defcustom reftex-default-context-regexps
-  '((caption       . "\\\\\\(rot\\)?caption\\*?[[{]")
+  '((caption       . "\\\\\\(rot\\|bi\\)?\\(sub\\)?caption\\(box\\)?\\*?[[{]")
     (item          . "\\\\item\\(\\[[^]]*\\]\\)?")
     (eqnarray-like . "\\\\begin{%s}\\|\\\\\\\\")
     (alignat-like  . "\\\\begin{%s}{[0-9]*}\\|\\\\\\\\"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]