summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-10-22 03:01:48 +0000
committerNorbert Preining <norbert@preining.info>2020-10-22 03:01:48 +0000
commit7448609d1256af02966b8f84fe8464234276ce7a (patch)
tree878dfcfc9f2f014d593d1bdb5dee382ee4a9ee3a /macros/latex/contrib/tuda-ci/tex/tudathesis.cfg
parentd800950bfaacab9c6c4bf4d44206d60016b2f04d (diff)
CTAN sync 202010220301
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex/tudathesis.cfg')
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudathesis.cfg35
1 files changed, 19 insertions, 16 deletions
diff --git a/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg b/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg
index 42b91b2cb2..1342704480 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg
+++ b/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg
@@ -1,4 +1,4 @@
-%% This is file `tudathesis.cfg' version 3.06 (2020/10/20),
+%% This is file `tudathesis.cfg' version 3.07 (2020/10/21),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.06}
-\def\filedate{2020/10/20}
+\def\fileversion{3.07}
+\def\filedate{2020/10/21}
\RequirePackage{expl3}
\ProvidesExplFile{tudathesis.cfg}
{\filedate}{\fileversion}{Special Features for publication type 'thesis' using TU Darmstadt's Corporate Design (tuda-ci)}
@@ -38,17 +38,6 @@
\tl_new:N \g_ptxcd_thesis_drtext_tl
\clist_if_exist:NF \g_ptxcd_Required_title_data_clist {\clist_new:N \g_ptxcd_Required_title_data_clist}
-\cs_new:Nn \ptxcd_declare_caption:Nnnn {
- \ptxcd_define_captionFallback:Nn #1 {#2}
- \defcaptionname{ngerman, german}{#1}{#2}
- \defcaptionname{english}{#1}{#3}
- \defcaptionname{british}{#1}{#4}
-}
-
-\cs_new:Nn \ptxcd_declare_caption:Nnn {
- \ptxcd_declare_caption:Nnnn #1 {#2} {#3} {#3}
-}
-
%Declare macros for department
\cs_new:Nn \ptxcd_select_department:n {
\str_case:nnTF {#1} {
@@ -593,8 +582,10 @@
\expandafter\def\csname g__ptxcd_affidavit_digital_tl\endcsname {%
\section*{Erklärung zur Abschlussarbeit gemäß\\ \S{}22~Abs.~7~APB TU~Darmstadt}
+ \begin{sloppypar}%
Hiermit versichere ich, \@author, die vorliegende \@ThesisType{} gemäß \S{}22~Abs.~7~APB der TU Darmstadt ohne Hilfe Dritter und nur mit den angegebenen Quellen und Hilfsmitteln angefertigt zu haben.
Alle Stellen, die Quellen entnommen wurden, sind als solche kenntlich gemacht worden. Diese Arbeit hat in gleicher oder ähnlicher Form noch keiner Prüfungsbehörde vorgelegen.
+ \end{sloppypar}%
\par
Mir ist bekannt, dass im Falle eines Plagiats (\S{}38~Abs.~2 ~APB) ein Täuschungsversuch vorliegt, der dazu führt, dass die Arbeit mit 5,0 bewertet und damit ein Prüfungsversuch verbraucht wird. Abschlussarbeiten dürfen nur einmal wiederholt werden.
\par
@@ -651,8 +642,20 @@
Use~"ignore-title-language"~Option~to~ignore~this~message~at~your~own~risk.
}
-\bool_if:NT \g_ptxcd_dr_bool {
- \PassOptionsToPackage{ngerman}{babel}
+\PassOptionsToPackage{ngerman}{babel}
+\AtBeginDocument{
+ \@ifpackageloaded{babel}{}{
+ \msg_new:nnnn{tudapub/thesis} {missing-babel} {
+ The~babel~package~is~not~loaded.\\
+ Please~load~babel~with~option\\
+ main=<main~language~of~your~document>\\
+ to~ensure~correct~hyphenation.
+ }{
+ I~will~use~a~workaround~(redefine~\string\otherlanguagen)~to~be~able~to~compile,~but~can't~configure~hyphenation~correctly.
+ }
+ \msg_warning:nn {tudapub/thesis} {missing-babel}
+ \renewenvironment{otherlanguage}[1]{}{}
+ }
}
% Fallback mechanism for older l3 kernels