[latex3-commits] [git/LaTeX3-latex3-latex3] main: Define backend drawing scope for dvisvgm (869a34e85)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Dec 14 06:50:41 CET 2021
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/869a34e850e19a36cec41dbf0ef3ccdc22f3537a
>---------------------------------------------------------------
commit 869a34e850e19a36cec41dbf0ef3ccdc22f3537a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Dec 14 05:50:34 2021 +0000
Define backend drawing scope for dvisvgm
>---------------------------------------------------------------
869a34e850e19a36cec41dbf0ef3ccdc22f3537a
l3backend/CHANGELOG.md | 1 +
l3backend/l3backend-draw.dtx | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/l3backend/CHANGELOG.md b/l3backend/CHANGELOG.md
index 2ae8b4ad7..5ebb80b0c 100644
--- a/l3backend/CHANGELOG.md
+++ b/l3backend/CHANGELOG.md
@@ -10,6 +10,7 @@ this project uses date-based 'snapshot' version identifiers.
- Scoping issues for `dvisvgm`
- An incorrect mapping function in the drawing backend
- Dash pattern intialisation for `dvisvgm`
+- Drawing scope for `dvisvgm`
## [2021-10-17]
diff --git a/l3backend/l3backend-draw.dtx b/l3backend/l3backend-draw.dtx
index 119db3285..45d423586 100644
--- a/l3backend/l3backend-draw.dtx
+++ b/l3backend/l3backend-draw.dtx
@@ -768,6 +768,14 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\@@_backend_scope_begin:, \@@_backend_scope_end:}
+% Use the backend-level scope mechanisms.
+% \begin{macrocode}
+\cs_new_eq:NN \@@_backend_scope_begin: \__kernel_backend_scope_begin:
+\cs_new_eq:NN \@@_backend_scope_end: \__kernel_backend_scope_end:
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\@@_backend_begin:, \@@_backend_end:}
% A drawing needs to be set up such that the co-ordinate system is
% translated. That is done inside a scope, which as described below
More information about the latex3-commits
mailing list.