#14 #34 added manual appendix handling

This commit is contained in:
Dominik Becker 2020-04-30 16:36:12 +00:00
parent 4ac7a0bc5c
commit da511ccd24
3 changed files with 26 additions and 3 deletions

View File

@ -15,11 +15,21 @@ latexmk:
- mv main.pdf main@$ci_commit_sha_short.pdf - mv main.pdf main@$ci_commit_sha_short.pdf
hunspell: hunspell_chapters:
image: tmaier/hunspell:latest image: tmaier/hunspell:latest
stage: test stage: test
script: 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` - 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 - echo $HUNSPELL_FINDINGS
- test "$HUNSPELL_FINDINGS" == "" - test "$HUNSPELL_FINDINGS" == ""
allow_failure: true 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

13
appendix/appendix.tex Normal file
View File

@ -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

View File

@ -71,7 +71,7 @@
\newpage \newpage
% appendix - uncomment if needed % appendix - uncomment if needed
% \input{additionals/appendix.tex} % \input{appendix/appendix.tex}
% \newpage % \newpage
% affirmation % affirmation