aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zeitung/.gitignore2
-rw-r--r--zeitung/main.tex11
-rw-r--r--zeitung/parts/classoverview.tex2
-rw-r--r--zeitung/parts/overview/.gitkeep0
-rw-r--r--zeitung/parts/studentprofiles.tex5
5 files changed, 16 insertions, 4 deletions
diff --git a/zeitung/.gitignore b/zeitung/.gitignore
index b8db2c5..f0d42f5 100644
--- a/zeitung/.gitignore
+++ b/zeitung/.gitignore
@@ -1,7 +1,7 @@
build/
*.log
+*.pdf
svg-inkscape/
parts/generated/**/*.tex
parts/generated/students/figures/
-parts/advertisements/
fonts/*
diff --git a/zeitung/main.tex b/zeitung/main.tex
index 138df8a..d2b5881 100644
--- a/zeitung/main.tex
+++ b/zeitung/main.tex
@@ -75,6 +75,16 @@
\enableheader
}
+% Class page
+\newcommand\classoverview[1]{
+ \newpage
+ \disableheader
+ \thispagestyle{empty}
+ \includepdf[noautoscale=true,width=\paperwidth]{parts/overview/#1.pdf}
+ \enableheader
+}
+
+
% Header & footer
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
@@ -140,7 +150,6 @@
\part{teacherprofiles}
\part{teacherranking}
\part{secrets}
-\part{classoverview}
\advert{ihk}
\part{studentprofiles}
\advert{uni-ulm}
diff --git a/zeitung/parts/classoverview.tex b/zeitung/parts/classoverview.tex
deleted file mode 100644
index 4e9c0eb..0000000
--- a/zeitung/parts/classoverview.tex
+++ /dev/null
@@ -1,2 +0,0 @@
-\title{Klassenseiten}
-\lipsum[1-2]
diff --git a/zeitung/parts/overview/.gitkeep b/zeitung/parts/overview/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/zeitung/parts/overview/.gitkeep
diff --git a/zeitung/parts/studentprofiles.tex b/zeitung/parts/studentprofiles.tex
index ddacb09..37d867a 100644
--- a/zeitung/parts/studentprofiles.tex
+++ b/zeitung/parts/studentprofiles.tex
@@ -3,8 +3,13 @@
\newpage
\providecommand\studentprofile[1]{
+ \title{Übersicht - #1}
+ \classoverview{#1}
+
\inputall{parts/generated/students/#1}
+
\generated{quotes/#1}
+
\title{Ranking - #1}
\generated{ranking/#1}
}