Skip to content
Permalink
Browse files
Fix PDF issue
  • Loading branch information
aa9863 committed Nov 1, 2020
1 parent 16d6425 commit 70f25eeaba60cd6e90847db6e909b38edce47dbd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
@@ -12,6 +12,7 @@ degreetitle: 'BSc: Ethical Hacking and cybersecurity'

#Hide the Declaration and Ethics Form
draft: False
#draft: True

#Ethics form, REPLACE THIS WITH YOUR ONE
PDF-ethics: Supporting/ethics-certificate.pdf
@@ -22,8 +23,15 @@ PDF-declaration: Supporting/submission-declaration.pdf
#Finally the Bibtex file for your references.
bibliography: bibliography.bib

# Various Tables of Contents
toc: false
toc-depth: 2
lof: false
lot: false


#Font to use
fontfamily: helvet
#fontfamily: helvet
---

!include Template/Header.md
@@ -35,3 +43,4 @@ the sections as "Includes files"
-----------------------------------------------
-->

@@ -1,7 +1,7 @@
FROM pandoc/latex:latest

RUN apk update && apk --no-cache add py3-pip
RUN pip install pandocfilters pandoc-include
RUN tlmgr install tocbibind appendix datetime fmtcount nomencl
RUN pip3 install pandocfilters pandoc-include
RUN tlmgr install tocbibind appendix datetime fmtcount nomencl pdfpages
ADD buildscript.sh /bin
ENTRYPOINT '/bin/buildscript.sh'
@@ -8,12 +8,9 @@ classoption:
- index
- twoside

toc: true
toc-depth: 2
lof: true
lot: false

#header-includes:
# -
# - \renewcommand{\familydefault}{\sfdefault}
# - \renewcommand{\chaptername}{}
# - \renewcommand{\thechapter}{}
@@ -94,6 +94,7 @@ $if(fontfamily)$
$else$
\usepackage{lmodern}
$endif$
\usepackage{pdfpages}

$if(linestretch)$
\usepackage{setspace}
@@ -357,8 +358,8 @@ $endif$

%\stuid{42}

$if(sid)$
\stuid{$sid$}
$if(stuid)$
\stuid{$stuid$}
$endif$

$if(dept)$
@@ -393,7 +394,7 @@ $endif$
$if(draft)$
$else$
$if(PDF-ethics)$
\includepdf[pages=-]{$PDF-ethics$}
\includepdf{$PDF-ethics$}
$endif$
%
$if(TEX-declaration)$

0 comments on commit 70f25ee

Please sign in to comment.