Added code to hide license, acknowledge, abstract, declaration and bib when using option expose

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-02-20 12:05:06 +01:00
parent 3501a2b212
commit f4710cde21

View File

@ -160,17 +160,20 @@
\end{titlepage} \end{titlepage}
\restoregeometry \restoregeometry
\if@uselicence \if@expose
\input{licence.tex} \else
\else\fi \if@uselicence
\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
} }
@ -185,12 +188,15 @@
%\clearpage %\clearpage
\printindex \printindex
\clearpage \if@expose
\selectlanguage{ngerman} \else
\input{declaration.tex}
\if@library
\clearpage \clearpage
\input{library.tex} \selectlanguage{ngerman}
\else\fi \input{declaration.tex}
\if@library
\clearpage
\input{library.tex}
\else\fi
\fi
} }