[latex3-commits] [git/LaTeX3-latex3-latex3] master: Tidy up some forgotten data structures (9c2db40)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Mar 2 10:49:46 CET 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/9c2db40e84d0232ab0120b13710009756d00aab1

>---------------------------------------------------------------

commit 9c2db40e84d0232ab0120b13710009756d00aab1
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Mar 2 09:49:46 2018 +0000

    Tidy up some forgotten data structures


>---------------------------------------------------------------

9c2db40e84d0232ab0120b13710009756d00aab1
 l3experimental/l3draw/l3draw-scopes.dtx            |    4 -
 l3experimental/l3draw/testfiles/m3draw005.ptex.tlg |  114 --------------------
 l3experimental/l3draw/testfiles/m3draw005.tlg      |  114 --------------------
 .../l3draw/testfiles/m3draw005.uptex.tlg           |  114 --------------------
 .../l3draw/testfiles/m3draw005.xetex.tlg           |  114 --------------------
 5 files changed, 460 deletions(-)

diff --git a/l3experimental/l3draw/l3draw-scopes.dtx b/l3experimental/l3draw/l3draw-scopes.dtx
index 2210845..0076b7a 100644
--- a/l3experimental/l3draw/l3draw-scopes.dtx
+++ b/l3experimental/l3draw/l3draw-scopes.dtx
@@ -186,14 +186,10 @@
     \driver_draw_scope_begin:
     \group_begin:
       \dim_set_eq:NN \l_@@_linewidth_dim \g_@@_linewidth_dim
-      \tl_set_eq:NN \l_@@_fill_color_tl \g_@@_fill_color_tl
-      \tl_set_eq:NN \l_@@_stroke_color_tl \g_@@_stroke_color_tl
   }
 \cs_new_protected:Npn \draw_scope_end:
   {
       \dim_gset_eq:NN \g_@@_linewidth_dim \l_@@_linewidth_dim
-      \tl_gset_eq:NN \g_@@_fill_color_tl \l_@@_fill_color_tl
-      \tl_gset_eq:NN \g_@@_stroke_color_tl \l_@@_stroke_color_tl
     \group_end:
     \driver_draw_scope_end:
   }
diff --git a/l3experimental/l3draw/testfiles/m3draw005.ptex.tlg b/l3experimental/l3draw/testfiles/m3draw005.ptex.tlg
index f2e3dcc..6617de7 100644
--- a/l3experimental/l3draw/testfiles/m3draw005.ptex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw005.ptex.tlg
@@ -3,120 +3,6 @@ Don't change this file in any respect.
 ============================================================
 TEST 1: \draw_scope_begin: 
 ============================================================
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \l__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \l__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \l__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \l__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \l__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \l__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
 > \box...=
 \hbox(285.52756+0.0)x29.45276
 .\hbox(285.52756+0.0)x29.45276
diff --git a/l3experimental/l3draw/testfiles/m3draw005.tlg b/l3experimental/l3draw/testfiles/m3draw005.tlg
index 75fe1c6..4814d58 100644
--- a/l3experimental/l3draw/testfiles/m3draw005.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw005.tlg
@@ -3,120 +3,6 @@ Don't change this file in any respect.
 ============================================================
 TEST 1: \draw_scope_begin: 
 ============================================================
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \l__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \l__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \l__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \l__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \l__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \l__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
 > \box...=
 \hbox(285.52756+0.0)x29.45276
 .\hbox(285.52756+0.0)x29.45276
diff --git a/l3experimental/l3draw/testfiles/m3draw005.uptex.tlg b/l3experimental/l3draw/testfiles/m3draw005.uptex.tlg
index f2e3dcc..6617de7 100644
--- a/l3experimental/l3draw/testfiles/m3draw005.uptex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw005.uptex.tlg
@@ -3,120 +3,6 @@ Don't change this file in any respect.
 ============================================================
 TEST 1: \draw_scope_begin: 
 ============================================================
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \l__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \l__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \l__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \l__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \l__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \l__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
 > \box...=
 \hbox(285.52756+0.0)x29.45276
 .\hbox(285.52756+0.0)x29.45276
diff --git a/l3experimental/l3draw/testfiles/m3draw005.xetex.tlg b/l3experimental/l3draw/testfiles/m3draw005.xetex.tlg
index f2e3dcc..6617de7 100644
--- a/l3experimental/l3draw/testfiles/m3draw005.xetex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw005.xetex.tlg
@@ -3,120 +3,6 @@ Don't change this file in any respect.
 ============================================================
 TEST 1: \draw_scope_begin: 
 ============================================================
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \l__draw_fill_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \l__draw_fill_color_tl { ... }
-| without first having:
-|   \tl_new:N \l__draw_fill_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \g__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \g__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \g__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!
-! LaTeX error: "kernel/non-declared-variable"
-! 
-! The variable \l__draw_stroke_color_tl has not been declared on line ....
-! 
-! See the LaTeX3 documentation for further information.
-! 
-! For immediate help type H <return>.
-!...............................................  
-l. ...  }
-|'''''''''''''''''''''''''''''''''''''''''''''''
-| Checking is active, and you have tried do so something like:
-|   \tl_set:Nn \l__draw_stroke_color_tl { ... }
-| without first having:
-|   \tl_new:N \l__draw_stroke_color_tl
-| 
-| LaTeX will create the variable and continue.
-|...............................................
 > \box...=
 \hbox(285.52756+0.0)x29.45276
 .\hbox(285.52756+0.0)x29.45276





More information about the latex3-commits mailing list