[latex3-commits] [l3svn] branch master updated: Test for end-of-env expansion

noreply at latex-project.org noreply at latex-project.org
Thu Apr 21 08:32:30 CEST 2016


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  3e312ab   Test for end-of-env expansion
3e312ab is described below

commit 3e312ab552efc9bf439bb2659b51bf7a57bcc155
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Apr 21 07:32:11 2016 +0100

    Test for end-of-env expansion
---
 l3packages/xparse/testfiles/xparse001.lvt |   24 ++++++++-
 l3packages/xparse/testfiles/xparse001.tlg |   81 +++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+), 1 deletion(-)

diff --git a/l3packages/xparse/testfiles/xparse001.lvt b/l3packages/xparse/testfiles/xparse001.lvt
index d917fee..a12a429 100644
--- a/l3packages/xparse/testfiles/xparse001.lvt
+++ b/l3packages/xparse/testfiles/xparse001.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2009-2012,2014-2015 LaTeX3 Project
+% Copyright (C) 2009-2012,2014-2016 LaTeX3 Project
 %
 
 \documentclass{minimal}
@@ -329,5 +329,27 @@
     \box_show:N \l_tmpa_box
   }
 
+\TEST { Expansion~at~end~of~environment }
+  {
+    \OMIT
+    \DeclareDocumentEnvironment { foo } { m }
+        { \begin { tabular } {#1} } { \end { tabular } }
+    \TIMO
+    \hbox_set:Nn \l_tmpa_box
+      {
+        \begin { foo } { ccc }
+            \hline
+            Test & a & b \\
+            \hline
+        \end { foo }
+        \begin { tabular } { ccc }
+            \hline
+            Test & a & b \\
+            \hline
+        \end { tabular }
+      }
+    \box_show:N \l_tmpa_box
+  }
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \END
diff --git a/l3packages/xparse/testfiles/xparse001.tlg b/l3packages/xparse/testfiles/xparse001.tlg
index 025edc2..115466d 100644
--- a/l3packages/xparse/testfiles/xparse001.tlg
+++ b/l3packages/xparse/testfiles/xparse001.tlg
@@ -1152,3 +1152,84 @@ TEST 17: Passing arguments to the end with more complex cases
 <argument> \l_tmpa_box 
 l. ...  }
 ============================================================
+============================================================
+TEST 18: Expansion at end of environment
+============================================================
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <7> on input line ....
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <5> on input line ....
+> \box57=
+\hbox(8.5+3.5)x58.44452
+.\hbox(8.5+3.5)x29.22226
+..\mathon
+..\vbox(8.5+3.5)x29.22226
+...\rule(0.0+0.0)x29.22226
+...\hbox(8.39996+3.60004)x29.22226
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x18.66667
+.....\rule(8.39996+3.60004)x0.0
+.....\glue 0.0
+.....\glue 0.0 plus 1.0fil
+.....\OT1/cmr/m/n/10 T
+.....\kern-0.83334
+.....\OT1/cmr/m/n/10 e
+.....\OT1/cmr/m/n/10 s
+.....\OT1/cmr/m/n/10 t
+.....\glue 0.0 plus 1.0fil
+.....\glue 0.0
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x5.00002
+.....\glue 0.0
+.....\glue 0.0 plus 1.0fil
+.....\OT1/cmr/m/n/10 a
+.....\glue 0.0 plus 1.0fil
+.....\glue 0.0
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x5.55557
+.....\glue 0.0
+.....\glue 0.0 plus 1.0fil
+.....\OT1/cmr/m/n/10 b
+.....\glue 0.0 plus 1.0fil
+.....\glue 0.0
+....\glue(\tabskip) 0.0
+...\rule(0.0+0.0)x29.22226
+..\mathoff
+.\hbox(8.5+3.5)x29.22226
+..\mathon
+..\vbox(8.5+3.5)x29.22226
+...\rule(0.0+0.0)x29.22226
+...\hbox(8.39996+3.60004)x29.22226
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x18.66667
+.....\rule(8.39996+3.60004)x0.0
+.....\glue 0.0
+.....\glue 0.0 plus 1.0fil
+.....\OT1/cmr/m/n/10 T
+.....\kern-0.83334
+.....\OT1/cmr/m/n/10 e
+.....\OT1/cmr/m/n/10 s
+.....\OT1/cmr/m/n/10 t
+.....\glue 0.0 plus 1.0fil
+.....\glue 0.0
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x5.00002
+.....\glue 0.0
+.....\glue 0.0 plus 1.0fil
+.....\OT1/cmr/m/n/10 a
+.....\glue 0.0 plus 1.0fil
+.....\glue 0.0
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x5.55557
+.....\glue 0.0
+.....\glue 0.0 plus 1.0fil
+.....\OT1/cmr/m/n/10 b
+.....\glue 0.0 plus 1.0fil
+.....\glue 0.0
+....\glue(\tabskip) 0.0
+...\rule(0.0+0.0)x29.22226
+..\mathoff
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list