[latex3-commits] [git/LaTeX3-latex3-latex3] master: Avoid an error with path-free drawings (68830d0)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Feb 25 00:57:09 CET 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/68830d0e89589d090912ddfe38c7b72cea6c53b7

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

commit 68830d0e89589d090912ddfe38c7b72cea6c53b7
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Feb 24 23:56:19 2018 +0000

    Avoid an error with path-free drawings


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

68830d0e89589d090912ddfe38c7b72cea6c53b7
 l3experimental/l3draw/l3draw-scopes.dtx |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/l3experimental/l3draw/l3draw-scopes.dtx b/l3experimental/l3draw/l3draw-scopes.dtx
index 660cf5a..75d925c 100644
--- a/l3experimental/l3draw/l3draw-scopes.dtx
+++ b/l3experimental/l3draw/l3draw-scopes.dtx
@@ -124,6 +124,13 @@
   {
       \driver_draw_end:
     \vbox_set_end:
+    \dim_compare:nNnT \g_@@_xmin_dim = \c_max_dim
+      {
+        \dim_gzero:N \g_@@_xmax_dim
+        \dim_gzero:N \g_@@_xmin_dim
+        \dim_gzero:N \g_@@_ymax_dim
+        \dim_gzero:N \g_@@_ymin_dim
+      }
     \hbox_set:Nn \l_@@_main_box
       {
         \skip_horizontal:n { -\g_@@_xmin_dim }





More information about the latex3-commits mailing list