Ausarbeitungsvorlage für die Uni
uni
Go to file Use this template
2020-06-29 00:01:12 +02:00
.vscode #40 configured build script for VS Code 2020-06-28 23:59:47 +02:00
additionals #33 removed additional line spacing for references 2020-04-14 22:39:35 +00:00
appendix #14 #34 added manual appendix handling 2020-04-30 16:36:12 +00:00
chapter #42 cleaned up MWe and added info to readme 2020-05-24 15:54:53 +02:00
library Initial Commit + Docs 2018-01-31 23:23:53 +01:00
resources Initial Commit + Docs 2018-01-31 23:23:53 +01:00
.gitignore #40 added concated markdown file to gitignore 2020-06-29 00:00:55 +02:00
.hunspellignore #3 Hunspell Spellcheck, Docs 2018-04-10 01:35:16 +02:00
.latexmkrc #8 migrated code listings to minted 2018-04-26 20:26:36 +02:00
build.sh #40 added build script 2020-06-28 23:59:13 +02:00
config.tex #43 added pandoc parameters for lists to config 2020-06-29 00:01:12 +02:00
latex.azure-pipelines.yml #40 configured build script for GitLab CI and Azure Pipelines 2020-06-28 23:59:37 +02:00
latex.gitlab-ci.yml #40 configured build script for GitLab CI and Azure Pipelines 2020-06-28 23:59:37 +02:00
LICENSE LICENSE 2018-04-04 14:05:49 +02:00
main.tex #38 cleaned up mwe 2020-05-19 21:43:15 +02:00
markdown.azure-pipelines.yml #40 configured build script for GitLab CI and Azure Pipelines 2020-06-28 23:59:37 +02:00
markdown.gitlab-ci.yml #40 configured build script for GitLab CI and Azure Pipelines 2020-06-28 23:59:37 +02:00
README.md #41 updated docs [skip CI] 2020-05-24 16:28:50 +02:00

LaTex Boilerplate

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.

Getting Started

To use this template in a new project, either download the ZIP directly from GitLab or clone it using Git:

git@gitlab.com:fastexitlane/latex-boilerplate.git
# now set up your own Git workspace:
git remote remove origin
git remote add origin git@your-own-gitlab.host:path/to/repo.git
git push origin master

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 git@gitlab.com:fastexitlane/latex-boilerplate.git
git fetch boilerplate
git pull boilerplate master
# if you don't want to keep the remote for pulling future updates, remove it:
git remote remove boilerplate

In order to use the preconfigured CI / CD pipeline for building PDFs, copy either latex.gitlab-ci.yml or markdown.gitlab-ci.yml to .gitlab-ci, depending on which workflow you want to use. On GitLab.com, this will use Dockerized builds by default. If you want to use the workflow on own hardware, make sure your GitLab CI meets the Basic Requirements.

If you know what you're doing, simply start adding your content files in chapter/ as LaTex \chapters and \input them into main.tex. 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 ;-)

Docker Images

If you need a Docker image to build your documents, head over to pandoc-latex (DockerHub). Also, there's a prebuilt Docker image for spellchecking using Hunspell - head over to docker-hunspell.