tud-cd / tudscr

TUD-Script
Other
106 stars 23 forks source link

\confirmation throws errors if using a typed thesis: \masterthesisname not defined for language 'english' #48

Open sfo opened 4 years ago

sfo commented 4 years ago

The error arises when inserting a confirmation in a thesis that is marked as a special type (master, bachelor, student, diploma, diss, etc.) using the \thesis{<type>} command.

Here is a MWE:

\documentclass[english]{tudscrbook}

\usepackage{babel}

\thesis{master}
\date{\today}

\begin{document}
  \begin{declarations}
    \confirmation
  \end{declarations}
\end{document}

My Environment:

pdflatex: pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019) tudscr package version: 2.06f

mrpiggi commented 4 years ago

Using \thesis{master} after \begin{document} should work. I will try to find out, why this occurs.

\documentclass[english]{tudscrbook}
\usepackage{babel}
\begin{document}
\thesis{master}
\date{\today}
\begin{declarations}
  \confirmation
\end{declarations}
\end{document}