Skip to content

Commit

Permalink
Fix missing else-branch causing bathesis type to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelroland committed Feb 17, 2022
1 parent 4268b6d commit c2a1248
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jkureport.sty
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
}{\ifdefstring{\KOMAClassName}{scrbook}{%
}{\ifdef{\KOMAClassName}{%
\PackageWarning{jkureport}{This package expects one of the KOMA-Script classes `scrartcl', `scrreprt' or `scrbook'.}%
}{
}{%
\PackageError{jkureport}{This package requires KOMA-Script classes. Please use `scrartcl', `scrreprt' or `scrbook' as your document class.}{}%
}}}}

Expand Down Expand Up @@ -1674,6 +1674,7 @@
\jkureport@diplomaprogramname%
}{\ifdefstring{\jkureport@docsubtype}{bachelor}{%
\jkureport@bachelorsprogramname%
}{%
}}}}%
}\par%
\jkureport@insertdegreeprogram\par%
Expand Down Expand Up @@ -1792,6 +1793,7 @@
\jkureport@diplomathesisname%
}{\ifdefstring{\jkureport@docsubtype}{bachelor}{%
\jkureport@bachelorsthesisname%
}{%
}}}}%
}{}%
}
Expand Down Expand Up @@ -2076,7 +2078,7 @@
\ifdefstring{\KOMAClassName}{scrbook}{}{%
\PackageWarning{jkureport}{A thesis should use document class `scrbook' but you seem to use `\KOMAClassName'.}%
}%
}
}{}%

%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down

0 comments on commit c2a1248

Please sign in to comment.