diff options
Diffstat (limited to 'macros/latex/contrib/koma-script/scrkernel-version.dtx')
-rw-r--r-- | macros/latex/contrib/koma-script/scrkernel-version.dtx | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/macros/latex/contrib/koma-script/scrkernel-version.dtx b/macros/latex/contrib/koma-script/scrkernel-version.dtx index 96f1ac8db5..4fe0b81e5f 100644 --- a/macros/latex/contrib/koma-script/scrkernel-version.dtx +++ b/macros/latex/contrib/koma-script/scrkernel-version.dtx @@ -18,7 +18,7 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrkernel-version.dtx 3962 2022-10-12 06:33:06Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4028 2023-04-17 07:36:28Z kohm $ % % ATTENTION: In this file parts of the code and documentation are before the % driver. This must be, because this part of the code is needed by the driver @@ -33,6 +33,7 @@ % \changes{v3.36}{2022/02/11}{switch over from \cls*{scrdoc} to % \cls*{koma-script-source-doc}} % \changes{v3.36}{2022/02/11}{whole implementation documentation in English} +% \changes{v3.99}{2022/10/25}{prepared to generate experimental \KOMAScript~4} % % \GetFileInfo{scrkernel-version.dtx} % \title{The Version of the \href{https://komascript.de}{\KOMAScript} Kernel @@ -138,7 +139,10 @@ % Note: Following line will be patched by \file{makebetaorrelase.sh} and % therefore the syntax or general structure of the line must not be changed! % \begin{macrocode} - \@CheckKOMAScriptVersion{2022/10/12 v3.38 KOMA-Script}% +%<*!v4> + \@CheckKOMAScriptVersion{2023/04/17 v3.39 KOMA-Script}% +%</!v4> +%<v4> \@nameuse{@CheckKOMAScriptVersion}{2023/04/17 v3.39 KOMA-Script}% \endgroup % \end{macrocode} % \end{macro} @@ -196,16 +200,16 @@ % several classes without using always class specific code. % \begin{macrocode} %<*class> -\newcommand*{\KOMAClassName}{% -%<article|(letter&long)> scrartcl% -%<report> scrreprt% -%<book> scrbook% -%<letter&!long> scrlttr2% -} +%<*!v4> +%<article|(letter&long)>\newcommand*{\KOMAClassName}{scrartcl} +%<report>\newcommand*{\KOMAClassName}{scrreprt} +%<book>\newcommand*{\KOMAClassName}{scrbook} +%<letter&!long>\newcommand*{\KOMAClassName}{scrlttr2} %<*!long> \newcommand*{\KOMAClassFileName}{\KOMAClassName.\@clsextension} \edef\KOMAClassFileName{\KOMAClassFileName} %</!long> +%</!v4> \newcommand*{\ClassName}{% %<article|(letter&long)> article% %<report> report% @@ -214,11 +218,17 @@ } %<*long> \newcommand*{\KOMALongClassName}{} +%<*!v4> %<!letter>\edef\KOMALongClassName{scr\ClassName} %<letter>\def\KOMALongClassName{scrletter} +%</!v4> \newcommand*{\KOMALongClassFileName}{\KOMALongClassName.\@clsextension} \edef\KOMALongClassFileName{\KOMALongClassFileName} %</long> +%<*v4> +\edef\KOMAClassName{scr\ClassName4} +\edef\KOMAClassFileName{\KOMAClassName.\@clsextension} +%</v4> % \end{macrocode} % \end{command} % \end{command} @@ -235,14 +245,16 @@ %<letter>\providecommand*{\@ptsize}{12} \expandafter\let\expandafter\KOMAClassName\expandafter\relax \expandafter\LoadClassWithOptions\expandafter{\KOMAClassName} -%<letter>\RequirePackage{scrletter} +%<letter&!v4>\RequirePackage{scrletter} +%<letter&v4>\RequirePackage{scrletter4} %</long> %</class> % \end{macrocode} % % \begin{macrocode} %<*package&letter> -\ProvidesPackage{scrletter}[% +%<!v4>\ProvidesPackage{scrletter}[% +%<v4>\ProvidesPackage{scrletter4}[% %!KOMAScriptVersion letter package extending any KOMA-Script class% ] |