|
8 months ago | |
---|---|---|
examples | 2 years ago | |
img | 2 years ago | |
referenzen | 2 years ago | |
titel | 2 years ago | |
.drone.yml | 8 months ago | |
.editorconfig | 2 years ago | |
.gitattributes | 2 years ago | |
.gitignore | 3 years ago | |
.latexmkrc | 2 years ago | |
Makefile | 9 months ago | |
README.md | 10 months ago | |
git-info.sh | 1 year ago | |
index.tex | 1 year ago |
Currently containing templates, seperated by git branches:
Download the repository using git:
git clone https://git.cryptic.systems/fh-trier/latex-templates.git
Decide on a template - currently supported templates. For example master template.
git checkout master
Now you can edit the template using an editor. Editors such as Texstudio or Visual Studio Code with Plugin are available.
There are two ways to compile the PDF document. Since the templates contain all
dependencies to the package minted
, it is probably easier to use a container
image to compile the document.
To do this, install docker or podman as container runtime and Make as build
tool. If you have docker or podman and Make installed execute make container-run/latexmk/index.pdf
to compile the PDF document by using a
container image.
If you don't want to install a container runtime and the build tool make, you have to install texlive manually - installation instructions.
Deletes all files that were not checked in using git.
make clean
Uses a docker container to compile the PDF document with latexmk
By default
the docker container volkerraschek/container-latex:latest-ubuntu18.04
is used.
However, it can also be modified. The Makefile contains the variables with the
prefix BUILD_IMAGE
to change the full qualified image path for this purpose.
However, you may have to change the docker command call in container-run
if
necessary.
make container-run/latexmk/index.pdf
Similar to container-run/latexmk/index.pdf, but in the container pdflatex will be execute instead of latexmk.
make container-run/pdflatex/index.pdf
Executes latexmk natively in the system environment.
make latexmk/index.pdf
Executes pdflatex natively in the system environment.
make pdflatex