Skip to content
Snippets Groups Projects
Commit cfe3bf01 authored by Franz Zieris's avatar Franz Zieris
Browse files

preload LaTex packages

parent 45fa73ee
No related branches found
No related tags found
1 merge request!1Use GitLab CI for compiling PDFs
...@@ -2,8 +2,8 @@ image: rocker/verse ...@@ -2,8 +2,8 @@ image: rocker/verse
compile: compile:
stage: build stage: build
# before_script: before_script:
# - Rscript preload-packages.R - Rscript preload-packages.R
script: script:
- Rscript -e "library(knitr);knit('report_en.Rnw');" - Rscript -e "library(knitr);knit('report_en.Rnw');"
- Rscript -e "library(tinytex);pdflatex('report_en.tex');" - Rscript -e "library(tinytex);pdflatex('report_en.tex');"
......
latex_packages = c(
'babel-english',
'babel-german',
'aeguill',
'preprint',
'psnfss',
'multirow',
'titlesec',
'xifthen',
'ifmtarg',
'lipsum',
'palatino',
'helvetic',
'mathpazo',
'dvips'
);
library(tinytex);
tlmgr_install(latex_packages);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment