| 1 |
%% |
| 2 |
%% This is file `scraddr.sty', |
| 3 |
%% generated with the docstrip utility, extended by scrdocstrip. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% scraddr.dtx (with options: `scraddr') |
| 8 |
%% scrlogo.dtx (with options: `logo') |
| 9 |
%% |
| 10 |
%% Copyright (c) 2006-2026 Markus Kohm [komascript at gmx info] |
| 11 |
%% |
| 12 |
%% This file was generated from file(s) of the KOMA-Script bundle. |
| 13 |
%% --------------------------------------------------------------- |
| 14 |
%% |
| 15 |
%% It may be distributed under the conditions of the |
| 16 |
%% LaTeX Project Public License in the version distributed together |
| 17 |
%% with KOMA-Script, see file `lppl.txt' or `lppl-de.txt'. |
| 18 |
%% |
| 19 |
%% This file may only be distributed together with a copy of the |
| 20 |
%% KOMA-Script bundle. You may however distribute the |
| 21 |
%% KOMA-Script bundle without all such generated files. See also |
| 22 |
%% `lppl.txt' or `lppl-de.txt' for additional information. |
| 23 |
%% |
| 24 |
%% The list of files belonging to KOMA-Script distribution is given in |
| 25 |
%% the file `MANIFEST.md'. See also `lppl.txt' or `lppl-de.txt' for |
| 26 |
%% additional information. |
| 27 |
%% |
| 28 |
%% If this file is a beta version, you may not be allowed to distribute |
| 29 |
%% it. Look at the comments below to see if this is the case. |
| 30 |
%% |
| 31 |
%% English and German manuals are part of KOMA-Script bundle. |
| 32 |
%% ---------------------------------------------------------- |
| 33 |
%% |
| 34 |
%% See `README'. |
| 35 |
%% |
| 36 |
%% The KOMA-Script bundle (but maybe not this file) was based upon the |
| 37 |
%% LaTeX 2.09 Script family created by Frank Neukam 1993 and the LaTeX2e |
| 38 |
%% standard classes created by The LaTeX3 Project 1994-1996. You can |
| 39 |
%% find a complete unmodified copy of LaTeX2e at |
| 40 |
%% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. |
| 41 |
%% |
| 42 |
%%% From File: $Id: scraddr.dtx 4181 2025-06-14 09:11:13Z kohm $ |
| 43 |
\NeedsTeXFormat{LaTeX2e}[1995/12/01] |
| 44 |
\ProvidesPackage{scraddr} |
| 45 |
[2022/01/24 v1.1d KOMA-Script |
| 46 |
package] |
| 47 |
\newcommand*{\@adrFIVerror}{} |
| 48 |
\DeclareOption{adrFreeIVempty}{\renewcommand*{\@adrFIVerror}{0}} |
| 49 |
\DeclareOption{adrFreeIVshow}{\renewcommand*{\@adrFIVerror}{1}} |
| 50 |
\DeclareOption{adrFreeIVwarn}{\renewcommand*{\@adrFIVerror}{2}} |
| 51 |
\DeclareOption{adrFreeIVstop}{\renewcommand*{\@adrFIVerror}{3}} |
| 52 |
\ExecuteOptions{adrFreeIVshow} |
| 53 |
\ProcessOptions\relax |
| 54 |
\newcommand{\InputAddressFile}[1]{\begingroup |
| 55 |
\ifcase\@adrFIVerror |
| 56 |
\def\adrentry##1##2##3##4##5##6##7{% |
| 57 |
\addrentry{##1}{##2}{##3}{##4}{##5}{##6}{##7}{}}% |
| 58 |
\or |
| 59 |
\def\adrentry##1##2##3##4##5##6##7##8{% |
| 60 |
\addrentry{##1}{##2}{##3}{##4}{##5}{##6}{##7}{% |
| 61 |
(entry FreeIV undefined at `##8')}{##8}}% |
| 62 |
\or |
| 63 |
\def\adrentry##1##2##3##4##5##6##7##8{% |
| 64 |
\addrentry{##1}{##2}{##3}{##4}{##5}{##6}{##7}{% |
| 65 |
\PackageWarning{scraddr}{% |
| 66 |
`##8' was defined using \string\adrentry\MessageBreak |
| 67 |
so \string\FreeIV-entry is not defined}}{##8}}% |
| 68 |
\else |
| 69 |
\def\adrentry##1##2##3##4##5##6##7##8{% |
| 70 |
\addrentry{##1}{##2}{##3}{##4}{##5}{##6}{##7}{% |
| 71 |
\PackageError{scraddr}{% |
| 72 |
\string\FreeIV\space undefined at `##8'}{% |
| 73 |
`##8' was defined using \string\adrentry\MessageBreak |
| 74 |
so \string\FreeIV-entry is not defined.\MessageBreak |
| 75 |
You may continue but you should check output}}{##8}}% |
| 76 |
\fi |
| 77 |
\providecommand*{\addrchar}[1]{}% |
| 78 |
\providecommand*{\adrchar}{\addrchar}% |
| 79 |
\def\addrentry##1##2##3##4##5##6##7##8##9{% |
| 80 |
\def\@tempa{##9}\ifx\@tempa\@empty\else |
| 81 |
\expandafter\gdef\csname ##9.LN\endcsname{##1} |
| 82 |
\expandafter\gdef\csname ##9.FN\endcsname{##2} |
| 83 |
\expandafter\gdef\csname ##9.A\endcsname{##3} |
| 84 |
\expandafter\gdef\csname ##9.P\endcsname{##4} |
| 85 |
\expandafter\gdef\csname ##9.FI\endcsname{##5} |
| 86 |
\expandafter\gdef\csname ##9.FII\endcsname{##6} |
| 87 |
\expandafter\gdef\csname ##9.FIII\endcsname{##7} |
| 88 |
\expandafter\gdef\csname ##9.FIV\endcsname{##8} |
| 89 |
\fi} |
| 90 |
\InputIfFileExists{#1.adr} |
| 91 |
{% |
| 92 |
\@ifundefined{PackageNote}{\PackageInfo}{\PackageNote}% |
| 93 |
{scraddr}{Address file `#1.adr' loaded}% |
| 94 |
}% |
| 95 |
{% |
| 96 |
\PackageError{scraddr} |
| 97 |
{File `#1.adr' not found} |
| 98 |
{The address file you wanted is not available}% |
| 99 |
} |
| 100 |
\endgroup} |
| 101 |
\newcommand*{\Name}[1]{\FirstName{#1}\ \LastName{#1}} |
| 102 |
\newcommand*{\FirstName}[1]{\csname #1.FN\endcsname} |
| 103 |
\newcommand*{\LastName}[1]{\csname #1.LN\endcsname} |
| 104 |
\newcommand*{\Address}[1]{\csname #1.A\endcsname} |
| 105 |
\newcommand*{\Telephone}[1]{\csname #1.P\endcsname} |
| 106 |
\newcommand*{\FreeI}[1]{\csname #1.FI\endcsname} |
| 107 |
\newcommand*{\FreeII}[1]{\csname #1.FII\endcsname} |
| 108 |
\newcommand*{\Comment}{} |
| 109 |
\newcommand*{\FreeIII}[1]{\csname #1.FIII\endcsname} |
| 110 |
\let\Comment\FreeIII |
| 111 |
\newcommand*{\FreeIV}[1]{\csname #1.FIV\endcsname} |
| 112 |
%%% From File: $Id: scrlogo.dtx 4032 2023-04-17 09:45:11Z kohm $ |
| 113 |
\RequirePackage{scrlogo} |
| 114 |
\endinput |
| 115 |
%% |
| 116 |
%% End of file `scraddr.sty'. |