[latex3-commits] [latex3/latex3] main: Internal tweak (b4b445715)
github at latex-project.org
github at latex-project.org
Mon Mar 11 23:50:49 CET 2024
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/b4b445715d66f3c7083b9eb2a5c77ebb03859414
>---------------------------------------------------------------
commit b4b445715d66f3c7083b9eb2a5c77ebb03859414
Author: Joseph Wright <joseph at texdev.net>
Date: Mon Mar 11 22:50:49 2024 +0000
Internal tweak
Looking back, the code comments don't make sense:
all using two approaches does is duplicate code.
>---------------------------------------------------------------
b4b445715d66f3c7083b9eb2a5c77ebb03859414
l3backend/l3backend-draw.dtx | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/l3backend/l3backend-draw.dtx b/l3backend/l3backend-draw.dtx
index ee33a717f..7002e9e10 100644
--- a/l3backend/l3backend-draw.dtx
+++ b/l3backend/l3backend-draw.dtx
@@ -84,20 +84,17 @@
% In contrast to \pkg{pgf}, we don't save the current point:
% discussion with Tom Rokici suggested a better way to handle the necessary
% translations (see \cs{@@_backend_box_use:Nnnnn}). (Note that
-% |@beginspecial|/|@endspecial| forms a backend scope.) The |[begin]|/^^A
-% |[end]| lines are handled differently from the rest as they are
-% conceptually different: not really drawing literals but instructions to
-% \texttt{dvips} itself.
+% |@beginspecial|/|@endspecial| forms a backend scope.)
% \begin{macrocode}
\cs_new_protected:Npn \@@_backend_begin:
{
- \__kernel_backend_literal:n { ps::[begin] }
+ \@@_backend_literal:n { [begin] }
\@@_backend_literal:n { @beginspecial }
}
\cs_new_protected:Npn \@@_backend_end:
{
\@@_backend_literal:n { @endspecial }
- \__kernel_backend_literal:n { ps::[end] }
+ \@@_backend_literal:n { [end] }
}
% \end{macrocode}
% \end{macro}
More information about the latex3-commits
mailing list.