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

let GitLab CI create the PDFs

parent eb332977
Branches
Tags
1 merge request!1Use GitLab CI for compiling PDFs
...@@ -4,3 +4,4 @@ ...@@ -4,3 +4,4 @@
*.log *.log
*.out *.out
*.toc *.toc
figure/
...@@ -14,6 +14,19 @@ You want to have the following things installed in order to use this template: ...@@ -14,6 +14,19 @@ You want to have the following things installed in order to use this template:
## HowTo ## HowTo
### Using GitLab CI
The GitLab CI server will automatically create the PDF output based on the
`gitlab-ci.yml` file.
If need be, edit this file in your fork (e.g. to kick out one of the two
language versions).
You can take a look at the compiled output here:
https://git.imp.fu-berlin.de/agse/teaching-empir-report/-/jobs/artifacts/master/browse?job=compile
### Manually
To create a PDF file manually (i.e. if you don't use a LaTeX frontend), you need To create a PDF file manually (i.e. if you don't use a LaTeX frontend), you need
to call: to call:
* `Rscript -e "library(knitr); knit('report_en.Rnw')"` * `Rscript -e "library(knitr); knit('report_en.Rnw')"`
...@@ -22,11 +35,12 @@ to call: ...@@ -22,11 +35,12 @@ to call:
* `pdflatex report_en` * `pdflatex report_en`
* `pdflatex report_en` * `pdflatex report_en`
There is also a German version of the report remplate called `report_de.Rnw`. There is also a German version of the report template called `report_de.Rnw`.
**Attention**: There are problems with BibTeX if you are using RStudio. It seems **Attention**: There are problems with BibTeX if you are using RStudio. It seems
not work from within RStudio so you need to resort to the manual file creation. not work from within RStudio so you need to resort to the manual file creation.
## Good to know ## Good to know
The two templates both use the same document class `agse-empir-report` which The two templates both use the same document class `agse-empir-report` which
......
File deleted
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment