From da511ccd2454e31ba036dd96d61b7fbf70239470 Mon Sep 17 00:00:00 2001 From: Dominik Becker Date: Thu, 30 Apr 2020 16:36:12 +0000 Subject: [PATCH] #14 #34 added manual appendix handling --- .gitlab-ci.yml | 14 ++++++++++++-- appendix/appendix.tex | 13 +++++++++++++ main.tex | 2 +- 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 appendix/appendix.tex diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32520d4..df7d0b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,11 +15,21 @@ latexmk: - mv main.pdf main@$ci_commit_sha_short.pdf -hunspell: +hunspell_chapters: image: tmaier/hunspell:latest stage: test script: - export HUNSPELL_FINDINGS=`for filename in chapter/*.tex; do hunspell -l -d de_DE_neu,en_US -p ./.hunspellignore -t $filename; done | sort | uniq` - echo $HUNSPELL_FINDINGS - test "$HUNSPELL_FINDINGS" == "" - allow_failure: true \ No newline at end of file + allow_failure: true + + +hunspell_appendix: + image: tmaier/hunspell:latest + stage: test + script: + - export HUNSPELL_FINDINGS=`for filename in appendix/*.tex; do hunspell -l -d de_DE_neu,en_US -p ./.hunspellignore -t $filename; done | sort | uniq` + - echo $HUNSPELL_FINDINGS + - test "$HUNSPELL_FINDINGS" == "" + allow_failure: true diff --git a/appendix/appendix.tex b/appendix/appendix.tex new file mode 100644 index 0000000..086af11 --- /dev/null +++ b/appendix/appendix.tex @@ -0,0 +1,13 @@ +%!TEX root = ../main.tex + +\addchap{Anhang} +\label{appendix} + +% create a table of appendices here manually like this: +% \contentsline{section}{\numberline{1}AppendixTitle}{\pageref{app:appendixlabel}}{app:appendixlabel} + +\newpage + +% input the appendix files here like this: +% \input{appendix/appendix1.tex} +% \newpage diff --git a/main.tex b/main.tex index 4512d27..28543b7 100644 --- a/main.tex +++ b/main.tex @@ -71,7 +71,7 @@ \newpage % appendix - uncomment if needed - % \input{additionals/appendix.tex} + % \input{appendix/appendix.tex} % \newpage % affirmation