#38 cleaned up mwe

This commit is contained in:
Dominik 2020-05-19 21:43:15 +02:00
parent db64fc7beb
commit 2b7d977e70
3 changed files with 16 additions and 18 deletions

View File

@ -2,19 +2,7 @@ stages:
- test
- build
#latexmk:
# image: fastexitlane/pandoc-latex:latest
# stage: build
# artifacts:
# paths:
# - main*.pdf
# expire_in: 2d
# script:
# - latexmk main.tex
# - ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
# - mv main.pdf main@$ci_commit_sha_short.pdf
pandoc_latexmk:
latexmk:
image: fastexitlane/pandoc-latex:latest
stage: build
artifacts:
@ -22,11 +10,23 @@ pandoc_latexmk:
- main*.pdf
expire_in: 2d
script:
- pandoc --filter pandoc-crossref --filter pandoc-citeproc -M cref=true --top-level-division=chapter --bibliography library/library.bib --biblatex -o chapter/out.tex chapter/*.md
- latexmk main.tex
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
- mv main.pdf main@$ci_commit_sha_short.pdf
# pandoc_latexmk:
# image: fastexitlane/pandoc-latex:latest
# stage: build
# artifacts:
# paths:
# - main*.pdf
# expire_in: 2d
# script:
# - pandoc --filter pandoc-crossref --filter pandoc-citeproc -M cref=true --top-level-division=chapter --bibliography library/library.bib --biblatex -o chapter/out.tex chapter/*.md
# - latexmk main.tex
# - ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
# - mv main.pdf main@$ci_commit_sha_short.pdf
hunspell_chapters:
image: tmaier/hunspell:latest
stage: test

View File

@ -1,2 +0,0 @@
# Sample File
This is a simple sample file for the pandoc workflow.

View File

@ -64,8 +64,8 @@
% \newpage
% when using pandoc workflow instead, uncomment the following
\input{chapter/out.tex}
\newpage
% \input{chapter/out.tex}
% \newpage
%%%%%%%%%%%%%
%% closing %%