From be6bea34fdccbe0b80ba98b4c11b13d994001323 Mon Sep 17 00:00:00 2001
From: Norbert Preining <preining@logic.at>
Date: Sat, 3 Apr 2021 23:58:12 +0000
Subject: tudscr (4apr21)

git-svn-id: svn://tug.org/texlive/trunk@58713 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls')

diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
index 1a510b64a44..916f500b6d8 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
@@ -30,7 +30,7 @@
 %% 
 %% TUD-Script -- Corporate Design of Technische Universitaet Dresden
 %% 
-%%   2020/11/10 v2.06k TUD-Script
+%%   2021/03/30 v2.06l TUD-Script
 %% 
 %% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2020
 %% 
@@ -73,13 +73,13 @@
       \fi%
     }
   \fi
-  \TUD@Version@Check{2020/11/10 v2.06k TUD-Script}
+  \TUD@Version@Check{2021/03/30 v2.06l TUD-Script}
 \endgroup
 \NeedsTeXFormat{LaTeX2e}[2019/10/01]
 \providecommand*\tudscrmail{hanisch.latex@outlook.com}
 \newcommand*\TUD@ProvidesClass[3]{%
   \ProvidesClass{#1}[%
-  2020/11/10 v2.06k TUD-Script
+  2021/03/30 v2.06l TUD-Script
     #3 (#2)%
   ]%
   \newcommand*\TUD@Class@KOMA{#2}%
@@ -1021,7 +1021,7 @@
 }
 \newcommand*\tud@x@scr@checkoptions{%
   \expandafter\tud@x@scr@pt\CurrentOption pt\@nil%
-  \PassOptionsToClass{\CurrentOption}{\TUD@Class@KOMA}%
+  \expandafter\PassOptionsToClass\expandafter{\CurrentOption}{\TUD@Class@KOMA}%
 }
 \newcommand*\tud@x@scr@pt{}
 \def\tud@x@scr@pt #1pt#2\@nil{%
@@ -1187,6 +1187,7 @@
 \csdef{tud@v@2.06i}{4}
 \csdef{tud@v@2.06j}{4}
 \csdef{tud@v@2.06k}{4}
+\csdef{tud@v@2.06l}{4}
 \csdef{tud@v@last}{4}
 \newcommand*\tud@v@get[2]{%
   \begingroup%
@@ -1589,7 +1590,7 @@
   \if@tud@res@swa\else%
     \AtBeginDocument{%
       \if@tud@cdmath@active%
-        \ClassWarning{\TUD@Class@Name}%
+        \ClassWarningNoLine{\TUD@Class@Name}%
         {%
           Some math font encodings are missing. \MessageBreak%
           The option `cdmath=false' is executed. You should\MessageBreak%
@@ -5103,6 +5104,7 @@
 \if@tud@x@standalone@crop
   \PreventPackageFromLoading{scrlayer-scrpage}%
 \else
+  \PassOptionsToPackage{automark}{scrlayer-scrpage}%
   \AtEndPreamble{\RequirePackage{scrlayer-scrpage}[2020/09/21]}%
 \fi
 \AfterPackage{scrlayer-scrpage}{%
@@ -5413,6 +5415,7 @@
 }{}{\tud@patch@wrn{pagestyle}}
 \tud@cs@store{pagestyle}
 \renewcommand*\pagestyle[1]{%
+  \csuse{ps@#1}%
   \AfterAtEndOfPackage*{scrlayer-scrpage}{\pagestyle{#1}}%
 }
 \BeforePackage{scrlayer-scrpage}{%
@@ -7642,8 +7645,8 @@
       \ClassWarningNoLine{\TUD@Class@Name}{%
         You've set a layout size, which is different from\MessageBreak%
         default (paper=a4, paper=portrait). Therefore you\MessageBreak%
-        should additionally specify an explicit font size. \MessageBreak%
-        See the manual for further information%
+        should explicitly specify an font size. See the\MessageBreak%
+        manual for further information%
       }%
     \fi%
   \fi%
-- 
cgit v1.2.3

