tud-cd / tudscr

TUD-Script
Other
105 stars 22 forks source link

tudscrreprt, titlepage format: using `/subject{}` will not activate `/graduation{}`-field #86

Open mm-tud opened 1 year ago

mm-tud commented 1 year ago

This issue relates to a bug (?) in tudscrreprt.

Actual Behavior

The use of /subject{} will result in a PDF-titlepage without the graduation field and a misplacement of the date field. Log-file looks normal.

Expected Behavior

A PDF-Titlepage containing the graduation field as produced if \thesis{} is used:

zur Erlangung des akademischen Grades
Master of Science (M.Sc.)

Steps to Reproduce the Problem

MWE from documentation, relevant line highlighted (2.06o 2022-08-09, User Manual, "Abschlussarbeit (kollaborativ)"):

\documentclass[ngerman,BCOR=4mm]{tudscrreprt}
\iftutex
\usepackage{fontspec}
\else
\usepackage[T1]{fontenc}
\usepackage[ngerman=ngerman-x-latest]{hyphsubst}
\fi
\usepackage{babel}
\usepackage{isodate}
\begin{document}
\faculty{Juristische Fakultät}
\department{Fachrichtung Strafrecht}
\institute{Institut für Kriminologie}
\chair{Lehrstuhl für Kriminalprognose}
\date{18.02.2015}
\title{%
Entwicklung eines optimalen Verfahrens zur Eroberung des
Geldspeichers in Entenhausen
}
\subject{master}  % ##################  line of interest, change "subject" to "thesis"  ##################
\graduation[M.Sc.]{Master of Science}
\author{%
Mickey Mouse%
\matriculationnumber{12345678}%
\dateofbirth{2.1.1990}%
\placeofbirth{Dresden}%
\and%
Donald Duck%
\matriculationnumber{87654321}%
\dateofbirth{1.2.1990}%
\placeofbirth{Berlin}%
}
\matriculationyear{2010}
\supervisor{Dagobert Duck \and Mac Moneysac}
\professor{Prof. Dr. Kater Karlo}
\maketitle
\end{document}

Specifications

TeX 3.141592653 (TeX Live 2023/Arch Linux) kpathsea version 6.3.5

latexmk: Latexmk, John Collins, 7 Jan. 2023. Version 4.79 tudscr: CTAN Revision 64085

mrpiggi commented 1 year ago

Confirmed, thanks for the report. Please try following workaround:

\TUDoptions{subjectthesis}
\thesis{master}

I will fix this for the next release, which I will hopefully complete in September or October this year. As there is a workaround I won't provide a bug fix release for this issue.