#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,7 +15,7 @@ latexmk:
- mv main.pdf main@$ci_commit_sha_short.pdf
hunspell:
hunspell_chapters:
image: tmaier/hunspell:latest
stage: test
script:
@ -23,3 +23,13 @@ hunspell:
- echo $HUNSPELL_FINDINGS
- test "$HUNSPELL_FINDINGS" == ""
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
% appendix - uncomment if needed
% \input{additionals/appendix.tex}
% \input{appendix/appendix.tex}
% \newpage
% affirmation