From 97f4d34e17013b3239a49484afcb3d805ab09f38 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Thu, 6 Jul 2023 03:01:07 +0000
Subject: CTAN sync 202307060301

---
 macros/latex/contrib/tuda-ci/tex/tudabeamer.cls | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

(limited to 'macros/latex/contrib/tuda-ci/tex/tudabeamer.cls')

diff --git a/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls b/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls
index a3b978eb87..7443ad5c51 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls
@@ -1,4 +1,4 @@
-%% This is file `tudabeamer.cls' version 3.32 (2023/06/19),
+%% This is file `tudabeamer.cls' version 3.33 (2023/07/05),
 %% it is part of
 %% TUDa-CI -- Corporate Design for TU Darmstadt
 %% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
 %%
 %% ============================================================================
 %%
-\def\fileversion{3.32}
-\def\filedate{2023/06/19}
+\def\fileversion{3.33}
+\def\filedate{2023/07/05}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{tudabeamer}
  [\filedate\space\fileversion\space]
@@ -72,15 +72,22 @@
 	mecheng .meta:n = {department=mecheng},
 	departmentlogofile .tl_gset:N = \g_ptxcd_departmentlogo_tl,
 	departmentlogofile .initial:n =,
-	color .code:n =
-	 \tl_if_in:nnTF {#1} {=} {
+	color .code:n = {
+		\tl_if_in:nnTF {#1} {=} {
+			\msg_new:nnn {tudabeamer} {color-option-warning} {
+				The~color~option~should~no~longer~be~used~to~pass~options~to~the~tudacolors~package.\\
+				Please~use~tudacolors={##1}~instead~of~color={##1}.\\
+				See~the~tudabeamer~documentation~for~more~information.
+			}
+			\msg_warning:nnn {tudabeamer} {color-option-warning} {#1}
 			\PassOptionsToPackage{#1}{tudacolors}
 		} {
 			\PassOptionsToPackage{color=#1}{tudacolors}
 		}
+	},
+		tudacolors .code:n = \tl_show:n {#1}\PassOptionsToPackage{#1}{tudacolors},
 }
 
-
 \clist_map_inline:nn {colortitle, colorbacktitle, colorback} {
 	\Module@DeclarePassOption[ptxcd/beamer]{#1}{beamercolorthemeTUDa}
 }
-- 
cgit v1.2.3

