summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/scrlfile.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-04-04 23:13:58 +0000
committerKarl Berry <karl@freefriends.org>2007-04-04 23:13:58 +0000
commit888ae3d22c5cc3e52846f37f393da7fef4933b3a (patch)
treecedfea63f8b31a8ac88cc2f1cedb61b57ada5176 /Master/texmf-dist/source/latex/koma-script/scrlfile.dtx
parent4685491332938d1963868c9e1c57f293fbada1de (diff)
koma-script update
git-svn-id: svn://tug.org/texlive/trunk@4116 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrlfile.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrlfile.dtx17
1 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrlfile.dtx b/Master/texmf-dist/source/latex/koma-script/scrlfile.dtx
index a0b0ee80fdd..b206c4c2727 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrlfile.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrlfile.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{252}
+% \CheckSum{259}
% \iffalse meta-comment
% ======================================================================
% scrlfile.dtx
@@ -58,7 +58,7 @@
%%% From File: scrlfile.dtx
%<*driver|scrlfile|load>
% \fi
-\def\scrlfileversion{2006/07/19 v2.96}
+\def\scrlfileversion{2007/03/07 v2.97a}
% \iffalse
%</driver|scrlfile|load>
%<*driver>
@@ -456,8 +456,10 @@
%
% \begin{macro}{\@loadwithoptions}
% \changes{v2.96}{2006/07/19}{new redefinition}
-% \begin{macro}{\scr@loadwithoption}
+% \begin{macro}{\scr@loadwithoptions}
% \changes{v2.96}{2006/07/19}{new helper macro}
+% \begin{macro}{\scr@@loadwithoptions}
+% \changes{v2.97a}{2007/03/07}{new helper macro}
% \LaTeX{} uses this macro for loading classes and packages using
% \cs{LoadClassWithOptions} or \cs{RequirePackageWithOptions}. We simply say
% now: if the class or package should be replaced by another, try it again
@@ -465,20 +467,25 @@
% error if the replacements are nested too deep. This should be, because it
% will also result in an error using ring replacements.
% \begin{macrocode}
+\newcommand*{\scr@@loadwithoptions}{}
\newcommand*{\scr@loadwithoptions}{}
\let\scr@loadwithoptions\@loadwithoptions
\renewcommand*{\@loadwithoptions}[3]{%
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname #3.#1-@aliasname\endcsname\relax
- \scr@loadwithoptions{#1}{#2}{#3}%
+ \def\scr@@loadwithoptions{\scr@loadwithoptions{#1}{#2}{#3}}%
\else
\scr@replacefile@msg{\csname #3.#1-@aliasname\endcsname.#1}{#3.#1}%
- \@loadwithoptions{#1}{#2}{\csname #3.#1-@aliasname\endcsname}%
+ \def\scr@@loadwithoptions{%
+ \@loadwithoptions{#1}{#2}{\csname #3.#1-@aliasname\endcsname}%
+ }%
\fi
+ \scr@@loadwithoptions
}
% \end{macrocode}
% \end{macro}
% \end{macro}
+% \end{macro}
%
% \begin{macro}{\@onefilewithoption}
% \changes{v2.96}{2006/07/19}{new redefinition}