Add helpful files for the docker setup
This commit is contained in:
parent
b3cd98e229
commit
9ca488baf9
5 changed files with 22 additions and 1 deletions
6
docker/README.md
Normal file
6
docker/README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Docker setup for LaTeX
|
||||
|
||||
To use the docker setup create the container using Docker Compose.
|
||||
The source files have to reside in a subfolder called `data`.
|
||||
|
||||
The batch or shell script provide an example on how to compile the document.
|
8
docker/docker-compose.yaml
Normal file
8
docker/docker-compose.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
version: "3"
|
||||
services:
|
||||
texlive:
|
||||
image: texlive/texlive
|
||||
volumes:
|
||||
- ./data/:/latex
|
||||
working_dir: /latex
|
||||
tty: true
|
3
docker/run.bat
Normal file
3
docker/run.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
docker-compose up -d
|
||||
docker-compose exec texlive pdflatex file.tex
|
||||
docker-compose down
|
4
docker/run.sh
Executable file
4
docker/run.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
docker-compose up -d
|
||||
docker-compose exec texlive pdflatex file.tex
|
||||
docker-compose down
|
|
@ -127,7 +127,7 @@
|
|||
\item Im Projektverzeichnis \verb|pdflatex file.tex|
|
||||
\item automatisierter mit \verb|latexmk -pdf file.tex|
|
||||
\item In \TeX{}Maker \glqq{}Schnelles Übersetzen\grqq{}
|
||||
\item mittels Docker und Docker Compose: %TODO
|
||||
\item mittels Docker und Docker Compose (Anleitung im Git Repo)
|
||||
\item Outputfile \verb|file.pdf| als PDF-Datei im gleichen Verzeichnis
|
||||
\end{itemize}
|
||||
\end{frame}
|
||||
|
|
Loading…
Reference in a new issue