<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% This is file `bfhmodule.sty' version 2.2.3 (2025-04-01),
%% it is part of
%% BFH-CI -- Corporate Design for Bern University of Applied Sciences
%% ----------------------------------------------------------------------------
%%
%%  Copyright (C) 2021--2025 by
%%      Marei Peischl &lt;marei@peitex.de&gt;
%%      Andreas Habegger &lt;andreas.habegger@bfh.ch&gt;
%%
%% ============================================================================
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008/05/04 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainers of this work are
%%   Marei Peischl &lt;bfh-ci@peitex.de&gt;
%%   Andreas Habegger &lt;andreas.habegger@bfh.ch&gt;
%%
%% The development respository can be found at
%% https://gitlab.ti.bfh.ch/bfh-latex/bfh-ci/
%% Please use the issue tracker for feedback!
%%
%% ============================================================================
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesExplPackage{bfhmodule}{2025-04-01}{2.2.3}{BFH module package -- modular extensions for bfh-ci}

\msg_new:nnn {bfhmodule} {module-not-found} {
	You~tried~to~load~the~BFH~layout~module~#1.\\
	I~could~not~find~a~file~named~bfh-layout-#1.cfg.
}

\msg_new:nnn {bfhmodule} {module-already-loaded} {
	You~tried~to~load~the~BFH~layout~module~#1.\\
	This~module~has~already~been~loaded.
}

\seq_new:N \g__ptxcd_module_seq

\newcommand*\LoadBFHModule[1]{
	\clist_map_inline:nn {#1} {
		\seq_if_in:NnTF \g__ptxcd_module_seq {##1} {
			\msg_warning:nnn {bfhmodule} {module-already-loaded} {##1}
		}{
			\file_if_exist_input:nF {bfh-layout-##1.cfg}
				{\msg_error:nnn {bfhmodule} {module-not-found} {##1}}
			\seq_gpush:Nn \g__ptxcd_module_seq {##1}
			\ExplSyntaxOff
		}
	}
	\ExplSyntaxOff
}

\endinput
</pre></body></html>