Hi,

I think the list of lengths was incomplete.  I've added the rest.
Basically, I just did a grep after \newdimen and anything without an
@-sign, I've included.  Besides, the LaTeX book by Lamport shows a few
lengths that were left out, such as \listparindent + a few more.  These
should now be in there.

I've included the vphantom, hphantom and phantom macros.  They're
defined in latex.ltx

ChangeLog entry:

2013-01-30  Mads Jensen  <[email protected]>

        * latex.el (LaTeX-common-initialization): Added `vphantom',
        `hphantom' and 'phantom' macros.  Added all lengths that latex.ltx 
defines.
-- 
Med Venlig Hilsen / Kind Regards,
Mads Jensen
Rubinsteinsvej 31,st.th
DK-2450 Kbh. SV
Denmark
+45 6168 8518
My brain is my second favorite organ.
      -- Woody Allen
Index: latex.el
===================================================================
RCS file: /sources/auctex/auctex/latex.el,v
retrieving revision 5.483
diff -u -u -r5.483 latex.el
--- latex.el	29 Jan 2013 07:37:50 -0000	5.483
+++ latex.el	30 Jan 2013 08:12:40 -0000
@@ -5324,11 +5324,19 @@
   (LaTeX-add-counters "page" "equation" "enumi" "enumii" "enumiii"
 		      "enumiv" "footnote" "mpfootnote")
 
+  ;; `latex.ltx' defines the following lengths
   (LaTeX-add-lengths "baselineskip" "baselinestretch" "columnsep"
 		     "columnwidth" "evensidemargin" "linewidth" "oddsidemargin"
 		     "paperwidth" "paperheight" "parindent" "parskip"
 		     "tabcolsep" "textheight" "textwidth" "topmargin"
-		     "unitlength")
+		     "unitlength" "jot" "leftmargin" "rightmargin" 
+                     "listparindent" "itemindent" "labelwidth" "labelsep" 
+                     "leftmargini" "leftmarginii" "leftmarginiii" "leftmarginiv"
+                     "leftmarginv" "leftmarginvi" "fboxrule" "fboxsep" 
+                     "tabbingsep" "arraycolsep" "arrayrulewidth" "doublerulesep" 
+                     "footnotesep" "headheight" "headsep" "footskip" 
+                     "columnseprule" "marginparwidth" "marginparsep" 
+                     "marginparpush")
 
   (TeX-add-symbols
    '("addtocounter" TeX-arg-counter "Value")
@@ -5515,6 +5523,9 @@
    '("tiny" -1) '("scriptsize" -1) '("footnotesize" -1) '("small" -1)
    '("normalsize" -1) '("large" -1) '("Large" -1) '("LARGE" -1) '("huge" -1)
    '("Huge" -1)
+   '("vphantom" t)
+   '("hphantom" t)
+   '("phantom" t)
    "pounds" "copyright"
    "hfil" "hfill" "vfil" "vfill" "hrulefill" "dotfill"
    "indent" "noindent" "today"

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to