texlive[44822] Master/texmf-dist: GS1 (16jul17)

commits+karl at tug.org commits+karl at tug.org
Sun Jul 16 22:51:52 CEST 2017


Revision: 44822
          http://tug.org/svn/texlive?view=revision&revision=44822
Author:   karl
Date:     2017-07-16 22:51:52 +0200 (Sun, 16 Jul 2017)
Log Message:
-----------
GS1 (16jul17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/GS1/GS1.pdf
    trunk/Master/texmf-dist/doc/latex/GS1/examples/EANBarcode.pdf
    trunk/Master/texmf-dist/doc/latex/GS1/examples/EANBarcode.tex
    trunk/Master/texmf-dist/doc/latex/GS1/examples/EANControlDigit.pdf
    trunk/Master/texmf-dist/doc/latex/GS1/examples/EANControlDigit.tex
    trunk/Master/texmf-dist/doc/latex/GS1/examples/GSSetup.pdf
    trunk/Master/texmf-dist/doc/latex/GS1/examples/GSSetup.tex
    trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_cut_EAN_control_digit.pdf
    trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_cut_EAN_control_digit.tex
    trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_EAN_control_digit.pdf
    trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_EAN_control_digit.tex
    trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_code_digit_seq.pdf
    trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_code_digit_seq.tex
    trunk/Master/texmf-dist/doc/latex/GS1/examples/int_set_to_EAN_control_digit.pdf
    trunk/Master/texmf-dist/doc/latex/GS1/examples/int_set_to_EAN_control_digit.tex
    trunk/Master/texmf-dist/doc/latex/GS1/rule-D.pdf
    trunk/Master/texmf-dist/source/latex/GS1/GS1.dtx
    trunk/Master/texmf-dist/source/latex/GS1/rule-D.dtx
    trunk/Master/texmf-dist/tex/latex/GS1/GS1.sty
    trunk/Master/texmf-dist/tex/latex/GS1/rule-D.sty

Modified: trunk/Master/texmf-dist/doc/latex/GS1/GS1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/EANBarcode.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/EANBarcode.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/GS1/examples/EANBarcode.tex	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/doc/latex/GS1/examples/EANBarcode.tex	2017-07-16 20:51:52 UTC (rev 44822)
@@ -16,7 +16,7 @@
 %% 
 %% Do not distribute modified version of this file.
 %% 
-%% File: GS1.dtx Copyright (C) 2012 Markus Kohm
+%% File: GS1.dtx Copyright (C) 2012-2017 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
@@ -31,8 +31,8 @@
 %% The released version of this bundle is available from CTAN.
 %%
 %% -------------------------------------------------------------------------
-\RequirePackage{expl3}
-\GetIdInfo$Id: GS1.dtx 15 2012-08-27 10:25:03Z mjk $
+\RequirePackage{expl3}[2017/05/29]
+\GetIdInfo$Id: GS1.dtx 22 2017-07-15 18:03:18Z mjk $
   {GS1 code handler and barcode generator}
 \documentclass{article}
 \usepackage{GS1}
@@ -40,7 +40,7 @@
 \msg_new:nnn { GS1/test } { function }
   {
     Something~is~wrong~with~function~#1
-    \msg_line_context:~~of~\c_job_name_tl.tex.
+    \msg_line_context:~~of~\c_sys_jobname_str.tex.
   }
 \ExplSyntaxOff
 \begin{document}

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/EANControlDigit.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/EANControlDigit.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/GS1/examples/EANControlDigit.tex	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/doc/latex/GS1/examples/EANControlDigit.tex	2017-07-16 20:51:52 UTC (rev 44822)
@@ -16,7 +16,7 @@
 %% 
 %% Do not distribute modified version of this file.
 %% 
-%% File: GS1.dtx Copyright (C) 2012 Markus Kohm
+%% File: GS1.dtx Copyright (C) 2012-2017 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
@@ -31,8 +31,8 @@
 %% The released version of this bundle is available from CTAN.
 %%
 %% -------------------------------------------------------------------------
-\RequirePackage{expl3}
-\GetIdInfo$Id: GS1.dtx 15 2012-08-27 10:25:03Z mjk $
+\RequirePackage{expl3}[2017/05/29]
+\GetIdInfo$Id: GS1.dtx 22 2017-07-15 18:03:18Z mjk $
   {GS1 code handler and barcode generator}
 \documentclass{article}
 \usepackage{GS1}
@@ -40,7 +40,7 @@
 \msg_new:nnn { GS1/test } { function }
   {
     Something~is~wrong~with~function~#1
-    \msg_line_context:~~of~\c_job_name_tl.tex.
+    \msg_line_context:~~of~\c_sys_jobname_str.tex.
   }
 \ExplSyntaxOff
 \begin{document}

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/GSSetup.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/GSSetup.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/GS1/examples/GSSetup.tex	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/doc/latex/GS1/examples/GSSetup.tex	2017-07-16 20:51:52 UTC (rev 44822)
@@ -16,7 +16,7 @@
 %% 
 %% Do not distribute modified version of this file.
 %% 
-%% File: GS1.dtx Copyright (C) 2012 Markus Kohm
+%% File: GS1.dtx Copyright (C) 2012-2017 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
@@ -31,8 +31,8 @@
 %% The released version of this bundle is available from CTAN.
 %%
 %% -------------------------------------------------------------------------
-\RequirePackage{expl3}
-\GetIdInfo$Id: GS1.dtx 15 2012-08-27 10:25:03Z mjk $
+\RequirePackage{expl3}[2017/05/29]
+\GetIdInfo$Id: GS1.dtx 22 2017-07-15 18:03:18Z mjk $
   {GS1 code handler and barcode generator}
 \documentclass{article}
 \usepackage{GS1}
@@ -40,7 +40,7 @@
 \msg_new:nnn { GS1/test } { function }
   {
     Something~is~wrong~with~function~#1
-    \msg_line_context:~~of~\c_job_name_tl.tex.
+    \msg_line_context:~~of~\c_sys_jobname_str.tex.
   }
 \ExplSyntaxOff
 \begin{document}

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_cut_EAN_control_digit.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_cut_EAN_control_digit.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_cut_EAN_control_digit.tex	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_cut_EAN_control_digit.tex	2017-07-16 20:51:52 UTC (rev 44822)
@@ -16,7 +16,7 @@
 %% 
 %% Do not distribute modified version of this file.
 %% 
-%% File: GS1.dtx Copyright (C) 2012 Markus Kohm
+%% File: GS1.dtx Copyright (C) 2012-2017 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
@@ -31,8 +31,8 @@
 %% The released version of this bundle is available from CTAN.
 %%
 %% -------------------------------------------------------------------------
-\RequirePackage{expl3}
-\GetIdInfo$Id: GS1.dtx 15 2012-08-27 10:25:03Z mjk $
+\RequirePackage{expl3}[2017/05/29]
+\GetIdInfo$Id: GS1.dtx 22 2017-07-15 18:03:18Z mjk $
   {GS1 code handler and barcode generator}
 \documentclass{article}
 \usepackage{GS1}
@@ -40,7 +40,7 @@
 \msg_new:nnn { GS1/test } { function }
   {
     Something~is~wrong~with~function~#1
-    \msg_line_context:~~of~\c_job_name_tl.tex.
+    \msg_line_context:~~of~\c_sys_jobname_str.tex.
   }
 \ExplSyntaxOff
 \begin{document}

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_EAN_control_digit.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_EAN_control_digit.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_EAN_control_digit.tex	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_EAN_control_digit.tex	2017-07-16 20:51:52 UTC (rev 44822)
@@ -16,7 +16,7 @@
 %% 
 %% Do not distribute modified version of this file.
 %% 
-%% File: GS1.dtx Copyright (C) 2012 Markus Kohm
+%% File: GS1.dtx Copyright (C) 2012-2017 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
@@ -31,8 +31,8 @@
 %% The released version of this bundle is available from CTAN.
 %%
 %% -------------------------------------------------------------------------
-\RequirePackage{expl3}
-\GetIdInfo$Id: GS1.dtx 15 2012-08-27 10:25:03Z mjk $
+\RequirePackage{expl3}[2017/05/29]
+\GetIdInfo$Id: GS1.dtx 22 2017-07-15 18:03:18Z mjk $
   {GS1 code handler and barcode generator}
 \documentclass{article}
 \usepackage{GS1}
@@ -40,7 +40,7 @@
 \msg_new:nnn { GS1/test } { function }
   {
     Something~is~wrong~with~function~#1
-    \msg_line_context:~~of~\c_job_name_tl.tex.
+    \msg_line_context:~~of~\c_sys_jobname_str.tex.
   }
 \ExplSyntaxOff
 \begin{document}

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_code_digit_seq.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_code_digit_seq.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_code_digit_seq.tex	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/doc/latex/GS1/examples/GS_set_code_digit_seq.tex	2017-07-16 20:51:52 UTC (rev 44822)
@@ -16,7 +16,7 @@
 %% 
 %% Do not distribute modified version of this file.
 %% 
-%% File: GS1.dtx Copyright (C) 2012 Markus Kohm
+%% File: GS1.dtx Copyright (C) 2012-2017 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
@@ -31,8 +31,8 @@
 %% The released version of this bundle is available from CTAN.
 %%
 %% -------------------------------------------------------------------------
-\RequirePackage{expl3}
-\GetIdInfo$Id: GS1.dtx 15 2012-08-27 10:25:03Z mjk $
+\RequirePackage{expl3}[2017/05/29]
+\GetIdInfo$Id: GS1.dtx 22 2017-07-15 18:03:18Z mjk $
   {GS1 code handler and barcode generator}
 \documentclass{article}
 \usepackage{GS1}
@@ -40,7 +40,7 @@
 \msg_new:nnn { GS1/test } { function }
   {
     Something~is~wrong~with~function~#1
-    \msg_line_context:~~of~\c_job_name_tl.tex.
+    \msg_line_context:~~of~\c_sys_jobname_str.tex.
   }
 \ExplSyntaxOff
 \begin{document}

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/int_set_to_EAN_control_digit.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/GS1/examples/int_set_to_EAN_control_digit.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/GS1/examples/int_set_to_EAN_control_digit.tex	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/doc/latex/GS1/examples/int_set_to_EAN_control_digit.tex	2017-07-16 20:51:52 UTC (rev 44822)
@@ -16,7 +16,7 @@
 %% 
 %% Do not distribute modified version of this file.
 %% 
-%% File: GS1.dtx Copyright (C) 2012 Markus Kohm
+%% File: GS1.dtx Copyright (C) 2012-2017 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
@@ -31,8 +31,8 @@
 %% The released version of this bundle is available from CTAN.
 %%
 %% -------------------------------------------------------------------------
-\RequirePackage{expl3}
-\GetIdInfo$Id: GS1.dtx 15 2012-08-27 10:25:03Z mjk $
+\RequirePackage{expl3}[2017/05/29]
+\GetIdInfo$Id: GS1.dtx 22 2017-07-15 18:03:18Z mjk $
   {GS1 code handler and barcode generator}
 \documentclass{article}
 \usepackage{GS1}
@@ -40,7 +40,7 @@
 \msg_new:nnn { GS1/test } { function }
   {
     Something~is~wrong~with~function~#1
-    \msg_line_context:~~of~\c_job_name_tl.tex.
+    \msg_line_context:~~of~\c_sys_jobname_str.tex.
   }
 \ExplSyntaxOff
 \begin{document}

Modified: trunk/Master/texmf-dist/doc/latex/GS1/rule-D.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/GS1/GS1.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/GS1/GS1.dtx	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/source/latex/GS1/GS1.dtx	2017-07-16 20:51:52 UTC (rev 44822)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-%% File: GS1.dtx Copyright (C) 2012 Markus Kohm
+%% File: GS1.dtx Copyright (C) 2012-2017 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|test>
-\RequirePackage{expl3}
-\GetIdInfo$Id: GS1.dtx 15 2012-08-27 10:25:03Z mjk $
+\RequirePackage{expl3}[2017/05/29]
+\GetIdInfo$Id: GS1.dtx 22 2017-07-15 18:03:18Z mjk $
   {GS1 code handler and barcode generator}
 %</driver|package|test>
 %<*driver>
@@ -34,7 +34,7 @@
 \msg_new:nnn { GS1/test } { function }
   {
     Something~is~wrong~with~function~#1
-    \msg_line_context:~~of~\c_job_name_tl.tex.
+    \msg_line_context:~~of~\c_sys_jobname_str.tex.
   }
 \ExplSyntaxOff
 \begin{document}
@@ -128,6 +128,18 @@
 %   will be removed.  All other cases result in an error message.
 % \end{function}
 %
+% \begin{function}{\GS_set_EAN_control_digit:N}
+%   \begin{syntax}
+%     "\GS_set_EAN_control_digit:N" \meta{GS1 sequence variable}
+%   \end{syntax}
+%   The \meta{GS1 sequence variable} should store either a EAN-8 or EAN-13
+%   code with or without control digit.  A new control digit will be
+%   calculated.  If the code has seven or twelve digits the new control digit
+%   will be added.  If the code has eight or 13 digits, the old control digit
+%   will be replaced by the new one.  All other cases result in an error
+%   message.
+% \end{function}
+%
 % \begin{function}{\int_set_to_EAN_control_digit:NN}
 %   \begin{syntax}
 %     "\int_set_to_EAN_control_digit:NN" \meta{integer variable} \meta{GS1 sequence variable}
@@ -315,7 +327,6 @@
 %    \end{macrocode}
 % and what it requires:
 %    \begin{macrocode}
-\RequirePackage{expl3}[2012/07/16]
 \RequirePackage{rule-D}
 %    \end{macrocode}
 %
@@ -410,9 +421,9 @@
 % These settings will influence the work of several of the user functions.
 % They are defined as keys of family \texttt{GS1}.
 %
-% \begin{macro}{ \l_GS_use_ocrb_bool, \l_GS_module_wd_dim,
+% \begin{variable}{ \l_GS_use_ocrb_bool, \l_GS_module_wd_dim,
 %   \l_GS_module_ht_dim, \l_GS_scale_fp, \l_GS_scale_to_font_bool,
-%   \l_GS_add_control_bool, \l_GS_code_type_tl, l_GS_code_size_int }
+%   \l_GS_add_control_bool, \l_GS_code_type_tl, \l_GS_code_size_int }
 % \begin{macro}{\__GS_set_key_code:nn}
 %   Needed to set both \cmd{\l_GS_code_type_tl} and \cmd{\l_GS_code_size_int}
 %   with one key.  Together they are the type of code, to be handled.
@@ -449,7 +460,7 @@
     add_control   .initial:n  = false,
   }
 %    \end{macrocode}
-% \end{macro}
+% \end{variable}
 %
 % Note: Later I'll define a \LaTeXe{} command to change the defaults of those
 % keys.  Additionally local changes of those keys may be done using the
@@ -467,6 +478,9 @@
 % \subsubsection{Messages}
 % \label{seq:impl.messages}
 %
+% We need a message for not supported lengths of EAN codes, because currently
+% only EAN-8 and EAN-13 are supported, both with or without control
+% digit. This message will be used as an error message.
 %    \begin{macrocode}
 \msg_new:nnnn { GS1 } { EAN-code-size }
   {
@@ -477,7 +491,12 @@
     nor~a~EAN-13~with~or~without~control~digit.\\\\
     The~GS1~module~currently~only~supports~EAN-8~and~EAN~13.
   }
-
+%    \end{macrocode}
+%
+% Another message is only a warning message. It will be used whenever the used
+% module width would be less than the minimum module width given by the GS1
+% specification.
+%    \begin{macrocode}
 \msg_new:nnn { GS1 } { module/minwidth }
   {
     Resulting~module~width~is~less~than~allowed~minimum~\msg_line_context:.\\\\
@@ -556,7 +575,9 @@
 % \fi
 % \end{macro}
 %
-% \begin{macro}{\GS_cut_EAN_control_digit:N}
+% \begin{macro}[updated = 2017-07-15]{\GS_cut_EAN_control_digit:N}
+%   \changes{v18}{2017/07/15}{replaced removed \cs{int_case:nnn} by
+%     \cs{int_case:nnF}}^^A
 %   EAN code sequences with control digit are either 8 or 13 digits.  To
 %   remove the control digit we just have to remove the right most digit from
 %   a 8 or 13 digits sequence.  7 or 12 digit sequences are already without
@@ -564,7 +585,7 @@
 %    \begin{macrocode}
 \cs_new_nopar:Npn \GS_cut_EAN_control_digit:N #1 
   {
-    \int_case:nnn 
+    \int_case:nnF 
       { \seq_count:N #1 }
       {
         {  7 } {  }
@@ -707,7 +728,7 @@
 % \fi
 % \end{macro}
 %
-% \begin{macro}{\__GS_modules:Nn, \__GS_modules:NnN,
+% \begin{macro}{\__GS_modules:Nn, \__GS_modules:NnN, \__GS_modules:cn,
 %   \__GS_modules_start_black:Nn, \__GS_modules_start_white:Nn} 
 %    \begin{macrocode}
 \cs_new_nopar:Npn \@@_modules:Nn #1#2
@@ -1000,3 +1021,9 @@
 \endinput
 %
 % end of file
+
+% \endinput
+% Local Variables:
+% mode: doctex
+% TeX-master: t
+% End:

Modified: trunk/Master/texmf-dist/source/latex/GS1/rule-D.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/GS1/rule-D.dtx	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/source/latex/GS1/rule-D.dtx	2017-07-16 20:51:52 UTC (rev 44822)
@@ -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 }

Modified: trunk/Master/texmf-dist/tex/latex/GS1/GS1.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/GS1/GS1.sty	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/tex/latex/GS1/GS1.sty	2017-07-16 20:51:52 UTC (rev 44822)
@@ -16,7 +16,7 @@
 %% 
 %% Do not distribute modified version of this file.
 %% 
-%% File: GS1.dtx Copyright (C) 2012 Markus Kohm
+%% File: GS1.dtx Copyright (C) 2012-2017 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
@@ -31,12 +31,11 @@
 %% The released version of this bundle is available from CTAN.
 %%
 %% -------------------------------------------------------------------------
-\RequirePackage{expl3}
-\GetIdInfo$Id: GS1.dtx 15 2012-08-27 10:25:03Z mjk $
+\RequirePackage{expl3}[2017/05/29]
+\GetIdInfo$Id: GS1.dtx 22 2017-07-15 18:03:18Z mjk $
   {GS1 code handler and barcode generator}
 \ProvidesExplPackage
   {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
-\RequirePackage{expl3}[2012/07/16]
 \RequirePackage{rule-D}
 \cs_new_nopar:Npn \__GS_new_seq_c:cn #1#2
   {
@@ -119,7 +118,6 @@
     nor~a~EAN-13~with~or~without~control~digit.\\\\
     The~GS1~module~currently~only~supports~EAN-8~and~EAN~13.
   }
-
 \msg_new:nnn { GS1 } { module/minwidth }
   {
     Resulting~module~width~is~less~than~allowed~minimum~\msg_line_context:.\\\\
@@ -143,7 +141,7 @@
   }
 \cs_new_nopar:Npn \GS_cut_EAN_control_digit:N #1
   {
-    \int_case:nnn
+    \int_case:nnF
       { \seq_count:N #1 }
       {
         {  7 } {  }

Modified: trunk/Master/texmf-dist/tex/latex/GS1/rule-D.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/GS1/rule-D.sty	2017-07-16 20:51:17 UTC (rev 44821)
+++ trunk/Master/texmf-dist/tex/latex/GS1/rule-D.sty	2017-07-16 20:51:52 UTC (rev 44822)
@@ -31,13 +31,12 @@
 %% The released version of this bundle is available from CTAN.
 %%
 %% -------------------------------------------------------------------------
-\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}
 \ProvidesExplPackage
   {rule-D} {\ExplFileDate} {\ExplFileVersion}
   {experimental~L3~rule~functions}
-\RequirePackage{expl3}
 \cs_new:Npn \rule:nn #1#2
   {
     \rule:nnn { \c_zero_dim } { #1 } { #2 }
@@ -44,7 +43,7 @@
   }
 \cs_new:Npn \rule:nnn #1#2#3
   {
-    \leavevmode
+    \hbox_unpack_clear:N \c_empty_box
     \hbox:n
       {
         \tex_vrule:D width \dim_eval:n { #2 }



More information about the tex-live-commits mailing list