image: registry.gitlab.com/flukx/latexwisdom:latest pdf: script: # use settings from .latexmkrc - latexmk - mv .maindir/out/main.pdf .maindir/latexwisdom-en.pdf - sed -i 's#newcommand{\\de}{}#newcommand{\\de}{_de}#' .maindir/tex/main.tex - latexmk - mv .maindir/out/main.pdf .maindir/latexwisdom-de.pdf artifacts: paths: - "latexwisdom-en.pdf" - "latexwisdom-de.pdf"