From 8632a871313f198296bd0c707661a24711c70b9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <andreas.mueller@ost.ch>
Date: Mon, 24 Jan 2022 19:24:16 +0100
Subject: build two different files for printer and students

---
 buch/buch.tex | 64 ++---------------------------------------------------------
 1 file changed, 2 insertions(+), 62 deletions(-)

(limited to 'buch/buch.tex')

diff --git a/buch/buch.tex b/buch/buch.tex
index cbbf339..4afc374 100644
--- a/buch/buch.tex
+++ b/buch/buch.tex
@@ -3,65 +3,5 @@
 %
 % (c) 2022 Prof. Dr. Andreas Mueller, OST Ostschweizer Fachhochschule
 %
-\documentclass{book}
-\input{common/packages.tex}
-
-% additional packages used by the individual papers, add a line for
-% each paper
-\input{papers/common/addpackages.tex}
-
-% PDF info
-\hypersetup{
-pdftitle={Mathematisches Seminar Spezielle Funktionen},
-pdfauthor={Andreas Müller}
-}
-
-% workaround for biblatex bug
-\makeatletter
-\def\blx@maxline{77}
-\makeatother
-\addbibresource{chapters/references.bib}
-
-% Bibresources for each article
-\input{papers/common/addbibresources.tex}
-
-% make sure the last index starts on an odd page
-\AtEndDocument{\clearpage\ifodd\value{page}\else\null\clearpage\fi}
-\makeindex
-
-%\pgfplotsset{compat=1.12}
-\setlength{\headheight}{15pt} % fix headheight warning
-\DeclareGraphicsRule{*}{mps}{*}{}
-\begin{document}
-
-% cover page
-\ifthenelse{\boolean{includecover}}{
-\incgraph[documentpaper][width=\paperwidth,height=\paperheight]{../cover/buchcover.jpg}
-\newpage\null\thispagestyle{empty}\newpage
-}{}
-
-\input{common/titlepage.tex}
-
-% add common macros
-\input{common/macros.tex}
-
-\mainmatter
-\input{chapters/part1.tex}
-
-\input{papers/part2.tex}
-
-\vfill
-\pagebreak
-\ifodd\value{page}\else\null\clearpage\fi
-\lhead{Index}
-\rhead{}
-\addcontentsline{toc}{chapter}{\indexname}
-\InputIfFileExists{buch.ind}{}{}
-
-% cover page
-\ifthenelse{\boolean{includecover}}{
-\newpage\null\thispagestyle{empty}\newpage
-\incgraph[documentpaper][width=\paperwidth,height=\paperheight]{../cover/backcover.jpg}
-}{}
-
-\end{document}
+\def\IncludeBookCover{0}
+\input{common/content.tex}
-- 
cgit v1.2.1

