From e768cc604852d6fe8821592cea67835f67eab0db Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 15 Apr 2020 03:02:52 +0000 Subject: CTAN sync 202004150302 --- macros/latex/contrib/iodhbwm/tex/i18n.def | 36 ---------------------- macros/latex/contrib/iodhbwm/tex/iodhbwm-i18n.def | 36 ++++++++++++++++++++++ .../contrib/iodhbwm/tex/iodhbwm-templates.sty | 6 ++-- macros/latex/contrib/iodhbwm/tex/iodhbwm.cls | 4 +-- 4 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 macros/latex/contrib/iodhbwm/tex/i18n.def create mode 100644 macros/latex/contrib/iodhbwm/tex/iodhbwm-i18n.def (limited to 'macros/latex/contrib/iodhbwm') diff --git a/macros/latex/contrib/iodhbwm/tex/i18n.def b/macros/latex/contrib/iodhbwm/tex/i18n.def deleted file mode 100644 index 42dda7a3ff..0000000000 --- a/macros/latex/contrib/iodhbwm/tex/i18n.def +++ /dev/null @@ -1,36 +0,0 @@ -\newcommand{\@addlanguage}[7]{% - \iflanguage{#1}{ - \renewcommand*{\iodhbwm@file@prefix}{i18n/#1/dhbw} - - \def\iodhbwm@bachelor@type@boe{#2} - \def\iodhbwm@bachelor@type@bos{#3} - \def\iodhbwm@bachelor@type@boa{#4} - - \def\iodhbwm@thesis@type@ba{#5} - \def\iodhbwm@thesis@type@pa{#6} - \def\iodhbwm@thesis@type@sa{#7} - - \booltrue{iodhbwm@if@supported@language} - }% - {}% -} - -% ################################################################ -% ### ADD SUPPORTED LANGUAGES HERE -% ################################################################ - -% english -\@addlanguage{english} - {Bachelor of Engineering} - {Bachelor of Science} - {Bachelor of Arts} - {bachelor's thesis} - {project report} - {study report} - -% ################################################################ - -% Print waring if an unsupported language is used -\ifbool{iodhbwm@if@supported@language}{}{% - \PackageWarning{\iodhbwm@pkg@name}{The passed language `\iodhbwm@main@language` was not found.\MessageBreak Using ngerman instead.} -} diff --git a/macros/latex/contrib/iodhbwm/tex/iodhbwm-i18n.def b/macros/latex/contrib/iodhbwm/tex/iodhbwm-i18n.def new file mode 100644 index 0000000000..42dda7a3ff --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/iodhbwm-i18n.def @@ -0,0 +1,36 @@ +\newcommand{\@addlanguage}[7]{% + \iflanguage{#1}{ + \renewcommand*{\iodhbwm@file@prefix}{i18n/#1/dhbw} + + \def\iodhbwm@bachelor@type@boe{#2} + \def\iodhbwm@bachelor@type@bos{#3} + \def\iodhbwm@bachelor@type@boa{#4} + + \def\iodhbwm@thesis@type@ba{#5} + \def\iodhbwm@thesis@type@pa{#6} + \def\iodhbwm@thesis@type@sa{#7} + + \booltrue{iodhbwm@if@supported@language} + }% + {}% +} + +% ################################################################ +% ### ADD SUPPORTED LANGUAGES HERE +% ################################################################ + +% english +\@addlanguage{english} + {Bachelor of Engineering} + {Bachelor of Science} + {Bachelor of Arts} + {bachelor's thesis} + {project report} + {study report} + +% ################################################################ + +% Print waring if an unsupported language is used +\ifbool{iodhbwm@if@supported@language}{}{% + \PackageWarning{\iodhbwm@pkg@name}{The passed language `\iodhbwm@main@language` was not found.\MessageBreak Using ngerman instead.} +} diff --git a/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty b/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty index b52807439e..15ef8e9317 100644 --- a/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty +++ b/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty @@ -23,8 +23,8 @@ % % ---------------------------------------------------------- -\newcommand*{\iodhbwm@pkg@version}{v1.2} -\newcommand*{\iodhbwm@pkg@date}{2020-04-01} +\newcommand*{\iodhbwm@pkg@version}{v1.2.1} +\newcommand*{\iodhbwm@pkg@date}{2020-04-13} \newcommand*{\iodhbwm@pkg@info}{Inoffical DHBW Mannheim thesis package} \newcommand*{\iodhbwm@pkg@name}{iodhbwm-templates} @@ -84,7 +84,7 @@ \def\iodhbwm@thesis@type@sa{Studienarbeit} \iflanguage{ngerman}{\booltrue{iodhbwm@if@supported@language}}{} -\input{i18n.def} +\input{iodhbwm-i18n.def} % ---------------------------------------------------------- % Define internal commands diff --git a/macros/latex/contrib/iodhbwm/tex/iodhbwm.cls b/macros/latex/contrib/iodhbwm/tex/iodhbwm.cls index c1ffa62ff6..2c3e62ea26 100644 --- a/macros/latex/contrib/iodhbwm/tex/iodhbwm.cls +++ b/macros/latex/contrib/iodhbwm/tex/iodhbwm.cls @@ -23,8 +23,8 @@ % % ---------------------------------------------------------- -\newcommand*{\iodhbwm@cls@version}{v1.2} -\newcommand*{\iodhbwm@cls@date}{2020-04-01} +\newcommand*{\iodhbwm@cls@version}{v1.2.1} +\newcommand*{\iodhbwm@cls@date}{2020-04-13} \newcommand*{\iodhbwm@cls@info}{Inoffical DHBW Mannheim thesis class} \ProvidesClass{iodhbwm}[% -- cgit v1.2.3