From 2b7d977e70c63ed4e5120068263de27a843235e4 Mon Sep 17 00:00:00 2001 From: Dominik Date: Tue, 19 May 2020 21:43:15 +0200 Subject: [PATCH] #38 cleaned up mwe --- .gitlab-ci.yml | 28 ++++++++++++++-------------- chapter/01_text.md | 2 -- main.tex | 4 ++-- 3 files changed, 16 insertions(+), 18 deletions(-) delete mode 100644 chapter/01_text.md diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2449a5e..09616cb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/chapter/01_text.md b/chapter/01_text.md deleted file mode 100644 index 574e473..0000000 --- a/chapter/01_text.md +++ /dev/null @@ -1,2 +0,0 @@ -# Sample File -This is a simple sample file for the pandoc workflow. \ No newline at end of file diff --git a/main.tex b/main.tex index 626d430..bdb090c 100644 --- a/main.tex +++ b/main.tex @@ -64,8 +64,8 @@ % \newpage % when using pandoc workflow instead, uncomment the following - \input{chapter/out.tex} - \newpage + % \input{chapter/out.tex} + % \newpage %%%%%%%%%%%%% %% closing %%