Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
teaching-empir-report
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
agse
teaching-empir-report
Commits
b7fde6b7
Commit
b7fde6b7
authored
6 years ago
by
Franz Zieris
Browse files
Options
Downloads
Patches
Plain Diff
let GitLab CI create the PDFs
parent
eb332977
Branches
Branches containing commit
No related tags found
1 merge request
!1
Use GitLab CI for compiling PDFs
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
README.md
+15
-1
15 additions, 1 deletion
README.md
report_de.pdf
+0
-0
0 additions, 0 deletions
report_de.pdf
report_en.pdf
+0
-0
0 additions, 0 deletions
report_en.pdf
with
16 additions
and
1 deletion
.gitignore
+
1
−
0
View file @
b7fde6b7
...
@@ -4,3 +4,4 @@
...
@@ -4,3 +4,4 @@
*.log
*.log
*.out
*.out
*.toc
*.toc
figure/
This diff is collapsed.
Click to expand it.
README.md
+
15
−
1
View file @
b7fde6b7
...
@@ -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
r
emplate called
`report_de.Rnw`
.
There is also a German version of the report
t
emplate 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
...
...
This diff is collapsed.
Click to expand it.
report_de.pdf
deleted
100644 → 0
+
0
−
0
View file @
eb332977
File deleted
This diff is collapsed.
Click to expand it.
report_en.pdf
deleted
100644 → 0
+
0
−
0
View file @
eb332977
File deleted
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment