| 1 |
%% |
| 2 |
%% This is file `GSSetup.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% GS1.dtx (with options: `test,GSSetup') |
| 8 |
%% |
| 9 |
%% EXPERIMENTAL CODE |
| 10 |
%% |
| 11 |
%% This Work depends on the correct version of expl3 release. If |
| 12 |
%% you'll update expl3 you may need a update of this this Work too. |
| 13 |
%% |
| 14 |
%% Do not distribute this file without also distributing the |
| 15 |
%% source files specified above. |
| 16 |
%% |
| 17 |
%% Do not distribute modified version of this file. |
| 18 |
%% |
| 19 |
%% File: GS1.dtx Copyright (C) 2012-2017 Markus Kohm |
| 20 |
%% |
| 21 |
%% It may be distributed and/or modified under the conditions of the |
| 22 |
%% LaTeX Project Public License (LPPL), either version 1.3c of this |
| 23 |
%% license or (at your option) any later version. The latest version |
| 24 |
%% of this license is in the file |
| 25 |
%% |
| 26 |
%% http://www.latex-project.org/lppl.txt |
| 27 |
%% |
| 28 |
%% This file is part of the "GS1 bundle" (The Work in LPPL) |
| 29 |
%% and all files in that bundle must be distributed together. |
| 30 |
%% |
| 31 |
%% The released version of this bundle is available from CTAN. |
| 32 |
%% |
| 33 |
%% ------------------------------------------------------------------------- |
| 34 |
\RequirePackage{expl3}[2017/05/29] |
| 35 |
\GetIdInfo$Id: GS1.dtx 23 2021-06-17 07:00:36Z mjk $ |
| 36 |
{GS1 code handler and barcode generator} |
| 37 |
\documentclass{article} |
| 38 |
\usepackage{GS1} |
| 39 |
\ExplSyntaxOn |
| 40 |
\msg_new:nnn { GS1/test } { function } |
| 41 |
{ |
| 42 |
Something~is~wrong~with~function~#1 |
| 43 |
\msg_line_context:~~of~\c_sys_jobname_str.tex. |
| 44 |
} |
| 45 |
\ExplSyntaxOff |
| 46 |
\begin{document} |
| 47 |
\raggedright |
| 48 |
\verb|\EANBarcode{ISBN 978-3-86541-459-5}|: |
| 49 |
\EANBarcode{ISBN 978-3-86541-459-5} |
| 50 |
|
| 51 |
\verb|\EANBarcode[add_control]{ISBN 978-3-86541-459-}|: |
| 52 |
\EANBarcode[add_control]{ISBN 978-3-86541-459-} |
| 53 |
|
| 54 |
\verb|\EANBarcode[ocrb=false]{ISBN 978-3-86541-459-5}|: |
| 55 |
\EANBarcode[ocrb=false]{ISBN 978-3-86541-459-5} |
| 56 |
|
| 57 |
\verb|\EANBarcode[code=EAN-8]{20123451}|: |
| 58 |
\EANBarcode[code=EAN-8]{20123451} |
| 59 |
|
| 60 |
\verb|\EANBarcode[code=EAN-8,ocrb=false,add_control]{2012345}|: |
| 61 |
\EANBarcode[code=EAN-8,ocrb=false,add_control]{2012345} |
| 62 |
|
| 63 |
After \verb|\GSSetup{ocrb=false,add_control}|: |
| 64 |
\GSSetup{ocrb=false,add_control} |
| 65 |
|
| 66 |
\verb|\EANBarcode[code=EAN-8]{2012345}|: |
| 67 |
\EANBarcode[code=EAN-8]{2012345} |
| 68 |
|
| 69 |
\verb|\EANBarcode[code=EAN-8,ocrb,add_control=false]{20123451}|: |
| 70 |
\EANBarcode[code=EAN-8,ocrb,add_control=false]{20123451} |
| 71 |
|
| 72 |
\end{document} |
| 73 |
%% |
| 74 |
%% |
| 75 |
%% End of file `GSSetup.tex'. |