summaryrefslogtreecommitdiff
path: root/Build/source/texk/detex/detex-2.8
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-06-07 12:05:43 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-06-07 12:05:43 +0000
commitd65592bab87f0c1e359c86ff00ceceda94d114a7 (patch)
tree9891b0e07b9cdf637a6f9bbf8f3517e0928087b2 /Build/source/texk/detex/detex-2.8
parentfb996bfb8d0882d734b5120c13f351716a181d32 (diff)
dtex: handle kern and glue specs
git-svn-id: svn://tug.org/texlive/trunk@22846 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/detex/detex-2.8')
-rw-r--r--Build/source/texk/detex/detex-2.8/detex.l18
1 files changed, 12 insertions, 6 deletions
diff --git a/Build/source/texk/detex/detex-2.8/detex.l b/Build/source/texk/detex/detex-2.8/detex.l
index db6ec8ba982..7ace6f49ac3 100644
--- a/Build/source/texk/detex/detex-2.8/detex.l
+++ b/Build/source/texk/detex/detex-2.8/detex.l
@@ -157,7 +157,12 @@ S [ \t\n]*
W [a-zA-Z]+
N [+-]?(([0-9]+(\.[0-9]+)?)|(\.[0-9]+))
U pt|pc|in|bp|cm|mm|dd|cc|sp
-D {S}(({N}{S}{U})|(\\{W})){S}
+HU {U}|em
+HD {S}(({N}{S}{HU})|(\\{W})){S}
+HG {HD}(plus{HD})?(minus{HD})?
+VU {U}|ex
+VD {S}(({N}{S}{VU})|(\\{W})){S}
+VG {VD}(plus{VD})?(minus{VD})?
Z \*?
%Start Define Display IncludeOnly Input Math Normal Control
@@ -212,11 +217,12 @@ Z \*?
<LaEnd>"\n" NEWLINE;
<LaEnd>. ;
-<Normal>"\\vskip"{D} ;
-<Normal>"\\vspace"{Z}{S}"{"{D}"}" ;
-<Normal>"\\hskip"{D} ;
-<Normal>"\\hspace"{Z}{S}"{"{D}"}" ;
-<Normal>"\\addvspace"{S}"{"{D}"}" ;
+<Normal>"\\kern"{HD} ;
+<Normal>"\\vskip"{VG} ;
+<Normal>"\\vspace"{Z}{S}"{"{VG}"}" ;
+<Normal>"\\hskip"{HG} ;
+<Normal>"\\hspace"{Z}{S}"{"{HG}"}" ;
+<Normal>"\\addvspace"{S}"{"{VG}"}" ;
<Normal>"\\newlength" { KILLARGS(1); }
<Normal>"\\setlength" { KILLARGS(2); }