[latex3-commits] [git/LaTeX3-latex3-latex3] main: Add missing group to \draw_path_arc_axes:nnnn (fixes #195)ixes # (91504b057)

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


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

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

commit 91504b0576597e74c6bdcd6bc3445dfa03f42fab
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Apr 13 22:02:22 2023 +0100

    Add missing group to \draw_path_arc_axes:nnnn (fixes #195)ixes #


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

91504b0576597e74c6bdcd6bc3445dfa03f42fab
 l3experimental/CHANGELOG.md                        |  3 +++
 .../l3draw/testfiles/m3draw003.etex-dvips.tlg      | 29 ++++++++++++++++++++++
 .../l3draw/testfiles/m3draw003.etex-dvisvgm.tlg    | 28 +++++++++++++++++++++
 l3experimental/l3draw/testfiles/m3draw003.lvt      |  8 ++++++
 l3experimental/l3draw/testfiles/m3draw003.ptex.tlg | 29 ++++++++++++++++++++++
 l3experimental/l3draw/testfiles/m3draw003.tlg      | 22 ++++++++++++++++
 .../l3draw/testfiles/m3draw003.uptex.tlg           | 29 ++++++++++++++++++++++
 .../l3draw/testfiles/m3draw003.xetex.tlg           | 22 ++++++++++++++++
 8 files changed, 170 insertions(+)

diff --git a/l3experimental/CHANGELOG.md b/l3experimental/CHANGELOG.md
index a3be92ce0..02caf13f7 100644
--- a/l3experimental/CHANGELOG.md
+++ b/l3experimental/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Fixed
+- Grouping in `\draw_path_arc_axes:nnnn` (see \#1195)
+
 ## [2023-03-30]
 
 ### Fixed
diff --git a/l3experimental/l3draw/testfiles/m3draw003.etex-dvips.tlg b/l3experimental/l3draw/testfiles/m3draw003.etex-dvips.tlg
index 9592ec7ba..543b9f5cf 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.etex-dvips.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.etex-dvips.tlg
@@ -457,6 +457,35 @@ TEST 7: \draw_path_arc_axes:nnnn
 ! OK.
 <argument> \l_tmpa_box 
 l. ...  }
+> \box...=
+\hbox(1619.5188+0.0)x1761.7826
+.\hbox(1619.5188+0.0)x1761.7826
+..\glue 142.46379
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{ps::[begin]}
+...\special{ps::@beginspecial}
+...\special{ps::0.3985 setlinewidth}
+...\special{color push gray 0}
+...\special{ps:SDict begin /color.sc {} def end}
+...\special{ps::0 setlinecap}
+...\special{ps::0 setlinejoin}
+...\special{ps::10 setmiterlimit}
+...\special{ps::[] 0 setdash}
+...\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::gsave}
+....\special{ps::color.sc}
+....\special{ps::stroke}
+....\special{ps::grestore}
+....\special{ps::newpath}
+...\special{ps::@endspecial}
+...\special{ps::[end]}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
 ============================================================
 ============================================================
 TEST 8: \draw_path_ellipse:nnn 
diff --git a/l3experimental/l3draw/testfiles/m3draw003.etex-dvisvgm.tlg b/l3experimental/l3draw/testfiles/m3draw003.etex-dvisvgm.tlg
index d231cda3d..596cc587b 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.etex-dvisvgm.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.etex-dvisvgm.tlg
@@ -447,6 +447,34 @@ TEST 7: \draw_path_arc_axes:nnnn
 ! OK.
 <argument> \l_tmpa_box 
 l. ...  }
+> \box...=
+\hbox(1619.5188+0.0)x1761.7826
+.\hbox(1619.5188+0.0)x1761.7826
+..\glue 142.46379
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{dvisvgm:raw <g>{?nl}}
+...\special{dvisvgm:raw <g transform="translate({?x},{?y}) scale(1,-1)">{?nl}}
+...\special{dvisvgm:raw <g stroke-width="0.4">{?nl}}
+...\special{color push gray 0}
+...\special{dvisvgm:raw <g fill-rule="nonzero">{?nl}}
+...\special{dvisvgm:raw <g stroke-linecap="butt">{?nl}}
+...\special{dvisvgm:raw <g stroke-linejoin="miter">{?nl}}
+...\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 </g>{?nl}}
+...\special{dvisvgm:raw </g>{?nl}}
+...\special{dvisvgm:raw </g>{?nl}}
+...\special{dvisvgm:raw </g>{?nl}}
+...\special{dvisvgm:raw </g>{?nl}}
+...\special{dvisvgm:raw </g>{?nl}}
+...\special{dvisvgm:raw </g>{?nl}}
+...\special{dvisvgm:raw </g>{?nl}}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
 ============================================================
 ============================================================
 TEST 8: \draw_path_ellipse:nnn 
diff --git a/l3experimental/l3draw/testfiles/m3draw003.lvt b/l3experimental/l3draw/testfiles/m3draw003.lvt
index 4c0abd7d7..952476bc6 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.lvt
+++ b/l3experimental/l3draw/testfiles/m3draw003.lvt
@@ -127,6 +127,14 @@
           { \draw_point_vec:nn { 2 } { 0 } }
           { \draw_point_vec:nn { 0 } { 2 } }
       }
+    \test:n
+      {
+        \draw_path_arc_axes:nnnn { 0 } { 90 }
+          { \draw_point_vec:nn { 2 } { 0 } }
+          { \draw_point_vec:nn { 0 } { 2 } }
+        \draw_path_moveto:n { 0cm , 0cm }
+        \draw_path_lineto:n { 1cm , 1cm }
+      }
   }
 
 \TEST { \draw_path_ellipse:nnn }
diff --git a/l3experimental/l3draw/testfiles/m3draw003.ptex.tlg b/l3experimental/l3draw/testfiles/m3draw003.ptex.tlg
index 9592ec7ba..543b9f5cf 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.ptex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.ptex.tlg
@@ -457,6 +457,35 @@ TEST 7: \draw_path_arc_axes:nnnn
 ! OK.
 <argument> \l_tmpa_box 
 l. ...  }
+> \box...=
+\hbox(1619.5188+0.0)x1761.7826
+.\hbox(1619.5188+0.0)x1761.7826
+..\glue 142.46379
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{ps::[begin]}
+...\special{ps::@beginspecial}
+...\special{ps::0.3985 setlinewidth}
+...\special{color push gray 0}
+...\special{ps:SDict begin /color.sc {} def end}
+...\special{ps::0 setlinecap}
+...\special{ps::0 setlinejoin}
+...\special{ps::10 setmiterlimit}
+...\special{ps::[] 0 setdash}
+...\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::gsave}
+....\special{ps::color.sc}
+....\special{ps::stroke}
+....\special{ps::grestore}
+....\special{ps::newpath}
+...\special{ps::@endspecial}
+...\special{ps::[end]}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
 ============================================================
 ============================================================
 TEST 8: \draw_path_ellipse:nnn 
diff --git a/l3experimental/l3draw/testfiles/m3draw003.tlg b/l3experimental/l3draw/testfiles/m3draw003.tlg
index 22cf87133..7a63f02b6 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.tlg
@@ -352,6 +352,28 @@ TEST 7: \draw_path_arc_axes:nnnn
 ! OK.
 <argument> \l_tmpa_box 
 l. ...  }
+> \box...=
+\hbox(1619.5188+0.0)x1761.7826
+.\hbox(1619.5188+0.0)x1761.7826
+..\glue 142.46379
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfsave
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 J}
+...\pdfliteral{0 j}
+...\pdfliteral{10 M}
+...\pdfliteral{[] 0 d}
+...\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{S}
+...\pdfrestore
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
 ============================================================
 ============================================================
 TEST 8: \draw_path_ellipse:nnn 
diff --git a/l3experimental/l3draw/testfiles/m3draw003.uptex.tlg b/l3experimental/l3draw/testfiles/m3draw003.uptex.tlg
index 9592ec7ba..543b9f5cf 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.uptex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.uptex.tlg
@@ -457,6 +457,35 @@ TEST 7: \draw_path_arc_axes:nnnn
 ! OK.
 <argument> \l_tmpa_box 
 l. ...  }
+> \box...=
+\hbox(1619.5188+0.0)x1761.7826
+.\hbox(1619.5188+0.0)x1761.7826
+..\glue 142.46379
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{ps::[begin]}
+...\special{ps::@beginspecial}
+...\special{ps::0.3985 setlinewidth}
+...\special{color push gray 0}
+...\special{ps:SDict begin /color.sc {} def end}
+...\special{ps::0 setlinecap}
+...\special{ps::0 setlinejoin}
+...\special{ps::10 setmiterlimit}
+...\special{ps::[] 0 setdash}
+...\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::gsave}
+....\special{ps::color.sc}
+....\special{ps::stroke}
+....\special{ps::grestore}
+....\special{ps::newpath}
+...\special{ps::@endspecial}
+...\special{ps::[end]}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
 ============================================================
 ============================================================
 TEST 8: \draw_path_ellipse:nnn 
diff --git a/l3experimental/l3draw/testfiles/m3draw003.xetex.tlg b/l3experimental/l3draw/testfiles/m3draw003.xetex.tlg
index bf1c53b82..30c6685c6 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.xetex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw003.xetex.tlg
@@ -352,6 +352,28 @@ TEST 7: \draw_path_arc_axes:nnnn
 ! OK.
 <argument> \l_tmpa_box 
 l. ...  }
+> \box...=
+\hbox(1619.5188+0.0)x1761.7826
+.\hbox(1619.5188+0.0)x1761.7826
+..\glue 142.46379
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{pdf:bc [0]}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\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 S}
+...\special{x:grestore}
+...\special{pdf:ec}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
 ============================================================
 ============================================================
 TEST 8: \draw_path_ellipse:nnn 





More information about the latex3-commits mailing list.