summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/scraddr.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scraddr.sty')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/scraddr.sty16
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scraddr.sty b/Master/texmf-dist/tex/latex/koma-script/scraddr.sty
index 96dca358d3f..dac68336935 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scraddr.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/scraddr.sty
@@ -39,7 +39,7 @@
%% find a complete unmodified copy of LaTeX2e at
%% <http://mirror.ctan.org/tex-archive/macros/latex/base/>.
%%
-%%% From File: $Id: scraddr.dtx 4032 2023-04-17 09:45:11Z kohm $
+%%% From File: $Id: scraddr.dtx 4104 2024-02-01 09:52:39Z kohm $
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{scraddr}
[2022/01/24 v1.1d KOMA-Script
@@ -88,11 +88,15 @@
\expandafter\gdef\csname ##9.FIV\endcsname{##8}
\fi}
\InputIfFileExists{#1.adr}
- {\typeout{Load addressfile: #1.adr.}}
- {\PackageError{scraddr}
- {File #1.adr not found}
- {The addressfile you wanted is not
- available}}
+ {%
+ \@ifundefined{PackageNote}{\PackageInfo}{\PackageNote}%
+ {scraddr}{Address file `#1.adr' loaded}%
+ }%
+ {%
+ \PackageError{scraddr}
+ {File `#1.adr' not found}
+ {The address file you wanted is not available}%
+ }
\endgroup}
\newcommand*{\Name}[1]{\FirstName{#1}\ \LastName{#1}}
\newcommand*{\FirstName}[1]{\csname #1.FN\endcsname}