#38 cleaned up mwe
This commit is contained in:
parent
db64fc7beb
commit
2b7d977e70
|
@ -2,19 +2,7 @@ stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
|
|
||||||
#latexmk:
|
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:
|
|
||||||
image: fastexitlane/pandoc-latex:latest
|
image: fastexitlane/pandoc-latex:latest
|
||||||
stage: build
|
stage: build
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -22,11 +10,23 @@ pandoc_latexmk:
|
||||||
- main*.pdf
|
- main*.pdf
|
||||||
expire_in: 2d
|
expire_in: 2d
|
||||||
script:
|
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
|
- latexmk main.tex
|
||||||
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
|
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
|
||||||
- mv main.pdf main@$ci_commit_sha_short.pdf
|
- 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:
|
hunspell_chapters:
|
||||||
image: tmaier/hunspell:latest
|
image: tmaier/hunspell:latest
|
||||||
stage: test
|
stage: test
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
# Sample File
|
|
||||||
This is a simple sample file for the pandoc workflow.
|
|
4
main.tex
4
main.tex
|
@ -64,8 +64,8 @@
|
||||||
% \newpage
|
% \newpage
|
||||||
|
|
||||||
% when using pandoc workflow instead, uncomment the following
|
% when using pandoc workflow instead, uncomment the following
|
||||||
\input{chapter/out.tex}
|
% \input{chapter/out.tex}
|
||||||
\newpage
|
% \newpage
|
||||||
|
|
||||||
%%%%%%%%%%%%%
|
%%%%%%%%%%%%%
|
||||||
%% closing %%
|
%% closing %%
|
||||||
|
|
Loading…
Reference in New Issue
Block a user