Add tilde before \ref{}s to tables.
authorTassilo Horn <tsdh@gnu.org>
Wed, 18 Dec 2013 11:52:49 +0000 (12:52 +0100)
committerTassilo Horn <tsdh@gnu.org>
Wed, 18 Dec 2013 11:52:49 +0000 (12:52 +0100)
* lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference
tables with ~\ref{...} instead of only \ref{...}.

lisp/ChangeLog
lisp/textmodes/reftex-vars.el

index dd84a88..efb12d3 100644 (file)
@@ -1,3 +1,8 @@
+2013-12-18  Tassilo Horn  <tsdh@gnu.org>
+
+       * textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference
+       tables with ~\ref{...} instead of only \ref{...}.
+
 2013-12-18  Chong Yidong  <cyd@gnu.org>
 
        * cus-edit.el (custom-magic-alist): Fix "themed" description
index ce23a48..f6e8936 100644 (file)
@@ -89,7 +89,7 @@
      (("wrapfigure" ?f nil nil caption)))
 
     (ctable    "The ctable package"
-     (("\\ctable[]{}{}{}" ?t "tab:" "\\ref{%s}" 1 ("table" "Tabelle"))))
+     (("\\ctable[]{}{}{}" ?t "tab:" "~\\ref{%s}" 1 ("table" "Tabelle"))))
 
     (listings  "The listings package"
      (("lstlisting" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting"))))