diff options
author | Nao Pross <np@0hm.ch> | 2021-07-04 17:52:10 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-07-04 17:52:31 +0200 |
commit | 115678917f285ef45928510f61fb8cd48c6a46b5 (patch) | |
tree | 2128f2e7bacd2010bcdb0794ef6f5bc1ce96dd86 /buch/papers/punktgruppen/standalone.tex | |
parent | Write Intro (diff) | |
download | SeminarMatrizen-115678917f285ef45928510f61fb8cd48c6a46b5.tar.gz SeminarMatrizen-115678917f285ef45928510f61fb8cd48c6a46b5.zip |
Create standalone make target for faster compilation
It takes around 20s on linux and 45s in WSL to compile the book, which is
a lot. The file `standalone.tex` is a skeleton that takes the minimum
required from `book.tex` to compile only our paper. It is intended only
for writing the draft.
Diffstat (limited to 'buch/papers/punktgruppen/standalone.tex')
-rw-r--r-- | buch/papers/punktgruppen/standalone.tex | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/buch/papers/punktgruppen/standalone.tex b/buch/papers/punktgruppen/standalone.tex new file mode 100644 index 0000000..3317318 --- /dev/null +++ b/buch/papers/punktgruppen/standalone.tex @@ -0,0 +1,30 @@ +\documentclass{book} + +\input{common/packages.tex} + +% additional packages used by the individual papers, add a line for +% each paper +\input{papers/common/addpackages.tex} + +% 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} + \input{common/macros.tex} + \def\chapterauthor#1{{\large #1}\bigskip\bigskip} + \input{papers/punktgruppen/main.tex} +\end{document} |