[latex3-commits] [git/LaTeX3-latex3-latex3] main: Add the actual code for #1195! (ce048d200)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Apr 13 23:29:23 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/ce048d200a6fdf8a6384d872fefe2789ea613fe7

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

commit ce048d200a6fdf8a6384d872fefe2789ea613fe7
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Apr 13 22:29:23 2023 +0100

    Add the actual code for #1195!


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

ce048d200a6fdf8a6384d872fefe2789ea613fe7
 l3experimental/l3draw/l3draw-paths.dtx                     | 6 ++++--
 l3experimental/l3draw/testfiles/m3draw003.etex-dvips.tlg   | 6 +++---
 l3experimental/l3draw/testfiles/m3draw003.etex-dvisvgm.tlg | 6 +++---
 l3experimental/l3draw/testfiles/m3draw003.ptex.tlg         | 6 +++---
 l3experimental/l3draw/testfiles/m3draw003.tlg              | 6 +++---
 l3experimental/l3draw/testfiles/m3draw003.uptex.tlg        | 6 +++---
 l3experimental/l3draw/testfiles/m3draw003.xetex.tlg        | 6 +++---
 7 files changed, 22 insertions(+), 20 deletions(-)

diff --git a/l3experimental/l3draw/l3draw-paths.dtx b/l3experimental/l3draw/l3draw-paths.dtx
index 70b7608f2..a4ec0b778 100644
--- a/l3experimental/l3draw/l3draw-paths.dtx
+++ b/l3experimental/l3draw/l3draw-paths.dtx
@@ -590,8 +590,10 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \draw_path_arc_axes:nnnn #1#2#3#4
   {
-    \draw_transform_triangle:nnn { 0cm , 0cm } {#3} {#4}
-    \draw_path_arc:nnn {#1} {#2} { 1pt }
+    \group_begin:
+      \draw_transform_triangle:nnn { 0cm , 0cm } {#3} {#4}
+      \draw_path_arc:nnn {#1} {#2} { 1pt }
+    \group_end:
   }
 %    \end{macrocode}
 % \end{macro}
diff --git a/l3experimental/l3draw/testfiles/m3draw003.etex-dvips.tlg b/l3experimental/l3draw/testfiles/m3draw003.etex-dvips.tlg
index 543b9f5cf..79011ed14 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.etex-dvips.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.etex-dvips.tlg
@@ -458,8 +458,8 @@ TEST 7: \draw_path_arc_axes:nnnn
 <argument> \l_tmpa_box 
 l. ...  }
 > \box...=
-\hbox(1619.5188+0.0)x1761.7826
-.\hbox(1619.5188+0.0)x1761.7826
+\hbox(171.11655+0.0)x171.11655
+.\hbox(171.11655+0.0)x171.11655
 ..\glue 142.46379
 ..\hbox(0.0+0.0)x0.0, shifted -0.2
 ...\special{ps::[begin]}
@@ -474,7 +474,7 @@ l. ...  }
 ...\hbox(0.0+0.0)x0.0
 ....\special{ps::-85.03938 144.69647 -110.42166 170.07875 -141.7323 170.07875 curveto}
 ....\special{ps::0 0 moveto}
-....\special{ps::1613.0698 1613.0698 lineto}
+....\special{ps::28.34647 28.34647 lineto}
 ....\special{ps::gsave}
 ....\special{ps::color.sc}
 ....\special{ps::stroke}
diff --git a/l3experimental/l3draw/testfiles/m3draw003.etex-dvisvgm.tlg b/l3experimental/l3draw/testfiles/m3draw003.etex-dvisvgm.tlg
index 596cc587b..c8191b3e8 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.etex-dvisvgm.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.etex-dvisvgm.tlg
@@ -448,8 +448,8 @@ TEST 7: \draw_path_arc_axes:nnnn
 <argument> \l_tmpa_box 
 l. ...  }
 > \box...=
-\hbox(1619.5188+0.0)x1761.7826
-.\hbox(1619.5188+0.0)x1761.7826
+\hbox(171.11655+0.0)x171.11655
+.\hbox(171.11655+0.0)x171.11655
 ..\glue 142.46379
 ..\hbox(0.0+0.0)x0.0, shifted -0.2
 ...\special{dvisvgm:raw <g>{?nl}}
@@ -462,7 +462,7 @@ l. ...  }
 ...\special{dvisvgm:raw <g stroke-miterlimit="10">{?nl}}
 ...\special{dvisvgm:raw <g stroke-dasharray="none" stroke-offset="0">{?nl}}
 ...\hbox(0.0+0.0)x0.0
-....\special{dvisvgm:raw <path d="C -85.35828 145.23909 -110.83574 170.71655 -142.2638 170.71655 M 0 0 L 1619.1188 1619.1188" style="fill:none"/>{?nl}}
+....\special{dvisvgm:raw <path d="C -85.35828 145.23909 -110.83574 170.71655 -142.2638 170.71655 M 0 0 L 28.45276 28.45276" style="fill:none"/>{?nl}}
 ...\special{dvisvgm:raw </g>{?nl}}
 ...\special{dvisvgm:raw </g>{?nl}}
 ...\special{dvisvgm:raw </g>{?nl}}
diff --git a/l3experimental/l3draw/testfiles/m3draw003.ptex.tlg b/l3experimental/l3draw/testfiles/m3draw003.ptex.tlg
index 543b9f5cf..79011ed14 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.ptex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.ptex.tlg
@@ -458,8 +458,8 @@ TEST 7: \draw_path_arc_axes:nnnn
 <argument> \l_tmpa_box 
 l. ...  }
 > \box...=
-\hbox(1619.5188+0.0)x1761.7826
-.\hbox(1619.5188+0.0)x1761.7826
+\hbox(171.11655+0.0)x171.11655
+.\hbox(171.11655+0.0)x171.11655
 ..\glue 142.46379
 ..\hbox(0.0+0.0)x0.0, shifted -0.2
 ...\special{ps::[begin]}
@@ -474,7 +474,7 @@ l. ...  }
 ...\hbox(0.0+0.0)x0.0
 ....\special{ps::-85.03938 144.69647 -110.42166 170.07875 -141.7323 170.07875 curveto}
 ....\special{ps::0 0 moveto}
-....\special{ps::1613.0698 1613.0698 lineto}
+....\special{ps::28.34647 28.34647 lineto}
 ....\special{ps::gsave}
 ....\special{ps::color.sc}
 ....\special{ps::stroke}
diff --git a/l3experimental/l3draw/testfiles/m3draw003.tlg b/l3experimental/l3draw/testfiles/m3draw003.tlg
index 7a63f02b6..8adb9e672 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.tlg
@@ -353,8 +353,8 @@ TEST 7: \draw_path_arc_axes:nnnn
 <argument> \l_tmpa_box 
 l. ...  }
 > \box...=
-\hbox(1619.5188+0.0)x1761.7826
-.\hbox(1619.5188+0.0)x1761.7826
+\hbox(171.11655+0.0)x171.11655
+.\hbox(171.11655+0.0)x171.11655
 ..\glue 142.46379
 ..\hbox(0.0+0.0)x0.0, shifted -0.2
 ...\pdfsave
@@ -367,7 +367,7 @@ l. ...  }
 ...\hbox(0.0+0.0)x0.0
 ....\pdfliteral{-85.03938 144.69647 -110.42166 170.07875 -141.7323 170.07875 c}
 ....\pdfliteral{0 0 m}
-....\pdfliteral{1613.0698 1613.0698 l}
+....\pdfliteral{28.34647 28.34647 l}
 ....\pdfliteral{S}
 ...\pdfrestore
 ...\pdfcolorstack 0 pop
diff --git a/l3experimental/l3draw/testfiles/m3draw003.uptex.tlg b/l3experimental/l3draw/testfiles/m3draw003.uptex.tlg
index 543b9f5cf..79011ed14 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.uptex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.uptex.tlg
@@ -458,8 +458,8 @@ TEST 7: \draw_path_arc_axes:nnnn
 <argument> \l_tmpa_box 
 l. ...  }
 > \box...=
-\hbox(1619.5188+0.0)x1761.7826
-.\hbox(1619.5188+0.0)x1761.7826
+\hbox(171.11655+0.0)x171.11655
+.\hbox(171.11655+0.0)x171.11655
 ..\glue 142.46379
 ..\hbox(0.0+0.0)x0.0, shifted -0.2
 ...\special{ps::[begin]}
@@ -474,7 +474,7 @@ l. ...  }
 ...\hbox(0.0+0.0)x0.0
 ....\special{ps::-85.03938 144.69647 -110.42166 170.07875 -141.7323 170.07875 curveto}
 ....\special{ps::0 0 moveto}
-....\special{ps::1613.0698 1613.0698 lineto}
+....\special{ps::28.34647 28.34647 lineto}
 ....\special{ps::gsave}
 ....\special{ps::color.sc}
 ....\special{ps::stroke}
diff --git a/l3experimental/l3draw/testfiles/m3draw003.xetex.tlg b/l3experimental/l3draw/testfiles/m3draw003.xetex.tlg
index 30c6685c6..a96db25a0 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.xetex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.xetex.tlg
@@ -353,8 +353,8 @@ TEST 7: \draw_path_arc_axes:nnnn
 <argument> \l_tmpa_box 
 l. ...  }
 > \box...=
-\hbox(1619.5188+0.0)x1761.7826
-.\hbox(1619.5188+0.0)x1761.7826
+\hbox(171.11655+0.0)x171.11655
+.\hbox(171.11655+0.0)x171.11655
 ..\glue 142.46379
 ..\hbox(0.0+0.0)x0.0, shifted -0.2
 ...\special{x:gsave}
@@ -367,7 +367,7 @@ l. ...  }
 ...\hbox(0.0+0.0)x0.0
 ....\special{pdf:literal -85.03938 144.69647 -110.42166 170.07875 -141.7323 170.07875 c}
 ....\special{pdf:literal 0 0 m}
-....\special{pdf:literal 1613.0698 1613.0698 l}
+....\special{pdf:literal 28.34647 28.34647 l}
 ....\special{pdf:literal S}
 ...\special{x:grestore}
 ...\special{pdf:ec}





More information about the latex3-commits mailing list.