summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/GS1/rule-D.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/GS1/rule-D.dtx')
-rw-r--r--Master/texmf-dist/source/latex/GS1/rule-D.dtx15
1 files changed, 7 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/GS1/rule-D.dtx b/Master/texmf-dist/source/latex/GS1/rule-D.dtx
index 1912a83d62a..6397e62b3b3 100644
--- a/Master/texmf-dist/source/latex/GS1/rule-D.dtx
+++ b/Master/texmf-dist/source/latex/GS1/rule-D.dtx
@@ -17,8 +17,8 @@
%% -------------------------------------------------------------------------
%
%<*driver|package>
-\RequirePackage{expl3}
-\GetIdInfo$Id: rule-D.dtx 15 2012-08-27 10:25:03Z mjk $
+\RequirePackage{expl3}[2017/05/29]
+\GetIdInfo$Id: rule-D.dtx 22 2017-07-15 18:03:18Z mjk $
{rule functions for LaTeX3}
%</driver|package>
%<*driver>
@@ -91,11 +91,6 @@
{experimental~L3~rule~functions}
% \end{macrocode}
%
-% We need the stable kernel of L3:
-% \begin{macrocode}
-\RequirePackage{expl3}
-% \end{macrocode}
-%
% \begin{macro}{\rule:nn , \rule:nnn}
% \begin{macrocode}
\cs_new:Npn \rule:nn #1#2
@@ -104,7 +99,11 @@
}
\cs_new:Npn \rule:nnn #1#2#3
{
- \leavevmode
+% \end{macrocode}
+% Following line is same like \cs{leavevmode}, but it's \LaTeX3 instead of
+% plain\TeX.
+% \begin{macrocode}
+ \hbox_unpack_clear:N \c_empty_box
\hbox:n
{
\tex_vrule:D width \dim_eval:n { #2 }