Remove empty pages before and after TOC
This commit is contained in:
parent
7b4f9c0833
commit
76d218240e
|
@ -1,3 +1 @@
|
|||
Assets/__backmatter.filled.tex
|
||||
Assets/__frontmatter.filled.tex
|
||||
Assets/__titlepage.filled.tex
|
|
@ -1,18 +0,0 @@
|
|||
|
||||
%------------------------------------- Declaration Page ----------------------------
|
||||
$if(declaration)$
|
||||
\cleardoublepage
|
||||
|
||||
\thispagestyle{empty}
|
||||
|
||||
\vspace*{\fill}
|
||||
|
||||
\textbf{Eidesstattliche Erklärung}
|
||||
|
||||
\noindent{$declaration$}
|
||||
|
||||
\vspace{20mm}
|
||||
|
||||
\noindent\textit{Minden, den $date$}
|
||||
$endif$
|
||||
%------------------------------------- Declaration Page ----------------------------
|
|
@ -1,50 +0,0 @@
|
|||
|
||||
%------------------------------------- Custom Title (Back) Page --------------------
|
||||
%------------------------------------- Custom Title (Back) Page --------------------
|
||||
|
||||
|
||||
|
||||
%------------------------------------- Custom Abstract Page ------------------------
|
||||
$if(abstract-de)$
|
||||
\cleardoublepage
|
||||
\begin{minipage}{\linewidth}
|
||||
|
||||
\chapter*{Zusammenfassung}
|
||||
%\addcontentsline{toc}{chapter}{Zusammenfassung}
|
||||
$abstract-de$
|
||||
|
||||
$if(abstract-en)$
|
||||
\chapter*{Abstract}
|
||||
%\addcontentsline{toc}{chapter}{Abstract}
|
||||
$abstract-en$
|
||||
$endif$
|
||||
|
||||
\end{minipage}
|
||||
\cleardoublepage
|
||||
$endif$
|
||||
%------------------------------------- Custom Abstract Page ------------------------
|
||||
|
||||
|
||||
|
||||
%------------------------------------- Acknowledgements Page -----------------------
|
||||
$if(acknowledgements)$
|
||||
\chapter*{Danksagung}
|
||||
%\addcontentsline{toc}{chapter}{Danksagung}
|
||||
$acknowledgements$
|
||||
$endif$
|
||||
%------------------------------------- Acknowledgements Page -----------------------
|
||||
|
||||
|
||||
|
||||
%------------------------------------- Restriction Note Page -----------------------
|
||||
$if(restrictionnote)$
|
||||
\chapter*{Sperrvermerk}
|
||||
$restrictionnote$
|
||||
$endif$
|
||||
%------------------------------------- Restriction Note Page -----------------------
|
||||
|
||||
|
||||
|
||||
%------------------------------------- Clear page before TOC -----------------------
|
||||
\cleardoublepage
|
||||
%------------------------------------- Clear page before TOC -----------------------
|
|
@ -4,9 +4,9 @@ subtitle: "Diseño y Desarrollo de Sistemas de Información"
|
|||
author: [Amin Kasrou Aouam]
|
||||
date: "18 Octubre 2019"
|
||||
logo: /home/coolneng/Pictures/Logos/UGR.png
|
||||
lang: es-ES
|
||||
toc: true
|
||||
toc-own-page: true
|
||||
lang: es-ES
|
||||
documentclass: scrbook
|
||||
classoption:
|
||||
- open=right
|
||||
|
|
|
@ -41,29 +41,13 @@ $endif$
|
|||
\end{tabular}
|
||||
}
|
||||
%------------------------------------- Custom Title Page ---------------------------
|
||||
%------------------------------------- Custom Title (Back) Page --------------------
|
||||
%------------------------------------- Custom Title (Back) Page --------------------
|
||||
|
||||
|
||||
|
||||
%------------------------------------- Patch Eisvogel's frontmatter ----------------
|
||||
%% Eisvogel template uses `\frontmatter` directly *after* `\maketitle`, thus there is
|
||||
%% a `\doubleclearpage` after the titlepage, which prevents our title-back-page to be
|
||||
%% positioned on the backside of the titlepage ...
|
||||
%% (Pandocs default template uses `\frontmatter` *before* `\maketitle`)
|
||||
$if(eisvogel)$
|
||||
\usepackage{xpatch}
|
||||
\xpretocmd{\frontmatter}{\customtitlebackpage}{}{}
|
||||
\xapptocmd{\frontmatter}{\setcounter{page}{3}}{}{}
|
||||
$endif$
|
||||
%------------------------------------- Patch Eisvogel's frontmatter ----------------
|
||||
|
||||
$if(logo)$
|
||||
\usepackage[export]{adjustbox}
|
||||
\usepackage{graphicx}
|
||||
$endif$
|
||||
|
||||
|
||||
%------------------------------------- Workaround for CleanStyle -------------------
|
||||
%% cleanthesis.sty *will* check the bibfile, even if `configurebiblatex=false` ...
|
||||
%% So we need to set it appropriately using our metadata variable "cleanthesisbibfile"
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
* Users
|
||||
** Admin
|
||||
* Tasks
|
||||
** TODO Parsing script [0/3] [0%]
|
||||
** TODO Parsing script [0/2] [0%]
|
||||
- [ ] Select useful fiels with awk
|
||||
- [ ] Sum of the volume and areas of each year
|
||||
** DONE Type requirements handout [4/5] [80%]
|
||||
** DONE Type requirements handout [4/4] [100%]
|
||||
CLOSED: [2019-09-27 Fri 14:54] SCHEDULED: <2019-09-27 Fri 23:55>
|
||||
- [X] Problem description
|
||||
- [X] Functional requirements
|
||||
|
|
BIN
Docs/Project.pdf
BIN
Docs/Project.pdf
Binary file not shown.
18
Makefile
18
Makefile
|
@ -17,13 +17,7 @@ TARGET = $(DOC)/Project.pdf
|
|||
## Auxiliary files
|
||||
## (Do not change!)
|
||||
TITLEPAGE = titlepage.tex
|
||||
FRONTMATTER = frontmatter.tex
|
||||
BACKMATTER = backmatter.tex
|
||||
|
||||
TMP1 = Assets/$(TITLEPAGE:%.tex=__%.filled.tex)
|
||||
TMP2 = Assets/$(FRONTMATTER:%.tex=__%.filled.tex)
|
||||
TMP3 = Assets/$(BACKMATTER:%.tex=__%.filled.tex)
|
||||
TMP = $(TMP1) $(TMP2) $(TMP3)
|
||||
TMP = Assets/$(TITLEPAGE:%.tex=__%.filled.tex)
|
||||
|
||||
|
||||
## Pandoc options
|
||||
|
@ -35,9 +29,7 @@ OPTIONS += --filter=pandoc-citeproc
|
|||
OPTIONS += --metadata-file=$(META)
|
||||
OPTIONS += -M bibliography=$(BIBFILE)
|
||||
OPTIONS += --listings
|
||||
OPTIONS += --include-in-header=$(TMP1)
|
||||
OPTIONS += --include-before-body=$(TMP2)
|
||||
OPTIONS += --include-after-body=$(TMP3)
|
||||
OPTIONS += --include-in-header=$(TMP)
|
||||
|
||||
|
||||
## Template variables
|
||||
|
@ -82,11 +74,11 @@ distclean: clean
|
|||
## Download template files
|
||||
|
||||
## Build thesis
|
||||
${TARGET}: $(SRC) $(REFERENCES) $(META) $(BIBFILE) $(TMP)
|
||||
$(PANDOC) ${OPTIONS} -o $@ $(SRC) $(REFERENCES)
|
||||
${TARGET}: $(SRC) $(META) $(BIBFILE) $(TMP)
|
||||
$(PANDOC) ${OPTIONS} -o $@ $(SRC)
|
||||
|
||||
|
||||
## Build auxiliary files (title page, backmater, references)
|
||||
## Build auxiliary files (title page, references)
|
||||
$(TMP): Assets/__%.filled.tex: Assets/%.tex $(META)
|
||||
$(PANDOC) $(AUX_OPTS) --template=$< --metadata-file=$(META) -o $@ $<
|
||||
|
||||
|
|
Loading…
Reference in New Issue