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
|
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]
|
author: [Amin Kasrou Aouam]
|
||||||
date: "18 Octubre 2019"
|
date: "18 Octubre 2019"
|
||||||
logo: /home/coolneng/Pictures/Logos/UGR.png
|
logo: /home/coolneng/Pictures/Logos/UGR.png
|
||||||
|
lang: es-ES
|
||||||
toc: true
|
toc: true
|
||||||
toc-own-page: true
|
toc-own-page: true
|
||||||
lang: es-ES
|
|
||||||
documentclass: scrbook
|
documentclass: scrbook
|
||||||
classoption:
|
classoption:
|
||||||
- open=right
|
- open=right
|
||||||
|
|
|
@ -41,29 +41,13 @@ $endif$
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
}
|
}
|
||||||
%------------------------------------- Custom Title Page ---------------------------
|
%------------------------------------- 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)$
|
$if(logo)$
|
||||||
\usepackage[export]{adjustbox}
|
\usepackage[export]{adjustbox}
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
|
|
||||||
%------------------------------------- Workaround for CleanStyle -------------------
|
%------------------------------------- Workaround for CleanStyle -------------------
|
||||||
%% cleanthesis.sty *will* check the bibfile, even if `configurebiblatex=false` ...
|
%% cleanthesis.sty *will* check the bibfile, even if `configurebiblatex=false` ...
|
||||||
%% So we need to set it appropriately using our metadata variable "cleanthesisbibfile"
|
%% So we need to set it appropriately using our metadata variable "cleanthesisbibfile"
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
* Users
|
* Users
|
||||||
** Admin
|
** Admin
|
||||||
* Tasks
|
* Tasks
|
||||||
** TODO Parsing script [0/3] [0%]
|
** TODO Parsing script [0/2] [0%]
|
||||||
- [ ] Select useful fiels with awk
|
- [ ] Select useful fiels with awk
|
||||||
- [ ] Sum of the volume and areas of each year
|
- [ ] 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>
|
CLOSED: [2019-09-27 Fri 14:54] SCHEDULED: <2019-09-27 Fri 23:55>
|
||||||
- [X] Problem description
|
- [X] Problem description
|
||||||
- [X] Functional requirements
|
- [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
|
## Auxiliary files
|
||||||
## (Do not change!)
|
## (Do not change!)
|
||||||
TITLEPAGE = titlepage.tex
|
TITLEPAGE = titlepage.tex
|
||||||
FRONTMATTER = frontmatter.tex
|
TMP = Assets/$(TITLEPAGE:%.tex=__%.filled.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)
|
|
||||||
|
|
||||||
|
|
||||||
## Pandoc options
|
## Pandoc options
|
||||||
|
@ -35,9 +29,7 @@ OPTIONS += --filter=pandoc-citeproc
|
||||||
OPTIONS += --metadata-file=$(META)
|
OPTIONS += --metadata-file=$(META)
|
||||||
OPTIONS += -M bibliography=$(BIBFILE)
|
OPTIONS += -M bibliography=$(BIBFILE)
|
||||||
OPTIONS += --listings
|
OPTIONS += --listings
|
||||||
OPTIONS += --include-in-header=$(TMP1)
|
OPTIONS += --include-in-header=$(TMP)
|
||||||
OPTIONS += --include-before-body=$(TMP2)
|
|
||||||
OPTIONS += --include-after-body=$(TMP3)
|
|
||||||
|
|
||||||
|
|
||||||
## Template variables
|
## Template variables
|
||||||
|
@ -82,11 +74,11 @@ distclean: clean
|
||||||
## Download template files
|
## Download template files
|
||||||
|
|
||||||
## Build thesis
|
## Build thesis
|
||||||
${TARGET}: $(SRC) $(REFERENCES) $(META) $(BIBFILE) $(TMP)
|
${TARGET}: $(SRC) $(META) $(BIBFILE) $(TMP)
|
||||||
$(PANDOC) ${OPTIONS} -o $@ $(SRC) $(REFERENCES)
|
$(PANDOC) ${OPTIONS} -o $@ $(SRC)
|
||||||
|
|
||||||
|
|
||||||
## Build auxiliary files (title page, backmater, references)
|
## Build auxiliary files (title page, references)
|
||||||
$(TMP): Assets/__%.filled.tex: Assets/%.tex $(META)
|
$(TMP): Assets/__%.filled.tex: Assets/%.tex $(META)
|
||||||
$(PANDOC) $(AUX_OPTS) --template=$< --metadata-file=$(META) -o $@ $<
|
$(PANDOC) $(AUX_OPTS) --template=$< --metadata-file=$(META) -o $@ $<
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue