This is a simple preconfigured boilerplate for medium-sized LaTex projects including continuous integration for GitLab CI.
It's based on the
scrbook document class and currently layed out for german scientiefic documents.
Furthermore, it provides the possibility to write documents in Markdown instead of LaTex.
Origin: LaTeX Boilerplate
To use this template in a new project, either download the ZIP directly from Gitea or clone it using Git:
git clone email@example.com:KingOfDog/uni-ausarbeitung.git <directory-name> # now set up your own Git workspace: git remote remove origin git remote add origin firstname.lastname@example.org:path/to/repo.git git push origin main
If you already have set up an empty Git workspace for your project, add it as additional remote and then fetch and pull:
git remote add boilerplate email@example.com:KingOfDog/uni-ausarbeitung.git git fetch boilerplate git pull boilerplate main # if you don't want to keep the remote for pulling future updates, remove it: git remote remove boilerplate
In order to setup the repo for CI / CD on GitLab, Drone CLI on Gitea, Workflos on GitHub and Azure DevOps, as well as VS Code integration, run
./setup.sh latex or
./setup.sh markdown, depending in which workflow you want to use.
CI will use Dockerized builds by default.
If you know what you're doing, simply start adding your content files in
chapter/ as LaTex
\input them into
You can then run the build using VS Code preconfigured tasks or using
For Markdown, add your content as
*.md files in
chapter/ and prefix them with ascending numbers (to keep chapter sequence).
You shouldn't need to
\input or configure anything else, as the files are concatenated automatically at build time.
build.sh pandoc to build your PDF.
If you do not know what you're doing or get into trouble - or want to use the Markdown Workflow, you may want to consider the wiki ;-)