[latex3-commits] [l3svn] branch master updated: Remove three unsuitable \exp_not:N in l3drivers
noreply at latex-project.org
noreply at latex-project.org
Tue May 17 18:39:03 CEST 2016
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
The following commit(s) were added to refs/heads/master by this push:
new 930fc6f Remove three unsuitable \exp_not:N in l3drivers
new 488bb23 Merge pull request #302 from qinglee/master
930fc6f is described below
commit 930fc6f7555f7ca82d3d7d1c29c61c32c5be2216
Author: Qing Lee <sobenlee at gmail.com>
Date: Wed May 18 00:34:53 2016 +0800
Remove three unsuitable \exp_not:N in l3drivers
fix #301
---
l3kernel/l3drivers.dtx | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index 130b3d7..43e1364 100755
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -162,7 +162,7 @@
% interfaces, which themselves are likely to be further abstracted for user
% access. Again, this model is heavily inspired by \pkg{pgf} and
% Ti\textit{k}z.
-%
+%
% These low level drawing interfaces abstract from the driver raw requirements
% but still require an appreciation of the concepts of PostScript/PDF/SVG
% graphic creation.
@@ -483,12 +483,12 @@
% \begin{macro}[aux]{\@@_color_reset:}
% Directly set the color using the specials with optimisation support.
% \begin{macrocode}
-\cs_new_protected_nopar:Npx \@@_color_ensure_current:
+\cs_new_protected_nopar:Npn \@@_color_ensure_current:
{
\tex_special:D { pdf:bcolor~\l_@@_current_color_tl }
- \group_insert_after:N \exp_not:N \@@_color_reset:
+ \group_insert_after:N \@@_color_reset:
}
-\cs_new_protected_nopar:Npx \@@_color_reset:
+\cs_new_protected_nopar:Npn \@@_color_reset:
{ \tex_special:D { pdf:ecolor } }
% \end{macrocode}
% \end{macro}
@@ -519,9 +519,8 @@
\cs_set_protected_nopar:Npn \@@_color_ensure_current:
{
\tex_special:D { color~push~\l_@@_current_color_tl }
- \group_insert_after:N \exp_not:N \@@_color_reset:
+ \group_insert_after:N \@@_color_reset:
}
-
\cs_set_protected_nopar:Npn \@@_color_reset:
{ \tex_special:D { color~pop } }
}
@@ -790,7 +789,6 @@
\clist_map_function:nN {#1} \@@_draw_dash:n
] ~
\dim_to_decimal_in_bp:n {#2} ~ d
-
}
}
\cs_new:Npn \@@_draw_dash:n #1
@@ -916,7 +914,7 @@
% of the stack to save the current position \enquote{up front} and to
% move back to it at the end of the process.
% \begin{macrocode}
-\cs_new_protected:Npx \@@_literal:n #1
+\cs_new_protected:Npn \@@_literal:n #1
{
\tex_special:D
{
@@ -1055,7 +1053,6 @@
\tex_special:D { color~push~\l_@@_current_color_tl }
\group_insert_after:N \@@_color_reset:
}
-
\cs_new_protected_nopar:Npn \@@_color_reset:
{ \tex_special:D { color~pop } }
% \end{macrocode}
@@ -1261,9 +1258,8 @@
\cs_new_protected_nopar:Npn \@@_color_ensure_current:
{
\tex_special:D { color~push~\l_@@_current_color_tl }
- \group_insert_after:N \exp_not:N \@@_color_reset:
+ \group_insert_after:N \@@_color_reset:
}
-
\cs_new_protected_nopar:Npn \@@_color_reset:
{ \tex_special:D { color~pop } }
% \end{macrocode}
@@ -1280,4 +1276,4 @@
%
% \end{implementation}
%
-% \PrintIndex
\ No newline at end of file
+% \PrintIndex
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list