summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/gs1/rule-D.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/gs1/rule-D.dtx')
-rw-r--r--macros/latex/contrib/gs1/rule-D.dtx31
1 files changed, 20 insertions, 11 deletions
diff --git a/macros/latex/contrib/gs1/rule-D.dtx b/macros/latex/contrib/gs1/rule-D.dtx
index 6397e62b3b..98cd347dfe 100644
--- a/macros/latex/contrib/gs1/rule-D.dtx
+++ b/macros/latex/contrib/gs1/rule-D.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: rule-D.dtx Copyright (C) 2012 Markus Kohm
+%% File: rule-D.dtx Copyright (C) 2017-2021 Markus Kohm
%%
%% It may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -17,8 +17,8 @@
%% -------------------------------------------------------------------------
%
%<*driver|package>
-\RequirePackage{expl3}[2017/05/29]
-\GetIdInfo$Id: rule-D.dtx 22 2017-07-15 18:03:18Z mjk $
+\RequirePackage{expl3}[2019/01/17]
+\GetIdInfo$Id: rule-D.dtx 23 2021-06-17 07:00:36Z mjk $
{rule functions for LaTeX3}
%</driver|package>
%<*driver>
@@ -80,9 +80,10 @@
% \section{\pkg{rule-D} implementation}
% \label{sec:rule-D:implementation}
%
-%\iffalse meta-comment
+% \begin{macrocode}
%<*package>
-%\fi
+%<@@=rule>
+% \end{macrocode}
%
% First of all we have to setup package information:
% \begin{macrocode}
@@ -91,7 +92,7 @@
{experimental~L3~rule~functions}
% \end{macrocode}
%
-% \begin{macro}{\rule:nn , \rule:nnn}
+% \begin{macro}[updated = 2021-06-17]{\rule:nn , \rule:nnn}
% \begin{macrocode}
\cs_new:Npn \rule:nn #1#2
{
@@ -100,10 +101,12 @@
\cs_new:Npn \rule:nnn #1#2#3
{
% \end{macrocode}
-% Following line is same like \cs{leavevmode}, but it's \LaTeX3 instead of
-% plain\TeX.
+% \changes{v23}{2021/06/17}{deprecated \cs{hbox_unpack_clear} replaced by
+% \cs{hbox_unpack_drop}}
+% 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_unpack_drop:N \c_empty_box
\hbox:n
{
\tex_vrule:D width \dim_eval:n { #2 }
@@ -114,9 +117,9 @@
% \end{macrocode}
% \end{macro}
%
-%\iffalse meta-comment
+% \begin{macrocode}
%</package>
-%\fi
+% \end{macrocode}
%
% \end{implementation}
%
@@ -125,3 +128,9 @@
\endinput
%
% end of file
+
+% \endinput
+% Local Variables:
+% mode: doctex
+% TeX-master: t
+% End: