Only declaration is hidden by expose

All the other extra pages already have options assigned so it is possible when
writing an exposé to simply not give the related options.

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-02-20 16:11:27 +01:00
parent 43239a7f84
commit c37782a6f4

View File

@ -160,20 +160,17 @@
\end{titlepage} \end{titlepage}
\restoregeometry \restoregeometry
\if@expose \if@uselicence
\else \input{licence.tex}
\if@uselicence \else\fi
\input{licence.tex}
\else\fi
\if@acknowledge \if@acknowledge
\input{acknowledge.tex} \input{acknowledge.tex}
\else\fi \else\fi
\if@abstract \if@abstract
\input{abstract.tex} \input{abstract.tex}
\else\fi \else\fi
\fi
\tableofcontents \tableofcontents
} }
@ -193,10 +190,9 @@
\clearpage \clearpage
\selectlanguage{ngerman} \selectlanguage{ngerman}
\input{declaration.tex} \input{declaration.tex}
\if@library
\clearpage
\input{library.tex}
\else\fi
\fi \fi
\if@library
\clearpage
\input{library.tex}
\else\fi
} }