#38 test config
This commit is contained in:
parent
baed3fcdf8
commit
e080761204
|
@ -2,31 +2,31 @@ stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
|
|
||||||
latexmk:
|
#latexmk:
|
||||||
image: bnord01/docker-latex-pygments:latest
|
# image: bnord01/docker-latex-pygments: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: pandoc/latex
|
|
||||||
# stage: build
|
# stage: build
|
||||||
# artifacts:
|
# artifacts:
|
||||||
# paths:
|
# paths:
|
||||||
# - 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: pandoc/latex
|
||||||
|
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
|
||||||
|
|
2
chapter/01_text.md
Normal file
2
chapter/01_text.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# 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