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